summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-04-19GRA vf module id validation removedshashikanth.vh1-2/+2
vf module id validation is removed, its not mandatory to input vf module id in the requests.code is modified to return vf module id if present in the request, if not return from the DG response object. Change-Id: I077e41ab7734cc46eebe97bbcacf6d3bfc3973d1 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2019-03-11Dublin yang model updateCheung, Pat (kc1472)3-0/+235
PNF support in Dublin Change-Id: Icb2a00b37be11e1d0ac1b13940c0c8053a2a5b64 Issue-ID: SDNC-633 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com>
2019-01-18Update sdnc/northbound to support FluorineTimoney, Dan (dt5972)1-1/+1
Update code to support OpenDaylight Fluorine changes. Change-Id: Iec7e5173076419b101d07e3321b1ca93178b6fa7 Issue-ID: SDNC-552 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-07-30Corrections for northboundgaurav1-1/+2
Changes includes: 1. Correcting connection-attachment topology container name. 2. Make the vnf-topology-operation implementation flexible to allow SDNC generate vnf-id for assign/create operation rather then mandating SO to provide it. Change-Id: I8958a72a4ca2064b781d246e9329436848f578ad Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-26Generic resource API catch upBrandon, Bruce (bb2697)6-118/+184
Adding several Generic Resource API capabilities to Yang, provider, and tests Change-Id: I9d6a3e1494ba35b2e98370ca5b2c4ff8270981af Issue-ID: SDNC-271 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2018-07-20Adding testcases for new allotted resourcegaurav2-0/+286
Addition of a testcase for new allotted resource "connectivity attachment" to generic-resource-api schema. Change-Id: Ibf4164132c187ce26ab253290f9f85b56d4633fd Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-03-22GenericResourceApiProvider unit tests part 8.Jakub Dudycz3-0/+410
Added unit tests for preloadVnfTopologyOperation and preloadNetworkTopologyOperation methods Change-Id: Iae0d3cbbaf27ee351eaf556fe7ad1a1ca54fbe91 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-22GenericResourceApiProvider unit tests part 7.Jakub Dudycz4-21/+371
Added unit tests for tunnelxconnTopologyOperation and brgTopologyOperation methods Change-Id: I2172a62bddb3f394caf93c56ed2078efc153f3ea Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-21GenericResourceApiProvider unit tests part 6.Jakub Dudycz7-122/+506
Added unit tests for securityZoneTopologyOperation method and did some fixes in other test classes. Change-Id: I61adeb21e4dca08b6cd668a6b0e70070d2f86730 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
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>