aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2019-02-06Test coverage for AppcNetconfAdapterActivatorJoss Armstrong3-7/+51
Added 100% coverage for untested class. Moved other test file to correct package. Issue-ID: APPC-1389 Change-Id: I73e768f21d5cda8865f891c63b9ad3f3ea2cce80 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Improve testing and coverage of netconf classJoss Armstrong2-19/+7
Test now covers main success flows and increased coverage Issue-ID: APPC-1390 Change-Id: I951d5ac3426ae6d6aa3567c80aef5a5bb95fa1c7 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06add test file for VNFOperationalStateValidatorImplSandeep J1-0/+52
to increase code coverage Issue-ID: APPC-1086 Change-Id: I65861398bb166baa8689934a23ecb7da248bbca6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05Test coverage in netconf-oldconnectorJoss Armstrong6-38/+261
Increased coverage from 0% to 92% for package Issue-ID: APPC-1388 Change-Id: I9f332f799f67937a40c09bdf724701ef80bbad89 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05added test file to cover VnfType.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia85fd2a0fab0de8b5fbf770ce58b4f308a1e5d74 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-13Fix for APPC-1271Joss Armstrong2-35/+142
Replaced slow running tests which wait for timeout Testing time reduced from 22 seconds to 0.5 seconds Improved tests and line coverage increased from 26% to 96% Issue-ID: APPC-1271 Change-Id: I88713e5c819e5ce1bf695f6de3834db7c3007285 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-09-11Test cases configure and disconnect JschClientGanesh Chandrasekaran1-0/+18
Issue-ID: APPC-1182 Change-Id: I49db6487f48a214ccd061be323fde09546bbd228 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-11Test cases for Jsch clientGanesh Chandrasekaran4-0/+143
Issue-ID: APPC-1182 Change-Id: I67d04500b36c794bc8afb1db0b404b41bf0576a7 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-10Netconf adaptor logger coverGanesh Chandrasekaran2-1821/+40
Issue-ID: APPC-1182 Change-Id: Iff5c5c1bc54d7b767a89f6b6b98aafffa21e7a12 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-10Mocked test cases for NetconfDataAccessServiceImplGanesh Chandrasekaran2-1/+1943
Issue-ID: APPC-1182 Change-Id: I43075937348c666b87d3962b71b5def7a57e08c6 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05covered cases for NetconfAdaptor2Ganesh Chandrasekaran2-0/+96
Issue-ID: APPC-1182 Change-Id: Ib3e96b5869ce95299cf6e83a6f25ad04f7373382 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung1-2/+1
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files. Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008 Issue-ID: APPC-996 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01junits for NetconfClientFactoryTomasz Gwozdecki1-0/+47
-Added new test class NetconfClientFactoryTest Change-Id: Ifb8fd7ab07ad1aa9bd2ea9c6d56e708748da3217 Issue-ID: APPC-913 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-06-01Continue removing ECOMP trademark from lic header.John McClung2-5/+3
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Update license header in appc-netconf-adapter fileJohn McClung30-59/+29
Modify license header in appc-netconf-adapter files to reflect 2018 updates. Change-Id: I9fb8827dd010ae0d21e04dd8cfacba4112d8115b Issue-ID: APPC-960 Signed-off-by: John McClung <jm1364@att.com>
2018-03-26Coverage testamshegokar2-0/+156
Unit Test Coverage for: 1) NetconfConnectionDetails.java 2) NetconfClientType.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-netconf-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fnetconf Change-Id: I161d7bfe5e780c7c686ae014d87208e3da36b3cd Issue-ID: APPC-780 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Test Coverageamshegokar2-0/+128
Unit test for:org/onap/appc/adapter/netconf/exception classes 1. DataAccessException.java 2. NetconfDAOException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-netconf-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fnetconf%2Fexception Change-Id: I9b02c0ddc01b4327135ccc754a6466105b1e18ff Issue-ID: APPC-779 Signed-off-by: amshegokar <AS00500801@techmahindra.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-02-01Sonar fixes in "appc-netconf-adapter-bundle"wejs20-143/+115
Change-Id: Ib5842a5f43c9437fee464e9a35e3120a11d1c6b1 Issue-ID: APPC-494 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-01-26NetconfConnectionDetailsburdziak1-1/+1
Change-Id: I572483453f96bf76e31dd81aa0a3f08bb9e1e15c Issue-ID: APPC-535 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-25Constants refactorJakub Dudycz1-3/+2
Change-Id: Ibf2ad417c8c09d88222627d21b4c40216b3b3454 Issue-ID: APPC-521 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-18fixed some Sonar critical issuesTaka3-0/+5
Change-Id: I9dfe73a45b43919ff7b01ab3217d957a40ac2018 Issue-ID: APPC-408 Signed-off-by: Taka <tc012c@att.com>
2018-01-09code changes for platform hardening appc adapterskusuma kumari M2-16/+7
Issue-ID: APPC-305 Change-Id: Ice60ca77ffccc409d50ef11318e841c3b1f82ce1 Signed-off-by: kusuma kumari M <km583p@att.com>
2017-12-13Fourth part of onap renamePatrick Brady1-1/+1
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-13Second part of onap renamePatrick Brady31-0/+0
This is the second commit of the rename. The folder structure is renamed for appc-adapters and appc-config in this commit. Change-Id: Iaa2b8c937ff1ca1b5d1178128961fb115ee65d9b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady32-106/+106
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-12-10fix netconf and healthcheck adaprot for SonarTaka1-3/+0
Change-Id: I06c22b055d3cbf3826062f85a0878f488c0696cd Issue-ID: APPC-341 Signed-off-by: Taka <tc012c@att.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady3-4/+7
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.zhou1-20/+10
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-07-20Applying license changes to all filesPatrick Brady32-96/+160
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady32-96/+128
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady1-0/+1
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams3-10/+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-16Enable NETCONF Adapter bundle loggingMarcus G K Williams1-2/+5
Change-Id: If746c9a29066f8cbf7c27b280a44665144fe96d9 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-02-15Moving all files to root directoryPatrick Brady32-0/+2782
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>