From d7932cdc2def1addc692599b861908b65d7edb8a Mon Sep 17 00:00:00 2001 From: Ruchira Agarwal Date: Tue, 24 Apr 2018 23:21:56 +0000 Subject: LCM UpgradeSoftware DGs Add LCM DGs for SoftwareUpgrade Change-Id: I06df6276a4adb038ab3e1601ef7f3c7a7fc1a08b Issue-ID: SDNC-289 Signed-off-by: Ruchira Agarwal Former-commit-id: f8a3ed75d39de6abbbb2b70b98a0de88ab8e7b89 --- .../src/main/json/lcm-dmaap-publish-template.json | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 platform-logic/restapi-templates/src/main/json/lcm-dmaap-publish-template.json (limited to 'platform-logic/restapi-templates/src/main') 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 -- cgit 1.2.3-korg