summaryrefslogtreecommitdiffstats
path: root/appc-core
AgeCommit message (Collapse)AuthorFilesLines
2019-03-22added test case to TimeTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I9ed0192a67d594691f45978d2166b0992a40c656 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-22added test cases to TestStructuredPropertyHelperSandeep J1-2/+5
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic3204a6de7c7024cfba61f3aa63716b0533f9ae9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-21added test case to PoolTest.javaSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1389e3f6600bf8c09140a322c978a68c6fee5df1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-15Revert "upgrade databind artifact"Patrick Brady3-28/+2
Fasterxml databind is being brought in to karaf by opendaylight and trying to force a different version for the appc components is causing class errors. This reverts commit 52cf1a81d591efb2b1ee4b8c5a70b137dfb6c212. Change-Id: I6d0da2ed081e4abd4b83e8b11935ba43bee0e1aa Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1533
2019-03-13upgrade databind artifactTaka Cho3-2/+28
upgrade jackson's databind from 2.8.11.2 to 2.8.11.3 Change-Id: I9bf3ab8021f91f6ed36bdffdacbaeeac78d2e87c Issue-ID: APPC-1533 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-12Added logger statementsJegadeesh Babu1-1/+7
Sonar fix Issue-ID: APPC-1529 Change-Id: Ibb3dd50ad85232f7c5474c075045523aac531899 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-07added test cases to TimeTest.javaSandeep J1-25/+30
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie6bc65d604ee673964507858ae68b7438f314841 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-07added test cases to TestStructuredPropertyTestHelpSandeep J1-7/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4b1afa01afabf9bdd95ea6b80f3af335523155b4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-04Test coverage in DefaultConfigurationJoss Armstrong1-3/+25
Increased coverage from 79% to 89% Issue-ID: APPC-1520 Change-Id: I6a7fccb7768fe6eb996055be4d14bc366c228feb Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-04added test case to TestStructuredPropertyHelperSandeep J1-0/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibc33a99c5e2ad26c1232eadde505071b58d1fb6b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-04added test cases to CachedElementTest.javaSandeep J1-0/+20
to increase code coverage Issue-ID: APPC-1086 Change-Id: Idfb3ce36d41fdec4a5286da63b8a9592c1c83a96 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-01Test coverage for HttpClientTestJoss Armstrong1-0/+100
Added test coverage for untested class Increased coverage from 0% to 89% Issue-ID: APPC-1520 Change-Id: I113d515df3b6f6ef12565cf390f0bd2f2e8ac2f0 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-01Test coverage in RestClientInvokerJoss Armstrong1-0/+120
Added test for untested class Increased test coverage from 0% to 94% Issue-ID: APPC-1520 Change-Id: I51610584cd203f5de7286c325332cade6f3c2bd6 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-28CachedElement.java - Sonar FixesDriptaroop Das1-7/+6
CachedElement.java - Sonar Fixes Issue-ID: APPC-1508 Change-Id: I24bdb1ab1e3c00975eba4ea92dcf34b8e26849dc Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-02-26Added logger statementJegadeesh Babu1-1/+6
Sonar vulnerabilty fix Issue-ID: APPC-1498 Change-Id: I29de3443a5a96c4d4bc5c7bab24b4fdb7f3358d3 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-21Added test case for Configuration classLathishbabu Ganesan2-7/+46
Issue-ID: APPC-1449 Change-Id: I84bb511d121e3af1426d4422ad3ce520bb5fd29c Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-21Sonar Fix : Time.javaSudarshan Kumar1-2/+4
Sonar Fix : Time.java - Removed printStackTrace Issue-ID: APPC-1399 Change-Id: Icc39933cf656ffd79917596ce686f09b8c638843 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-18Added test case for RestClient InvokerLathishbabu Ganesan2-101/+138
Increased the coverage from 0% to 92% Issue-ID: APPC-1439 Change-Id: Icb1d51c3b62570e4f4294021b7ea92b325c085ee Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-08Add junit coverage to MetadataCacheFactory classZihmin Hoover1-6/+14
Add more test runs to MetadataCacheFactoryTest class Change-Id: I52871dfb876be91bd4600390af3bfee9d356e121 Issue-ID: APPC-1047 Signed-off-by: Zihmin Hoover <zh4590@att.com>
2019-02-01Update rest return parametersPatrick Brady1-4/+4
Change-Id: If5d860a37a87ac0feb6452173cf147bbafa079b3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1381
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-17Fix intermittent time based test failuresJoss Armstrong8-399/+414
Fix bug in test code causing intermittent failure and tidy up test code in package Issue-ID: APPC-1331 Change-Id: Ic03b189a797ed6b88c868ec21c79ef037224fcb7 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-11Fix unit test with @PrepareForTest annotationJoss Armstrong1-22/+3
Removed annotation and fixed tests. Increased package line coverage from 50% to 88% Issue-ID: APPC-1323 Change-Id: Iae5441e5e6243755f8ec6ab178668a5c985eaf6a Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Change parent version to appc snapshotPatrick Brady5-5/+5
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 Brady5-5/+5
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-12-12formatted code in LRUCacheTest.javaSandeep J1-5/+12
and removed unused imports Issue-ID: APPC-1086 Change-Id: I18009404898a938ec23be77bfcf94084f4e9badd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-28added test cases to TimeTest.javaSandeep J1-0/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: I204a69f765356a4ea045793b0fefb69b68a406bf Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-28added test case to TestSignal.javaSandeep J1-1/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: If908db1d5e0f45e34d4378129f41bf2908f872e2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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-11/+14
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 Brady5-5/+5
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady6-0/+6
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-21Fix logger constantsPatrick Brady1-1/+15
The new appc-common-bundle had different exports than the old appc-common bundle did. This seemed to be causing the logging constants to not load properly. This puts the exports back to the way they were before. Change-Id: I0f3c7e747ad9d45c4169f0da05a2fd01885134d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1207
2018-09-21Remove logback 1.1.3 security issuePatrick Brady1-1/+12
cdp-pal and eelf are the dependencies using logback-classic 1.1.3. Need to use exclusions option in pom file Change-Id: Id8f5817ec955e2b7b486bc0215c35541086606aa Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
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-07Misleading err msg failed to rebuild for snapshot.Modaboina, Kusumakumari (km583p)3-0/+15
Issue-ID: APPC-1196 Change-Id: I017528097939c89794afb8753db429886269c7c8 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-05refactor restAdaptor and add test for HTTP-PUTGanesh Chandrasekaran1-0/+20
Issue-ID: APPC-1181 Change-Id: Ibd70b03db906343c5e9c27439e2da541a54672e2 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-08-21Revert "resolving logback-classic 1.13"Patrick Brady1-12/+1
Temporary revert to fix failing bundles. This reverts commit 76b6ff1ce84d4c2ab4518dd5f154083b91680245. Change-Id: Ibce5eee91ad8f1bec9b458a52a7f5d25ada85da9 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-20resolving logback-classic 1.13 from security issueTaka Cho1-1/+12
cdp-pal and eelf are the jar using logback-classic 1.1.3. need to use exclusions option in pom file Issue-ID: APPC-1018 Change-Id: I00b41f9c366a5ead3f4205cd6fa6b9eb74599767 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-09Update appc-common to Karaf 4Ryan Young145-0/+22499
update appc-common to karaf 4 feature Change-Id: Ib0ce37032e63ffc61bef94345701f3ab58785153 Signed-off-by: Ryan Young <ry303t@att.com> Issue-ID: APPC-1022