aboutsummaryrefslogtreecommitdiffstats
path: root/appc-core/appc-common-bundle
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22Add context sensitive logging to ConfigurationFactory.javaZihmin Hoover1-1/+5
Add context sensitive logging to ConfigurationFactory.java Change-Id: I950687870f2c9d9835ec6b04ccb73ef57c884152 Issue-ID: APPC-1782 Signed-off-by: Zihmin Hoover <zh4590@att.com>
2019-10-18Revert "remove redundant code under appc-common-bundle/java"Patrick Brady46-0/+8053
Testing to see if this change is causing probels with sonar coverage. This reverts commit 3533ff6d195b9966cbf407238bb5d2fd7ca68bb1. Change-Id: I986f27b3ca80b9e8db6544f17fdf3086152d1701 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1732
2019-10-18Revert "update mockito version in APPC"Patrick Brady1-10/+0
The version is in the parent files again. This reverts commit c13a9c95e47b072afb701ad490480036ef36db26. Change-Id: Ie6cb57e8b1b8efbf5e516820efbbfb144791b97f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1767
2019-10-15update mockito version in APPCTaka Cho1-0/+10
sonar does not take the test coverage from parent pom file Issue-ID: APPC-1767 Change-Id: Ic6530ddc553b404f49937d61481ca2e076362e64 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-10-09remove redundant code under appc-common-bundle/javaTaka Cho46-8053/+0
the code should be taken from src/main not from java Issue-ID: APPC-1732 Change-Id: I7d9d8ce24917800f01e4aa84c3e31b584485094a Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-10-08Neon SR1 upgradeTaka Cho1-186/+188
change pom files for ODL Neon SR1 upgrade Issue-ID: APPC-1749 Change-Id: Ib10ff74852a2b38933c0df034c71e21665430f62 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-10-08Set appc parent 2.7.0-SNAPSHOTPatrick Brady1-1/+1
Change-Id: Ib68d389e9e39951e47b785550134729a9f678497 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-10-08Increment version to 1.7.0-SNAPSHOTPatrick Brady1-1/+1
Change-Id: I5c9c5141f39a653e6604551488e955c2f0a68004 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-26Change to snapshot parent versionPatrick Brady1-1/+1
Change to appc parent version 2.6.3-SNAPSHOT Change-Id: I51e4485098a271ff80de64ea6c20a81df94c7d8f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-26Increment version to 1.6.5-SNAPSHOTPatrick Brady1-1/+1
Change-Id: Ic0e49aef6dc78b1a55e8c7c051e716339f3802f6 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-20Set appc parent 2.6.2Patrick Brady1-1/+1
Change-Id: I4d3fe28ac744a62b448816fe14b645f19a3e5209 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1735
2019-09-17Increment version to 1.6.4-SNAPSHOTPatrick Brady1-1/+1
Change-Id: I0dfdd848265f21e1584903ea14aa4df6d08a2f94 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-11Change to released parent 1.6.1Patrick Brady1-1/+1
Change-Id: Ieb506dd5bcc146a45c9e75ec27641f80245548e3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-11Increment version to 1.6.3-SNAPSHOTPatrick Brady1-1/+1
Change-Id: I2b1b8329dbad5a8d6cc5ae96e8c44af1ab3d54ea Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-09-10Fix eelf resource not foundPatrick Brady1-2/+2
The eelf package needs to be exported from appc-common where the resource bundle is added. Doing this was causing karaf to crash on install of artifact-handler. The cause was all of the classes being exported by the maven shade plugin of appc-yang-generator. Removing the shade plugin seemed to have no bad consequences. Change-Id: Ic0758b342b8109e28ec8e11a48b2693cea7b56db Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1713
2019-08-30Changes to fix feature installsPatrick Brady1-3/+3
Feature installs were causing karaf to freeze following the upgrade to the Fluorine SR2 version of ODL. These changes correct the problems. Change-Id: I8e5a41ba6816da782fea3ebaef3b6918cfc1ad4c Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1630
2019-08-30Change parent version to snapshotPatrick Brady1-1/+1
Changing the parent version to snapshot in order to build with the new version of appc parent which has the Fluorine SR2 ccsdk parent poms. Change-Id: I03d9a0d38b6d97bab17cd887562ae42ed1b19611 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1630
2019-08-07Change to release parent versionPatrick Brady1-1/+1
Change-Id: If572b36cdf00e3c6ada36181fb6c678fbd978e72 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-07Increment version to 1.6.2Patrick Brady1-1/+1
Change-Id: If6610d1addd323c1ad0f902a0841b979f017adc9 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-08-03Increment versions after releasePatrick Brady1-1/+1
Change-Id: I83b000b7c4ac94b5eba396b5e1856a970fa90623 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1686
2019-05-20Update parent versionPatrick Brady1-1/+1
Update the parent version to match the new 2.* parent versioning. Change-Id: I77280d8cf12de1de20c01249491dc85243f5d655 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1601
2019-04-26Increment snapshot versionPatrick Brady1-1/+1
Change from 1.5.0-SNAPSHOT to 1.6.0-SNAPSHOT to prepare for next development cycle. Change-Id: I187785ab4b11a37815289d20ba802c48e86cee7f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1585
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 Brady1-1/+0
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 Cho1-0/+1
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-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 Brady1-1/+1
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 Brady1-1/+1
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 Brady1-1/+1
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212