summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/test/remote-python/connection-fail/resources
diff options
context:
space:
mode:
authorSantoshB <santosh.bayas@amdocs.com>2020-10-15 14:57:57 +0530
committermrichomme <morgan.richomme@orange.com>2020-11-12 14:52:33 +0100
commitd3cdace51db473c93540229da3a0fd061120957c (patch)
treed2d4f1031c7d577d51fe27b6daf1a1e80cdb409d /cds-regression-test/test/remote-python/connection-fail/resources
parent8e75c091c8f2079b8ae59ae544fbd19bbef3f963 (diff)
cds-bash script package
Issue-ID: CCSDK-2913 Change-Id: I2f97b0c78314019d5002e8563c4e433ae5e816b9 Signed-off-by: SantoshB <santosh.bayas@amdocs.com> Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'cds-regression-test/test/remote-python/connection-fail/resources')
-rw-r--r--cds-regression-test/test/remote-python/connection-fail/resources/elalto/expected-response.json29
-rw-r--r--cds-regression-test/test/remote-python/connection-fail/resources/elalto/request-payload.json16
-rw-r--r--cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/expected-response.json29
-rw-r--r--cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/request-payload.json16
4 files changed, 90 insertions, 0 deletions
diff --git a/cds-regression-test/test/remote-python/connection-fail/resources/elalto/expected-response.json b/cds-regression-test/test/remote-python/connection-fail/resources/elalto/expected-response.json
new file mode 100644
index 0000000..2ab445b
--- /dev/null
+++ b/cds-regression-test/test/remote-python/connection-fail/resources/elalto/expected-response.json
@@ -0,0 +1,29 @@
+{
+ "correlationUUID": "9f53fea6-c288-4d19-8d85-93832294f21a",
+ "commonHeader": {
+ "timestamp": "2020-07-20T18:15:21.593Z",
+ "originatorId": "System",
+ "requestId": "remote-python-connection-fail",
+ "subRequestId": "1",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-remote-python",
+ "blueprintVersion": "1.0.0",
+ "actionName": "connection-fail",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 500,
+ "eventType": "EVENT_COMPONENT_FAILURE",
+ "timestamp": "2020-07-20T18:15:22.846Z",
+ "errorMessage": "FAILURE : prepare-env : Command failed during env. preparation... timeout(120) requestId (remote-python-connection-fail). grpcError: (Connection refused: /127.0.0.1:4242)",
+ "message": "failure"
+ },
+ "payload": {
+ "connection-fail-response": {
+ "execute-command-payload": "",
+ "execute-command-logs": ""
+ }
+ }
+}
diff --git a/cds-regression-test/test/remote-python/connection-fail/resources/elalto/request-payload.json b/cds-regression-test/test/remote-python/connection-fail/resources/elalto/request-payload.json
new file mode 100644
index 0000000..4bcf8e2
--- /dev/null
+++ b/cds-regression-test/test/remote-python/connection-fail/resources/elalto/request-payload.json
@@ -0,0 +1,16 @@
+{
+ "commonHeader": {
+ "originatorId": "System",
+ "requestId": "remote-python-connection-fail",
+ "subRequestId": "1"
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-remote-python",
+ "blueprintVersion": "1.0.0",
+ "actionName": "connection-fail",
+ "mode": "sync"
+ },
+ "payload": {
+ "connection-fail-request": {}
+ }
+}
diff --git a/cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/expected-response.json b/cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/expected-response.json
new file mode 100644
index 0000000..c9b15bd
--- /dev/null
+++ b/cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/expected-response.json
@@ -0,0 +1,29 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-06-09T21:02:52.783Z",
+ "originatorId": "System",
+ "requestId": "remote-python-connection-fail",
+ "subRequestId": "1",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-remote-python",
+ "blueprintVersion": "1.0.0",
+ "actionName": "connection-fail",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 500,
+ "eventType": "EVENT_COMPONENT_FAILURE",
+ "timestamp": "2020-06-09T21:02:53.142Z",
+ "errorMessage": "FAILURE : prepare-env : Command failed during env. preparation... timeout(120) requestId (remote-python-connection-fail). grpcError: (finishConnect(..) failed: Connection refused: /127.0.0.1:4242)",
+ "message": "failure"
+ },
+ "payload": {
+ "connection-fail-response": {
+ "execute-command-logs": "[]",
+ "execute-command-payload": "{}"
+ }
+ }
+}
diff --git a/cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/request-payload.json b/cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/request-payload.json
new file mode 100644
index 0000000..4bcf8e2
--- /dev/null
+++ b/cds-regression-test/test/remote-python/connection-fail/resources/frankfurt/request-payload.json
@@ -0,0 +1,16 @@
+{
+ "commonHeader": {
+ "originatorId": "System",
+ "requestId": "remote-python-connection-fail",
+ "subRequestId": "1"
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-remote-python",
+ "blueprintVersion": "1.0.0",
+ "actionName": "connection-fail",
+ "mode": "sync"
+ },
+ "payload": {
+ "connection-fail-request": {}
+ }
+}