aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2018-03-20GenericResourceApiProvider unit tests part 5.Jakub Dudycz2-0/+184
Added unit tests for contrailRouteTopologyOperation method Change-Id: I8519c5e1f3b8e076186f1965a8e316d0a35095ff Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-20GenericResourceApiProvider unit tests part 4.Jakub Dudycz2-0/+248
Created unit tests for vfModuleTopologyOperation method Change-Id: I3bbd576ab85e95489c3df71e369cfe061dc4c2c3 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-20GenericResourceApiProvider unit tests part 3.Jakub Dudycz2-45/+167
Added some unit tests for networkTopologyOperation method Change-Id: Iad137467fa367c9c6fb0050be1fe07a9019b213d Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-19GenericResourceApiProvider unit tests part 2.Jakub Dudycz3-44/+259
Unit tests for vnfTopologyOperation method Change-Id: I60c73f31eb070cf554e55779d1d18631ce9b7147 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-19GenericResourceApiProvider unit tests part 1.Jakub Dudycz3-103/+211
Unit tests for serviceTopologyOperation method Change-Id: I9a6f43fb6892b9b1d8f92544f7a90e203b0c9229 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2017-10-23Create a Junit test for NetworkTopologyOperationJoey Sullivan6-92/+361
This test verifies NetworkTopologyOperation RPC executes a DG then produces the expected NetworkTopologyOperationOutput and persisted the expected Service in the DataBroker. In addition util classes were updated to make it easier to write additional MDSAL test in the future. Change-Id: Icf099c0dbf4445fb5d3e5b009a8cb6e8ca7200cb Issue-ID: SDNC-101 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-10-19Create a Junit test for ServiceTopologyOperationJoey Sullivan7-71/+626
This test verifies ServiceTopologyOperation RPC executes a DG then produces the expected ServiceTopologyOperationOutput and persisted the expected Service in the DataBroker. In addition util classes were written to make it easier to write additional MDSAL test in the future. Change-Id: I2281099df767397b628ec2caff06f3dd49962b8b Issue-ID: SDNC-101 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-10-13Sonar coverage - GenericResourceApi providerbeili.zhou1-0/+205
Add Junit test case for GenericResourceApiSvcLogicServiceClient In GenericResourceApiSvcLogicServiceClient: - Fix sonarlint issues (remove un-used import and etc) - Changed tab to 4 spaces as per ONAP Java code style Issue-Id: SDNC-101 Change-Id: I789d20a749f8daa4d6b626fedef6a9bb904bae2e Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-10-13Fix installation issues with generic-resource-apiDan Timoney1-3/+3
Updated generic-resource-api to use Aries blueprint to install and resolved issues preventing it from installing properly in karaf. Change-Id: Iaef8bdb7a9e6aaf149a8e8a0d847197cf3f704a9 Issue-ID: SDNC-109 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-10Convert swagger docs to v 2Dan Timoney1-1/+7
Generate updated swagger specs and convert from swagger 1.2 to 2.0 format. Change-Id: I2d357b903596b3f2341ed5d024465e967fdaa76c Issue-ID: SDNC-72 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-25Improve SDNC Sonar coverageramu.n1-0/+129
Added initial test cases for GENERIC-RESOURCE-APIs Change-Id: I84a0d44210f97b9378ad75cc55919d5d404be6a2 Issue-Id: SDNC-101 Signed-off-by: Ramu N <ramu.n@huawei.com>