cf0c763846a6465ea7bed61a7c6eef713a97b4c2
[sdc.git] /
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 Requirement Ids
27   public static final String DEPENDS_ON_REQUIREMENT_ID = "dependency";
28   public static final String BINDING_REQUIREMENT_ID = "binding";
29   public static final String LINK_REQUIREMENT_ID = "link";
30   public static final String LOCAL_STORAGE_REQUIREMENT_ID = "local_storage";
31   public static final String NETWORK_REQUIREMENT_ID = "network";
32   public static final String PORT_REQUIREMENT_ID = "port";
33
34   //TOSCA Capability Ids
35   public static final String BINDING_CAPABILITY_ID = "binding";
36   public static final String LINK_CAPABILITY_ID = "link";
37   public static final String HOST_CAPABILITY_ID = "host";
38   public static final String ENDPOINT_CAPABILITY_ID = "endpoint";
39   public static final String OS_CAPABILITY_ID = "os";
40   public static final String SCALABLE_CAPABILITY_ID = "scalable";
41   public static final String ATTACHMENT_CAPABILITY_ID = "attachment";
42   public static final String FEATURE_CAPABILITY_ID = "feature";
43
44   //General
45   public static final String TOSCA_DEFINITIONS_VERSION = "tosca_simple_yaml_1_0_0";
46   public static final String MODELABLE_ENTITY_NAME_SELF = "SELF";
47   public static final String NODE_TEMPLATE_DIRECTIVE_SUBSTITUTABLE = "substitutable";
48   public static final String NATIVE_TYPES_SERVICE_TEMPLATE_NAME = "NativeTypesServiceTemplate";
49   public static final String UNBOUNDED = "UNBOUNDED";
50   public static final String ST_METADATA_FILE_NAME = "filename";
51   public static final String ST_METADATA_TEMPLATE_NAME = "template_name";
52
53   //properties
54   public static final String SERVICE_TEMPLATE_FILTER_PROPERTY_NAME = "service_template_filter";
55   public static final String SUBSTITUTE_SERVICE_TEMPLATE_PROPERTY_NAME =
56       "substitute_service_template";
57   public static final String COUNT_PROPERTY_NAME = "count";
58   public static final String INDEX_VALUE_PROPERTY_NAME = "index_value";
59   public static final String SCALING_ENABLED_PROPERTY_NAME = "scaling_enabled";
60
61   public static final String DHCP_ENABLED_PROPERTY_NAME = "dhcp_enabled";
62
63   public static final String PORT_FIXED_IPS = "fixed_ips";
64   public static final String PORT_ALLOWED_ADDRESS_PAIRS = "allowed_address_pairs";
65   public static final String MAC_ADDRESS = "mac_address";
66
67   public static final String COMPUTE_IMAGE = "image";
68   public static final String COMPUTE_FLAVOR = "flavor";
69
70
71 }