summaryrefslogtreecommitdiffstats
path: root/appc-dg-util/appc-dg-util-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2018-08-31refactored code in ExecuteNodeActionImpl.javaSandeep J1-137/+151
created a method a called getVserverRelations(SvcLogicContext vnfCtx, SvcLogicContext ctx) having the logic for looping through relationship-list data, to get vserver relations. This piece of code was earlier not covered by test cases. By putting this logic in a separate method, we will be able to write a specific test case for this logic and will be able to increase the code coverage by a big amount. Issue-ID: APPC-1086 Change-Id: Iffa2a4f04a1fd2b93edc4bcdfef8625f196a305e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-10Remove all powermock(ito) usages in appc-dg-utilMichal Kabaj5-171/+241
- Replace powermock usage with mockito. - Introduce AAIServiceFactory for fetching AAIService from bundle - Using blueprint.xml DI to pass factory into ExecuteNodeActionImpl during construction - removed powermock(ito) deps from pom Change-Id: I54450580c68c7d4992cb412192ca6dd4741398fc Issue-ID: APPC-1008 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-06-19Unit tests in dg-utilMichal Kabaj2-29/+45
Replace powermock usage with mockito. Add assertj test dependency for assertions. Change-Id: I8b268aaf4fe51f1709479a60919b987696f1a9a6 Issue-ID: APPC-1008 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-06-13Update license header in misc appc xml filesJohn McClung1-2/+1
Modify license header in miscellaneous appc xml files to reflect 2018 changes. Change-Id: Ia62d24370e152c23f3575c755ff88980fccc42d2 Issue-ID: APPC-1001 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13fix dg-util testroot1-58/+48
Test in dg-util not recording code coverage fixed. Change-Id: Ia018cf26616744fba633b7b983b9f9c080864ef9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-418
2018-06-13More updates to lic header in appc propertiesJohn McClung1-2/+1
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files. Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008 Issue-ID: APPC-996 Signed-off-by: John McClung <jm1364@att.com>
2018-06-11Update license header in misc appc filesJohn McClung4-8/+4
More license header updates to miscellaneous appc files to reflect 2018 changes. Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1 Issue-ID: APPC-994 Signed-off-by: John McClung <jm1364@att.com>
2018-06-06Update license header in appc-dg filesJohn McClung7-14/+7
Modify license header in various appc-dg-util, appc-dg-shared and appc-directed-graph java files to reflect 2018 changes. Change-Id: I4ae3aed9af5eda808ed908948ca1bdee5ac7bd93 Issue-ID: APPC-976 Signed-off-by: John McClung <jm1364@att.com>
2018-02-16ExecuteNodeActionImpl sonar fixesJakub Dudycz1-133/+174
Change-Id: I269cc5a76251b94134734cbe9ef13a6a7f885b23 Issue-ID: APPC-628 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-04Updates and code clean up for DG Util bundleRamya Balaji1-3/+4
Issue-ID: APPC-372 Change-Id: I4a84ac57b220c5e7582351a0fc3b584d7b92596f Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-12-13Fourth part of onap renamePatrick Brady1-1/+1
Some paths within the docker image need to be updated from opt/openecomp to opt/onap Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13Third part of onap renamePatrick Brady12-0/+0
This part of the commit changes the folder structure on all other folders of appc. Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady13-38/+38
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-10-16Sonar Blocker Use a loggeramshegokar1-1/+1
Use a logger to log this exception Sonar Link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|assignees=amshegokar Change-Id: Idb5f7ad9fcc5cf8be7361ffddcc9dbf97d6a0d65 Issue-ID: APPC-278 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-27Add Junit test for appc-provider bundleHao Kuang4-1/+0
1. add junite test for appc-provider bundle to increase sonar test converage. 2. move test files of appc-dg-util under java folder. Issue-Id: APPC-229 Change-Id: I37620a820eb99aecb7fe91974826b4ef2e5d428a Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-26Add junits for dg-util to increase test coverageHao Kuang4-0/+523
Issue-Id: APPC-228 Change-Id: I805127d7b57bc88e97151e9a4e217fe384a33ffb Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady6-13/+13
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-07-20Applying license changes to all filesPatrick Brady9-27/+45
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady9-27/+36
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady2-44/+111
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams1-1/+0
Taking a stab at removing numerous commented out methods and fields. Almost all of what is removed is commented code with no explanation. Change-Id: I61cb1d7100ae6c75f6d42f500ade0504c97b760c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-04-19Fix unchecked conversion warningsGary Wu1-1/+1
Change-Id: I5704987b8a7fea1fc7619fa65d93ab3e936cfd26 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-02-15Moving all files to root directoryPatrick Brady9-0/+722
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>