Improve Remote Python Executor error handling and allow for structured response 15/97515/1
authorSerge Simard <serge@agilitae.com>
Thu, 24 Oct 2019 05:42:27 +0000 (01:42 -0400)
committerSerge Simard <serge@agilitae.com>
Thu, 24 Oct 2019 05:45:31 +0000 (01:45 -0400)
commit35ab81bb9ff203e14116de10bc2735ffb2883f67
tree574ff6ea87e099971bc41184cafbc72638b0bf4a
parent4433fa9514ed0a031b797367a0daa9aea611d138
Improve Remote Python Executor error handling and allow for structured response

Issue-ID: CCSDK-1855

Signed-off-by: Serge Simard <serge@agilitae.com>
Change-Id: I924918fb06a5a0f118772dedaa41c536c7eca9e7
Signed-off-by: Serge Simard <serge@agilitae.com>
16 files changed:
components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/node_types.json
components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json
components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Scripts/python/SamplePython.py
components/model-catalog/blueprint-model/test-blueprint/remote_scripts/TOSCA-Metadata/TOSCA.meta
components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json
components/model-catalog/proto-definition/proto/CommandExecutor.proto
ms/blueprintsprocessor/functions/python-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutor.kt
ms/blueprintsprocessor/functions/python-executor/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutorTest.kt
ms/blueprintsprocessor/modules/commons/processor-core/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/core/api/data/BlueprintRemoteProcessorData.kt
ms/blueprintsprocessor/modules/services/execution-service/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/services/execution/RemoteScriptExecutionService.kt
ms/command-executor/src/main/python/cds_utils/__init__.py [new file with mode: 0644]
ms/command-executor/src/main/python/cds_utils/payload_coder.py [new file with mode: 0644]
ms/command-executor/src/main/python/command_executor_handler.py
ms/command-executor/src/main/python/command_executor_server.py
ms/command-executor/src/main/python/proto/CommandExecutor_pb2.py
ms/command-executor/src/main/python/utils.py