Details

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

    Description

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

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            eeginux Xuefeng Xie
            ym9479 Yuriy Malakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: