From 2df7062e15c2b84c2d2a52d3dc2f5fdbdb1a70bf Mon Sep 17 00:00:00 2001 From: janani b Date: Fri, 26 Apr 2019 18:57:52 +0530 Subject: UT for python executor Remote python executor with processNB Issue-ID: CCSDK-1243 Change-Id: I4c46617a38be098f247d1123ede3f9bd3cce11ee Signed-off-by: janani b --- .../requests/sample-remote-python-request.json | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ms/blueprintsprocessor/functions/python-executor/src/test/resources/payload/requests/sample-remote-python-request.json (limited to 'ms/blueprintsprocessor/functions/python-executor/src/test/resources/payload/requests/sample-remote-python-request.json') diff --git a/ms/blueprintsprocessor/functions/python-executor/src/test/resources/payload/requests/sample-remote-python-request.json b/ms/blueprintsprocessor/functions/python-executor/src/test/resources/payload/requests/sample-remote-python-request.json new file mode 100644 index 000000000..68a366432 --- /dev/null +++ b/ms/blueprintsprocessor/functions/python-executor/src/test/resources/payload/requests/sample-remote-python-request.json @@ -0,0 +1,23 @@ +{ + "actionIdentifiers": { + "actionName": "activate", + "blueprintName": "remote_scripts", + "blueprintVersion": "1.0.0", + "mode": "sync" + }, + "commonHeader": { + "flags": { + "force": true, + "ttl": 3600 + }, + "originatorId": "sdnc", + "requestId": "123456-1000", + "subRequestId": "sub-123456-1000", + "timestamp": "2012-04-23T18:25:43.511Z" + }, + "payload": { + "execute-remote-python": { + "input": "1234" + } + } +} -- cgit 1.2.3-korg