diff options
author | Liam Fallon <liam.fallon@est.tech> | 2022-03-09 11:52:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-03-09 11:52:20 +0000 |
commit | 29fbff339dc7590b1ad3a91c559f32d06c6e9d7c (patch) | |
tree | e47aff292423c574cdffaaf2442aaddef2a150ed /runtime-acm/src/test | |
parent | 1ae86979e140c36674db7d91520561b70aba4c32 (diff) | |
parent | e27362ae319ac0aa302381e274c87a82cd4ec9f1 (diff) |
Merge "Fixed Instance Properties Name"
Diffstat (limited to 'runtime-acm/src/test')
3 files changed, 4 insertions, 3 deletions
diff --git a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/AutomationCompositionInstantiationProviderTest.java b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/AutomationCompositionInstantiationProviderTest.java index 30ed89eac..5db0b0a77 100644 --- a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/AutomationCompositionInstantiationProviderTest.java +++ b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/AutomationCompositionInstantiationProviderTest.java @@ -57,7 +57,7 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate; * */ class AutomationCompositionInstantiationProviderTest { - private static final String ID_NAME = "PMSH_Instance1"; + private static final String ID_NAME = "PMSH_Test_Instance"; private static final String ID_VERSION = "1.2.3"; private static final String AC_INSTANTIATION_CREATE_JSON = "src/test/resources/rest/acm/AutomationCompositions.json"; @@ -97,7 +97,7 @@ class AutomationCompositionInstantiationProviderTest { } @Test - void testIntanceResponses() throws Exception { + void testInstanceResponse() throws Exception { var participantProvider = Mockito.mock(ParticipantProvider.class); var acProvider = mock(AutomationCompositionProvider.class); var supervisionHandler = mock(SupervisionHandler.class); diff --git a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/rest/InstantiationControllerTest.java b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/rest/InstantiationControllerTest.java index 2ad15bd48..eae2883c8 100644 --- a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/rest/InstantiationControllerTest.java +++ b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/rest/InstantiationControllerTest.java @@ -68,7 +68,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension; @TestPropertySource(locations = {"classpath:application_test.properties"}) class InstantiationControllerTest extends CommonRestController { - private static final String ID_NAME = "PMSH_Instance1"; + private static final String ID_NAME = "PMSH_Test_Instance"; private static final String ID_VERSION = "1.2.3"; private static final String AC_INSTANTIATION_CREATE_JSON = diff --git a/runtime-acm/src/test/resources/rest/servicetemplates/pmsh_multiple_ac_tosca.yaml b/runtime-acm/src/test/resources/rest/servicetemplates/pmsh_multiple_ac_tosca.yaml index 1d3825f75..2a85a5ffa 100644 --- a/runtime-acm/src/test/resources/rest/servicetemplates/pmsh_multiple_ac_tosca.yaml +++ b/runtime-acm/src/test/resources/rest/servicetemplates/pmsh_multiple_ac_tosca.yaml @@ -1,4 +1,5 @@ tosca_definitions_version: tosca_simple_yaml_1_3 +name: PMSH_Test_Instance data_types: onap.datatypes.ToscaConceptIdentifier: derived_from: tosca.datatypes.Root |