Add request IDs in command-executor log 74/111574/5
authorJulien Fontaine <julien.fontaine@bell.ca>
Thu, 20 Aug 2020 21:51:17 +0000 (17:51 -0400)
committerKAPIL SINGAL <ks220y@att.com>
Mon, 24 Aug 2020 17:31:19 +0000 (17:31 +0000)
commit0f0b5a02d777482e0011b3bc7276d410ee643ae8
tree16ca3faa0271f29e9f4ca883442ce0885c27f507
parent400aed4ddd71657b6c81bb6ec95b1fac2ad63e8e
Add request IDs in command-executor log

* Update gRPC interface to handle SubRequestID and Originator ID
* Update command-executor log format to handle request IDs in the log statement
* Add SubRequest ID and Originator ID in BP log statement

Issue-ID: CCSDK-2687
Change-Id: If261bb0912df5800ed2fc65371c5ee784d6a45fb
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
12 files changed:
components/model-catalog/proto-definition/proto/CommandExecutor.proto
ms/blueprintsprocessor/application/src/main/resources/logback.xml
ms/blueprintsprocessor/functions/python-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutor.kt
ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/BluePrintConstants.kt
ms/blueprintsprocessor/modules/commons/processor-core/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/core/api/data/BlueprintRemoteProcessorData.kt
ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/RestLoggerService.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/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/server.py
ms/command-executor/src/main/python/utils.py