services:
  - type: 'org.apache.brooklyn.entity.stock.BasicApplication'
    name: ServiceNow Exporter
    brooklyn.policies:
      - type: 'cmdb-exporter-policy'
        brooklyn.config:
          period: 10s
          command: cat - > $SNOW_FILE && amp-cmdb snow --publish --profile amp-snow --input $SNOW_FILE
          env:
            SNOW_FILE: /tmp/snow.publish.json
