aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/services/ToscaConstants.java
blob: 27cf07e16636a6cda48afd69d5321a0cbe42c1ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*-
 * ============LICENSE_START=======================================================
 * SDC
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */

package org.openecomp.sdc.tosca.services;


public class ToscaConstants {

  //TOSCA Node Types prefix
  public static final String NODES_PREFIX = "org.openecomp.resource.vfc.nodes.heat.";
  public static final String NODES_SUBSTITUTION_PREFIX
      = "org.openecomp.resource.abstract.nodes.heat.";

  //TOSCA Requirement Ids
  public static final String DEPENDS_ON_REQUIREMENT_ID = "dependency";
  public static final String BINDING_REQUIREMENT_ID = "binding";
  public static final String LINK_REQUIREMENT_ID = "link";
  public static final String LOCAL_STORAGE_REQUIREMENT_ID = "local_storage";
  public static final String NETWORK_REQUIREMENT_ID = "network";
  public static final String PORT_REQUIREMENT_ID = "port";

  //TOSCA Capability Ids
  public static final String BINDING_CAPABILITY_ID = "binding";
  public static final String LINK_CAPABILITY_ID = "link";
  public static final String HOST_CAPABILITY_ID = "host";
  public static final String ENDPOINT_CAPABILITY_ID = "endpoint";
  public static final String OS_CAPABILITY_ID = "os";
  public static final String SCALABLE_CAPABILITY_ID = "scalable";

  //General
  public static final String TOSCA_DEFINITIONS_VERSION = "tosca_simple_yaml_1_0_0";
  public static final String MODELABLE_ENTITY_NAME_SELF = "SELF";
  public static final String NODE_TEMPLATE_DIRECTIVE_SUBSTITUTABLE = "substitutable";
  public static final String NATIVE_TYPES_SERVICE_TEMPLATE_NAME = "NativeTypesServiceTemplate";
  public static final String UNBOUNDED = "UNBOUNDED";

  //properties
  public static final String SERVICE_TEMPLATE_FILTER_PROPERTY_NAME = "service_template_filter";
  public static final String SUBSTITUTE_SERVICE_TEMPLATE_PROPERTY_NAME =
      "substitute_service_template";
  public static final String COUNT_PROPERTY_NAME = "count";
  public static final String INDEX_VALUE_PROPERTY_NAME = "index_value";
  public static final String SCALING_ENABLED_PROPERTY_NAME = "scaling_enabled";

  public static final String DHCP_ENABLED_PROPERTY_NAME = "dhcp_enabled";


}