aboutsummaryrefslogtreecommitdiffstats
path: root/vnfapi
AgeCommit message (Collapse)AuthorFilesLines
2019-08-27Roll snapshot versionelalto-fluorineTimoney, Dan (dt5972)7-14/+14
Roll snapshot version in elalto-fluorine branch Issue-ID: SDNC-873 Change-Id: I6dd2ee443338a42a667f6ae5f5842891dd033838 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-09Test case addition for SONAR coverageprakash.e7-14/+14
Added new case for delete flow in PreloadVnfTopologyOperationRPCTest Change-Id: I6eac70c388523853e519626039bb6bfafc46bd77 Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-07Roll version to recreate artifactsTimoney, Dan (dt5972)7-14/+14
Roll version to 1.6.1-SNAPSHOT to recreate El Alto early drop artifacts Change-Id: I16b8739911d9167885c4cddf2690c740fc94f34d Issue-ID: SDNC-827 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-05Use release version of parent pomsTimoney, Dan (dt5972)7-7/+7
Use release version 1.3.1 of parent poms Change-Id: I72a210f17d247d7ea16b5cba39f31eca93802c9a Issue-ID: SDNC-827 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-31Network concurrency supportBrandon, Bruce (bb2697)7-7/+7
Add ability in network GR-API for DG to do the MD-SAL update Change-Id: I3b94c0cfb31fc915f9c5f85c7b8e04995c446a22 Issue-ID: SDNC-826 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2019-05-17Fixed Blocker BugsVasyl Razinkov1-53/+46
Fixed potential "Thred-Leak" Change-Id: I5005967c8ffaf28e2fd11b655a8e467b2a51f330 Issue-ID: SDNC-765 Signed-off-by: Vasyl Razinkov <vasylrazinkov@sidero.ie>
2019-04-30Update master for El Alto versioningTimoney, Dan (dt5972)7-14/+14
Update version in master branch to El Alto version scheme (1.6.0-SNAPSHOT) Change-Id: Iaecc14b953068ce8c006f473adaf1f61ab756712 Issue-ID: SDNC-735 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-24Update to use released 1.2.2 parent1.5.1Timoney, Dan (dt5972)7-7/+7
Update to use released 1.2.2 version of parent poms. Change-Id: I37e1362d7ba9dc38b0c4da24f5d77f78e360d287 Issue-ID: SDNC-735 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-25Update to Fluorine SR2Timoney, Dan (dt5972)7-14/+14
Compile against ODL Fluorine SR2 Change-Id: I076ff5bb0507bbf5516568274351794afb247af0 Issue-ID: SDNC-708 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-18Use released 1.2.1 CCSDK parentTimoney, Dan (dt5972)7-7/+7
Use released 1.2.1 version of CCSDK parent pom Change-Id: I22743371db1abb679fd099f808fe0d4e6e7fe831 Issue-ID: SDNC-704 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-07Add test cases for vnf-apiTimoney, Dan (dt5972)3-28/+471
Added additional jUnit test cases for vnf-api to test all actions of vnf-instance-topology-operations and vf-module-topology-operations. Change-Id: I41a4ec03805c4ede678b78fd72139f2cf1f79be7 Issue-ID: SDNC-687 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-26Remove unused code in vnfapiTimoney, Dan (dt5972)3-271/+3
vnfapi has code to implement the onDataTreeChanged event, but does not register itself as a listener. This code is not used and is untested, so should be removed. Change-Id: Ide4f2c38c5bb22871cd5f86135f791d5f51ed19b Issue-ID: SDNC-667 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-18Update sdnc/northbound to support FluorineTimoney, Dan (dt5972)11-115/+153
Update code to support OpenDaylight Fluorine changes. Change-Id: Iec7e5173076419b101d07e3321b1ca93178b6fa7 Issue-ID: SDNC-552 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-23Roll to initial Dublin snapshotTimoney, Dan (dt5972)7-14/+14
Roll to initial Dublin snapshot Change-Id: Id4af0fa56f4217bba712e375709ee0fa6acddf20 Issue-ID: SDNC-480 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-12Prepare for RC0 release buildTimoney, Dan (dt5972)7-7/+7
Prepare to build 1.4.1 release version artifacts Change-Id: I42408382be1ea82ec83df87f4bdba7097be03214 Issue-ID: SDNC-480 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-02Roll to next snapshot versionTimoney, Dan (dt5972)7-14/+14
Roll to snapshot version 1.4.1-SNAPSHOT Change-Id: I4a0376fef44e1bc6b41672841c90dbe62dd91d9e Issue-ID: SDNC-471 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-01Prepare for release1.4.0Timoney, Dan (dt5972)7-7/+7
Update sdnc/northbound to prepare for release build Change-Id: I42a8f2433f5302f8caf8120ca4d759bf7a9dfe26 Issue-ID: SDNC-471 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-08-20Update swagger documentationTimoney, Dan (dt5972)1-1702/+10304
Updated swagger documentation for SDNC northbound APIs. Change-Id: Ic3c2cb6bd6cd1bb8a732f087ee614e7969d1757b Issue-ID: SDNC-427 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-08-16Fixed error in Yang modelTimoney, Dan (dt5972)1-2/+2
Wrong prefix used in 2 places to refer to ietf-inet-types import (prefix defined as ietf, but reference was using inet) Change-Id: I8a125f3ea560499487ec08250bb46aae1f209347 Issue-ID: SDNC-422 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
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-17Add feature aggregator for sdnc-northboundTimoney, Dan (dt5972)3-7/+2
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-04-18Merge "Fix feature install for vnfapi"v1.3.1David Stilwell1-5/+4
2018-04-18Fix feature install for vnfapiTimoney, Dan (dt5972)1-5/+4
Fixed feature installer for vnfapi and vnftools to use client without -u option. Change-Id: Ic9b152965a6e70577d6e787f1e3b0a26852fcf54 Issue-ID: SDNC-283 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-16Merge "vnfapi yang model change"Dan Timoney1-839/+932
2018-03-07vnfapi yang model changeCheung, Pat (kc1472)1-839/+932
Enhance vnfapi yang model to support network-role-tag, and subnet-role Change-Id: I8f0c7cb492df905881a9cb6747e8f7da6d07c82e Issue-ID: CCSDK-200 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com>
2018-02-28Nitrogen port : sdnc-northboundTimoney, Dan (dt5972)11-376/+141
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-27Add tests to VnfApiProvider part 5pawel.kadlubanski1-17/+78
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient svcLogicClient execute method returns null and there is nor error during transaction writing. Issue-ID: SDNC-267 Change-Id: I8058a2f38bea66fe1c7b6f5dbf24400fef5ab3b8 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-27Add tests to VnfApiProvider part 4pawel.kadlubanski2-173/+250
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient svcLogicClient execute method returns null but exception is thrown during transaction writing. Issue-ID: SDNC-267 Change-Id: I28c833938297032eaa717001cae8810ab007e9b7 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-20Add tests to VnfApiProvider part 3pawel.kadlubanski1-0/+33
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient svcLogicClient execute method returns not null. Change-Id: Ia00b6d8ce2370920035424c6095e1d31611aaeb1 Issue-ID: SDNC-267 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-20Add tests to VnfApiProvider part 2pawel.kadlubanski1-30/+90
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient hasGraph return false. Case when svcLogicClient execute throw SvcLogicException. Case when svcLogicClient execute throw SvcLogicException. Change-Id: I6f65049e7567ae1d0fd9eccf7f8c1f35deb3c482 Issue-ID: SDNC-267 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-19Refactoring VnfApiProvider part 1pawel.kadlubanski2-27/+41
Move VnfInstanceTopologyOperationInput validation from vnfInstanceTopologyOperation to seperate method. Change-Id: I56e3999a92323c745f6d0aa8b4417b9e7acb277a Issue-ID: SDNC-268 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-19Add tests to VnfApiProvider part 1pawel.kadlubanski1-2/+62
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when VnfInstanceTopologyOperationInput is null. Case when VnfInstanceTopologyOperationInput is not null but VnfInstanceRequestInformation is null. Case when VnfInstanceId in VnfInstanceRequestInformation is null. Change-Id: Icc778544a9e7a80600e54a2dcd87b77d11a23121 Issue-ID: SDNC-267 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-14Improve code metricspawel.kadlubanski1-90/+69
Resolve nested try block identified by Sonar as in class vnfapiProvider fixes Define a constant instead of duplicating literals identified by Sonar in class vnfapiProvider fixes Change-Id: I584dfb104ee6f506ef063bb83d00beb11b1f971f Issue-ID: SDNC-243 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-06Fixed some sonar minors in VnfApiProviderJakub Dudycz1-161/+157
Change-Id: Ia9ed74f4c5dfab36c083b887191d9acca817eec8 Issue-ID: SDNC-247 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-05Improve code metricspawel.kadlubanski1-140/+141
Change variable name identified by Sonar as issue in class vnfapiProvider fixes Change-Id: I98965aeb8f64e06d7e2f5d5ff7eca7a9f2ddd22f Issue-ID: SDNC-243 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-02Improve code metricspawel.kadlubanski1-57/+14
Improve code issued identified by Sonar in class vnfapiProvider fixes Change-Id: I7a28380920385f5644eb41767f68d7ae1e176473 Issue-ID: SDNC-243 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-01-30Fixed sonar errors to line 1224Jakub Dudycz1-362/+297
Change-Id: I973460d2a34818294280cae7b44a285448672bdf Issue-ID: SDNC-242 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-30Fixed sonar errors to line 463Jakub Dudycz4-119/+150
Change-Id: Ib3c5a2e872fd47585dca1df49237206e968760e0 Issue-ID: SDNC-242 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2017-12-20Resolve duplicate file nameDan Timoney1-1/+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-22Deleting missing vnf-list entry cause infiniteLoopJoey Sullivan8-11/+692
Deleting a vnf-list entry that does not exist from the databoker throws a ModifiedNodeDoesNotExistException. This conflicted with the optimistic locking retry mechanism causing a infinite loop. Change-Id: I216a31eabf710ed365c8d928e4df0e866848eeca Issue-ID: SDNC-156 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.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-14Fix preload-network-topology-operation err msgsMarcus G K Williams2-12/+13
Issue-Id: SDNC-145 Change-Id: Ibf4fe3101b278ad3dee7632863eb10f4b4c88e48 Signed-off-by: Marcus G K Williams <marcus.williams@intel.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-10-19Ignore ModifiedNodeDoesNotExistException on deleteDan Timoney1-4/+10
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>