From 0948c5b1bf6b9c4fcae9c794172ecb4e98db6831 Mon Sep 17 00:00:00 2001 From: Julien Fontaine Date: Wed, 10 Jun 2020 11:30:37 -0400 Subject: Override Request ID in MDC Context Issue-ID: CCSDK-3676 Signed-off-by: kuldipr Change-Id: I6b0a816fcb40e149be1818f9edc9d4839f1a4cf6 --- .../blueprintsprocessor/selfservice/api/ExecutionServiceController.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ms/blueprintsprocessor/modules/inbounds') diff --git a/ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/ExecutionServiceController.kt b/ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/ExecutionServiceController.kt index bb7ecc6ad..9e0a7ee71 100644 --- a/ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/ExecutionServiceController.kt +++ b/ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/ExecutionServiceController.kt @@ -91,8 +91,7 @@ open class ExecutionServiceController { suspend fun process( @ApiParam(value = "ExecutionServiceInput payload.", required = true) @RequestBody executionServiceInput: ExecutionServiceInput - ): ResponseEntity = mdcWebCoroutineScope { - + ): ResponseEntity = mdcWebCoroutineScope(executionServiceInput) { if (executionServiceInput.actionIdentifiers.mode == ACTION_MODE_ASYNC) { throw httpProcessorException( ErrorCatalogCodes.GENERIC_FAILURE, -- cgit 1.2.3-korg