Hi All,
I am facing an issue in Casablanca where user params for my service
instantiation request are overridden in API Handler as mapToLegacyRequest is
invoked based on below condition. I am passing alaCarte flag as false and using
recipe for WorkflowActionBB. Since the userParams are mapped to legacy request
here, when my request comes in SO, the resourceCounter cannot find other
resource keys like "service" and "vnf" and as a result invokes wrong macro i.e.
Service-Create though we want to invoke Service-Macro-Create.
Please advise if this could be a potential issue in API Handler and the
condition to invoke mapToLegacyRequest should be to match alaCarte=true instead
of alaCarte=false(Note that !alaCarteFlag is used in condition). Thanks to
share your inputs.
if (!alaCarteFlag && recipe != null && Action. createInstance.equals(action)) {
mapToLegacyRequest(requestDetails);
}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16218): https://lists.onap.org/g/onap-discuss/message/16218
Mute This Topic: https://lists.onap.org/mt/30513140/21656
Mute #so: https://lists.onap.org/mk?hashtag=so&subid=2740164
Mute #casablanca: https://lists.onap.org/mk?hashtag=casablanca&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-