From 70902ea6a8086368524fef892ad52a951138e7c1 Mon Sep 17 00:00:00 2001 From: SantoshB Date: Thu, 10 Sep 2020 17:32:12 +0530 Subject: Improved CDS Health Check Issue-ID: CCSDK-2768 Change-Id: Idbdd01f8a4fde657140e4cc3889936bff1f12a36 Signed-off-by: SantoshB --- robot/assets/cds/bootstrap.json | 5 +++++ robot/assets/cds/cba.zip | Bin 0 -> 3514 bytes robot/assets/cds/cba_process.json | 20 ++++++++++++++++++++ robot/assets/cds/create_dictionary.json | 25 +++++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100755 robot/assets/cds/bootstrap.json create mode 100755 robot/assets/cds/cba.zip create mode 100755 robot/assets/cds/cba_process.json create mode 100755 robot/assets/cds/create_dictionary.json (limited to 'robot/assets') diff --git a/robot/assets/cds/bootstrap.json b/robot/assets/cds/bootstrap.json new file mode 100755 index 00000000..45c34db9 --- /dev/null +++ b/robot/assets/cds/bootstrap.json @@ -0,0 +1,5 @@ +{ + "loadModelType": true, + "loadResourceDictionary": true, + "loadCBA": false +} diff --git a/robot/assets/cds/cba.zip b/robot/assets/cds/cba.zip new file mode 100755 index 00000000..71e8d02f Binary files /dev/null and b/robot/assets/cds/cba.zip differ diff --git a/robot/assets/cds/cba_process.json b/robot/assets/cds/cba_process.json new file mode 100755 index 00000000..e55073e6 --- /dev/null +++ b/robot/assets/cds/cba_process.json @@ -0,0 +1,20 @@ +{ + "actionIdentifiers": { + "mode": "sync", + "blueprintName": "test101", + "blueprintVersion": "1.0.1", + "actionName": "helloworld" + }, + "payload": { + "helloworld-request": { + "template-prefix": [ + "hello-world" + ] + } + }, + "commonHeader": { + "subRequestId": "654-654", + "requestId": "654321", + "originatorId": "CDS" + } +} diff --git a/robot/assets/cds/create_dictionary.json b/robot/assets/cds/create_dictionary.json new file mode 100755 index 00000000..d3e50837 --- /dev/null +++ b/robot/assets/cds/create_dictionary.json @@ -0,0 +1,25 @@ +{ + "tags": "restmock", + "name": "restmock", + "property": { + "description": "calls a rest mock", + "type": "string" + }, + "updated-by": "titans", + "sources": { + "rest": { + "type": "source-rest", + "properties": { + "type": "json", + "verb": "GET", + "url-path": "/test", + "endpoint-selector": "rest-endpoint", + "path": "", + "input-key-mapping": {}, + "output-key-mapping": { + "res": "myvalue" + } + } + } + } +} -- cgit 1.2.3-korg