502438c3134a6274cc7511cce462e2d86e344f1f
[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
23 package org.onap.appc.flow.controller.utils;
24
25 public class FlowControllerConstants {
26
27     public static final String STRING_ENCODING = "utf-8";
28     public static final String Y = "Y";
29     public static final String N = "N";
30     public static final String DATA_TYPE_TEXT = "TEXT";
31     public static final String DATA_TYPE_JSON = "JSON";
32     public static final String DATA_TYPE_XML = "XML";
33     public static final String DATA_TYPE_SQL = "SQL";
34
35     public static final String INPUT_PARAM_RESPONSE_PREFIX = "responsePrefix";
36
37     public static final String OUTPUT_PARAM_STATUS = "status";
38     public static final String OUTPUT_PARAM_ERROR_MESSAGE = "error-message";
39     public static final String OUTPUT_STATUS_SUCCESS = "success";
40     public static final String OUTPUT_STATUS_FAILURE = "failure";
41
42     public static final String DESINGTIME = "DesignTime";
43     public static final String RUNTIME = "RunTime";
44     public static final String APPC_FLOW_CONTROLLER = "/appc-flow-controller.properties";
45     public static final String VNF_TYPE = "vnf-type";
46     public static final String ACTION = "action";
47     public static final String VNFC_TYPE = "vnfc-type";
48     public static final String VM_INSTANCE = "vm-instance";
49     public static final String VM = "vm";
50     public static final String VNFC = "vnfc";
51     public static final String REFERENCE = "reference";
52     public static final String VNFC_INSTANCE = "vnfc-instance";
53     public static final String DEVICE_PROTOCOL = "device-protocol";
54     public static final String DG_RPC = "dg-rpc";
55     public static final String MODULE = "module";
56     public static final String USER_NAME = "user-name";
57     public static final String PORT_NUMBER = "port-number";
58     public static final String DOWNLOAD_DG_REFERENCE = "download-dg-reference";
59     public static final String REQUEST_ACTION = "request-action";
60     public static final String VNF = "vnf";
61     public static final String EXTERNAL = "External";
62     public static final String ACTION_LEVEL = "action-level";
63     public static final String ARTIFACT_NAME = "artifact-name";
64
65     public enum EndPointType { DG, REST, NODE }
66
67     public enum FlowStatus { PENDING, IN_PROCESS, COMPLETED }
68
69     public static final String GENERATION_NODE = "GENERATION-NODE";
70     public static final String SEQUENCE_TYPE = "SEQUENCE-TYPE";
71     public static final String CATEGORY = "CATEGORY";
72     public static final String EXECUTION_NODE = "EXECUTION-NODE";
73
74     public static final String REQUEST_ID = "reqeust-id";
75     public static final String ARTIFACT_CONTENT = "artifact-content";
76     public static final String ARTIFACT_CONTENT_ESCAPED = "artifact-content-escaped";
77     public static final String FLOW_SEQUENCE = "flow-sequence";
78     public static final String EXECUTTION_MODULE = "execution-module";
79     public static final String EXECUTION_RPC = "execution-rpc";
80     public static final String EXECUTION_TYPE = "execution-type";
81     public static final String GRAPH = "graph";
82     public static final String NODE = "node";
83     public static final String REST = "rest";
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 }