From d3cdace51db473c93540229da3a0fd061120957c Mon Sep 17 00:00:00 2001 From: SantoshB Date: Thu, 15 Oct 2020 14:57:57 +0530 Subject: cds-bash script package Issue-ID: CCSDK-2913 Change-Id: I2f97b0c78314019d5002e8563c4e433ae5e816b9 Signed-off-by: SantoshB Signed-off-by: mrichomme --- .../cba/remote-python/Scripts/python/EchoRemotePython.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py (limited to 'cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py') diff --git a/cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py b/cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py new file mode 100644 index 0000000..08488da --- /dev/null +++ b/cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py @@ -0,0 +1,13 @@ +#!/usr/bin/python + +import sys +from cds_utils.payload_coder import send_response_data_payload + +def echo(arg): + print(arg) + +if __name__ == "__main__": + echo(sys.argv[1]) + resp_data = {"abc": ["xyz", "qqq"]} + send_response_data_payload(resp_data) + sys.exit(0) -- cgit 1.2.3-korg