aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api
AgeCommit message (Collapse)AuthorFilesLines
2018-07-30Corrections for northboundgaurav3-2/+6
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-27Merge "Add connection point and related to GR-API"Dan Timoney2-206/+230
2018-07-27Add connection point and related to GR-APIBrandon, Bruce (bb2697)2-206/+230
Add connection point and other new structures to generic resource API Yang Change-Id: I6f116a89ecde866d6c8e2bcd0cd4f3912da9ecad Issue-ID: SDNC-408 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2018-07-27Add client code to generic-resource-apiTimoney, Dan (dt5972)2-2/+115
Add code to generate generic-resource-api client which was contributed to sdnc/apps repo to sdnc/northbound/generic-resource-api, so that it will automatically be updated when yang model is updated. Change-Id: I4d36073e9771e72a2ebc38cb45f2151a88699ae6 Issue-ID: SDNC-406 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-26Generic resource API catch upBrandon, Bruce (bb2697)9-1121/+3064
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-25Merge "Add the request-action types"Dan Timoney1-0/+24
2018-07-20Add the request-action typesgaurav1-0/+24
Added new request action types for existing resources-type for CCVPN use case. Change-Id: Ife19aa69d90ebb347e07fc9314a92fb79129064d Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-20Adding testcases for new allotted resourcegaurav3-3/+289
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-07-20Provider implementation of connectivity attachmentgaurav1-4/+182
Addition of a implementation of new allotted resource "connectivity attachment" to generic-resource-api schema. Connectivity attachment will be provided by Connectivity service and will be allotted to Site service as part of CCVPN use case. This new allotted-resource can serve for both SOTNAttachment and SDWANAttachment. Change-Id: I1823249b6ab9fe315e83862abcf05be65ceded5a Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-19Merge "Add classifier to repo zip"David Stilwell1-1/+0
2018-07-19Add classifier to repo zipTimoney, Dan (dt5972)1-1/+0
Add classifier repo to zip containing jars to be installed in ODL maven repository Change-Id: I3bd48439afa75cf8770eb09347a81bf83ddc610e Issue-ID: SDNC-393 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-18New allotted resource for connectivity attachment.gaurav2-0/+76
Addition of a new allotted resource "connectivity attachment" to generic-resource-api schema. Connectivity attachment will be provided by Connectivity service and will be allotted to Site service as part of CCVPN use case. This new allotted-resource can serve for both SOTNAttachment and SDWANAttachment. Change-Id: Iff5ad46a72d55bc83ca36e4703d439e43fe948ce Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-17Add feature aggregator for sdnc-northboundTimoney, Dan (dt5972)3-7/+3
Add feature aggregator sdnc-northbound-all to install all features from SDNC northbound repo. Change-Id: Ibe74a5d1880fb3c62d535a7367327a1bef610c19 Issue-ID: SDNC-393 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-06Roll version for CasablancaTimoney, Dan (dt5972)7-14/+14
Roll versions for Casablanca development Change-Id: I36526a7b5b8f1471a1d73b86b3cf996524a68f1e Issue-ID: SDNC-333 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-31Update to use CCSDK 0.2.4v1.3.42.0.0-ONAPbeijing2.0.0-ONAPTimoney, Dan (dt5972)7-14/+14
Update to use CCSDK version 0.2.4 Change-Id: I2588021598deeb694db7751be7f38c7548a7c3cc Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Roll to version 1.3.3-SNAPSHOTTimoney, Dan (dt5972)7-7/+7
Update to next snapshot version Change-Id: I400547435524e07b4b095b73d861ed08de424e4d Issue-ID: CCSDK-290 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Update to release version parent 1.0.3Stilwell, David (stilwelld)7-7/+7
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: Iaba08985957d80875bec05099a618a2873ed801c Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-04-29Roll versions step 7 : sdnc/northboundTimoney, Dan (dt5972)7-14/+14
Roll version for next release candidate. Change-Id: Ib9a84ff6d5958876d7c4902673a1cc8c199ef64e Issue-ID: SDNC-294 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-22GenericResourceApiProvider unit tests part 8.Jakub Dudycz4-29/+439
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 Dudycz5-37/+387
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 Dudycz8-139/+532
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 Dudycz3-4/+188
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 Dudycz3-13/+261
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 Dudycz3-72/+194
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 Dudycz4-73/+289
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 Dudycz5-159/+267
Unit tests for serviceTopologyOperation method Change-Id: I9a6f43fb6892b9b1d8f92544f7a90e203b0c9229 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-28Nitrogen port : sdnc-northboundTimoney, Dan (dt5972)10-476/+228
Update sdnc/northbound to OpenDaylight Nitrogen release. Change-Id: I6e299418a7ab441899b78b5d3df5f8ee96829222 Issue-ID: SDNC-269 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-07GenericResourceApiProvider fixes part 6Jakub Dudycz1-168/+341
Fixed most of cyclomatic complexity related sonar issues by method extraction Change-Id: I539ed3db1a162e4e6c96917aa37faad035ff41fe Issue-ID: SDNC-248 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07GenericResourceApiProvider fixes part 5Jakub Dudycz1-1837/+1961
Code reformat only Change-Id: Iee35caa38ab893f0f347a8d6d61072c88a585b9e Issue-ID: SDNC-248 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07GenericResourceApiProvider fixes part 4Jakub Dudycz1-280/+148
Handled code duplicates Change-Id: I34621242eb68d1956b39e62a5b348a90ce3dfad5 Issue-ID: SDNC-248 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07GenericResourceApiProvider fixes part 3Jakub Dudycz1-217/+162
Handled some of the issues identified by sonar Change-Id: Iaddc1f86c6a0c54aa8d838b7608106bf1c2cbb09 Issue-ID: SDNC-248 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07GenericResourceApiProvider fixes part 2Jakub Dudycz1-282/+223
Handled some of the issues identified by sonar Change-Id: I29d36d41499f09a75af099d23948ed661e07aba3 Issue-ID: SDNC-248 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07GenericResourceApiProvider fixes part 1Jakub Dudycz2-307/+356
Handled some of the issues identified by sonar Change-Id: I1afc0cfd24594f96e0782e79f522d5bba1494881 Issue-ID: SDNC-248 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2017-12-20Resolve duplicate file nameDan Timoney1-0/+1
Renamed vnfapiProviderTest.java to VnfapiProviderTestBase.java to avoid conflict with VnfapiProviderTest.java Change-Id: I500785a038691c17b84faac427232da2f9fdee21 Issue-ID: SDNC-228 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-21Bump minor versionJessica Wagantall5-6/+6
Bump minor version in preparation for Amsterdam branching. Change-Id: If5ef8fc3ffb6c819d1c3b8eed0922729997243ef Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Roll to next versionDan Timoney5-6/+6
Since release 1.2.1 has already been cut, need to bump version to 1.2.2-SNAPSHOT. Change-Id: I97f293f264082d78d15984c231b67759c3e1006b Issue-ID: SDNC-74 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-15Fix VoLTE service delete issueramu.n1-1/+2
In VoLTE use case underlay uses network-topology-operation with svc-action create & delete, during underlay create operation need to update MDSAL OPERATIONAL data store similar to network-topology-operation with activate. Change-Id: I312679244656b4bef514595d1ec724969d44d38f Issue-Id: SDNC-193 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-11-09Roll to version 1.2.1-SNAPSHOTv1.2.1Dan Timoney5-6/+6
Roll to next release version Change-Id: Id1d521317ca37583ed28b2bf60b0411120f13e00 Issue-ID: SDNC-74 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-04Add DG actions to last-action in GenRes.API YangMarcus G K Williams2-1/+13
Issue-Id: SDNC-171 Change-Id: I913a40c604f9cab4d9eb1be56c53b69aefc4a3bf Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-11-03Fix GENERIC-RESOURCE-API yang modelDan Timoney4-243/+543
Add missing enum values and container to yang model Also, BRG and tunnelxconn's service instance parent is VNF-API, not GENERIC-RESOURCE-API, so do not try to retrieve service data. Change-Id: I12c977a7e621ce654d0d5d38f8ac8f3ad95487bd Issue-ID: SDNC-166 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-03Update swagger doc for GENERIC-RESOURCE-APIDan Timoney1-403/+653
Update swagger v2.0 doc for GENERIC-RESOURCE-API to reflect changes made for new tunnelxconn assignment Change-Id: I3a298ff36a8eefc0a638dc40531f79137443cc56 Issue-ID: SDNC-160 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-01New tunnelxconn assignmentDan Timoney1-15/+23
Add new assignment (vg-ip) to tunnelxconn assignments container Change-Id: Ib9439ceb440b508007104b0a8452a9ae64255354 Issue-ID: SDNC-160 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-30Fix typos in GENERIC-RESOURCE-APIDan Timoney2-2/+2
Updated location of Yang-mapping properties file and fixed typo in Yang model for GENERIC-RESOURCE-API. Change-Id: I379274beefd5673cca5096ff3769b552e0475535 Issue-ID: SDNC-151 Signed-off-by: Dan Timoney <dtimoney@att.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 Sullivan9-79/+638
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-19Ignore ModifiedNodeDoesNotExistException on deleteDan Timoney1-1/+1
When trying to deleteVnf from operational or config tree, if a ModifiedNodeDoesNotExistException is cause for commit exception it means that the data you are trying to delete does not exist. So you wanted it gone, it's already gone ... log a message at debug level but don't fail the transaction. Change-Id: Iea0f4e78522cc2f437843e2b17080855cd314ea6 Issue-ID: SDNC-137 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-13Sonar coverage - GenericResourceApi providerbeili.zhou2-122/+318
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 Timoney14-1742/+1382
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-10Add missing info to swagger docDan Timoney1-1/+9
Add missing required sections of info in swagger doc for generic-resource-api Change-Id: Iea25ce95d6bc0ae0d0edb7ad9a4f71be0669f231 Issue-ID: SDNC-72 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-10Convert swagger docs to v 2Dan Timoney3-2/+41413
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>