aboutsummaryrefslogtreecommitdiffstats
path: root/appc-common
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-08-18Fix sonar blocker in DefaultConfigurationSkip Wonnell1-23/+32
Update the equals() method with checks for null and for class equality. Issue-ID: APPC-156 Change-Id: I7ee2ded5d18be560ee1d7bc63b936f22602ca0b4 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-14OAM operations 1 - miscellaneousbeili.zhou4-20/+92
OAM operations changes are large, need to break down to multiple submissions based on size and compilability. This is the first set which covers: feature installation, audit log message, listener instantiation and etc. Includes these user stories: APPC-39/41/43/44/45/46/52/77. Issue Id: APPC-38 Change-Id: Ifc0f5bd2468732d04ae462be09a6ad720aefba2b Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-11[APPC-44] revert license line ending changesJoey Sullivan2-44/+44
Issue-Id: APPC-44 Change-Id: Id9350fb7e19512ee380d6ca480d5ca9569fe3bd4 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-08-11[APPC-44] APPC Lifecycle Management refactorbeili.zhou2-0/+62
Pull APPC lifecycle Management out of APPC dispatcher, so that it can be used by both APPC dispatcher and APPC OAM. This is the pre-step of introducing APPC OAM operations. Issue-Id: APPC-44 Change-Id: Icbde399b5121fae9e1919cfdd5c77bbe55d61188 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-02Merging in bug fixesPatrick Brady6-3/+219
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady57-171/+285
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady57-171/+228
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady20-40/+995
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams3-13/+0
Taking a stab at removing numerous commented out methods and fields. Almost all of what is removed is commented code with no explanation. Change-Id: I61cb1d7100ae6c75f6d42f500ade0504c97b760c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-05-16Merge "Remove unused class StreamHelper"Patrick Brady2-138/+0
2017-05-16Migrate to Java 8 Time APIGary Wu1-14/+17
Migrate the uses of the old Date class in CommonHeader, RuntimeContext, QueueMessage, and TransactionRecord to Java 8 Time API. Change-Id: I3b0c18b2e63cdab06e37587d2010cb7f626a0396 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-05-08Remove unused class StreamHelperGary Wu2-138/+0
Change-Id: I217ef6d42065f029434e55aeed259604ce68689a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-05-02Remove unused CONFIGURATION_METHOD_NAMEMarcus G K Williams1-5/+0
Change-Id: Ifa9b1855dd22c9453c145ed8faf6c16c38b6a17a Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>