aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-06Improve coverage FlowControlNode #5kurczews3-498/+498
* cleanup formatting shorten constants * Change-Id: Iddc632ae9c3893622c1ba0ce937c2971b792fe37 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-05Aai Test cases addedDilip kumar Pampana2-2/+32
junits were missed in the code contributions for Beijing for appc-outbound/appc-aai-client Issue-ID: APPC-692 Change-Id: I9bde9cc48e7fa396f2b4ac3af3b181ae03b84143 Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
2018-03-05Unit Test Coverage Part:2amshegokar5-0/+306
Unit Test Coverage for: 1. Snapshot.java 2. Volume.java 3. Volume_.java 4. Template.java 5. SnapshotRestoreResponse.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fopenstack%2Fheat%2Fmodel Change-Id: I18ecc259973bbd3934f9ccd4cc20d897444d9d76 Issue-ID: APPC-686 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-05Code changes to retrieve template-idBalaji, Ramya (rb111y)4-41/+162
Functionality to retrieve vf-module and associated model information from A&AI Issue-ID: APPC-623 Change-Id: I9d2e12748641978c689566756a6301808e41b69a Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-02ConfigScaleOut flow changesBalaji, Ramya (rb111y)5-99/+319
Code changes and unit test cases to include template id when retrieving vnfc reference data and artifacts from tables. Cleaned up Unit Tests. Issue-ID: APPC-619,APPC-620 Change-Id: I8db08be19b9fa094a07e5c5597c45327824cfb01 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-02Unit tests for send methodsTomek Kaminski2-38/+267
Covered functionality of 4 send methods with JUnits Change-Id: I21de5eab799e52899959cf61199a4d185a47268c Issue-ID: APPC-591 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-03-02Correct Issue ID APPC LCM GuideScott Seabolt1-33/+92
Previsou submit included an incorrect Issue Id Issue-ID: APPC-657 Change-Id: I11a4a3cd64f52a3c49fa439ee27320b48c6a93bb Signed-off-by: Scott Seabolt <js9808@att.com>
2018-03-02Added missed code to appc-dg-common bundleBalaji, Ramya (rb111y)1-1/+2
Issue-ID: APPC-688 Change-Id: I7cfb5a90005f046336bf7858aa94001bdc5b6b32 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-01security issue jackson-mapper 1.9.12Taka Cho7-7/+7
Change-Id: I89266f7a8dde8bc409f4edc8bdf91195c4249515 Issue-ID: APPC-675 Signed-off-by: Taka Cho <tc012c@att.com>
2018-03-01move powermockito to mocktio appc-clientTaka Cho3-19/+11
Change-Id: I51439e787d3da3d6a785ef6d60712fa71bdb0125 Issue-ID: APPC-677 Signed-off-by: Taka Cho <tc012c@att.com>
2018-03-01 Testcases for Configscaleout actionvidhyasree3-8/+191
Junit testcases for ONAP scaleout feature Issue-ID: APPC-544 Change-Id: I43e211f00e7568cb98e564b1cbf60f96b27c5dfa Signed-off-by: vidhyasree <sn141y@att.com>
2018-03-01Unit test Coverageshubhada2-0/+125
Unit Test Coverage for: 1. EventHeader.java 2. EventStatus.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-message-adapter-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fmessage%2Fevent Change-Id: I6b48fa3ac5af489b24d212ca52bdc1a51b388dbc Issue-ID: APPC-680 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-01Unit Test Coverageshubhada4-0/+223
Unit Test Coverage for: 1. Data.java 2. CreateSnapshotParams.java 3. Properties.java 4. ResourceData.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fopenstack%2Fheat%2Fmodel Change-Id: I0eeef6216f536483c6b7a45d0847688d6d84fd2f Issue-ID: APPC-685 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-01ChefAdapterImpl JUnitsMichal Kabaj4-37/+89
-Added new ChefAdapterImplTest class for new ChefAdapterImpl JUnits -Added test for nodeObjectBuilder method - JSON Format is now verified using JSONObject -Unified ChefAdapterImpl construction - removed unused constructors Change-Id: I63f96bac0129b5f13d34efd3a173784e0b1d8a5d Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-03-01Fixes in "appc-dmaap-adapter-bundle"wejs9-119/+578
Correction of Sonar and CheckStyle issues Added JUnit test coverage. Change-Id: I119c7555e33e09c87b572ff0b63f55e2884be75f Issue-ID: APPC-646 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-03-01appc-dg-common sonar fixes part 2Jakub Dudycz19-251/+294
Sonar fixes in whole module Change-Id: I9d2d7f092fc44217c794ea3a4d4b12b1ad641ff0 Issue-ID: APPC-673 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-01Improve coverage flow/controller/node #4kurczews2-37/+103
Issue-ID: APPC-440 Change-Id: Iee74ce27c3978d265fccc79dacaf8df965768a36 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-28Add missing mockito-core dependencyMichal Kabaj1-0/+4
TestAppcDmaapListenerActivator in appc-event-listener-bundle has compilationissues in development environment due to missing mockito-core test dependency. Change-Id: I1e46bd4866b5c02b06eb71fef9aba08e2b7f1012 Issue-ID: APPC-678 Signed-off-by: Michal Kabaj <michal.kabaj@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-28appc-dg-common sonar fixes part 1Jakub Dudycz30-332/+377
Initial code refactor and imports rearrangement Change-Id: I4b96f82a4ebc30539872d9678cd5c2badc994256 Issue-ID: APPC-673 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-28roll back the logback versionTaka Cho3-5/+5
Change-Id: I34661e29c605b7731c92412d9c0c57c91583e8a4 Issue-ID: APPC-684 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-28Code fix for attach and detach volumesPatrick Brady4-430/+436
Cherry-picked to split up commit https://gerrit.onap.org/r/#/c/31149/ into individual jira tickets. open stack consumes cdp-pal openstack jars to connect to cinder, this fix retrives set of volumes from volumeservice provider and performs attach or detach through compute service. Change-Id: I59bce60d9f79ba9285f284fe1f56945e63d0bcba Signed-off-by: Patrick Brady <pb071s@att.com> Signed-off-by: kusuma kumari M <km583p@att.com> Issue-ID: APPC-448
2018-02-27security issue: commons-collectionsTaka Cho12-11/+86
Change-Id: I74a56640065ae6c6a470835ab1022ed0f266fc09 Issue-ID: APPC-665 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-26Add assertj artifact test dependencyMichal Kabaj1-0/+12
Add new assertion libraries for writing improved unit test assertions in a fluent style manner: - assertj-core - assertj-guava Change-Id: Ifca841a88f91219c13b50f7b80c7e0fe660bea19 Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-26appc-network-client-provider sonar fixes part 2Jakub Dudycz14-145/+169
Sonar fixes in whole module Change-Id: If36f6b7762c0caa1ccd4f5c9efa57c08f97a2c87 Issue-ID: APPC-672 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26appc-network-client-provider sonar fixes part 1Jakub Dudycz13-250/+227
Initial code reformat and imports rearrangement Change-Id: Iacc8f3b4313415da2fb7215dd4a529c1f06de039 Issue-ID: APPC-672 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26appc-config-generator-provider sonar fixes part 2Jakub Dudycz17-153/+134
Sonar fixes in whole module Change-Id: I55856a6ce73a73098dadb2c5b9428437349ed8a8 Issue-ID: APPC-671 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26appc-config-generator-provider sonar fixes part 1Jakub Dudycz9-66/+69
Initial code reformat and import rearrangement Change-Id: I0a808bc3043d8558d96f15e0b695fddf5333bab1 Issue-ID: APPC-671 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26CompareNode sonar fixesJakub Dudycz1-68/+41
Change-Id: Ia467508aa17737caa056b5ed0b6dd28ee4c01a35 Issue-ID: APPC-670 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26PropertyDefinitionNode sonar fixesJakub Dudycz2-149/+171
Change-Id: Ibc198788f20a8555628d75c785ebcc60908b39db Issue-ID: APPC-664 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
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>