diff options
author | Alexey Sandler <alexey.sandler@intl.att.com> | 2019-12-22 14:50:48 +0200 |
---|---|---|
committer | Alexey Sandler <alexey.sandler@intl.att.com> | 2019-12-22 17:25:25 +0200 |
commit | 08b74c3652af3e0c8264e5971763f2d2845413b8 (patch) | |
tree | cc7eff8e2ad1c24dc370e8d5589f6383d6f8ad9a /vid-app-common/src/test | |
parent | 4c87ecaa8cce40f078f8540a15928e7e805e4ef7 (diff) |
Add Volume Groups count ability during summarizing.
Issue-ID: VID-724
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Change-Id: I0478469817f13609618c1597c654decac463474b
Diffstat (limited to 'vid-app-common/src/test')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java | 1 | ||||
-rw-r--r-- | vid-app-common/src/test/resources/payload_jsons/templateSummarize4vnfs6vfmodules.json | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java b/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java index b17b968ca..93208aa1b 100644 --- a/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java +++ b/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java @@ -499,6 +499,7 @@ public class AsyncInstantiationBusinessLogicTest extends AsyncInstantiationBaseT Map<String, Long> expectedMap = ImmutableMap.of( "vnf", 4L, "vfModule", 6L, + "volumeGroup", 1L, "network", 2L ); assertEquals(childrenMap,expectedMap); diff --git a/vid-app-common/src/test/resources/payload_jsons/templateSummarize4vnfs6vfmodules.json b/vid-app-common/src/test/resources/payload_jsons/templateSummarize4vnfs6vfmodules.json index 89a120946..8579efe89 100644 --- a/vid-app-common/src/test/resources/payload_jsons/templateSummarize4vnfs6vfmodules.json +++ b/vid-app-common/src/test/resources/payload_jsons/templateSummarize4vnfs6vfmodules.json @@ -21,7 +21,8 @@ "vprobe_nc_vnf0..VprobeNcVnf..FE_Add_On_Module_vlbagent_eph..module-1yprvi": { "modelInfo": { "modelType": "vfModule" - } + }, + "volumeGroupName": "my_special_hvf6arlba007_lba_dj_01_vol" } } } |