2 * Copyright © 2016-2018 European Support Limited
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.
17 package org.openecomp.sdc.translator.services.heattotosca;
19 public class Constants {
20 //Service Template - Template Names
21 public static final String GLOBAL_SUBSTITUTION_TYPES_TEMPLATE_NAME = "GlobalSubstitutionTypes";
22 public static final String MAIN_TEMPLATE_NAME = "Main";
24 public static final String MAX_INSTANCES_PROPERTY_NAME = "max_instances";
25 public static final String DESCRIPTION_PROPERTY_NAME = "description";
26 public static final String NAME_PROPERTY_NAME = "name";
27 public static final String SECURITY_GROUPS_PROPERTY_NAME = "security_groups";
28 public static final String PORT_PROPERTY_NAME = "port";
29 static final String VFC_PARENT_PORT_ROLE = "vfc_parent_port_role";
30 static final String SUB_INTERFACE_ROLE = "subinterface_role";
32 public static final String PROP = "properties";
33 public static final String ATTR = "attributes";
34 public static final String SERVICE_INSTANCE_PORT_PREFIX = "port_";
35 public static final String SERVICE_INSTANCE_LINK_PREFIX = "link_";
36 static final String GROUP = "group";
38 static final String COMPUTE_IDENTICAL_VALUE_PROPERTY_PREFIX = "vm_";
39 static final String COMPUTE_IDENTICAL_VALUE_PROPERTY_SUFFIX = "_name";
40 static final String PORT_IDENTICAL_VALUE_PROPERTY_PREFIX = "port_";
41 static final String SUB_INTERFACE_PROPERTY_VALUE_PREFIX = "subinterface_";
42 public static final String ABSTRACT_NODE_TEMPLATE_ID_PREFIX = "abstract_";