aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-20Add junits to request-handler-exception classesLori Keighron3-0/+119
Introduce junit-tests for 3 request-handler-excetion classses Issue-ID: APPC-769 Change-Id: I49f45ba50adccbfcc9725a7e458054e19f0c5efd Signed-off-by: Lori Keighron <lk2924@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-20ChefAdapterImpl JunitsMichal Kabaj2-20/+138
- Added new Unit tests for ChefAdapterImpl checkPushJob method to class ChefAdapterImplJobPusherTest - Added param check in implementation method - Small refactor of nested conditions for improved readability Change-Id: Id65b897535874eea6aafda66b7ac227832446cf4 Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-03-20Unit test for MessageDestination.javashubhada1-0/+39
Unit test for MessageDestination.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%2FMessageDestination.java Change-Id: I17032a622571ce6ed6e6454967edabc2f2ef2d33 Issue-ID: APPC-764 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-20Unit Test Coverageshubhada1-0/+35
Unit test coverage for InvalidRequestException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc.client%3Aclient-simulator%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fsimulator%2Fclient%2Fimpl%2FInvalidRequestException.java Change-Id: I282481303657a4ede2132d04ebe45ab9b18589d7 Issue-ID: APPC-765 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-20Unit Test Coverageshubhada1-0/+63
Unit Test Coverage for AppcClientException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc.client%3Aclient-kit%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fclient%2Flcm%2Fexceptions%2FAppcClientException.java Change-Id: I70eb5b92f6c15b8f67a5e179be58d6f4f2565c47 Issue-ID: APPC-767 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Added junit coverage to CoreException classLori Keighron1-0/+55
Introduce junit-tests for CoreException class Issue-ID: APPC-752 Change-Id: Ic5c8c2c83ce99d488e9e79a8fb72e7ad5fcf2ad3 Signed-off-by: Lori Keighron <lk2924@att.com>
2018-03-19Code changes to fix ExceptionBalaji, Ramya (rb111y)4-6/+94
Reverted changes to method name in Transaction.java to getuId() as this caused incorrect attributes to be added to the generated JSON. Added unit test to ensure this works as expected in the future. Issue-ID: APPC-760 Change-Id: I07adcda0b5f04bd00efc113b94c68f48af13ad78 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-19Unit Test Coverageamshegokar6-1/+248
Unit Tests for APPC Dispatcher Common - Domain Model Lib classes Part:2 1.ActionLevel.java 2.RequestModes.java 3.RequestStatus.java 4.ExternalActionStatus.java 5.VNFOperation.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: I8f870e43d6f847cd9800a6178e1020ba26f0e211 Issue-ID: APPC-749 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-19Unit tests for appc-ssh-adapter-api classesshubhada2-0/+110
Unit Tests for: 1. SshDataAccessException.java 2. SshException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-ssh-adapter-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fssh Change-Id: I7c927a5319143e5df051d008f8f5dbb546699b99 Issue-ID: APPC-759 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit test for DependencyTypes.javashubhada1-0/+50
Unit test for DependencyTypes.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-dependency-model%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fobjects%2FDependencyTypes.java Change-Id: I163105492a11a8f9e9657562812e829f17fc149e Issue-ID: APPC-758 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit test for DependencyModelNotFound.javashubhada1-0/+36
Unit test for DependencyModelNotFound.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-dependency-model%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fdependencymanager%2Fexception%2FDependencyModelNotFound.java Change-Id: I17f2b9bb34ad161ea0c4b9eb902b0c0437970e37 Issue-ID: APPC-757 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit Test Coverage for Constants.javashubhada1-0/+46
Unit test coverage for Constants.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fimpl%2FConstants.java Change-Id: Ic44430e25c429f420c667e51c5d5eb7b6feb8fe5 Issue-ID: APPC-755 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit test for:org/onap/appc/dg/aai/objects classesshubhada2-0/+196
Unit test Coverage for: 1.AAIQueryResult.java 2.Relationship.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fobjects Change-Id: Ia4bb63454b5150e99cc38b12f867450da7ceae54 Issue-ID: APPC-754 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-17ResponseStatus unit testsJakub Dudycz1-0/+57
Improved code coverage. Change-Id: I4f522d57b3e6e8d64d42c5e8b957db5a4a1bf07a Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17InputBody and OutputBody unit testsJakub Dudycz5-36/+248
Improved code coverage. Change-Id: I8b083f3281f0057d14cdfa9ae3c47eb3da99614e Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17DmaapMessage and its subclasses unit testsJakub Dudycz5-43/+278
Improved code coverage. Change-Id: Iaa8496ce5c7aa5a8fc7ca203baf07ab8b7e55e5d Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17CommonHeader unit testsJakub Dudycz1-0/+92
Improved code coverage. Change-Id: Ic215cbd9ab6999f8e1d51c2f4d79d0d550057f04 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17ActionIdentifiers unit testsJakub Dudycz1-0/+71
Improved code coverage. Change-Id: I3d65411f5f746850a4e83c34f3ef349653e3bc3f Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-16WorkerImpl unit testsJakub Dudycz3-39/+130
Improved code coverage. Change-Id: I1a5170d16d64e95b759a576b56689164036370c1 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-16Unit test for MDSALStoreException.javashubhada1-0/+77
Unit test for MDSALStoreException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-mdsal-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fmdsal%2Fexception Change-Id: Ia8f8a1e35fd8426389b7e036574e0bddd3a17974 Issue-ID: APPC-751 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-16Unit test coverage for domainmodel-lib classesshubhada4-0/+244
Unit test Coverage for: 1.Vnf.java 2.Vnfc.java 3.Vserver.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-domain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel Change-Id: I7a77a992a1957020a066bcd5676c9a63cc7cd328 Issue-ID: APPC-720 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-16ChefAdapterImpl JunitsMichal Kabaj3-11/+135
-Added new Unit tests for ChefAdapterImpl pushJob method -Added new Junit class ChefAdapterImplJobPusher -Some minor construction refactor in other junits Change-Id: Id6fbcba2c5f5e11bfad2c7dccf6c06f777756a47 Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-03-16ChefAdapterImpl- checkInfo junitsTomasz Gwozdecki1-1/+44
-Added junit tests for checkInfo method to verify if input params are present -Support for Michal Kabaj as part of APPC-437 Change-Id: I29758f29f32354439ea0471e1afa3df6bb8184b9 Issue-ID: APPC-437 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-03-15Add Junit for ConnectionDetails classNeha Sood1-0/+47
Change-Id: Ie0c7348583d6e99397374602c0b2cb804cda8d85 Issue-ID: APPC-734 Signed-off-by: Neha Sood <ns189k@att.com>
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-15Add junit coverage to EncryptionTool classLori Keighron1-0/+75
Introduce junit-tests for EncryptionTool class Change-Id: Iced5222f99d4af8b8ae5d0a75885c075a7291190 Issue-ID: APPC-726 Signed-off-by: Lori Keighron <lk2924@att.com>
2018-03-15Converter unit testsJakub Dudycz4-118/+229
Improved code coverage. Change-Id: Ieff8e92f907a9c45e4c810754d6e3d86e2c5bd0c Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-15AbstractListener unit testsJakub Dudycz4-41/+88
Improved code coverage. Change-Id: I131f8bbbc72e0587572baa340d10fb56f6a1c5bc Issue-ID: APPC-747 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-15Unit Test for NoTransitionDefinedException.javashubhada1-0/+34
Test Coverage for NoTransitionDefinedException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-lifecycle-management-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flifecyclemanager%2Fobjects%2FNoTransitionDefinedException.java Change-Id: If5e9101a27473cfa7716669049518d4b5f04be2b Issue-ID: APPC-739 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-15Coverage for org.onap.appc.licmgr.exception classamshegokar2-0/+71
Coverage for org.onap.appc.licmgr.exception class Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-license-manager-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flicmgr%2Fexception Change-Id: Iefe4243fa12b2abb799db807ade2895c3d282a70 Issue-ID: APPC-729 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Unit test for AAIQueryException.javashubhada1-0/+35
Unit Test for AAIQueryException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fexception Change-Id: Ia1674d459c3c2c1d89de8930ed8a5e749890dd02 Issue-ID: APPC-741 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-15Unit Test Coverageamshegokar4-0/+184
Unit test Coverage for: org/onap/appc/executor/objects classes Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-command-executor-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fexecutor%2Fobjects Change-Id: I692ed8e4fc6d3789fdcff24a4fc231320f5a23e3 Issue-ID: APPC-746 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Test coverage for LifecycleException.javaamshegokar1-0/+35
Test coverage for LifecycleException.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-lifecycle-management-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flifecyclemanager%2Fobjects%2FLifecycleException.java Change-Id: If1f161a60221697423dffa1fd1984012a2fb5d04 Issue-ID: APPC-738 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Remove ECOMP trademarkSkip Wonnell1-3/+0
Remove ECOMP trademark line from License.txt files at root directory Issue-ID: APPC-737 Change-Id: I2bab0d6bcd9d1ead09fe20466648d9566f293b92 Signed-off-by: Skip Wonnell <skip@att.com>
2018-03-15Unit tests for Dispatcher:lockmanager-api classesshubhada3-1/+101
Unit Test Coverage for: 1)LockException.java 2)LockRuntimeException Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Alock-manager-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flockmanager%2Fapi Change-Id: Ic8407e10bbe49c868963bc4fb5c0125d4c8f29a2 Issue-ID: APPC-732 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-15AaiService sonar fixesJakub Dudycz6-754/+865
Change-Id: Ic0056db2aa02a41cfbdf66c2b60a978eac1114a4 Issue-ID: APPC-660 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-14ClientLib Support For Multiple Controllersvidhyasree4-23/+115
-APPC client library should support multiple controllers -To support MSO added string controllerType Issue-ID: APPC-683 Change-Id: Ief8416cb0912acc26015cb8271432de92a0af7dd Signed-off-by: vidhyasree <sn141y@att.com>
2018-03-14Unit test for SshConnectionDetails.javaPatrick Brady2-42/+110
Unit test for SshConnectionDetails.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-ssh-adapter-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fssh%2FSshConnectionDetails.java Change-Id: I0be7e83bac3be615a664f3c1089dae299c8d3858 Issue-ID: APPC-715 Signed-off-by: amshegokar <AS00500801@techmahindra.com> Signed-off-by: Patrick Brady <pb071s@att.com>
2018-03-14Add INFO.yaml fileJessica Wagantall1-0/+52
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: Ie42724d8a40acc7ec5a8797c88bbe7103d4eb264 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Patrick Brady <pb071s@att.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-14Directed Graph & Associated code changesBalaji, Ramya (rb111y)4-1092/+1036
Changes to DGs for A&AI processing and for formatting controller template id if passed in input. Issue-ID: APPC-690, APPC-691 Change-Id: I3019d093f8327839aa286a5784fcc96bde0fb0d6 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-14Unit Test Coverageshubhada3-0/+111
Unit Test Coverage for: 1)LCMResponse.java 2)VNFOperationOutcome.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-lifecycle-management-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flifecyclemanager%2Fobjects Change-Id: I1296cad32cd750297557888ba0fcfd63d61d2b69 Issue-ID: APPC-728 Signed-off-by: shubhada <SV00449682@techmahindra.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-13Coverage for org.onap.appc.adapter.ssh classesamshegokar3-14/+168
Coverage for org.onap.appc.adapter.ssh classes Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-ssh-adapter-tests%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fssh Change-Id: Icd1dde27c8588f217b6cca83f1cde3a8b24a41c3 Issue-ID: APPC-725 Signed-off-by: amshegokar<AS00500801@techmahindra.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-13Code changes for A&AI add/updateBalaji, Ramya (rb111y)4-6/+73
Code and Unit Test updates to updating vnfc records when vf module is provided in request. Issue-ID: APPC-622 Change-Id: I76903eb8bfa6910e3fb2f6e404504d2b9b5fb477 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>