summaryrefslogtreecommitdiffstats
path: root/appc-common
AgeCommit message (Collapse)AuthorFilesLines
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-05-22Increment version for new branchPatrick Brady1-1/+1
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-5/+3
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-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-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-20Update .gitignore with license textSkip Wonnell1-0/+21
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-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-12Add missing license text to pom files, part 1Skip Wonnell1-0/+21
Change-Id: I57a7d2956869519137679550459b001f29992ec2 Issue-ID: APPC-398 Signed-off-by: Skip Wonnell <skip@att.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>
2017-12-19Platform hardening for common bundleSkip Wonnell28-1274/+1087
General code clean up code Additional test cases Support for APPC-348, APPC-349 Issue-ID: APPC-305 Change-Id: I341c960bb33794c681aea86f2bd1b415294ec03f Signed-off-by: Skip Wonnell <skip@att.com>
2017-12-13Fourth part of onap renamePatrick Brady2-2/+2
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 Brady72-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 Brady69-164/+164
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 Wagantall1-1/+1
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 Brady1-1/+1
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-11Add support for OpenStack V3 Identity ServiceRY303T2-1/+14
replaced ServiceCatalog with a factory to select correct version ServiceCatalogV2 contains code previously found in ServiceCatalog add ServiceCatalogV3 implementation of V3 connector Issue-ID: APPC-259 Change-Id: Iba7d98cfc9e50914b8063be0b35494a9d0fea793 Signed-off-by: RY303T <RY303T@att.com>
2017-10-09Removing duplicate dependencyPatrick Brady1-4/+0
The dblib artifact is listed twice which is causing errors in maven site generation. Change-Id: If7b023b71700991738f049e2307c256bfeaaf856 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-266
2017-09-27Increase sonar coverage for commonbeili.zhou26-81/+1229
Add Junit test in appc-common - cache - cache/impl - configuration - exceptions - i18n - logging Issue-Id: APPC-230 Change-Id: I04c457da4dfa881c1109273b8fd3e16e76ebd68f Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-09-22Increase sonar coverage for LifecycleManagementbeili.zhou1-0/+4
Add Junit tests in state-machine-lib Issue-Id: APPC-225 Change-Id: I54b307663f1e593d597f1c93ed800ea657959030 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-09-21Sonar Blockeramshegokar1-0/+5
for blocker APP-C Common. Sonar Link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#severities=BLOCKER|rules=squid%3AS2097 Change-Id: I65ee1745f5fd5a7f7ac3365704943b22a9341e8a Issue-ID: APPC-224 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-14Update TTL calculation to use millisecondsSkip Wonnell1-0/+764
Code used mix of seconds and milliseconds calculate TTL. Updated to use consistent units. Also added a new test file to increase code coverage. Issue-ID: APPC-207 Issue-ID: APPC-181 Change-Id: I07687ac30fa2e75cedb027ec2bb71f6914d42075 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady4-9/+5
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-30Remove catch throwable and errorbeili.zhou2-97/+71
Fix the following sonar blocker issue: - Catch Exception instead of Throwable - Catch Exception instead of Error Issue-Id: APPC-175 Change-Id: I16a1018001b067216740ec11e5a97e52d714db69 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>