Add Apache license header per file
[externalapi/nbi.git] / src / main / java / org / onap / nbi / OnapComponentsUrlPaths.java
1 /**
2  *
3  *     Copyright (c) 2017 Orange.  All rights reserved.
4  *
5  *     Licensed under the Apache License, Version 2.0 (the "License");
6  *     you may not use this file except in compliance with the License.
7  *     You may obtain a copy of the License at
8  *
9  *         http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *     Unless required by applicable law or agreed to in writing, software
12  *     distributed under the License is distributed on an "AS IS" BASIS,
13  *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *     See the License for the specific language governing permissions and
15  *     limitations under the License.
16  */
17 package org.onap.nbi;
18
19 /**
20  * Contains ONAP SDC and AAI urlPaths
21  *
22  */
23 public final class OnapComponentsUrlPaths {
24
25     private OnapComponentsUrlPaths() {}
26
27     // SDC
28     public static final String SDC_ROOT_URL = "/sdc/v1/catalog/services/";
29     public static final String SDC_GET_PATH = "/metadata";
30     public static final String SDC_TOSCA_PATH = "/toscaModel";
31
32     // AAI
33     public static final String AAI_GET_TENANTS_PATH =
34             "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/$onap.cloudOwner/$onap.lcpCloudRegionId/tenants";
35     public static final String AAI_GET_CUSTOMER_PATH = "/aai/v11/business/customers/customer/";
36     public static final String AAI_GET_SERVICES_FOR_CUSTOMER_PATH =
37             "/aai/v11/business/customers/customer/$customerId/service-subscriptions";
38     public static final String AAI_PUT_SERVICE_FOR_CUSTOMER_PATH =
39             "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/";
40     public static final String AAI_GET_SERVICE_FOR_CUSTOMER_PATH =
41             "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/service-instance/$serviceId";
42     public static final String AAI_GET_SERVICE_INSTANCES_PATH =
43             "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/";
44
45     // MSO
46     public static final String MSO_CREATE_SERVICE_INSTANCE_PATH = "/ecomp/mso/infra/serviceInstance/v4";
47     public static final String MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v4/";
48     public static final String MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/";
49 }