• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • None
    • None
    • Dublin SO Sprint 2

      Support the PNF Model ingestion using the getEnitity API from the SDC Parser library. 

      This is the query:

      EntityQuery entityQuery = EntityQuery.newBuilder(SdcTypes.PNF)
              .build();
      TopologyTemplateQuery topologyTemplateQuery = TopologyTemplateQuery.newBuilder(SdcTypes.SERVICE)
              .build();

      List<IEntityDetails> pnfs = sdcCsarHelper.getEntity(entityQuery, topologyTemplateQuery, false);

       

      //you should check that the list is not empty first

      Map<String, RequirementAssignment> reqs = pnfs.get(0).getRequirements();
      Map<String, String> meta = pnfs.get(0).getMetadata().getAllProperties();

        1. pnf_resource_customization_to_service.csv
          0.1 kB
          eeginux
        2. pnf_resource_customization.csv
          0.4 kB
          eeginux
        3. pnf_resource.csv
          0.4 kB
          eeginux
        4. service.csv
          0.5 kB
          eeginux
        5. service-Testservice140-csar.csar
          35 kB
          eeginux

            eeginux eeginux
            ym9479 ym9479
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: