From a30e1864fadad70c797ca1248a3c1272300a6e2b Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Tue, 19 Nov 2019 14:23:44 -0500 Subject: 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 Change-Id: I3727d72d7195c49d670c30a6fc4245f5a8599e3a --- .../src/test/resources/PythonTestScript.py | 9 --------- .../test/resources/scripts/SamplePythonComponentNode.py | 14 -------------- 2 files changed, 23 deletions(-) delete mode 100644 ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/PythonTestScript.py delete mode 100644 ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/scripts/SamplePythonComponentNode.py (limited to 'ms/blueprintsprocessor/modules/services/execution-service/src/test/resources') diff --git a/ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/PythonTestScript.py b/ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/PythonTestScript.py deleted file mode 100644 index 42b611b88..000000000 --- a/ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/PythonTestScript.py +++ /dev/null @@ -1,9 +0,0 @@ -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 diff --git a/ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/scripts/SamplePythonComponentNode.py b/ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/scripts/SamplePythonComponentNode.py deleted file mode 100644 index f1b614a59..000000000 --- a/ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/scripts/SamplePythonComponentNode.py +++ /dev/null @@ -1,14 +0,0 @@ -from abstract_blueprint_function import AbstractPythonComponentFunction -from blueprint_constants import * - - -class SamplePythonComponentNode(AbstractPythonComponentFunction): - - 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 - -- cgit 1.2.3-korg