-
Bug
-
Resolution: Done
-
Medium
-
Dublin Release
-
None
-
SDC Sprint 24
We have created a microservice in our application (A&AI), that uses the sdc-tosca library to parse the service model that is distributed by the SDC distribution client.
We have had multiple occurrences, where a service model has been distributed by the SDC distribution client and it fails in our application when we try parsing the TOSCA with the sdc-tosca library. The failure point should be before it is distributed, as either there is a defect in the sdc-tosca library or the service model is invalid.
For example in our microservice, the sdc-tosca library threw this exception:
org.onap.sdc.toscaparser.api.ToscaTemplate||ToscaTemplate - _handleNestedToscaTemplatesWithTopology - Nested Topologies Loop: too many levels, aborting
This was due to a defect in the sdc-tosca library. We therefore would expect before a service model is distributed from the SDC distribution client, it is validated to ensure it is compatible withe the sdc-tosca library.