diff options
author | 2019-11-19 14:23:44 -0500 | |
---|---|---|
committer | 2019-12-11 12:54:25 -0500 | |
commit | a30e1864fadad70c797ca1248a3c1272300a6e2b (patch) | |
tree | 65b2ae886a767f1d4dbe3578524d234529c7d710 /ms/blueprintsprocessor/functions/python-executor/src/test/resources/PythonTestScript.py | |
parent | 32416f7624757c87260671d74124ea3e0a122331 (diff) |
Separate jython implementation and dependencies.
Refactored cds python capabilities to python-executor function, so that it will easy to disable and deprecation
This change is not jython depreciation, just separating out
Issue-ID: CCSDK-1865
Signed-off-by: Brinda Santh <bs2796@att.com>
Change-Id: I3727d72d7195c49d670c30a6fc4245f5a8599e3a
Diffstat (limited to 'ms/blueprintsprocessor/functions/python-executor/src/test/resources/PythonTestScript.py')
-rw-r--r-- | ms/blueprintsprocessor/functions/python-executor/src/test/resources/PythonTestScript.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/functions/python-executor/src/test/resources/PythonTestScript.py b/ms/blueprintsprocessor/functions/python-executor/src/test/resources/PythonTestScript.py new file mode 100644 index 000000000..42b611b88 --- /dev/null +++ b/ms/blueprintsprocessor/functions/python-executor/src/test/resources/PythonTestScript.py @@ -0,0 +1,9 @@ +class PythonTestScript(): + + def process(self, execution_request): + print "Processing calling..." + PROPERTY_BLUEPRINT_BASE_PATH + return None + + def recover(self, runtime_exception, execution_request): + print "Recovering calling..." + PROPERTY_BLUEPRINT_BASE_PATH + return None |