diff options
author | pramod.jamkhedkar <pramod@research.att.com> | 2019-08-28 11:39:15 -0400 |
---|---|---|
committer | pramod.jamkhedkar <pramod@research.att.com> | 2019-08-30 11:12:58 -0400 |
commit | 363398bece860e1c055adf812996b1bdfad6f8df (patch) | |
tree | bde76a972bb18ae0c443cf2e64a41a44034130a1 /models-interactions/model-simulators/src/test | |
parent | a930b0105c2e45a657427cfcb41fc0330d0c2e99 (diff) |
Added VFModule count
Added the function VFModuleCount to AaiCqResponse class. It counts the
number of vf modules. Also changed the same custom query response in
AaiSimulator.
Issue-ID: POLICY-1858
Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
Change-Id: If08de84f74d2bd9501b501b881cdd761089614dc
Diffstat (limited to 'models-interactions/model-simulators/src/test')
-rw-r--r-- | models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/AaiSimulatorTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/AaiSimulatorTest.java b/models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/AaiSimulatorTest.java index 51f764f1a..a03010a00 100644 --- a/models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/AaiSimulatorTest.java +++ b/models-interactions/model-simulators/src/test/java/org/onap/policy/simulators/AaiSimulatorTest.java @@ -77,9 +77,9 @@ public class AaiSimulatorTest { @Test public void testCqGet() { final AaiCqResponse response = new AaiManager(new RestManager()).getCustomQueryResponse("http://localhost:6666", - "testUser", "testPass", UUID.randomUUID(), "vfw-vm-0201-2"); + "testUser", "testPass", UUID.randomUUID(), "Ete_vFWCLvFWSNK_7ba1fbde_0"); assertNotNull(response); - assertEquals(response.getVserver().getVserverName(), "vfw-vm-0201-2"); + assertEquals(response.getVserver().getVserverName(), "Ete_vFWCLvFWSNK_7ba1fbde_0"); } @Test |