• 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();

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

              Created:
              Updated:
              Resolved: