2 * Copyright 2017 ZTE Corporation.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.onap.workflow.activitiext.common;
23 public class ConstString {
26 * http method type : get
28 public static final String HTTP_GET = "GET";
31 * http method type : post
33 public static final String HTTP_POST = "POST";
36 * http method type : delete
38 public static final String HTTP_DELETE = "DELETE";
41 * http method type : put
43 public static final String HTTP_PUT = "PUT";
46 * parameter position : in the uri path
48 public static final String PARAMETER_POSITION_PATH = "path";
51 * parameter positoin : after the uri
53 public static final String PARAMETER_POSITION_QUERY = "query";
56 * parameter positoin : in the request body
58 public static final String PARAMETER_POSITION_BODY = "body";
61 * parameter type : string
63 public static final String PARAMETER_VALUE_SOURCE_STRING = "String";
66 * parameter type : plan
68 public static final String PARAMETER_VALUE_SOURCE_PLAN = "Plan";
71 * parameter type : Topology
73 public static final String PARAMETER_VALUE_SOURCE_TOPOLOGY = "Topology";
76 * parameter type : Variable
78 public static final String PARAMETER_VALUE_SOURCE_VARIABLE = "Variable";
81 * parameter type : Definition
83 public static final String PARAMETER_VALUE_SOURCE_DEFINITION = "Definition";
88 public static final String PARAMETER_VALUE = "value";
93 public static final String PARAMETER_VALUESOURCE = "valueSource";
98 public static final String CSARID_EXPRESSION = "csarId";