-
Bug
-
Resolution: Done
-
Medium
-
Kohn Release
-
None
When sending legacy payload for get_input and SELF get_property, the create (org.openecomp.sdc.be.servlets.ComponentNodeFilterServlet#addComponentFilterConstraint) and edit (org.openecomp.sdc.be.servlets.ComponentNodeFilterServlet#updateComponentFilterConstraint) node filter API is failing.
The legacy payload for get_property from SELF is:
{ "servicePropertyName": "description", "constraintOperator": "equal", "sourceType": "property", "sourceName": "SELF", "value": "controller_actor" }
And for get_input is:
{ "servicePropertyName": "description", "constraintOperator": "equal", "sourceType": "service_input", "sourceName": "SELF", "value": "cds_model_version" }
Also, the response is not in the legacy format.
Fix the issue to accept also the legacy format and respond in the legacy response format when the legacy payload is used.
This problem was introduced by SDC-4128.
- relates to
-
SDC-4128 Support TOSCA functions for node filters
- Closed