diff options
author | 2019-07-22 14:08:24 +0000 | |
---|---|---|
committer | 2019-07-22 14:08:45 +0000 | |
commit | 9f93347d67850bc68072216a3dc8448c83c0d214 (patch) | |
tree | 4ccc4d0dbf08782740884de84d6ef57bf26e2ebb /ueb-listener/src/test | |
parent | 18551cc0bf09a0c0443e3f96cb01c1b4743e7a40 (diff) |
Use getEntity to populate Group-Related tables
Changes made:
Convert SdncGroupModel to entity.
Convert SdncVFModel.insertVFCInstanceGroupData to entity.
Corresponding SdncBaseModel changes for getEntity migration.
Corresponding junit changes for getEntity migration.
Issue-ID: CCSDK-1501
Change-Id: I8a8938dc1b1e7bf37212799277aef60ffff5edb1
Signed-off-by: lalena.aria <lalena.aria@att.com>
Diffstat (limited to 'ueb-listener/src/test')
-rw-r--r-- | ueb-listener/src/test/java/org/onap/ccsdk/sli/northbound/uebclient/SdncGroupModelTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ueb-listener/src/test/java/org/onap/ccsdk/sli/northbound/uebclient/SdncGroupModelTest.java b/ueb-listener/src/test/java/org/onap/ccsdk/sli/northbound/uebclient/SdncGroupModelTest.java index 0c6030b44..8bf3c9145 100644 --- a/ueb-listener/src/test/java/org/onap/ccsdk/sli/northbound/uebclient/SdncGroupModelTest.java +++ b/ueb-listener/src/test/java/org/onap/ccsdk/sli/northbound/uebclient/SdncGroupModelTest.java @@ -6,6 +6,7 @@ import static org.mockito.Mockito.*; import java.io.IOException; import org.junit.Test; +import org.onap.sdc.tosca.parser.api.IEntityDetails; import org.onap.sdc.tosca.parser.api.ISdcCsarHelper; import org.onap.sdc.toscaparser.api.NodeTemplate; import org.onap.sdc.toscaparser.api.Group; @@ -17,7 +18,7 @@ import org.onap.ccsdk.sli.core.dblib.DBResourceManager; public void testSdncGroupModelConstructor() { ISdcCsarHelper mockCsarHelper = mock(ISdcCsarHelper.class); NodeTemplate nodeTemplate = mock(NodeTemplate.class); - Group group = mock(Group.class); + IEntityDetails group = mock(IEntityDetails.class); DBResourceManager mockDBResourceManager = mock(DBResourceManager.class); SdncUebConfiguration mockSdncUebConfiguration = mock(SdncUebConfiguration.class); SdncGroupModel testSdncGroupModel = null; |