diff options
author | Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com> | 2018-11-20 12:20:30 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2018-11-30 20:22:00 +0000 |
commit | aa391916bfdbcdcbb6f4ef6c22947ad7170aa2fb (patch) | |
tree | bec6d05aa0c42181606047b4753db3069efb1390 /ms/blueprintsprocessor/functions/python-executor/src/test | |
parent | d2ec19b59ee0bdc1ba3a22baff5d0d30bd8a9e19 (diff) |
Add Jython Component model and validation logics.
Change-Id: I2bdba0016a41e16198d60be68dff68d1ce7ad13a
Issue-ID: CCSDK-696
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Diffstat (limited to 'ms/blueprintsprocessor/functions/python-executor/src/test')
-rw-r--r-- | ms/blueprintsprocessor/functions/python-executor/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/functions/python/executor/ComponentJythonExecutorTest.kt (renamed from ms/blueprintsprocessor/functions/python-executor/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/functions/python/executor/ComponentPythonExecutorTest.kt) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ms/blueprintsprocessor/functions/python-executor/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/functions/python/executor/ComponentPythonExecutorTest.kt b/ms/blueprintsprocessor/functions/python-executor/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/functions/python/executor/ComponentJythonExecutorTest.kt index e16f2f030..1ce8d05bf 100644 --- a/ms/blueprintsprocessor/functions/python-executor/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/functions/python/executor/ComponentPythonExecutorTest.kt +++ b/ms/blueprintsprocessor/functions/python-executor/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/functions/python/executor/ComponentJythonExecutorTest.kt @@ -36,10 +36,10 @@ import org.springframework.test.context.junit4.SpringRunner ["blueprints.processor.functions.python.executor.modulePaths=./../../../../components/scripts/python/ccsdk_blueprints", "blueprints.processor.functions.python.executor.executionPath=./../../../../components/scripts/python/ccsdk_blueprints"]) -class ComponentPythonExecutorTest { +class ComponentJythonExecutorTest { @Autowired - lateinit var componentPythonExecutor: ComponentPythonExecutor + lateinit var componentJythonExecutor: ComponentJythonExecutor @Test @@ -60,17 +60,17 @@ class ComponentPythonExecutorTest { val bluePrintRuntimeService = BluePrintMetadataUtils.getBluePrintRuntime(commonHeader.requestId, "./../../../../components/model-catalog/blueprint-model/starter-blueprint/baseconfiguration") - componentPythonExecutor.bluePrintRuntimeService = bluePrintRuntimeService + componentJythonExecutor.bluePrintRuntimeService = bluePrintRuntimeService val metaData: MutableMap<String, JsonNode> = hashMapOf() metaData.putJsonElement(BluePrintConstants.PROPERTY_CURRENT_STEP, "resource-assignment-py") metaData.putJsonElement(BluePrintConstants.PROPERTY_CURRENT_NODE_TEMPLATE, "resource-assignment-py") - metaData.putJsonElement(BluePrintConstants.PROPERTY_CURRENT_INTERFACE, "DefaultComponentNode") + metaData.putJsonElement(BluePrintConstants.PROPERTY_CURRENT_INTERFACE, "ResourceAssignmentComponent") metaData.putJsonElement(BluePrintConstants.PROPERTY_CURRENT_OPERATION, "process") executionServiceInput.metadata = metaData - componentPythonExecutor.apply(executionServiceInput) + componentJythonExecutor.apply(executionServiceInput) } }
\ No newline at end of file |