summaryrefslogtreecommitdiffstats
path: root/robot/assets/cds
diff options
context:
space:
mode:
authorSantoshB <santosh.bayas@amdocs.com>2020-09-10 17:32:12 +0530
committerMorgan Richomme <morgan.richomme@orange.com>2020-10-12 06:20:07 +0000
commit70902ea6a8086368524fef892ad52a951138e7c1 (patch)
tree026658baa86ac999ee737751b0e7fbf4f709eeef /robot/assets/cds
parentf8a43939aff21f0340ed3c1bcae467ce5900f791 (diff)
Improved CDS Health Check
Issue-ID: CCSDK-2768 Change-Id: Idbdd01f8a4fde657140e4cc3889936bff1f12a36 Signed-off-by: SantoshB <santosh.bayas@amdocs.com>
Diffstat (limited to 'robot/assets/cds')
-rwxr-xr-xrobot/assets/cds/bootstrap.json5
-rwxr-xr-xrobot/assets/cds/cba.zipbin0 -> 3514 bytes
-rwxr-xr-xrobot/assets/cds/cba_process.json20
-rwxr-xr-xrobot/assets/cds/create_dictionary.json25
4 files changed, 50 insertions, 0 deletions
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
--- /dev/null
+++ b/robot/assets/cds/cba.zip
Binary files 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"
+ }
+ }
+ }
+ }
+}