diff options
author | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2021-01-18 09:39:44 +0100 |
---|---|---|
committer | Remigiusz Janeczek <remigiusz.janeczek@nokia.com> | 2021-01-21 11:34:46 +0100 |
commit | 4a39a56b42b5ee8586cf91f79187e317491ec003 (patch) | |
tree | c7c9c05c05b4df59bf9e2da96525a5f6382a8b05 /mod/bpgenerator/onap/src/test | |
parent | 6345bc31e13829b84115b3f1de9e384b1f91c2ab (diff) |
BPGenerator - fix placement of service component name override
Issue-ID: DCAEGEN2-2481
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: I32c3d2eb1e08dbcfe5b8ec57394a000a76150f00
Diffstat (limited to 'mod/bpgenerator/onap/src/test')
-rw-r--r-- | mod/bpgenerator/onap/src/test/java/org/onap/blueprintgenerator/service/common/PropertiesServiceTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/bpgenerator/onap/src/test/java/org/onap/blueprintgenerator/service/common/PropertiesServiceTest.java b/mod/bpgenerator/onap/src/test/java/org/onap/blueprintgenerator/service/common/PropertiesServiceTest.java index 520d2d2..a598315 100644 --- a/mod/bpgenerator/onap/src/test/java/org/onap/blueprintgenerator/service/common/PropertiesServiceTest.java +++ b/mod/bpgenerator/onap/src/test/java/org/onap/blueprintgenerator/service/common/PropertiesServiceTest.java @@ -103,7 +103,7 @@ public class PropertiesServiceTest { @Test public void shouldReturnInputsAndPropertiesForOnap() { //given - when(appConfigService.createAppconfig(any(), eq(getOnapComponentSpec()), eq(""), eq(false))) + when(appConfigService.createAppconfig(any(), eq(getOnapComponentSpec()), eq(false))) .thenReturn((Map<String, Object>) resourceConfigResponse); //when @@ -278,6 +278,7 @@ public class PropertiesServiceTest { expectedProperties.setImage(getGetInput(image)); expectedProperties.setLocation_id(getGetInput("location_id")); expectedProperties.setService_component_type("test-Name"); + expectedProperties.setService_component_name_override(getGetInput("service_component_name_override")); expectedProperties.setLog_info(Collections.emptyMap()); expectedProperties.setReplicas(getGetInput("replicas")); expectedProperties.setTls_info(getTlsInfo()); |