1 .. SPDX-License-Identifier: CC-BY-4.0
2 .. Copyright 2018 ORANGE
9 NBI application is interacting with 3 ONAP APIs
15 This API is used to provide Service Catalog information
16 Information are retrieved in SDC (and in TOSCA "service template" file)
17 - Only GET operation is provided - this API DID NOT UPDATE SDC
21 SDC_ROOT_URL = "/sdc/v1/catalog/services/"
23 SDC_GET_PATH = "/metadata"
25 SDC_TOSCA_PATH = "/toscaModel"
32 This API is used to provide Service Inventory information
33 This API retrieves service(s) in the AAI inventory. Only following attributes
34 will be retrieve in service inventory: id, name and type
35 (no state or startDate available )
39 AAI_GET_TENANTS_PATH = "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/$onap.cloudOwner/$onap.lcpCloudRegionId/tenants"
41 AAI_GET_CUSTOMER_PATH = "/aai/v11/business/customers/customer/"
43 AAI_GET_SERVICES_FOR_CUSTOMER_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions"
45 AAI_PUT_SERVICE_FOR_CUSTOMER_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/
47 AAI_GET_SERVICE_FOR_CUSTOMER_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/service-instance/$serviceId"
49 AAI_GET_SERVICE_INSTANCES_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/"
57 This API is used to perform Service Order and thus instantiate a service.
58 Distinct SO APIs are used for serviceInstance creation request depending on the
59 serviceSpecification category (set in SDC). If service could be delivered
60 end-to-end from one request category is set to 'E2E Service'.
65 MSO_CREATE_E2ESERVICE_INSTANCE_PATH = "/ecomp/mso/infra/e2eServiceInstances/v3"
67 MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v6/"
69 MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/v6/"
72 else following API are used:
76 MSO_CREATE_SERVICE_INSTANCE_PATH = "/ecomp/mso/infra/serviceInstance/v6"
78 MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v6/"
80 MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/v6/"