Kafka Audit Service: Error during sensitive data hiding 34/111034/1
authorJulien Fontaine <julien.fontaine@bell.ca>
Fri, 7 Aug 2020 13:51:39 +0000 (09:51 -0400)
committerJulien Fontaine <julien.fontaine@bell.ca>
Fri, 7 Aug 2020 13:51:39 +0000 (09:51 -0400)
commitbe701b483f4c775285b372bca0cfeb7f0332e931
tree37412eb02bd0a836fcc525b6863202b41dff2d63
parent4a01363c4634a62946d6f2befe00cbf2d9872d90
Kafka Audit Service: Error during sensitive data hiding

Changed behaviour during sensitive data hiding.
Instead of looking for every node template defined in the CBA we only check for the ones declared for the current executed workflow.
This prevent the issue when you have two independant workflows defined in the same CBA and one of those has a node template using a get_input expression for template-prefix in a component-resource-resolution. If you execute the other workflow audit service was still trying to resolve this expression which was making it fail.

Issue-ID: CCSDK-2636
Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca>
Change-Id: Ib232c26ebf930917e19e7970e1a56c15e676888f
ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/BluePrintConstants.kt
ms/blueprintsprocessor/modules/inbounds/selfservice-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/selfservice/api/KafkaPublishAuditService.kt