summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-12Unit test coverage for ActionIdentifiers.javaamshegokar1-0/+81
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%2FActionIdentifiers.java Change-Id: I5ae2e24811e32b7c8c19780e9eb64f083aadd6ce Issue-ID: APPC-606 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-12Update java files with correct license textamshegokar2-0/+38
Adding license text for 1./src/test/java/org/onap/appc/mdsal/operation/TestConfigOperationRequestFormatter.java 2.src/test/java/org/onap/appc/yang/type/TestYangTypes.java Change-Id: I902631c3ea8ea3d7cbffe5c9ac5c0027bf926de2 Issue-ID: APPC-602 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-09JUnits for SshJcraftWrapper.java connectTomek Kaminski5-105/+445
-added coverage for connect methods -extracted channel provider method for connection -fixed and covered closeConnection method -reduced number of unnecessary variables Change-Id: Ibe2b4d0742a0876c2ef18483d93e7510b0b5c7f0 Issue-ID: APPC-523 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-02-09Sonar fixes in RestServiceNodewejs7-245/+287
Fixes inlude changes in other files where needed Test coverage provided Change-Id: Id079bb9c5e5596efb11809b3185bdde8edb11fd2 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-09ServiceExecutor sonar fixesJakub Dudycz2-25/+27
Change-Id: Id169ae3943c74893d885b8be098af96e44292ce5 Issue-ID: APPC-585 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09ValidatorService sonar fixesJakub Dudycz2-63/+58
Change-Id: I9b67413922f50051348cb8a6ca3bade6e40bed99 Issue-ID: APPC-572 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09Sonar fixes in FlowControlNodewejs1-124/+71
Fixes of critical and some other sonar issues. Change-Id: I1782500297546ec6b9a049e051681f406aff3197 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-09JsonRequestHandler sonar fixesJakub Dudycz2-99/+114
Change-Id: I247860dd6a91c8f8812670496289b8ae0ababf8b Issue-ID: APPC-593 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09NetconfClientPluginImpl sonar fixesJakub Dudycz1-92/+117
Change-Id: I21f15c9c652036d750a22bcd29216e2d3461e402 Issue-ID: APPC-584 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09Add coverage for ConfigResourceNode-6kurczews1-87/+148
Issue-ID: APPC-441 Change-Id: I8a284c51851731a7fe7bb8c8eb9e10b97ba76d25 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-09Add appc-yang to install packagePatrick Brady1-2/+7
The appc-config-params feature is expecting the appc-yang-generator jar file to be in the opendaylight folder. It was relying on it being extracted from appc-artifact-handler, but artifact-handler can't install without config-params being installed. It needs to be included in the installer zip of appc-config-params. Change-Id: I3f6d4c63499925a945645099be18ebe51da5eaf1 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-587
2018-02-09ArtifactHandlerProviderUtil sonar fixesJakub Dudycz1-81/+83
Change-Id: Id5fc42637e56cdab8be6c03d269f0bc3ac2e19fe Issue-ID: APPC-582 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09DependencyModelParser sonar fixesJakub Dudycz1-54/+91
Change-Id: I9be45e4d352e4dbd02916276748b705d7be5062d Issue-ID: APPC-583 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09ChefAdapterImpl sonar fixesJakub Dudycz2-70/+70
Change-Id: I3e1a496e18a4b9e6e9dc954bc16fb4af991fd5d3 Issue-ID: APPC-579 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-08Add coverage for ConfigResourceNode-5kurczews3-1/+100
Change-Id: If1f1ad7608563031c5f397a225a5576fdbcf59bd Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-07Change url being used in chef testPatrick Brady1-1/+1
The domain that was being used for the chef test was a real url. The test failed most of the time. Setting it to localhost. Change-Id: I7c162b313b78e174ca3845920dfa88a7004983d5 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-556
2018-02-07Updated APPC LCM API GuideScott Seabolt1-296/+903
APPC LCM API Guide updated for Beijing Release Issue-ID: APPC-357 Change-Id: I36e5b2c01fe6d808d0a71b74173fdbe60b3567a6 Signed-off-by: Scott Seabolt <js9808@att.com>
2018-02-07ServiceCatalogV3 fixesJakub Dudycz1-53/+58
Change-Id: I28d22a5d6206b4e4aaed3a017b4db39d0d5f0709 Issue-ID: APPC-549 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07Removing old name referencesPatrick Brady73-506/+232
Removing references to bvc, att Change-Id: I794861fe40b96c922f6e5c011b2fe5d2c4bc515b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-292
2018-02-07UEBMessagingService sonar fixesJakub Dudycz1-19/+23
Change-Id: Ibffcedd071e6fe02e98304b024d65c6ba2c162ea Issue-ID: APPC-569 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07Unit Tests for APPC Dispatcher LicenseModel classamshegokar1-0/+48
Adding Unit test for org.onap.appc.licmgr.objects class https://sonar.onap.org/drilldown/measures/org.onap.appc:appc?highlight=overall_coverage&metric=overall_uncovered_lines&rids%5B%5D=116663&rids%5B%5D=117093 Change-Id: I9e49f42bb4cfc9756a0c26b71413216003adc9e3 Issue-ID: APPC-576 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-07TenantCache sonar fixesJakub Dudycz1-49/+46
Change-Id: I8c95c1913edb325faac49f416d16f42683d8fa7e Issue-ID: APPC-574 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07ConfigResourceNode fixesJakub Dudycz3-182/+216
Resolved conflicts Change-Id: I7999ba22792edf1ffa9e0666ed48ddea304635f9 Issue-ID: APPC-530 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07DesignServicesImpl sonar fixesJakub Dudycz2-64/+88
Change-Id: I55159c7b26463965c0d0bee147b4a5f808a6c55a Issue-ID: APPC-571 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07Update java files with correct license textSkip Wonnell41-679/+722
Change-Id: I95dab947ad10ec85ae4234aa3396dd374e313739 Issue-ID: APPC-575 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-07Increase allowed interval in ChefApiClient testSkip Wonnell1-2/+2
Issue-ID: APPC-411 Change-Id: I4936559bfa0cf8dbe89c2a81d464fecc0a49afa0 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-07Sonar fixes in RestServiceNode Part2wejs3-77/+44
Additionally lesser changes in JsonParsingNone and FlowGenerator Change-Id: Id4a31df9c3c902d33522114c7e2d82654e60a352 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-07ChefActivator JUnitsMichal Kabaj5-42/+137
Add new JUnits for ChefActivator class, minor refactor + cleanup. - Remove redundant getAdapterName() method from ChefAdapter to unify adapter name constant definition Change-Id: I483d34aaa0f4e76a4360b179f1a60cc1263ec9b7 Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-07DbService sonar fixesJakub Dudycz4-56/+58
Change-Id: I3e9ed180c1c0d6be9182e65afc84dd2947404980 Issue-ID: APPC-570 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07Fixed issues in MSO and StopApplication payloadvidhyasree2-398/+398
Issue-ID: APPC-567 Change-Id: I7729322aea93eea6b83cf88b0e9d7600a41535e0 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-07Add coverage for ConfigResourceNode-4kurczews3-11/+103
Change-Id: I14f4afe16cb8b475f39927c1ee8d79594a01d5bc Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-06Add coverage for ConfigResourceNode-3kurczews3-11/+109
Change-Id: I10fd36f64a773b3a0b424ab89d2de5a5cedfb0ec Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-06Fix in EncryptionToolburdziak1-1/+1
Change-Id: I024d0fe9cddb63d47561a1586ebd596f76dd83e0 Issue-ID: APPC-554 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-02-06RestAdapterImpl refactorJakub Dudycz1-38/+38
Change-Id: I41990afaf68bd4bcfa8414efcd0ae9589d86ecbf Issue-ID: APPC-522 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-06Unit test for APPC yang generatorShubhada1-0/+28
Provide unit coverage for /org/onap/appc/yang/type bundle. https://sonar.onap.org/drilldown/measures/114359?highlight=coverage&metric=uncovered_lines&rids%5B%5D=115255&rids%5B%5D=115275 Change-Id: I3cb77301b7d7369aa95dd5c493af690f6c5fcd59 Signed-off-by: Shubhada <SV00449682@techmahindra.com> Issue-ID: APPC-534"
2018-02-05Artifact Handler updates for ConfigScaleOutRamya Balaji6-56/+112
Code changes and Unit Tests cases for new code Issue-ID: APPC-532 Change-Id: Id945354ec476e4f067cb7a1a411d8c77b3271f42 Signed-off-by: Ramya Balaji <rb111y@att.com>
2018-02-05DesignDBService fixesJakub Dudycz2-342/+304
Change-Id: If3a5aaf9818cd3c7f2bb976360e430a0c439ecab Issue-ID: APPC-566 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-05AttachVolumeServer fixesJakub Dudycz1-59/+58
Change-Id: Idaf3d9c3e2beec8686f2624ec562d989fe25b3e1 Issue-ID: APPC-565 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-05Sonar fixes in "appc-ranking-framework-lib"wejs9-53/+62
Change-Id: Ib9c490a8bcb5107fda4be1baf12d776b30777be1 Issue-ID: APPC-477 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-02Add coverage for ConfigResourceNode-2kurczews3-17/+251
Change-Id: I064bbd34f5d8b1a12eb9019e295279fd61b57d99 Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-02Add missing test dependenciesMichal Kabaj2-0/+16
Fix compilation issue for junit tests in appc-data-services/provider appc-dg-mdsal-bundle by adding missing mockito and powermockito dependencies to pom.xml. Change-Id: I21da7648bb59235b384e0e85b3075e1777a7bf36 Issue-ID: APPC-559 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-02Extraction of nested try catch in migrateServerkjaniak2-22/+61
Try catch block placed in new private method conductServerMigration, UT for class added. Issue-ID: APPC-557 Change-Id: I7f968dbc87ee3be4125da6a8a3e201af99aa420e Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2018-02-01Use EELFLogger inside ConfigComponentAdaptorMichal Kabaj3-315/+96
Remove DebugLog implementation and replace its usage with EELFLogger. Change-Id: Id98a398f4fa4f2131d6a1005932a248b5332f356 Issue-ID: APPC-539 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-01test coverage for private method/constuctorTaka1-0/+82
Change-Id: I57ab535ed0772ac15ea07c6bcfc69170f773da5c Issue-ID: APPC-555 Signed-off-by: Taka <tc012c@att.com>
2018-02-01Sonar fixes in "appc-netconf-adapter-bundle"wejs24-167/+136
Change-Id: Ib5842a5f43c9437fee464e9a35e3120a11d1c6b1 Issue-ID: APPC-494 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-01-31Unit Tests for appc-dg-mdsal-store classes-Part 1amshegokar1-0/+47
Adding Unit test for org.onap.appc.mdsal.operation package https://sonar.onap.org/drilldown/measures/org.onap.appc:appc?highlight=overall_coverage&metric=overall_uncovered_lines&rids%5B%5D=117465&rids%5B%5D=124943 Change-Id: I8c5b08406b5308dcfef1fd71826f9d8bc908e908 Issue-ID: APPC-501 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-01-31Fix in CreateSnapshotburdziak1-2/+5
Change-Id: I05fa53bd4573aa4179fd488c617b338d9188f7ad Issue-ID: APPC-552 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-31Add coverage for ConfigResourceNodekurczews4-132/+294
Change-Id: Ida31164383c01340d47b85d59034882c9206b9a2 Issue-ID: APPC-441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-30Removed redundant conditions in DBServiceJakub Dudycz1-141/+170
Change-Id: If78e2ecb407532e3399497f0eda14213130699d1 Issue-ID: APPC-496 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-30Fixed exception handling in ArtifactHandlerNodeJakub Dudycz2-123/+171
Change-Id: I81243ba0704b348995f135d2289135fd9e070928 Issue-ID: APPC-498 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>