2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.mso.apihandlerinfra;
24 public class Constants {
26 public static final String VNF_TYPES_PATH = "/{version: v1|v2|v3}/vnf-types";
27 public static final String NETWORK_TYPES_PATH = "/{version: v1|v2|v3}/network-types";
28 public static final String VF_MODULE_MODEL_NAMES_PATH = "/{version: v2|v3}/vf-module-model-names";
29 public static final String REQUEST_ID_PATH = "/{request-id}";
31 public static final String STATUS_SUCCESS = "SUCCESS";
33 public static final String MODIFIED_BY_APIHANDLER = "APIH";
35 public static final String SCHEMA_VERSION_V1 = "v1";
36 public static final String SCHEMA_VERSION_V2 = "v2";
37 public static final String SCHEMA_VERSION_V3 = "v3";
39 public static final long PROGRESS_REQUEST_COMPLETED = 100L;
40 public static final long PROGRESS_REQUEST_RECEIVED = 0L;
41 public static final long PROGRESS_REQUEST_IN_PROGRESS = 20L;
43 public static final String VNF_TYPE_WILDCARD = "*";
45 public static final String VOLUME_GROUP_COMPONENT_TYPE = "VOLUME_GROUP";
47 public static final String VALID_INSTANCE_NAME_FORMAT = "^[a-zA-Z][a-zA-Z0-9._-]*$";
49 public static final String A_LA_CARTE = "aLaCarte";