1 .. SPDX-License-Identifier: CC-BY-4.0
2 .. Copyright 2018 ORANGE
9 NBI application is interacting with 4 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/v14/cloud-infrastructure/cloud-regions/cloud-region/$onap.cloudOwner/$onap.lcpCloudRegionId/tenants"
41 AAI_GET_CUSTOMER_PATH = "/aai/v14/business/customers/customer/"
43 AAI_GET_SERVICES_FOR_CUSTOMER_PATH = "/aai/v14/business/customers/customer/$customerId/service-subscriptions"
45 AAI_PUT_SERVICE_FOR_CUSTOMER_PATH = "/aai/v14/business/customers/customer/$customerId/service-subscriptions/service-subscription/
47 AAI_GET_SERVICE_FOR_CUSTOMER_PATH = "/aai/v14/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/service-instance/$serviceId"
49 AAI_GET_SERVICE_INSTANCES_PATH = "/aai/v14/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/"
51 AAI_HEALTH_CHECK = "aai/util/echo?action=long"
53 AAI_GET_SERVICE = "/aai/v14/nodes/service-instances/service-instance/$serviceId"
55 AAI_GET_SERVICE_CUSTOMER = "/aai/v14/nodes/service-instances/service-instance/$serviceId?format=resource_and_url"
57 SDC_HEALTH_CHECK = "/sdc2/rest/healthCheck"
63 This API is used to perform Service Order and thus instantiate a service.
64 Distinct SO APIs are used for serviceInstance creation request depending on the
65 serviceSpecification category (set in SDC). If service could be delivered
66 end-to-end from one request category is set to 'E2E Service'.
71 MSO_CREATE_E2ESERVICE_INSTANCE_PATH = "/ecomp/mso/infra/e2eServiceInstances/v3"
73 MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v7/"
75 MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/v7/"
78 else following API are used:
82 MSO_CREATE_SERVICE_INSTANCE_PATH = "/ecomp/mso/infra/serviceInstance/v6"
84 MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v7/"
86 MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/v7/"
88 MSO_HEALTH_CHECK = "/globalhealthcheck"
94 This API is used to retrieve Dmaap notifications from SDC and AAI.
98 DMAAP_CONSUME_EVENTS = "/events/$topic/$consumergroup/$consumerid?timeout=$timeout"