summaryrefslogtreecommitdiffstats
path: root/sdnr/northbound/energysavings/provider/src/main/resources/sdnr-energy-savings.properties
diff options
context:
space:
mode:
authorCLAPP, GEORGE H (gc731h) <gc731h@att.com>2018-07-06 20:12:26 +0000
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-07-13 16:15:28 -0400
commit10cd619b5e6e34b22b3239a2516f1ca491c87a3a (patch)
treebd1d1b7a2bdc2b837cecb216f25e01b0f9a65311 /sdnr/northbound/energysavings/provider/src/main/resources/sdnr-energy-savings.properties
parentfd23f3cf7c22ef284de0338c9fd380d5f189a87f (diff)
First draft Energy Savings POLICY_TO_SDNR handler
Initial commit of a karaf feature to process a DMaaP topic sent by Policy to SDNR as part of the Energy Savings project. The topic name is POLICY_TO_SDNR, and the content is a large and complex JSON structure. Currently, this feature simply forwards the JSON string to a server and returns the response of the server to Policy in topic SDNR_TO_POLICY. Change-Id: I84cb891c98fb23f5dfe44a9e3ad8ce69afb72405 Issue-ID: CCSDK-350 Signed-off-by: George Clapp <gc731h@att.com>
Diffstat (limited to 'sdnr/northbound/energysavings/provider/src/main/resources/sdnr-energy-savings.properties')
-rw-r--r--sdnr/northbound/energysavings/provider/src/main/resources/sdnr-energy-savings.properties13
1 files changed, 13 insertions, 0 deletions
diff --git a/sdnr/northbound/energysavings/provider/src/main/resources/sdnr-energy-savings.properties b/sdnr/northbound/energysavings/provider/src/main/resources/sdnr-energy-savings.properties
new file mode 100644
index 000000000..90c773a7e
--- /dev/null
+++ b/sdnr/northbound/energysavings/provider/src/main/resources/sdnr-energy-savings.properties
@@ -0,0 +1,13 @@
+# Parameters for the different REST messages
+
+# To the Energy Savings server
+energySavings.url = http://energy-savings-server
+energySavings.httpMethod = post
+energySavings.authentication = none
+
+# To publish a DMaaP topic that is a response to a energy savings request
+dmaapPolicy.url = https://dmaap-message-router/events
+dmaapPolicy.httpMethod = post
+energySavings.authentication = basic
+energySavings.user = user
+energySavings.password = password