summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src
diff options
context:
space:
mode:
authorSandeep Shah <sandeeplinux1068@gmail.com>2019-12-20 15:07:46 -0600
committerSandeep Shah <sandeeplinux1068@gmail.com>2019-12-20 15:07:46 -0600
commit8dd16669775bf23c35c25b6adf2f5adccdda1730 (patch)
treeba01f54c84d6cd529b23e856cc730cab4987a018 /platform-logic/restapi-templates/src
parentfc4bb348c8a8b4a5d5f77065b8ebbca16d6ce5b8 (diff)
DG's and Templates for A1 Adapter
Included are 10 DG's, any pertinent templates, and updated properties file Issue-ID: CCSDK-2013 Signed-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: Ia2edfb3d1be5043101487289fa15e71d953ddf1c
Diffstat (limited to 'platform-logic/restapi-templates/src')
-rw-r--r--platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json b/platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json
new file mode 100644
index 00000000..4a5828a5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/a1Adapter-dmaap-publish-generic-response-template.json
@@ -0,0 +1,21 @@
+{ "body" : {
+"output" : {
+"CommonHeader" : {
+"TimeStamp" : ${prop.a1Adapter-dmaap-resp.timestamp},
+"APIver" : ${prop.a1Adapter-dmaap-resp.apiver},
+"RequestID" : ${prop.a1Adapter-dmaap-resp.requestID},
+"SubRequestID" : ${prop.a1Adapter-dmaap-resp.subrequestID},
+"RequestTrack" : ${prop.a1Adapter-dmaap-resp.requesttrack},
+"Flags" : ${prop.a1Adapter-dmaap-resp.flags}
+},
+"Status" : {
+"Code" : ${tmp.a1Adapter-dmaap-resp.status-code},
+"Value" : ${tmp.a1Adapter-dmaap-resp.status-value}
+},
+"Payload" : ${tmp.a1Policy-dmaap-resp.payload} }
+},
+"version" : ${prop.a1Adapter-dmaap-resp.version},
+"rpc-name" : ${tmp.a1-adapter-api.rpc-name},
+"correlation-id" : ${prop.a1Adapter-dmaap-resp.correlationID},
+"type" : ${prop.a1Adapter-dmaap-resp.type}
+} \ No newline at end of file