Commit f37907bb authored by Steven Pisarski's avatar Steven Pisarski

Forgot to add the output definition configuration option into the generator main

parent 1f525e95
......@@ -140,6 +140,8 @@ object Generator extends App {
generatorOptions(theMap ++ Map('sparkUri -> value.toString), tail)
case "-appName" :: value :: tail =>
generatorOptions(theMap ++ Map('appName -> value.toString), tail)
case "-outputDefUri" :: value :: tail =>
generatorOptions(theMap ++ Map('outputDefUri -> value.toString), tail)
case "-temporalTrainingSetUri" :: value :: tail =>
generatorOptions(theMap ++ Map('temporalTrainingSetUri -> value.toString), tail)
case "-factTrainingSetUri" :: value :: tail =>
......
......@@ -3,7 +3,7 @@ outputDefs:
host: localhost
port: 61616
routeType: topic
name: changeme1
name: CMHealthXML
format: testData/cm/definition/amdocs-cm.vm
fields:
- name: EventTimeStamp
......@@ -28,3 +28,32 @@ outputDefs:
- name: DownstreamSNRRt
description: downstream SNRRt
inputFieldName: downstream_snr_rt
- protocol: vm
host: localhost
port: 61616
routeType: topic
name: CMHealthJson
format: json
fields:
- name: EventTimeStamp
description: temporal field
inputFieldName: poll_date
dateFmtStr: MM/dd/yyyy HH:mm:ss
- name: MAC
description: The MAC address
inputFieldName: mac
- name: Region
description: CMTS Region
inputFieldName: cmts
- name: Node
description: the node name
inputFieldName: node
- name: DownstreamReceivePowerNum
description: downstream receive power
inputFieldName: downstream_receive_power_num
- name: UpstreamTransmitPowerNum
description: upstream transmit power
inputFieldName: upstream_transmit_power_num
- name: DownstreamSNRRt
description: downstream SNRRt
inputFieldName: downstream_snr_rt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment