Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-699

SDC Tosca does not generate Groups from resource yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Beijing Release
    • Beijing Release
    • None

      We are currently working on a project which uses the org.openecomp.sdc.sdc-tosca.sdc-tosca version 1.2.2 . We are trying to get a list of Groups from both the resource and service files but the method in SdcCsarHelperImpl.getVfModulesByVf(String vfCustomizationUuid) appears to only return the Groups that are present in the service yaml. There appears to be no way of retrieving groups contained within the resource yaml files using the sdc tosca api.

       

      Example: “resource-VfVpmsBe11253-template.yml”

      groups:

      VfVpmsBe11253..cognosdependencies..module-25:

            type: org.openecomp.groups.VfModule

            metadata:

              vfModuleModelName: VfVpmsBe11253..cognosdependencies..module-25

              vfModuleModelInvariantUUID: 6577996d-e7e6-4ed5-ab53-09210486526e

              vfModuleModelUUID: b8c4d87c-9872-43aa-b1f0-ebfe0ce03708

              vfModuleModelVersion: '4'

            properties:

              min_vf_module_instances: 0

              vf_module_label: cognosdependencies

              max_vf_module_instances:

              vfc_list:

              vf_module_type: Expansion

              vf_module_description:

              initial_count: 0

              volume_group: false

              availability_zone_count:

       

      The above is an example of a resource yaml with a group that cannot be accessed using the API. We have checked with Pavel Aharoni and he has confirmed that the current sdc parser does not have the api to support this.

            gg6304 gg6304
            joycewoohaa joycewoohaa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: