diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-10-06 17:50:28 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-10-06 18:55:05 +0300 |
commit | 72ee71bd853417415cba5926a73faae092ee83b5 (patch) | |
tree | 24b78f52773c113c544d7388f1740e1b79680a52 /vid-automation/src/test/java/org | |
parent | fccae62442353fea229184159a56e7a49ad3638c (diff) |
Dont filter get_vnf_data_by_globalid_and_service_type_response results
Filtering happen on AAI as part of FLAG_FLASH_REDUCED_RESPONSE_CHANGEMG.
Issue-ID: VID-659
Change-Id: If43034cce545c90ac44d6d0e70bc0baa3d21283b
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-automation/src/test/java/org')
-rw-r--r-- | vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java index 6709771a5..4ca01dc63 100644 --- a/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java +++ b/vid-automation/src/test/java/org/onap/vid/api/AaiApiTest.java @@ -3,7 +3,6 @@ package org.onap.vid.api; import static net.javacrumbs.jsonunit.JsonMatchers.jsonEquals; import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.core.IsNot.not; import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.defaultPlacement; import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.ofL3Network; import static org.onap.simulator.presetGenerator.presets.aai.PresetAAIStandardQueryGet.ofServiceInstance; @@ -741,6 +740,7 @@ public class AaiApiTest extends BaseApiAaiTest { getResourceAsString("serviceWithNetwork/aaiGetNetworksWithVlansToVnfByServiceInstance.json"), response); } + @FeatureTogglingTest(value = Features.FLAG_FLASH_REDUCED_RESPONSE_CHANGEMG, flagActive = false) @Test public void getVnfDataByGlobalIdAndServiceType() { @@ -761,9 +761,8 @@ public class AaiApiTest extends BaseApiAaiTest { ResponseEntity<String> response = restTemplate.getForEntity(url, String.class); - assertThat(response.getBody(), not(containsString("generic-vfmodule"))); assertResponse(JsonAssert.when(Option.IGNORING_ARRAY_ORDER), - getResourceAsString("changeManagement/reduced_vnf_data_by_globalid_and_service_type.json"), + getResourceAsString("registration_to_simulator/changeManagement/get_vnf_data_by_globalid_and_service_type_response.json"), response.getBody()); } |