summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-26Fix Sonar BugTomek Kaminski1-18/+18
Fix for: https://sonar.onap.org/project/issues?id=org.onap.appc%3Aappc&issues=AWGYEYwt8TZzbCgU6gOm&open=AWGYEYwt8TZzbCgU6gOm Change-Id: I632c21efb8e69c04fc346841900d98d4908b360e Issue-ID: APPC-668 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-02-26Improve coverage flow/controller/node #3kurczews10-124/+338
Issue-ID: APPC-440 Change-Id: I3ffea4577747f5de3e4eb74a91d4485442474441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-23DbServiceUtil sonar fixesJakub Dudycz2-65/+58
Change-Id: Iaeca67ccb70134ba2bac0fe04e045592d8d9efcc Issue-ID: APPC-661 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-23fix logback jar security issueTaka Cho3-5/+5
Change-Id: I51e0fec8131db5f5283182c1fc70a4f5b023dbb1 Issue-ID: APPC-652 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-23Migrate powermock to mockito for providerlcmTaka Cho1-252/+354
Change-Id: I66f70a1dcb4ea1d4f6f8ca6149c1291a76f84e32 Issue-ID: APPC-649 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-23ChefApiClient Package Reorganization and cleanupMichal Kabaj17-358/+44
-Reorganize ChefApiClient classes according to their usage, construction and implementation. -Introduce api and impl packages. -Extract interface from ChefApiClient impl -Remove unused old chefapi.* classes Change-Id: Ic1ddbdcfd0e1bbc0830b923da5aac5b68ac44a2f Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-22modify listeners to only start when props presentRY303T6-39/+165
Change-Id: If4ba1552eb6bc78a95f1b53292752181bc29cb2d Issue-ID: APPC-564 Signed-off-by: RY303T <RY303T@att.com>
2018-02-22DGXML classes refactoringJakub Dudycz10-415/+219
Did some refactor in org.onap.sdnc.dg.loader package in order to reduce code duplication Change-Id: I5c063487046c7ff72042d067213ea3d639a37227 Issue-ID: APPC-655 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22AAIResourceNode sonar fixesJakub Dudycz2-297/+170
Change-Id: I1e7a6442b041138b0261973acc4181b56904c80e Issue-ID: APPC-659 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22AAIPluginImpl sonar fixesJakub Dudycz1-114/+154
Change-Id: Ifa07addb19b34a1f1a2f546c5eb21c2ac0bb3e1a Issue-ID: APPC-651 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22EELF logging with error codesTomek Kaminski4-47/+82
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-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree7-96/+141
A new action ConfigScaleOut is added to LCM API and Yang model. Removed old action item configscaleout supporting VM action level which is no longer needed. Issue-ID: APPC-479 Change-Id: Ie5452f4d5625fc3be6b66c0f403d12baa64fa096 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-22DGXMLActivate sonar fixesJakub Dudycz1-55/+62
Change-Id: I7d09a91d66d491b5942214d1df36c188c4e9cda6 Issue-ID: APPC-654 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22Dme2Client sonar fixesJakub Dudycz1-99/+96
Change-Id: I0617290c2674398f3c483f2e0df7f74702bc62cf Issue-ID: APPC-662 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22InstarClientNode sonar fixesJakub Dudycz1-76/+68
Change-Id: I3c61219c989fc2fdb17719babd06487da0f7032b Issue-ID: APPC-663 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22ArtifactHandlerClient sonar fixesJakub Dudycz2-95/+103
Change-Id: Ic43b1e4748c753e696ffff1deb89f2b73a8cb9ce Issue-ID: APPC-650 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22ConfigComponentAdaptor sonar fixes part 2Jakub Dudycz4-204/+258
Change-Id: I1eab3df281f394337fe33c0df07ff26da4302cbd Issue-ID: APPC-648 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22ConfigComponentAdaptor sonar fixes part 1Jakub Dudycz1-158/+188
Change-Id: I8fdd18225315a936df393fd7e900e9ef2e499122 Issue-ID: APPC-648 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-21Improve coverage flow/controller/node #2kurczews7-40/+128
* Extract TransactionHandler util class * Minor cleanup Issue-ID: APPC-440 Change-Id: I73d2ced81713daf36523e6b9d7de3bf19c98c9a1 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-21DBService sonar fixesJakub Dudycz3-287/+346
Change-Id: I6c58803ab47ff411d7ff29097a7e64a489dfed03 Issue-ID: APPC-605 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-21migrate powermock to mockito appc providerTakamune Cho2-14/+87
Change-Id: I15bd86d2d96ecf4070f1b6eafaf8b9ba9612b9cf Issue-ID: APPC-647 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-21Update license text part 3Skip Wonnell30-106/+712
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell203-303/+3551
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-20Update .properties and .xml files with licenseSkip Wonnell15-16/+349
Change-Id: I551f9e9033de2f13028f28ad434003d61102d54f Issue-ID: APPC-637 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-19DGXMLLoadNActivate sonar fixesJakub Dudycz1-73/+90
Change-Id: Id94274756541b1b64892f68ece4fa9cead46d945 Issue-ID: APPC-643 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-19DGXMLLoad sonar fixesJakub Dudycz2-31/+64
Change-Id: I1e9965c8e5bd74f17fec1e47448af245b9b339c8 Issue-ID: APPC-642 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-19Unit Test for ansibleActivatorTaka4-194/+291
Change-Id: I56279239cdae934116e4d3ac8d257f593e641064 Issue-ID: APPC-600 Signed-off-by: Taka <tc012c@att.com>
2018-02-19ChefApiClient JUnitsMichal Kabaj11-221/+747
Add(fix) JUnits for ChefApiClient + refactor. Junits work on mocked HttpClient instead of attempting to make real calls. All ChefApiClient methods are now tested. Improve readability and refactored the ChefApiClient flow (simplified). Heavily improved SRP in both ChefApiClient and Api request creation. Change-Id: I997490bf269e7d78b741baf7f8d5d7bf64f6b99a Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-18refactor LookupServer for nesting tryTaka1-37/+43
Change-Id: Id27025cd6d4f5a4f8ba9653b656d263585edb24e Issue-ID: APPC-599 Signed-off-by: Taka <tc012c@att.com>
2018-02-18Sonar fixes in "appc-dmaap-adapter-bundle"wejs2-137/+141
Also CheckStyle fixes. No major refactoring. Change-Id: Icf5e7221ecee2611f77bb3212c24d1fad9a27b96 Issue-ID: APPC-646 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-18refactor EvacuateServer for nesting tryTaka1-109/+132
Change-Id: I4b114e6f2f41c755cf7e346a120e50441a1209dd Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-598
2018-02-18refactor CreateSnapshot for nesting tryTaka1-39/+44
Change-Id: Ia66842fe6b680fd5f6eb74e8ddebf09f89c6c1d0 Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-597
2018-02-18Added @FunctionalInterface annotation where neededJakub Dudycz6-2/+6
Change-Id: Ica7171f6314f10ff51979c2bdd07e293ded695e4 Issue-ID: APPC-644 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-16Improve coverage in flow/controller/nodekurczews11-327/+489
* Extract separate class for property loading * Extract separate class for extracting uri * Add coverage for changes above Change-Id: Ibffa09c96aef2764188cba69bf8cb559c8a9c10e Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-16DGXMLGenerator sonar fixesJakub Dudycz1-39/+43
Change-Id: Id365b40f298bb9dc15e1f80b57112c2f991595c9 Issue-ID: APPC-641 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-16Unit test coverageshubhada5-0/+369
Unit test coverage for 1.CommonHeader.java 2.Flags.java 3.RequestContext.java 4.ResponseContext.java 5.RuntimeContext.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm Change-Id: I275495faa8c34f4b2174e93a56071298450c354b Issue-ID: APPC-640 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-16ExecuteNodeActionImpl sonar fixesJakub Dudycz1-133/+174
Change-Id: I269cc5a76251b94134734cbe9ef13a6a7f885b23 Issue-ID: APPC-628 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-16Junit Test for dmaap adapterTaka1-6/+3
Change-Id: I2dbe1375a23fcbd5e2974f9d112a162d4fbea328 Issue-ID: APPC-626 Signed-off-by: Taka <tc012c@att.com>
2018-02-15SdcConfig sonar fixesJakub Dudycz2-30/+39
Change-Id: Ia947837f00401b1c9da900dc2db3b6931fb682fb Issue-ID: APPC-639 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-15AbstractResolverDateReader sonar fixesJakub Dudycz2-21/+52
Change-Id: I78c4cf8318e1051cd3ea5850b502677ea8708794 Issue-ID: APPC-638 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-15JSONTool sonar fixesJakub Dudycz1-37/+39
Change-Id: I457ac55fa17475a19a2e511a6e7813070ffd6d2e Issue-ID: APPC-634 Signed-off-by: Jakub Dudycz <jakub.dudycz@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-02-15ArtifactHandlerNode sonar fixesJakub Dudycz2-246/+307
Change-Id: I4cc803bc6c5d88b569405ea0af918a6c340fce9d Issue-ID: APPC-581 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14FlowControlDBService sonar fixesJakub Dudycz1-120/+159
Change-Id: I522d6e9e4f581687ce36bf7873c4fb4643f33244 Issue-ID: APPC-592 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14Artifact Handler code changesRamya Balaji2-78/+149
Refactored code for storing reference data and added unit test cases Issue-ID: APPC-543 Change-Id: I60ed5e327324403409ec0d9725c5880038a3e186 Signed-off-by: Ramya Balaji <rb111y@att.com>
2018-02-14UnitTest for Rest Healthcheck activatorTaka3-204/+318
Change-Id: I214f14cc0dbc735d87bcbf5b59cf286d41dc826b Issue-ID: APPC-624 Signed-off-by: Taka <tc012c@att.com>
2018-02-14MergeNode sonar fixesJakub Dudycz2-46/+46
Change-Id: I436feb6a4b42c9a1a5a5c887204e745bd09928f1 Issue-ID: APPC-632 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14Unit test for iaas provider activatorTaka2-2/+114
Change-Id: I7e7ec6d977625406b9d4dee19d974492e1a5f4cc Issue-ID: APPC-615 Signed-off-by: Taka <tc012c@att.com>
2018-02-14CheckStyle corrections onlywejs5-187/+258
Files from module: appc-config-flow-controller-provider Change-Id: I8eb7b99642b8b7f58ceda384593b750344c79392 Issue-ID: APPC-618 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-14ConvertNode sonar fixesJakub Dudycz3-76/+93
Change-Id: I1b8f19f57e90c1be5cec2bdd37d7db4216221710 Issue-ID: APPC-631 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>