aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dg/appc-dg-shared
AgeCommit message (Collapse)AuthorFilesLines
2019-03-11Added Junit For VNFResolverDataReaderSudarshan Kumar1-0/+46
Added Junit Class for VNFResolverDataReader Issue-ID: APPC-1372 Change-Id: I8236c89f95ffe6ffb61954456a7bab09082e47b2 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-27Fix failing powermock testsPatrick Brady6-2/+806
The version of javassist coming from opendaylight is not working correctly with powermock. Adding a test scoped dependency for a working version of javassist. Test classes added in this commit are not new, they were temporarily removed as part of https://gerrit.onap.org/r/#/c/79046/ Change-Id: I193873c0d4abd7b11592a95bff9a6b07cf2d7191 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1277
2019-02-25Changes for new odl versionPatrick Brady8-819/+11
Changes required to update to latest opendaylight version. Some powermock tests have been temporarily removed due to an powermock incompatibility. They will be fixed and re-added. Change-Id: I418d44913fcd42423d2d9bd37b189f6301eaab81 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1370
2019-02-21Change dg-mdsal to blueprintPatrick Brady6-322/+45
Change-Id: I8f9978dce4e7f483a35a338f8c57b854a7c5b29e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1368
2019-02-21Remove duplicate versionsPatrick Brady2-6/+2
These versions are inherited from opendaylight parent poms. Removing the override for these inherited versions. Change-Id: I83b374e4d8815e21fd48bedbe4dd46bc246e44a4 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1355
2019-02-18Added test case for OutputMessage PluginLathishbabu Ganesan1-0/+57
Increased the code coverage from 0% to 100% Issue-ID: APPC-1431 Change-Id: Ic05b358428745698d0b4871b9c6213c9c8130c7c Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-18Added test case for Legacy Util classLathishbabu Ganesan1-0/+49
Increased the test coverage from 0% to 97% Issue-ID: APPC-1430 Change-Id: Id9045c3fc1c107e877a0e8bd7e977f6e271111ea Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Check vm-capabilites on vnf-level OS requestsLori Keighron2-9/+28
New per-vm capabilities checking is introduced for vnf-level OpenStack actions Additional changes per initial review. Additional changes in TestVnfc.java per second review. Change-Id: Idd1d834df076c1e525f596b788b69ed63ba9e66b Issue-ID: APPC-1380 Signed-off-by: Lori Keighron <lk2924@att.com>
2019-02-14Added test case for DgResolver PluginLathishbabu Ganesan1-0/+100
Increased the coverage from 0% to 94% Issue-ID: APPC-1421 Change-Id: Ide813344cc2a00444bfd97fdeb9cbbe5a15eef08 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@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-10Test coverage in appc-dg-sshJoss Armstrong7-188/+356
Increased line coverage from 49% to 93% Issue-ID: APPC-1313 Change-Id: I2f27742fd996cd6d07668fd61c887e29f2140818 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-09Test Coverage in appc-dg-netconfJoss Armstrong6-64/+23
Increased coverage from 22% to 97% Issue-ID: APPC-1311 Change-Id: I631cfdb29e4c374f0f015d3a81b4918eed6894ec Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Test coverage in appc-dg-mdsal-bundleJoss Armstrong9-31/+325
Increase test coverage from 11% to 77% Issue-ID: APPC-1308 Change-Id: I5cb45e2879bcf97a182687276fdf926f769b0e51 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Change parent version to appc snapshotPatrick Brady15-15/+15
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-07Increase unit test coverage in appc-dg-aai projectJoss Armstrong5-15/+321
Increased line coverage from 11% to 93% Issue-ID: APPC-1305 Change-Id: Iab844f4b6a048eee884c92d397c87159d38b0aa5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-07Update parent pom versionPatrick Brady15-15/+15
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
2019-01-04Dependency changes to overcomeBalaji, Ramya (rb111y)1-1/+14
linkage error Issue-ID: APPC-1289 Change-Id: I7a424430bc3510c87b087913fad8992378e27a1b Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2019-01-03Increase code coverage in appc-dg-dependency-modelJoss Armstrong5-10/+204
Increased coverage of sub-project from 50% to 80% Issue-ID: APPC-1301 Change-Id: Ib69b010cd34302a8a9c3b9a291bcbc351babd731 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-31Fix for test coverage in dg common impl packageJoss Armstrong11-37/+225
Increased test coverage from 42% to 73% Issue-ID: APPC-1296 Change-Id: Ib36c86c325bbc49a14a8ae7076a3b3da14c89b6f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-14Possible fix for NoClassDefFoundErrorBalaji, Ramya (rb111y)1-1/+1
Changed package structure, pom file for Utils classto expose it under export-package for DMaap adapter bundle Issue-ID: APPC-1247 Change-Id: I1662d3af027982a87c063cabee77a645f2bc3afa Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-12Increment version numberPatrick Brady15-16/+16
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-11Roll to next version after releasePatrick Brady15-16/+16
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 Brady15-15/+15
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-26Add version to pom filePatrick Brady1-0/+1
Change-Id: I999142a36514bae1e46298347e923d4a7e89ed65 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-24Add version to pom filesPatrick Brady11-0/+12
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-09-03fix com.fasterxml.jackson.core 2.8.1Taka Cho1-1/+1
Group: com.fasterxml.jackson.core Artifact: jackson-core Version: 2.8.1 to Version: 2.8.6 Change-Id: Ibe2b61a4ce2062372d98f88741e101e77b2d652c Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-24Remove old appc-commonRyan Young1-1/+1
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-20formatted the code and added test caseSandeep J1-38/+32
to increase code coverage Issue-ID: APPC-1086 Change-Id: I2b1c1308adba0966172b1897a4d8815f80451beb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-20removed try catch from test case & formatted codeSandeep J1-19/+8
replaced try catch with @Test(expected=JAXBException.class) Issue-ID: APPC-1086 Change-Id: Ie3ec5a60b4ac09797ce2a8e5ed2f79b2979875c1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test case to TestVnfc.javaSandeep J1-31/+83
to increase code coverage Issue-ID: APPC-1086 Change-Id: I67c5f3aa03ee7b5fdd333bda71008605bcc71d6b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test case to TestVnf.javaSandeep J1-1/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I19bb65887308029ec991074175e64bc151962677 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-16added test case to TestVnf.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I08abe39eeb7e2f94115c6cd54c7310c16189c1ec Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-16added test case to JSONUtilTest.javaSandeep J1-1/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7fdf23f7692cd57e6a736307e038696431a25eb1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-16added test case to JsonDgUtilImplTest.javaSandeep J1-0/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: I5da9bfca629b3fa99f2b6fa85b2664828e844d69 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-14Karaf 4 for appc-inboundPatrick Brady1-5/+0
Change-Id: I94f8b31e509d0e231e36b8b8d2871ad10bdf02f8 Issue-ID: APPC-1148 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-13Karaf 4 for appc-dg featuresPatrick Brady18-171/+295
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-07-26added test case to JsonDgutilImplTest.javaSandeep J1-3/+23
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib2bb400348ebde7200d46e1f05775be6fbe298cd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-10null ptr checkKrishnajinka1-0/+5
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-10Added seq generator changes for vnf level actionsGeorge, Lina (lg941u)1-0/+7
Issue-ID: APPC-921 Change-Id: I43c2cb044783ce4cd74f9685a333b52e4c7ad1fe Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-06-13Update license header in misc appc xml filesJohn McClung21-42/+21
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-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-06Update license header in appc-dg filesJohn McClung17-34/+17
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-06-06Update license header in appc-dg-shared filesJohn McClung39-78/+39
Modify license header in various appc-dg-shared java files to reflect 2018 changes. Change-Id: Id30661d99a1c908ca4f3b4f03730e20674282c71 Issue-ID: APPC-974 Signed-off-by: John McClung <jm1364@att.com>
2018-06-05Update license header in appc-dg-common filesJohn McClung33-65/+32
Modify license header in appc-dg-common files to reflect 2018 changes. Change-Id: Ibf109e8b3cd68becd7d35f94de71f906c4088ff4 Issue-ID: APPC-964 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Continue removing ECOMP trademark from lic header.John McClung12-25/+13
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady13-14/+14
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-05-15Add missing dependencyPatrick Brady1-1/+1
Add the missing jackson dependency to embed. I was going to remove all embeds and use the versions that are exported by odl, but it would require lowering the jackson versions being used by dg-common, and I don't want to risk breaking something at this point. Change-Id: Ic64fb5acb989ba1b882d06205392ec1de7638612 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-893
2018-04-11ODL Upgrade Method 2Patrick Brady2-17/+4
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-28Add junit coverage to dg-commonShailendra Borale4-0/+229
Introduced junit-tests for dg-common Removed tabs and extra spaces Added the input.json file, renamed files Change-Id: I89b6ddd70cc83f2eeb1a094977ffbe38463be6c0 Issue-ID: APPC-808 Signed-off-by: Shailendra Borale <sb8915@att.com>