Merge "Reorder modifiers"
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / 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.openecomp.mso.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 }