-
Bug
-
Resolution: Done
-
Medium
-
Guilin Release
When Audit Service is enabled the CorrelationUUID specified in the request match the wrong response. See example below :
## REQUEST {"correlationUUID":"3b78ecef-b7cd-47f3-a948-cf15a972dfc8","commonHeader":{"timestamp":"2020-05-11T15:49:10.589Z","originatorId":"System","requestId":"50","subRequestId":"50-50"},"actionIdentifiers":{"blueprintName":"hello-world-bp-ff","blueprintVersion":"1.0.0","actionName":"helloworld","mode":"sync"},"payload":{"helloworld-request":{"helloworld-properties":{"secret":"****REDACTED****"}}}} ## RESPONSE {"correlationUUID":"3b78ecef-b7cd-47f3-a948-cf15a972dfc8","commonHeader":{"timestamp":"2020-05-11T15:49:10.589Z","originatorId":"System","requestId":"48","subRequestId":"48-48"},"actionIdentifiers":{"blueprintName":"hello-world-bp-ff","blueprintVersion":"1.0.0","actionName":"helloworld","mode":"sync"},"status":{"code":200,"eventType":"EVENT_COMPONENT_EXECUTED","timestamp":"2020-05-11T15:49:10.607Z","message":"success"},"payload":{"helloworld-response":{"meshed-template":{"helloworld":"Hello Word!\n"}}}}
You can notice that the "correlationUUID" are matching but the "requestID" and "subRequestId" don't.
How to reproduce :
1. Enable the Kafka Audit Service in the application.properties
blueprintsprocessor.messageproducer.self-service-api.audit.kafkaEnable=true
2. Publish the attached CBA -> cba-enrich.zip
3. Run the attached script -> bench.sh
4. ou should get requests and responses as shown in the example above in your Kafka topics configured for the Audit Service
- blocks
-
CCSDK-2183 Publish execution input/output into Kafka topics
- Closed