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.onap.so.apihandlerinfra;
24 public class Constants {
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 long PROGRESS_REQUEST_COMPLETED = 100L;
36 public static final long PROGRESS_REQUEST_RECEIVED = 0L;
37 public static final long PROGRESS_REQUEST_IN_PROGRESS = 20L;
39 public static final String VNF_TYPE_WILDCARD = "*";
41 public static final String VOLUME_GROUP_COMPONENT_TYPE = "VOLUME_GROUP";
43 public static final String VALID_INSTANCE_NAME_FORMAT = "^[a-zA-Z][a-zA-Z0-9._-]*$";
45 public static final String A_LA_CARTE = "aLaCarte";
47 public final static String MSO_PROP_APIHANDLER_INFRA = "MSO_PROP_APIHANDLER_INFRA";
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";