Uploaded image for project: 'External API Framework'
  1. External API Framework
  2. EXTAPI-194

Use Service Inventory nodes query when retrieving Service Instance

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Dublin Release
    • NBI

    Description

      A&AI allows the nodes query to access service instances without having to specify the hierarchy of customer and service-subscription.

      https://docs.onap.org/en/latest/submodules/aai/aai-common.git/docs/AAI%20REST%20API%20Documentation/nodesQuery.html

      This task will update the Service Inventory API

      GET https://{extapi_url}/nbi/api/v4/service/{serviceinstanceid}   without having to pass either the serviceSpecification.name or serviceSpecification.id ( which is what they were trying to find by querying the inventory ), and also the relatedParty.id ( customer ) as in RequestParams.

      From A&AI we can use

      aai/v14/nodes/service-instances/service-instance/{id}

       

      For GET

      https://{extapi_url}/nbi/api/v4/service/ 

      for list of services we can support get all services using

      e.g. aai/v14/nodes/service-instances/

       

      or also get a filtered list of all services for a specific customer

      https://{extapi_url}/nbi/api/v4/service/?relatedParty.id=Demo

      using the existing queries from Casablanca

       

      i.e. the filter is optional

       

       

       

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              aosull01 Adrian OSullivan
              aosull01 Adrian OSullivan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: