-
Task
-
Resolution: Done
-
Medium
-
None
A&AI allows the nodes query to access service instances without having to specify the hierarchy of customer and service-subscription.
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