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

        1. pnf_resource_customization_to_service.csv
          0.1 kB
          Xuefeng Xie
        2. pnf_resource_customization.csv
          0.4 kB
          Xuefeng Xie
        3. pnf_resource.csv
          0.4 kB
          Xuefeng Xie
        4. service.csv
          0.5 kB
          Xuefeng Xie
        5. service-Testservice140-csar.csar
          35 kB
          Xuefeng Xie
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: