summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src')
-rw-r--r--platform-logic/restapi-templates/src/main/json/lcm-dmaap-publish-template.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/lcm-dmaap-publish-template.json b/platform-logic/restapi-templates/src/main/json/lcm-dmaap-publish-template.json
new file mode 100644
index 00000000..d30aa06a
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/lcm-dmaap-publish-template.json
@@ -0,0 +1,28 @@
+{
+ "version": ${lcm-dmaap.version},
+ "cambria.partition": ${lcm-dmaap.partition},
+ "correlation-id": ${lcm-dmaap.correlation-id},
+ "rpc-name": ${lcm-dmaap.rpc-name},
+ "type": ${lcm-dmaap.type},
+ "body": {
+ "input": {
+ "common-header": {
+ "api-ver": ${lcm-dmaap.api-ver},
+ "flags": {
+ "ttl": ${lcm-dmaap.flags.mode},
+ "force": ${lcm-dmaap.flags.force},
+ "mode": ${lcm-dmaap.flags.mode}
+ },
+ "originator-id": ${lcm-dmaap.originator-id},
+ "request-id": ${lcm-dmaap.request-id},
+ "sub-request-id": ${lcm-dmaap.sub-request-id},
+ "timestamp": ${lcm-dmaap.timestamp}
+ },
+ "payload": ${lcm-dmaap.payload},
+ "status": {
+ "code": ${lcm-dmaap.status.code},
+ "message": ${lcm-dmaap.status.message}
+ }
+ }
+ }
+} \ No newline at end of file