Changes to get properties from southbound propfile
[appc.git] / appc-config / appc-flow-controller / provider / src / main / java / org / onap / appc / flow / controller / utils / FlowControllerConstants.java
index b67f193..275dd43 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * =============================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -15,9 +15,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- *
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
- * ============LICENSE_END=========================================================
+ * * ============LICENSE_END=========================================================
  */
 
 package org.onap.appc.flow.controller.utils;
@@ -32,7 +30,7 @@ public class FlowControllerConstants {
     public static final String DATA_TYPE_XML = "XML";
     public static final String DATA_TYPE_SQL = "SQL";
 
-    public static final String INPUT_PARAM_RESPONSE_PRIFIX = "responsePrefix";
+    public static final String INPUT_PARAM_RESPONSE_PREFIX = "responsePrefix";
 
     public static final String OUTPUT_PARAM_STATUS = "status";
     public static final String OUTPUT_PARAM_ERROR_MESSAGE = "error-message";
@@ -42,6 +40,7 @@ public class FlowControllerConstants {
     public static final String DESINGTIME = "DesignTime";
     public static final String RUNTIME = "RunTime";
     public static final String APPC_FLOW_CONTROLLER = "/appc-flow-controller.properties";
+    public static final String APPC_SOUTHBOUND = "/appc_southbound.properties";
     public static final String VNF_TYPE = "vnf-type";
     public static final String ACTION = "action";
     public static final String VNFC_TYPE = "vnfc-type";
@@ -98,7 +97,7 @@ public class FlowControllerConstants {
     public static final String OUTPUT_STATUS_MESSAGE = "status-message";
     public static final String HEALTHY = "healthy";
     public static final String INPUT_URL = "input.url";
-    public static final String INPUT_HOST_IP_ADDRESS = "host-ip-address";
+    public static final String INPUT_HOST_IP_ADDRESS = "request-parameters.host-ip-address";
     public static final String INPUT_PORT_NUMBER = "port-number";
     public static final String INPUT_CONTEXT = "context";
     public static final String INPUT_SUB_CONTEXT = "sub-context";
@@ -116,4 +115,10 @@ public class FlowControllerConstants {
     public static final String VF_MODULE = "vf-module";
     public static final String VNFC_NAME = "vnfc-name";
     public static final String AAI_VNF_TYPE = "aai-vnf-type";
+    public static final String REST_PROTOCOL = "REST";
+    public static final String HEALTHCHECK ="HealthCheck";
+    public static final String REST_USER="user";
+    public static final String REST_PWD="password";
+    public static final String REST_PORT="port";
+    public static final String REST_CONTEXT_URL="url";
 }