aboutsummaryrefslogtreecommitdiffstats
path: root/appc-common/src
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24Remove old appc-commonRyan Young90-13830/+0
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-09added test case to TestSignal.javaSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iacc5d38bacc946cf203d690cbe5a174e6dab15e2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-08added test case to TestSignal.javaSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ief0a74d2132295258c1a198309e310c235cad923 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06added test case to DefaultConfigurationTest.javaSandeep J1-1/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4b0f1f352fa8b90810b7efc145e83edebff913da Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06added test case to PoolTest.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibbafa33ed726dff65cbc3528bf09d9cf68d97eb3 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06added test case to TestStructuredPropertyHelperSandeep J1-1/+35
to increase code coverage Issue-ID: APPC-1086 Change-Id: I27a84f312fcdaed2ff85c686d2fa2e39884b6224 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-03added test case to TestStructuredPropertyHelperSandeep J1-0/+15
to increase code coverage Issue-ID: APPC-1086 Change-Id: I00237d24ef2fac893e7c1867e4aa38ba026e9a16 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-03added test case to TestSignal.javaSandeep J1-2/+15
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iba603fd695d9f5e2a70fa08f07272e407d0db00c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-31fixed failing test cases in TimeTest.javaSandeep J1-6/+7
fixed the issue APPC-1112, where few test cases where failing because of platform dependency. Removed assertEquals and replaced it with assertNotNull and assertTrue, so that coverage is not affected and the test case also passes succesfully. Cant use asserEquals here as the value timestamp is platform dependent. Issue-ID: APPC-1112 Change-Id: I4b9f786eaa61835765ffdadd0beb9092bc9beb17 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-25added some more test cases to TimeTest.javaSandeep J1-5/+26
added some more test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: I8f4458ddcc70d360eae71e41d1608d0529ed2269 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-23added few more test cases to TimeTest.javaSandeep J1-0/+28
added few more test cases to TimeTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I910a5ab4420cc38d9c27fc2a206ac96b5377e225 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19added few test cases to TimeTest.javaSandeep J1-3/+24
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: Iab08ef3eef7fefab09a4389ffde8e0e1a4ca6025 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19added few test cases in StringHelperTest.javaSandeep J1-1/+38
added few test cases in stringhelpertest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I32d8648de64d1736685eb7c8a88017a2d3b7df98 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-06-26Fix for invalid locking approachvidhyasree1-6/+2
Issue-ID: APPC-1019 Change-Id: I738c4ad72c29f494488a3fe3657243927797e2b5 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-21updates for ECOMP logging gradevidhyasree1-9/+45
Issue-ID: APPC-1020 Change-Id: I06b80f81fdf47eeaa9399d381af059d0934446af Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-20 new reboot action for VM openstack.vidhyasree2-0/+10
Issue-ID: APPC-1011 Change-Id: I4a6f2ef0e09613d76b6ec68b889ed0eb85a34b9f Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-14Update lic header in appc client and config xmlJohn McClung1-2/+1
Modify license header in appc-adapter xml, appc-client xml and appc-config xml files to reflect 2018 changes. Change-Id: I1b7bd41a43ca5662ed4d293a33f468e443551fd7 Issue-ID: APPC-1000 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung5-10/+5
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 McClung1-2/+1
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-05Update license header in appc-common filesJohn McClung43-86/+43
Modify license header in appc-common files to reflect 2018 changes. Change-Id: I297792962575415e407839b077490449d6f80e8c Issue-ID: APPC-965 Signed-off-by: John McClung <jm1364@att.com>
2018-06-05More license header updates to appc-common filesJohn McClung22-43/+21
Modify license header in appc-common files to reflect 2018 changes. Change-Id: Id4183e9f4f8a95263a01f04d41505ce25d81ce07 Issue-ID: APPC-966 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Continue removing ECOMP trademark from lic header.John McClung4-8/+4
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-04-11ODL Upgrade Method 2Patrick Brady1-2/+1
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-04-11Add junit coverage to PoolException classMei Su1-0/+73
Introduce junit-tests for PoolException class Issue-ID: APPC-845 Change-Id: Id33a660decb77b0fe8662d29bd7676efd08d8e4b Signed-off-by: Mei Su <ms6523@att.com>
2018-04-10Add junit coverage to PoolExtensionException classMei Su1-0/+36
Introduce junit-tests for PoolExtensionException class Issue-ID: APPC-843 Change-Id: I7155317dc5c060dc08b26d8b87103bcb2a8f19b4 Signed-off-by: Mei Su <ms6523@att.com>
2018-04-10Add junit coverage to PoolDrainedException classMei Su1-0/+36
Introduce junit-tests for PoolDrainedException class Issue-ID: APPC-842 Change-Id: I0c52d20838ad1131603c126a89fd9b6b289d418f Signed-off-by: Mei Su <ms6523@att.com>
2018-04-09Add junit coverage to CmdLine classZihmin Hoover1-0/+42
Introduce junit-tests for CmdLine class Change-Id: I23394ad80882a667dd8189ee9f91441dcf0e31b4 Issue-ID: APPC-838 Signed-off-by: Zihmin Hoover <zh4590@att.com>
2018-04-09Add junit coverage to UnmodifiableProperties classJohn McClung1-5/+173
Introduce junit-tests for EncryptionTool class Change-Id: Ia6a727ae5b224c152d2615a32f1b91aaeeb2eb60 Issue-ID: APPC-836 Signed-off-by: John McClung <jm1364@att.com>
2018-04-02Add junit coverage to UnmodifiableProperties classJohn McClung1-0/+174
Introduce junit-tests for UnmodifiableProperties class Change-Id: I51f44c676a0cd8fef808ca2e33fea8afc7e52453 Issue-ID: APPC-820 Signed-off-by: John McClung <jm1364@att.com>
2018-03-29Add junit coverage to Time classShailendra Borale1-0/+79
Introduce junit-tests for Time class, corrected license Change-Id: If5c3771325d4945f6f1135cfb4df8e923d0a0663 Issue-ID: APPC-809 Signed-off-by: Shailendra Borale <sb8915@att.com>
2018-03-28Add junit coverage to LoggingUtils classDan McMillan1-0/+357
Introduce junit-tests for LoggingUtils class Change-Id: Ieb4a14fb258abbef77e9b67398851317e3f08098 Issue-ID: APPC-802 Signed-off-by: Dan McMillan <dm3821@att.com>
2018-03-27Fix for EELF Logging in appc CommonDilip kumar Pampana1-1/+7
VM-level Start succeeds in starting the VM, but there are EELF Logging Errors Issue-ID: APPC-799 Change-Id: I67d76466a2ca6ff79cf1e6514b592a3877c59b92 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2018-03-22Bugfixes for error handling while attaching volumeModaboina, Kusumakumari (km583p)1-2/+1
Change-Id: I103709186eff4fc9e42038b2e1113b010b822528 Issue-ID: APPC-761 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-03-20Re-add public declarationPatrick Brady1-1/+1
The public declaration of setDbLibService was removed as part of this (https://gerrit.onap.org/r/#/c/35763/) commit. This caused a failure in karaf and the appc-common bundle failed to come up. This commit re-adds public. Change-Id: Ia6fa5d950b17e4f440a1243d071c90eedc9be818 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-731
2018-03-15HexHelper unit testsJakub Dudycz3-62/+146
Improved code coverage. Change-Id: Ic3503ae79199767f3162c861f13ff1ecc889e1ec Issue-ID: APPC-742 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-15EncryptionTool unit testsJakub Dudycz1-10/+37
Improved code coverage. Change-Id: I8882a9fd274b4ce03ef784aac89cdfbb786af4fe Issue-ID: APPC-742 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-14MetadataServiceImplTest unit testsJakub Dudycz3-74/+166
Improved code coverage. Change-Id: I20a0af3050bc78b470377486f7493d72f8ba0f78 Issue-ID: APPC-731 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13StringHelper unit testsJakub Dudycz2-107/+367
Improved code coverage + some test class refactor Change-Id: I5211d69369d0d3aff0ebe5ee603545f171dfd07a Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13StreamHelper unit testsJakub Dudycz1-5/+11
Improved code coverage Change-Id: Ie0dcf723e73890aa24b761fb3b46e2739d239040 Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13PathContext unit testsJakub Dudycz1-0/+123
Improved code coverage Change-Id: I8b7d1fe8a033bd1c4df34bdd74efc011dc130a46 Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13MessageFormatter unit testsJakub Dudycz2-13/+71
Improved code coverage Change-Id: I8ef81c6c8efaa796d62d8913e7dfbf160bf3c02d Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13JsonUtil unit testsJakub Dudycz5-83/+148
Improved code coverage + some test class refactor Change-Id: Ie69f4a699f7f924438eda24014c44fe54643e707 Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-28Extraction of try catch in ConfigurationFactorykjaniak2-25/+44
Try catch block placed in new private method getClonedDefaultConfiguration, minor changes added, UT for class added. Change-Id: Ic908e6d3a8fe179a2a38d922d10e24cff76a21da Issue-ID: APPC-674 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2018-02-22EELF logging with error codesTomek Kaminski2-1/+33
Introduced error codes in error logging for compilancy with ONAP logging guidelines Change-Id: If0418a1ea8d91ea84be251df10ca81402fb78b41 Issue-ID: APPC-428 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-02-15StringHelper sonar fixesJakub Dudycz1-107/+112
Change-Id: I52e083bc7729529059f365dc76278044ed4a909d Issue-ID: APPC-629 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-30Fix in StringHelperburdziak1-1/+6
Change-Id: I9a7863031191c0cc8727f3757cb9add3be38b592 Issue-ID: APPC-538 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-25Fix in EncryptionToolburdziak1-1/+1
Change-Id: Ib29cfb9f1bab07f0dee1656e0d2679d45bd749df Issue-ID: APPC-502 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-24code fix for OS attach volumes and dettach volumeskusuma kumari M1-1/+13
Issue-ID: APPC-448 Change-Id: I348108a8fb49a42c79039975e8470442a0f80dd2 Signed-off-by: kusuma kumari M <km583p@att.com>
2018-01-19Fixed switch to if statementburdziak1-22/+17
Brakets added, initial check is requred before read of first argument. Issue-ID: APPC-432 Change-Id: Id29d098d1e7358ebc3f53c19cfc60288793253d3 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-11Sonar blocker issue resolutionSkip Wonnell1-76/+78
Sonar issue resolutions for RestClientInvoker.java Resolve Blocker issue: https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vsl1 And other sonar findings: https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vslw https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vslx https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vsly https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vslz https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vsl0 https://sonar.onap.org/issues/search#issues=AWBzdRXP-08if2a6vslv https://sonar.onap.org/issues/search#issues=AWBzdRXQ-08if2a6vsl2 Change-Id: Ic9d834f223db49bf0c02e51f334b3f93ace263cd Issue-ID: APPC-387 Signed-off-by: Skip Wonnell <skip@att.com>