2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.tosca.services;
24 public class ToscaConstants {
26 //TOSCA Node Types prefix
27 public static final String NODES_PREFIX = "org.openecomp.resource.vfc.nodes.heat.";
28 public static final String NODES_SUBSTITUTION_PREFIX
29 = "org.openecomp.resource.abstract.nodes.heat.";
31 //TOSCA Requirement Ids
32 public static final String DEPENDS_ON_REQUIREMENT_ID = "dependency";
33 public static final String BINDING_REQUIREMENT_ID = "binding";
34 public static final String LINK_REQUIREMENT_ID = "link";
35 public static final String LOCAL_STORAGE_REQUIREMENT_ID = "local_storage";
36 public static final String NETWORK_REQUIREMENT_ID = "network";
37 public static final String PORT_REQUIREMENT_ID = "port";
39 //TOSCA Capability Ids
40 public static final String BINDING_CAPABILITY_ID = "binding";
41 public static final String LINK_CAPABILITY_ID = "link";
42 public static final String HOST_CAPABILITY_ID = "host";
43 public static final String ENDPOINT_CAPABILITY_ID = "endpoint";
44 public static final String OS_CAPABILITY_ID = "os";
45 public static final String SCALABLE_CAPABILITY_ID = "scalable";
48 public static final String TOSCA_DEFINITIONS_VERSION = "tosca_simple_yaml_1_0_0";
49 public static final String MODELABLE_ENTITY_NAME_SELF = "SELF";
50 public static final String NODE_TEMPLATE_DIRECTIVE_SUBSTITUTABLE = "substitutable";
51 public static final String NATIVE_TYPES_SERVICE_TEMPLATE_NAME = "NativeTypesServiceTemplate";
52 public static final String UNBOUNDED = "UNBOUNDED";
55 public static final String SERVICE_TEMPLATE_FILTER_PROPERTY_NAME = "service_template_filter";
56 public static final String SUBSTITUTE_SERVICE_TEMPLATE_PROPERTY_NAME =
57 "substitute_service_template";
58 public static final String COUNT_PROPERTY_NAME = "count";
59 public static final String INDEX_VALUE_PROPERTY_NAME = "index_value";
60 public static final String SCALING_ENABLED_PROPERTY_NAME = "scaling_enabled";
62 public static final String DHCP_ENABLED_PROPERTY_NAME = "dhcp_enabled";