push addional code
[sdc.git] / openecomp-be / lib / openecomp-tosca-lib / src / main / java / org / openecomp / sdc / tosca / services / ToscaConstants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.tosca.services;
22
23
24 public class ToscaConstants {
25
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.";
30
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";
38
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";
46
47   //General
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";
53
54   //properties
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";
61
62   public static final String DHCP_ENABLED_PROPERTY_NAME = "dhcp_enabled";
63
64
65 }