1 .. This work is licensed under
2 .. a Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
4 .. Copyright 2018 ORANGE
11 NBI application is interacting with 3 ONAP APIs
17 This API is used to provide Service Catalog information
18 Information are retrieved in SDC (and in TOSCA "service template" file)
19 - Only GET operation is provided - this API DID NOT UPDATE SDC
23 SDC_ROOT_URL = "/sdc/v1/catalog/services/"
25 SDC_GET_PATH = "/metadata"
27 SDC_TOSCA_PATH = "/toscaModel"
34 This API is used to provide Service Inventory information
35 This API retrieves service(s) in the AAI inventory. Only following attributes
36 will be retrieve in service inventory: id, name and type
37 (no state or startDate available )
41 AAI_GET_TENANTS_PATH = "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/$onap.cloudOwner/$onap.lcpCloudRegionId/tenants"
43 AAI_GET_CUSTOMER_PATH = "/aai/v11/business/customers/customer/"
45 AAI_GET_SERVICES_FOR_CUSTOMER_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions"
47 AAI_PUT_SERVICE_FOR_CUSTOMER_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/
49 AAI_GET_SERVICE_FOR_CUSTOMER_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/service-instance/$serviceId"
51 AAI_GET_SERVICE_INSTANCES_PATH = "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/"
59 This API is used to perform Service Order and thus instantiate a service.
60 Distinct SO APIs are used for serviceInstance creation request depending on the serviceSpecification category (set in SDC).
61 If service could be delivered end-to-end from one request category is set to 'E2E Service'.
66 MSO_CREATE_E2ESERVICE_INSTANCE_PATH = "/ecomp/mso/infra/e2eServiceInstances/v3"
68 MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v6/"
70 MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/v6/"
73 else following API are used:
77 MSO_CREATE_SERVICE_INSTANCE_PATH = "/ecomp/mso/infra/serviceInstance/v6"
79 MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v6/"
81 MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/v6/"