d824696147e83b508437ea0a20eff1a52636d11b
[so.git] / mso-api-handlers / mso-api-handler-common / src / main / java / org / onap / so / apihandlerinfra / Constants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.apihandlerinfra;
22
23
24 public class Constants {
25
26         private Constants() {
27         }
28
29         public static final String REQUEST_ID_PATH = "/{request-id}";
30
31         public static final String STATUS_SUCCESS = "SUCCESS";
32
33         public static final String MODIFIED_BY_APIHANDLER = "APIH";
34
35         public static final long PROGRESS_REQUEST_COMPLETED = 100L;
36         public static final long PROGRESS_REQUEST_RECEIVED = 0L;
37         public static final long PROGRESS_REQUEST_IN_PROGRESS = 20L;
38
39         public static final String VNF_TYPE_WILDCARD = "*";
40
41         public static final String VOLUME_GROUP_COMPONENT_TYPE = "VOLUME_GROUP";
42
43         public static final String VALID_INSTANCE_NAME_FORMAT = "^[a-zA-Z][a-zA-Z0-9._-]*$";
44
45         public static final String A_LA_CARTE = "aLaCarte";
46         
47         public final static String MSO_PROP_APIHANDLER_INFRA = "MSO_PROP_APIHANDLER_INFRA";
48         
49         public final static String VNF_REQUEST_SCOPE = "vnf";
50         public final static String SERVICE_INSTANCE_PATH = "/serviceInstances";
51         public final static String SERVICE_INSTANTIATION_PATH = "/serviceInstantiation";
52         public final static String ORCHESTRATION_REQUESTS_PATH = "/orchestrationRequests";
53         
54 }