2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 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.translator.services.heattotosca.buildconsolidationdata;
23 public class TestConstants{
25 static final String MAIN_SERVICE_TEMPLATE = "MainServiceTemplate.yaml";
27 public static final String TEST_GROUP_POSITIVE = "TestGroupsPositive";
29 public static final String TEST_VOLUME_POSITIVE = "TestVolumePositive";
30 public static final String TEST_VOLUME_NEGATIVE = "TestVolumeNegative";
32 public static final String TEST_PORT_POSITIVE = "TestPortPositive";
34 public static final String TEST_DEPENDS_ON_NODES_CONNECTED_IN = "TestDependsOnNodesConnectedIn";
35 public static final String TEST_DEPENDS_ON_NODES_CONNECTED_OUT = "TestDependsOnNodesConnectedOut";
36 public static final String TEST_DEPENDS_ON_NODES_CONNECTED_IN_AND_OUT =
37 "TestDependsOnNodesConnectedInAndOut";
38 public static final String TEST_DEPENDS_ON_NO_DEPENDENCY =
39 "TestDependsOnNoDependency";
40 public static final String TEST_DEPENDS_ON_INVALID_DEPENDENCY_CANDIDATE =
41 "TestDependsOnInvalidDependencyCandidate";
42 public static final String TEST_GET_ATTR_FOR_NONE_TO_PORT_OR_COMPUTE =
43 "testTranslateGetAttForNoneToPortOrCompute";
44 public static final String TEST_GET_ATTR_FOR_ONLY_RESOURCE_NAME =
45 "testTranslateGetAttOnlyResourceName";
46 public static final String TEST_GET_ATTR_FOR_MORE_THAN_ONE_ATTR_IN_ATTR_LIST =
47 "testTranslateGetAtt";
48 public static final String TEST_GET_ATTR_FOR_NOT_SUPPORTED_ATTR_IN_ATTR_LIST =
49 "testTranslateGetAttUnsupportedAttr";
50 public static final String TEST_IGNORE_GET_ATTR_FROM_OUTPUT =
51 "testTranslateGetAttUnsupportedResource";
52 public static final String TEST_OUTPUT_GET_ATTR =
53 "testTranslateGetAttDynamicParam";
54 public static final String TEST_DEPENDS_ON_MULTIPLE_COMPUTE = "TestDependsOnMultipleComputes";
55 public static final String TEST_DEPENDS_ON_NODE_TEMPLATE_TRANSLATION_ORDER_INVARIANCE =
56 "TestDependsOnNodeTemplateTranslationOrderInvariance";
58 public static final String TEST_SINGLE_NESTED_RESOURCE = "TestTranslateHeatSingleNestedResource";
59 public static final String TEST_MULTIPLE_NESTED_RESOURCE = "TestTranslateHeatNestedMultiBase";
60 public static final String TEST_MULTIPLE_MULTI_LEVEL_NESTED_RESOURCE =
61 "TestTranslateHeatNestedRecursiveMultiLevel";
63 public static final String TEST_SECURITY_RULE_PORT_NESTED_CONNECTION =
64 "TestSecurityRuleToPortNestedConnection";
65 public static final String TEST_SECURITY_RULE_PORT_NESTED_SHARED_PORT =
66 "TestSecurityRuleToPortSharedPortNestedConnection";
67 public static final String TEST_SECURITY_RULE_PORT_MULTI_LEVEL_NESTED_CONNECTION =
68 "TestSecurityRuleToPortMultiLevelNestedConnection";
69 public static final String TEST_SECURITY_RULE_PORT_MULTI_LEVEL_NESTED_SHARED_PORT =
70 "TestSecurityRuleToPortSharedPortMultiLevelNestedConnection";