Adding line of business relationship endpoint
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / aai-simulator / src / main / java / org / onap / so / aaisimulator / utils / Constants.java
1 /*-
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
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  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20 package org.onap.so.aaisimulator.utils;
21
22 /**
23  * @author waqas.ikram@ericsson.com
24  *
25  */
26 public class Constants {
27
28     public static final String BASE_URL = "/aai/v15";
29
30     public static final String NODES_URL = BASE_URL + "/nodes";
31
32     public static final String BUSINESS_URL = BASE_URL + "/business";
33
34     public static final String CUSTOMER_URL = BUSINESS_URL + "/customers/customer/";
35
36     public static final String PROJECT_URL = BUSINESS_URL + "/projects/project/";
37
38     public static final String OWNING_ENTITY_URL = BUSINESS_URL + "/owning-entities/owning-entity/";
39
40     public static final String PLATFORMS_URL = BUSINESS_URL + "/platforms/platform/";
41
42     public static final String NETWORK_URL = BASE_URL + "/network";
43
44     public static final String GENERIC_VNFS_URL = NETWORK_URL + "/generic-vnfs/";
45
46     public static final String RELATIONSHIP_LIST_RELATIONSHIP_URL = "/relationship-list/relationship";
47
48     public static final String LINES_OF_BUSINESS_URL = BUSINESS_URL + "/lines-of-business/line-of-business/";
49
50     public static final String HEALTHY = "healthy";
51
52     public static final String PROJECT = "project";
53
54     public static final String OWNING_ENTITY = "owning-entity";
55
56     public static final String X_HTTP_METHOD_OVERRIDE = "X-HTTP-Method-Override";
57
58     public static final String SERVICE_RESOURCE_TYPE = "service-instance";
59
60     public static final String RESOURCE_LINK = "resource-link";
61
62     public static final String RESOURCE_TYPE = "resource-type";
63
64     public static final String GENERIC_VNF_VNF_NAME = "generic-vnf.vnf-name";
65
66     public static final String GENERIC_VNF_VNF_ID = "generic-vnf.vnf-id";
67
68     public static final String SERVICE_INSTANCE_SERVICE_INSTANCE_ID = "service-instance.service-instance-id";
69
70     public static final String SERVICE_SUBSCRIPTION_SERVICE_TYPE = "service-subscription.service-type";
71
72     public static final String CUSTOMER_GLOBAL_CUSTOMER_ID = "customer.global-customer-id";
73
74     public static final String COMPOSED_OF = "org.onap.relationships.inventory.ComposedOf";
75
76     public static final String GENERIC_VNF = "generic-vnf";
77
78     public static final String PLATFORM = "platform";
79
80     public static final String USES = "org.onap.relationships.inventory.Uses";
81
82     public static final String PLATFORM_PLATFORM_NAME = "platform.platform-name";
83
84     public static final String LINE_OF_BUSINESS_LINE_OF_BUSINESS_NAME = "line-of-business.line-of-business-name";
85
86     public static final String LINE_OF_BUSINESS = "line-of-business";
87
88     public static final String SERVICE_SUBSCRIPTION = "service-subscription";
89
90     public static final String CUSTOMER_TYPE = "Customer";
91
92     public static final String SERVICE_INSTANCE_SERVICE_INSTANCE_NAME = "service-instance.service-instance-name";
93
94     private Constants() {}
95
96 }