2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 2017 Amdocs
8 * =============================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
25 package org.openecomp.appc.instar.utils;
27 public class InstarClientConstant
29 public static String INPUT_PARAM_RESPONSE_PRIFIX = "responsePrefix";
30 public static String OUTPUT_PARAM_STATUS = "status";
31 public static String OUTPUT_PARAM_ERROR_MESSAGE = "error-message";
32 public static String OUTPUT_STATUS_SUCCESS = "success";
33 public static String OUTPUT_STATUS_FAILURE = "failure";
37 public static final String INSTAR_KEYS = "instarKeys";
39 public static final String INTERFACE_IP_ADDRESS = "interface-ip-address";
40 public static final String SOURCE_SYSTEM_INSTAR = "INSTAR";
41 public static final String VNF_TYPE = "vnf-type";
42 public static final String ADDRESSFDQN = "addressfqdn";
43 public static final String VNF_NAME = "vnf-name";
44 public static final String INSTAR_KEY_VALUES = "INSTAR-KEY-VALUES";
45 public static final String INSTAR_RESPONSE_BLOCK_NAME = "vnfConfigurationParameterDetails";
46 public static final String FDQN = "fqdn";
49 public static final String MOCK_INSTAR="mock_instar";
50 public static final String AFT_LATITUDE="aft_latitude";
51 public static final String AFT_LONGITUDE="aft_latitude";
52 public static final String AFT_ENVIRONMENT="aft_environment";
53 public static final String SCLD_PLATFORM="scld_platform";
54 public static final String AUTHORIZATION="authorization";
55 public static final String DME2_CLIENT_TIMEOUTMS="dme2_client_timeoutms";
56 public static final String DME2_CLIENT_SENDANDWAIT="dme2_client_sendandwait";
57 public static final String BASE_URL="_base_url";
58 public static final String HTTP_HEADERS="_http_headers";
60 public static final String V6_ADDRESS="ipaddress-v6";
61 public static final String INSTAR_V6_ADDRESS="v6IPAddress";
64 public static final String V4_ADDRESS="ipaddress-v4";
65 public static final String INSTAR_V4_ADDRESS="v4IPAddress";
67 public static final String SUB_CONTEXT="_sub_context";
68 public static final String URL_SUFFIX="_suffix";
69 public static final String VERSION="_version";
70 public static final String ENV_CONTEXT="_env_context";
71 public static final String ROUTEOFFER="_routeoffer";
72 public static final String APPC_PROPERTIES = "appc.properties";
73 public static final String METHOD="_method";
74 public static final String OPERATION_GET_IPADDRESS_BY_VNF_NAME = "getIpAddressByVnf";
76 public static final String OUTBOUND_PROPERTIES= "/outbound.properties";
78 public static String CONTENT_TYPE = "application/json";
79 public static String RETURNED_RESPONSE_TYPE = "application/json";