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