       error: (data) -> append 'error', data
       pushOrchestration: (o) -> orchestrations.push o
       orchestrations: -> orchestrations
+      adxAdapterID: adxAdapterID
     }
   out = _out()
 

    cert: nullIfEmpty config.getConf()['sync-type']['both-trigger-client-cert']
    key: nullIfEmpty config.getConf()['sync-type']['both-trigger-client-key']
    ca: nullIfEmpty config.getConf()['sync-type']['both-trigger-ca-cert']
    
  beforeTimestamp = new Date()
  request.post options, (err, res, body) ->
    if err
      out.error "Send to Async Receiver failed: #{err}"
      return callback false
      
    if !(200 <= res.statusCode <= 399)
      out.error "Send to Async Receiver responded with non 2/3xx statusCode #{res.statusCode}"
      return callback false


logger = require 'winston'
config = require './config'
url = require 'url'

express = require 'express'
bodyParser = require 'body-parser'
