2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2019 Nordix Foundation.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.onap.so.aaisimulator.utils;
23 * @author waqas.ikram@ericsson.com
26 public class Constants {
28 public static final String BASE_URL = "/aai/v15";
30 public static final String NODES_URL = BASE_URL + "/nodes";
32 public static final String BUSINESS_URL = BASE_URL + "/business";
34 public static final String CUSTOMER_URL = BUSINESS_URL + "/customers/customer/";
36 public static final String PROJECT_URL = BUSINESS_URL + "/projects/project/";
38 public static final String OWNING_ENTITY_URL = BUSINESS_URL + "/owning-entities/owning-entity";
40 public static final String PLATFORMS_URL = BUSINESS_URL + "/platforms/platform/";
42 public static final String NETWORK_URL = BASE_URL + "/network";
44 public static final String GENERIC_VNFS_URL = NETWORK_URL + "/generic-vnfs/";
46 public static final String RELATIONSHIP_LIST_RELATIONSHIP_URL = "/relationship-list/relationship";
48 public static final String HEALTHY = "healthy";
50 public static final String PROJECT = "project";
52 public static final String OWNING_ENTITY = "owning-entity";
54 public static final String X_HTTP_METHOD_OVERRIDE = "X-HTTP-Method-Override";
56 public static final String SERVICE_RESOURCE_TYPE = "service-instance";
58 public static final String RESOURCE_LINK = "resource-link";
60 public static final String RESOURCE_TYPE = "resource-type";
62 public static final String GENERIC_VNF_VNF_NAME = "generic-vnf.vnf-name";
64 public static final String GENERIC_VNF_VNF_ID = "generic-vnf.vnf-id";
66 public static final String SERVICE_INSTANCE_SERVICE_INSTANCE_ID = "service-instance.service-instance-id";
68 public static final String SERVICE_SUBSCRIPTION_SERVICE_TYPE = "service-subscription.service-type";
70 public static final String CUSTOMER_GLOBAL_CUSTOMER_ID = "customer.global-customer-id";
72 public static final String COMPOSED_OF = "org.onap.relationships.inventory.ComposedOf";
74 public static final String GENERIC_VNF = "generic-vnf";
76 public static final String PLATFORM = "platform";
78 public static final String USES = "org.onap.relationships.inventory.Uses";
80 public static final String PLATFORM_PLATFORM_NAME = "platform.platform-name";
82 public static final String SERVICE_SUBSCRIPTION = "service-subscription";
84 public static final String CUSTOMER_TYPE = "Customer";
86 public static final String SERVICE_INSTANCE_SERVICE_INSTANCE_NAME = "service-instance.service-instance-name";
88 private Constants() {}