Update java files with correct license text
[appc.git] / appc-config / appc-flow-controller / provider / src / main / java / org / onap / appc / flow / controller / utils / FlowControllerConstants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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  *
19  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
20  * ============LICENSE_END=========================================================
21  */
22 package org.onap.appc.flow.controller.utils;
23
24 public class FlowControllerConstants {
25
26         public static final String STRING_ENCODING = "utf-8";
27         public static final String Y = "Y";
28         public static final String N = "N";
29         public static final String DATA_TYPE_TEXT = "TEXT";
30         public static final String DATA_TYPE_JSON = "JSON";
31         public static final String DATA_TYPE_XML = "XML";
32         public static final String DATA_TYPE_SQL = "SQL";
33
34         public static final String INPUT_PARAM_RESPONSE_PRIFIX = "responsePrefix";
35
36         public static final String OUTPUT_PARAM_STATUS = "status";
37         public static final String OUTPUT_PARAM_ERROR_MESSAGE = "error-message";
38         public static final String OUTPUT_STATUS_SUCCESS = "success";
39         public static final String OUTPUT_STATUS_FAILURE = "failure";
40
41         public static final String DESINGTIME = "DesignTime";
42         public static final String RUNTIME = "RunTime";
43         public static final String APPC_FLOW_CONTROLLER = "/appc-flow-controller.properties";
44         public static final String VNF_TYPE = "vnf-type";
45         public static final String ACTION = "action";
46         public static final String VNFC_TYPE = "vnfc-type";
47         public static final String VM_INSTANCE = "vm-instance";
48         public static final String VM = "vm";
49         public static final String VNFC = "vnfc";
50         public static final String REFERENCE = "reference";
51         public static final String VNFC_INSTANCE = "vnfc-instance";
52         public static final String DEVICE_PROTOCOL = "device-protocol";
53         public static final String DG_RPC = "dg-rpc";
54         public static final String MODULE = "module";
55         public static final String USER_NAME = "user-name";
56         public static final String PORT_NUMBER = "port-number";
57         public static final String DOWNLOAD_DG_REFERENCE = "download-dg-reference";
58         public static final String REQUEST_ACTION = "request-action";
59         public static final String VNF = "vnf";
60         public static final String EXTERNAL = "External";
61         public static final String ACTION_LEVEL = "action-level";
62         public static final String ARTIFACT_NAME = "artifact-name";
63
64         public static enum endPointType {DG,REST,NODE};
65         public static enum flowStatus {PENDING,IN_PROCESS,COMPLETED};
66
67         public static final String GENERATION_NODE = "GENERATION-NODE";
68         public static final String SEQUENCE_TYPE = "SEQUENCE-TYPE";
69         public static final String CATEGORY = "CATEGORY";
70         public static final String EXECUTION_NODE = "EXECUTION-NODE";
71
72
73         public static final String REQUEST_ID = "reqeust-id";
74         public static final String ARTIFACT_CONTENT = "artifact-content";
75         public static final String ARTIFACT_CONTENT_ESCAPED = "artifact-content-escaped";
76         public static final String FLOW_SEQUENCE = "flow-sequence";
77         public static final String EXECUTTION_MODULE = "execution-module";
78         public static final String EXECUTION_RPC = "execution-rpc";
79         public static final String EXECUTION_TYPE = "execution-type";
80         public static final String GRAPH = "graph";
81         public static final String NODE = "node";
82         public static final String REST = "rest";
83
84
85         public static final String DB_SDC_ARTIFACTS = "ASDC_ARTIFACTS";
86         public static final String DB_SDC_REFERENCE = "ASDC_REFERENCE";
87         public static final String DB_REQUEST_ARTIFACTS = "REQUEST_ARTIFACTS";
88         public static final String DB_MULTISTEP_FLOW_REFERENCE = "MULTISTEP_FLOW_REFERENCE";
89         public static final String DB_PROTOCOL_REFERENCE = "PROTOCOL_REFERENCE";
90         public static final String DB_PROCESS_FLOW_REFERENCE = "PROCESS_FLOW_REFERENCE";
91         public static final String MOCK_HEALTHCHECK = "mock-healthcheck";
92         public static final String ACTION_IDENTIFIER = "action-identifier";
93         public static final String PAYLOAD = "payload";
94         public static final String FAILURE = "failure";
95         public static final String SUCCESS = "success";
96         public static final String OTHERS = "Others";
97         public static final String RESPONSE_PREFIX = "response-prefix";
98         public static final String OUTPUT_STATUS_MESSAGE = "status-message";
99         public static final String HEALTHY = "healthy";
100         public static final String INPUT_URL = "input.url";
101         public static final String INPUT_HOST_IP_ADDRESS = "host-ip-address";
102         public static final String INPUT_PORT_NUMBER = "port-number";
103         public static final String INPUT_CONTEXT = "context";
104         public static final String INPUT_SUB_CONTEXT = "sub-context";
105         public static final String INPUT_REQUEST_ACTION_TYPE = "request-action-type";
106         public static final String INPUT_REQUEST_ACTION = "request-action";
107         public static final String HTTP = "http://";
108
109         public static final String VNF_ID = "vnf-id";
110         public static final String VSERVER_ID = "vserver-id";
111         public static final String SEQ_GENERATOR_URL = "seq_generator_url";
112         public static final String SEQ_GENERATOR_UID = "seq_generator.uid";
113         public static final String SEQ_GENERATOR_PWD = "seq_generator.pwd";
114         public static final String CAPABILITY ="capability";
115         public static final String DEPENDENCYMODEL ="tosca_dependency_model";
116         public static final String VF_MODULE ="vf-module";
117         public static final String VNFC_NAME = "vnfc-name";
118         public static final String AAI_VNF_TYPE ="aai-vnf-type";
119     }