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