Change code in appc dispatcher for new LCMs in R6
[appc.git] / appc-inbound / appc-design-services / provider / src / main / java / org / onap / appc / design / services / util / DesignServiceConstants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * ================================================================================
9  * Modifications Copyright (C) 2019 Ericsson
10  * =============================================================================
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  *      http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.onap.appc.design.services.util;
26
27 public class DesignServiceConstants {
28
29     public static final String STRING_ENCODING = "utf-8";
30     public static final String Y = "Y";
31     public static final String N = "N";
32     public static final String DATA_TYPE_TEXT = "TEXT";
33     public static final String DATA_TYPE_JSON = "JSON";
34     public static final String DATA_TYPE_XML = "XML";
35     public static final String DATA_TYPE_YAML = "YAML";
36     public static final String DATA_TYPE_VELOCITY = "VELOCITY";
37     public static final String DATA_TYPE_SQL = "SQL";
38
39     public static final String GETDESIGNS = "getDesigns";
40     public static final String GETAPPCTIMESTAMPUTC = "getAppcTimestampUTC";
41     public static final String UPLOADARTIFACTS = "uploadArtifacts";
42     public static final String VALIDATETEMPLATE = "validateTemplate";
43     public static final String GETSTATUS = "getStatus";
44     public static final String SETSTATUS = "setStatus";
45     public static final String GETGUIREFERENCE = "getGUIReference";
46     public static final String GETARTIFACTREFERENCE = "getArtifactReference";
47     public static final String GETAAIDATA = "getAAIData";
48     public static final String GETINSTARDATA = "getInstarData";
49     public static final String PUBLISHARTIFACTS = "publishdArtifacts";
50     public static final String ADDINCART = "addInCart";
51
52     public static final String SUCCESS = "success";
53     public static final String DESINGTIME = "DesignTime";
54     public static final String RUNTIME = "RunTime";
55     public static final String APPC_FLOW_CONTROLLER = "/appc-flow-controller.properties";
56     public static final String VNF_TYPE = "vnf-type";
57     public static final String ACTION = "action";
58     public static final String VNFC_TYPE = "vnfc-type";
59     public static final String VM_INSTANCE = "vm-instance";
60     public static final String VM = "vm";
61     public static final String VNFC = "vnfc";
62
63     public static final String DOCUMENT_PARAMETERS = "document-parameters";
64     public static final String SERVICE_UUID = "service-uuid";
65     public static final String DISTRIBUTION_ID = "distribution-id";
66
67     public static final String SERVICE_NAME = "service-name";
68     public static final String SERVICE_DESCRIPTION = "service-description";
69     public static final String SERVICE_ARTIFACTS = "service-artifacts";
70     public static final String RESOURCE_UUID = "resource-uuid";
71     public static final String RESOURCE_INSTANCE_NAME = "resource-instance-name";
72     public static final String REOURCE_NAME = "resource-name";
73     public static final String RESOURCE_VERSOIN = "resource-version";
74     public static final String RESOURCE_TYPE = "resource-type";
75     public static final String ARTIFACT_UUID = "artifact-uuid";
76     public static final String ARTIFACT_NAME = "artifact-name";
77     public static final String DB_DT_ACTION_STATUS = "DT_ACTION_STATUS";
78     public static final String DB_DT_USER_PERMISSIONS = "DT_USER_PERMISSIONS";
79     public static final String ARTIFACT_VERSOIN = "artifact-version";
80     public static final String ARTIFACT_DESRIPTION = "artifact-description";
81     public static final String ARTIFACT_CONTENTS = "artifact-contents";
82     public static final String REQUEST_INFORMATION = "request-information";
83     public static final String INTERNAL_VERSION = "internal-versoin";
84
85     public static final String DB_DT_ARTIFACT_TRACKING = "DT_ARTIFACT_TRACKING";
86     public static final String DB_SDC_REFERENCE = "ASDC_REFERENCE";
87     public static final String SCHEMA_SDNCTL = "SDNCTL";
88     public static final String GETARTIFACT = "getArtifact";
89     public static final String USER_ID = "userID";
90     public static final String ARTIFACT_TYPE = "artifact-type";
91     public static final String STATUS = "status";
92     public static final String UPLOADARTIFACT = "uploadArtifact";
93     public static final String UPLOADADMINARTIFACT = "uploadAdminArtifact";
94     public static final String REQUETS_ID = "request-id";
95     public static final String REQUEST_ACTION = "request-action";
96     public static final String SOURCE = "source";
97     public static final String DESIGN_SERVICE_PROPERTIES = "designService.properties";
98     public static final String DESIGN_TOOL = "Design-tool";
99     public static final String TECHNOLOGY = "technology";
100     public static final String PROTOCOL = "protocol";
101     public static final String SETPROTOCOLREFERENCE = "setProtocolReference";
102     public static final String ACTION_LEVEL = "action-level";
103     public static final String TEMPLATE = "template";
104     public static final String SETINCART = "setInCart";
105     public static final String INCART = "inCart";
106     public static final String STOREPASSWORD = "storeProperty";
107     public static final String INSTAR_V4_ADDRESS = "v4IPAddress";
108     public static final String INSTAR_V6_ADDRESS = "v6IPAddress";
109     public static final String INSTAR_V4_MASK = "v4Subnet";
110     public static final String INSTAR_V6_MASK = "v6Subnet";
111     public static final String CHECKVNF = "checkVNF";
112     public static final String RETRIEVEVNFPERMISSIONS = "retrieveVnfPermissions";
113     public static final String SAVEVNFPERMISSIONS = "saveVnfPermissions";
114     public static final String CREATORUSERID = "creator-userID";
115     public static final String PERMISSION = "permission";
116
117     private DesignServiceConstants() {
118     }
119
120     public static String getEnvironmentVariable(String env) {
121         return System.getenv(env);
122     }
123
124 }