aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dg-util
AgeCommit message (Collapse)AuthorFilesLines
2019-02-22Test coverage in ExecuteNodeActionImplJoss Armstrong2-8/+62
Increase coverage from 42% to 92% Issue-ID: APPC-1477 Change-Id: Ic9ef407663d0a79ccec8ed7045230c4d734a3cc4 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-18Update install-feature for pre-installPatrick Brady1-3/+1
Since the feature zip files will be extracted during docker build, the install-features scripts need to be modified so that the script will not fail when the zip file does not exist, since the zip file will have already been unzipped. Change-Id: I441064226db956addae5c2f238114ce3965c13ef Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1337
2019-01-08Change parent version to appc snapshotPatrick Brady6-6/+6
Changing to the current release snapshot version of the appc parents instead of the previous release version. This allows updated changes to parents to be in builds. Change-Id: I6cec484012c2cb48ee1ea7f10fd058d017f00947 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Update parent pom versionPatrick Brady6-6/+6
Update the parent version to appc parent 1.4.1 Change-Id: I185d086595bed6410f7fd6b8c139cc6300e4467e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2018-11-12Increment version numberPatrick Brady6-7/+7
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-11-05correct unnecessary license statmentTaka Cho1-18/+0
there are three files have in-line or incorrect license statements Change-Id: I7bb99782fcf2d5c567016ee12042ae19ea66f9e4 Issue-ID: APPC-1229 Signed-off-by: Taka Cho <takamune.cho@att.com>
2018-10-11Roll to next version after releasePatrick Brady6-7/+7
Change to version 1.4.1-SNAPSHOT Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-09Change to released parent pomsPatrick Brady6-6/+6
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-26Add version to pomPatrick Brady1-0/+1
Another missing version tag Change-Id: Iee5a3a801729013db1802f2f7af45a383cd904e0 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-24Add version to pom filesPatrick Brady2-0/+2
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel1-2/+2
patch description: Restore of valid shebang lines and exec flags Change-Id: Id44c9d4ac9f2243f478213b34f61a30576ca2235 Issue-ID: APPC-1203 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
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-24Remove old appc-commonRyan Young2-2/+2
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-13Karaf 4 for appc-dg featuresPatrick Brady8-155/+190
Including appc-dg-util, appc-dg-shared, and appc-ssh-adapter Change-Id: Ia137a87c560438d23f7858e0f4068717891be076 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1137
2018-08-10Remove all powermock(ito) usages in appc-dg-utilMichal Kabaj6-181/+243
- 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 Kabaj3-34/+50
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 McClung7-14/+7
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-05-22Increment version for new branchPatrick Brady4-5/+5
Change from version 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT and update version file. Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-916
2018-04-11ODL Upgrade Method 2Patrick Brady2-18/+5
Changes necessary to support upgrade to ODL Nitrogen, while continuing to use Karaf 3 style features Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-403
2018-03-08upgrade httpclient from 4.5.1 to 4.5.3Taka Cho1-1/+1
Change-Id: I951cc53b6f319bdb9eba25ecdeaffaae5702fbc2 Issue-ID: APPC-703 Signed-off-by: Taka Cho <tc012c@att.com>
2018-03-01security issue jackson-mapper 1.9.12Taka Cho1-1/+1
Change-Id: I89266f7a8dde8bc409f4edc8bdf91195c4249515 Issue-ID: APPC-675 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell6-8/+92
Update .gitignore with license text Remove IDE generated files from repository Update .gitignore to ignore IDE Generated files Issue-ID: APPC-637 Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6 Signed-off-by: Skip Wonnell <skip@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-12Add missing license text to pom files, part 2Skip Wonnell4-0/+84
Change-Id: I47c09b26da03ca7ca10ef632c9880d744df6a7f4 Issue-ID: APPC-398 Signed-off-by: Skip Wonnell <skip@att.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-19Update jaxb-api to 2.2.3 or laterTaka1-1/+1
Issue-ID: APPC-306 Change-Id: I95ba608435bcafff5ea9d960d0295900aa14ebef Signed-off-by: Taka <tc012c@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 Brady18-60/+60
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-11-17Bump minor versionJessica Wagantall4-5/+5
Bump minor version in preparation for Amsterdam branching. Change-Id: I83e13547f583db020d6f756ddb8918360c38903b Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Patrick Brady <pb071s@att.com>
2017-11-07Changing to Amsterdam release versionv1.2.01.0.0-ONAP1.0.0-AmsterdamPatrick Brady4-5/+5
Appc will be realeased as version 1.2.0 since version 1.1.0 already was created spring 2017. Change-Id: I177931e892c2556c11a261f018fd835d62a14d54 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-314
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 Kuang5-205/+743
Issue-Id: APPC-228 Change-Id: I805127d7b57bc88e97151e9a4e217fe384a33ffb Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-15Changing to mariadb java clientPatrick Brady1-5/+2
Changing from the mysql java connector to the mariadb java client. Change-Id: I2f9b1f5da37424d529e196f9b6b8d0bf4f1f9d2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-198
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady9-21/+21
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-02Merging in bug fixesPatrick Brady1-1/+0
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady13-39/+65
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady13-39/+52
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady4-246/+320
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-04-18Modifying feature install scriptsPatrick Brady1-2/+22
Adding a while loop around each call to the opendaylight karaf client. If the client is not available it will try again up to 10 times. The new version of opendaylight seems to have delays after installing sdnc components which can cause errors for the appc components. These script changes fix allow the install script to wait for opendaylight to become available. Change-Id: Ib1bf6c7880398ac2ebe81eaff987ee4921cdb420 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-04-05Updating properties for Opendaylight BoronPatrick Brady1-1/+1
Change-Id: I1af8dc52b98413c4c4c6cb9798843a3790350f9b Signed-off-by: Patrick Brady <pb071s@att.com>
2017-03-10Updating master to 1.1.0-SNAPSHOTPatrick Brady4-4/+4
Change-Id: I4f2bf794f5ce8b60c4fc35817e69c9cbd337cc47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-03-03Changing dependency versionPatrick Brady1-2/+1
Replace 1.0.0 version of netconf-adapter-bundle with project version variable. Change-Id: Ib27e09775a54fc116632456faabe4aa52d0bb83c Signed-off-by: Patrick Brady <pb071s@att.com>