summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json
diff options
context:
space:
mode:
authorSandeep Shah <sandeeplinux1068@gmail.com>2019-08-20 12:14:54 -0500
committerSandeep Shah <sandeeplinux1068@gmail.com>2019-08-20 12:14:54 -0500
commitd6deaccf8c37b204191f214b38a771f14cc370a2 (patch)
tree4f38d081109708034133a40287432f459d71ccc4 /platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json
parent9dc7bdbbd46f2e3016617b6d0a1ad394d5771439 (diff)
SDNR OOFPCIPOC - DG Updates for ConfigDB DMAAP
To support closed loop automation, DG's are modified to update ConfiDB for configuration of PCI and ho flags, and publish DMAAP message confirming configuration. Corresponding templates are also created Issue-ID: CCSDK-1581 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: I030401f394ebdc693eeaf514478200a4d9691c18
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json
new file mode 100644
index 00000000..655afed5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json
@@ -0,0 +1,23 @@
+{
+ "body": {
+ "output": {
+ "CommonHeader": {
+ "TimeStamp": ${prop.oofpcipoc-dmaap-config-resp.timestamp},
+ "APIver": ${prop.oofpcipoc-dmaap-config-resp.apiver},
+ "RequestID": ${prop.oofpcipoc-dmaap-config-resp.requestID},
+ "SubRequestID": ${prop.oofpcipoc-dmaap-config-resp.subrequestID},
+ "RequestTrack": ${prop.oofpcipoc-dmaap-config-resp.requesttrack},
+ "Flags": ${prop.oofpcipoc-dmaap-config-resp.flags}
+ },
+ "Status": {
+ "Code": ${prop.oofpcipoc-dmaap-config-resp.status-code},
+ "Value": ${prop.oofpcipoc-dmaap-config-resp.status-value}
+ },
+ "Payload": ${tmp.oofpcipoc-dmaap-config-resp.payload}
+ }
+ },
+ "version": ${prop.oofpcipoc-dmaap-config-resp.version},
+ "rpc-name": ${tmp.oofpcipoc-dmaap-config-resp.rpc-name},
+ "correlation-id": ${prop.oofpcipoc-dmaap-config-resp.correlationID},
+ "type": ${prop.oofpcipoc-dmaap-config-resp.response}
+}