diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-05-17 09:15:49 -0400 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-05-17 17:48:51 +0000 |
commit | eeeaab5e03c72410c9607e00e90ddb09d6ec8a94 (patch) | |
tree | d1b2ff41561f34004ec4bc6406f74dd9ecebe5aa /platform-logic/restapi-templates | |
parent | 56dbfc16ccc332a2f86fa93b83f3c79682edb69f (diff) |
Use CDS HTTP instead of gRPC
Change-Id: Id15af2a55b40a535836f8170973faf290ae88b18
Issue-ID: SDNC-768
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Former-commit-id: 88efc22be9444a9a217d5e2ac87c9278d6e855d4
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r-- | platform-logic/restapi-templates/src/main/json/cds-processor-payload.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/cds-processor-payload.json b/platform-logic/restapi-templates/src/main/json/cds-processor-payload.json new file mode 100644 index 00000000..13aa57c1 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/cds-processor-payload.json @@ -0,0 +1,22 @@ +{ + "commonHeader": { + "originatorId": "SDNC_DG", + "requestId": ${request-id}, + "subRequestId": ${resource-id} + }, + "actionIdentifiers": { + "blueprintName": ${tmp.sdnc-model-name}, + "blueprintVersion": ${tmp.sdnc-model-version}, + "actionName": ${action-name}, + "mode": "sync" + }, + "payload": { + "resource-assignment-request": { + "template-prefix": [ + ${tmp.sdnc-artifact-name} + ], + "resource-assignment-properties": + ${tmp.json-payload} + } + } +}
\ No newline at end of file |