Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-1819

SDC distribution client distributes service models not compatible with sdc-tosca library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • Dublin Release
    • SDC-TOSCA
    • 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.

            Unassigned Unassigned
            edening edening
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: