summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-10added test case to ConfigResourceNodeTestSandeep J1-1/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1e8948ed3009704bf4f118b2ac6a6b94aa96178c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-10Fix for artifact handler rpc errorPatrick Brady9-355/+50
Change over to using blueprint for rpc registration Change-Id: Ie647472eb3e42eb7e878c526b13acbfffd1bc18f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1185
2018-09-10remove logback 1.1.2 security issueTaka Cho1-0/+10
under provider, we need to specify logback artifact to remove the issue Change-Id: Idb85bac263983447cc4b0d3d8e828371d1c7b2b4 Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-09-10Fix for provider rpc errorPatrick Brady26-2486/+126
Change over to using blueprint for rpc registration Tests cases will need to be modified and uncommented Change-Id: I6535c2d9d141406ac29dc8bb2b769fea3bdbf53f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1185
2018-09-09added test case to SshJcraftWrapperTestSandeep J1-1/+22
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic40b87f63f4b14b70870fa717bcf01f206dc982f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-07Misleading err msg failed to rebuild for snapshot.Modaboina, Kusumakumari (km583p)4-1/+16
Issue-ID: APPC-1196 Change-Id: I017528097939c89794afb8753db429886269c7c8 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-07API doc issue fixBalaji, Ramya (rb111y)1-1311/+1053
Removed code that saves yang in md-sal to prevent API doc issues. Issue-ID: APPC-1187 Change-Id: I30e3485f6e07660eedf3329bb1666eaa31e3e580 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.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-09-05Code Coverage for XinterfaceServices.javaDilip kumar Pampana1-0/+41
Junit test for code covergae for XinerfaceServices.java in design services Issue-ID: APPC-1190 Change-Id: I8b23975eb1c9d19200b5d0d115763168e48c53b9 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-09-05increase coverage for restAdaptor HTTP_POSTGanesh Chandrasekaran1-0/+33
Issue-ID: APPC-1181 Change-Id: If92c903fa520e1a609d4e4558241709a2b3f6439 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05increase coverage for restAdaptor HTTP_GETGanesh Chandrasekaran1-0/+33
Issue-ID: APPC-1181 Change-Id: Iac9a6be49bc3e4ed2461a337e9b892b821a8d518 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05increase coverage for restAdaptor HTTP_DELETEGanesh Chandrasekaran1-0/+33
Issue-ID: APPC-1181 Change-Id: I50eead8d40c692cd9674fdc2f1f3ed63c9f9031a Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05refactor restAdaptor and add test for HTTP-PUTGanesh Chandrasekaran3-6/+63
Issue-ID: APPC-1181 Change-Id: Ibd70b03db906343c5e9c27439e2da541a54672e2 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-04Fixed error message for rebuildBalaji, Ramya (rb111y)1-4/+14
Corrected code to ensure that all errors in retrieving images do not result in a misleading error message attributed to bootable volumes. Instead, a generic error message processing has been added. Issue-ID: APPC-1189 Change-Id: Ic4dc917e86429a3ab7bce4432796083f0741c637 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-09-03upgrade netty-handler from 4.0.27 to 4.1.22Taka Cho1-0/+12
excluded cassandra from sdc tosca and upgrade cassandra to 3.0.8 Change-Id: I725329e35746a9ed62aa9eda59ecbaefdaf8575b Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-09-03fix the wrong LCM in docTaka Cho1-2/+2
fix the outdated LCM API in APPC LCM API document Change-Id: I089540ce70fb311718a0ad1651cc1a86c19a544b Issue-ID: APPC-1184 Signed-off-by: Taka Cho <tc012c@att.com>
2018-09-03fix com.fasterxml.jackson.core 2.8.1Taka Cho2-2/+2
Group: com.fasterxml.jackson.core Artifact: jackson-core Version: 2.8.1 to Version: 2.8.6 Change-Id: Ibe2b61a4ce2062372d98f88741e101e77b2d652c Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-09-02fix com.fasterxml.jackson.core 2.8.4Taka Cho2-15/+15
Group: com.fasterxml.jackson.core Artifact: jackson-core Version: 2.8.4 to Version: 2.8.6 Change-Id: Id691ab4da8d5a5f205cff02acee70719952ef956 Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-31Remove excess feature filesPatrick Brady10-270/+0
These feature stub files were accidently created, they should not be in these projects. Change-Id: Ib710d4d9be3d2f323ba2e4cfca31b2951777825f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1185
2018-08-31refactored code in ExecuteNodeActionImpl.javaSandeep J1-137/+151
created a method a called getVserverRelations(SvcLogicContext vnfCtx, SvcLogicContext ctx) having the logic for looping through relationship-list data, to get vserver relations. This piece of code was earlier not covered by test cases. By putting this logic in a separate method, we will be able to write a specific test case for this logic and will be able to increase the code coverage by a big amount. Issue-ID: APPC-1086 Change-Id: Iffa2a4f04a1fd2b93edc4bcdfef8625f196a305e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-31Junit for code coverage in artifact-handlerDilip kumar Pampana3-6/+186
Junit Test cases for checking Exceptions part and also for isUpdate in DBService.java file Issue-ID: APPC-1140 Change-Id: Ibbfe9daf5465f4efcc8d42e8ed508d0b5e5129bb Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-08-29upgrade bcprov 1.59 to 1.60 to fix security issueTaka Cho1-0/+5
on chef-adapter, I added a dependency to resolve bcprov-1.59 security issue from Nexus IQ report Change-Id: I238664499becf3a969a7c88ac5a0e7cd2da2aa61 Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-29resolved SONAR issue in MetricActivator.javaSandeep J1-1/+3
resolved SONAR issue Issue-ID: APPC-1163 Change-Id: I1d91fbebb938480f5470055768d9cff9e5902a57 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-28removed redundant object assignmentSandeep J1-7/+0
removed PropertyDefinition object creation dependency. The object is already defined in the setUp method. Issue-ID: APPC-1086 Change-Id: Icb7e791109a409af1b646b07052bc43517d09dc5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-24Remove old appc-commonRyan Young123-14145/+34
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-23Fix request handler class errorPatrick Brady2-0/+8
Change-Id: I8e46de98f1a319452a9133835d0fe0b1430303ca Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-23add test case to TestRequestContext.javaSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: I6d6319321f930bd736c85f42676f448c4f44b48a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23added test case to TestDmaapProducerImpl.javaSandeep J1-2/+4
to increase code coverage Issue-ID: APPC-1086 Change-Id: I39e99b4036ca7668bd739a9fa17cb850c5bea330 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23added test case to TestPropertyDefinitionNode.javaSandeep J1-0/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7a07ce47115eff276217addc92baf1df15bdb06e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-22Add dependencies for appc-sdc bundlePatrick Brady1-0/+10
Theses dependencies are needed for the sdc-distribution-client. They existed as embedded dependencies, but had no maven dependency entry. Change-Id: I1ba65dbd202ee8226351120480b0806394a2867d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-22Add versions needed for appc-sdcPatrick Brady1-0/+4
Change-Id: I381e941c65a71e12d7f007c0c57842712d8327bc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-22added test case to TestPropertyDefinitionNode.javaSandeep J1-0/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3c5b31a1127a364512b7787e28b1cdc7191a9138 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21Revert "resolving logback-classic 1.13"Patrick Brady20-228/+10
Temporary revert to fix failing bundles. This reverts commit 76b6ff1ce84d4c2ab4518dd5f154083b91680245. Change-Id: Ibce5eee91ad8f1bec9b458a52a7f5d25ada85da9 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-21Revert "remove logback 1.1.2 security issue"Patrick Brady1-9/+0
Temporary revert to fix failing bundles. This reverts commit 9922c9250a5419c726be6fae9ffb083e365d49e0. Change-Id: I148f5b2add6b247b56ff1a3169d69458b363a4de Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
2018-08-21added test case to TestDmaapProducerImpl.javaSandeep J1-18/+24
to increase code coveraje Issue-ID: APPC-1086 Change-Id: I2e507c2df03776fab33b023de6033cdd15e3a6ee Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21fixed few sonar issues in AAIResourceNode.javaSandeep J1-3/+5
fixed few Sonar issues Issue-ID: APPC-1166 Change-Id: Idc11b37bb22105750146c2bccd84f173f086c61f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21fixed SONAR issue in AppcAaiClientActivator.javaSandeep J1-22/+24
fixed SONAR issue Issue-ID: APPC-1165 Change-Id: Iadc79265f18c4d6a61367a48d31ea6b70ce0178e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21added test cases to TestRequestContext.javaSandeep J1-0/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I32fc17823608fb0c79f11b3385379e34f6eb49cc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21added test case to TestAnsibleMessageParser.javaSandeep J1-14/+22
to increase code coverage. Also, formatted the code. Issue-ID: APPC-1086 Change-Id: I3b7bf6c70f20b0e42326f2fe3b642742f3fcd524 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21Correct missing bundlePatrick Brady1-0/+35
The appc-config-params feature requries a bundle which is not already added to the installation zip automatically. Change-Id: I2e256b0e28024e4b59ff002b2297447c5e3f9d12 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-20formatted the code and added test caseSandeep J1-38/+32
to increase code coverage Issue-ID: APPC-1086 Change-Id: I2b1c1308adba0966172b1897a4d8815f80451beb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-20added test to cover catch portion of exceptionSandeep J1-1/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I91dcb8497ad2d5fe88238f1979f413584803d000 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-20removed try catch from test case & formatted codeSandeep J1-19/+8
replaced try catch with @Test(expected=JAXBException.class) Issue-ID: APPC-1086 Change-Id: Ie3ec5a60b4ac09797ce2a8e5ed2f79b2979875c1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-20Update versions for odl sr3Patrick Brady2-7/+11
Change-Id: I4f27d566c714ca8ce8240f5a956515623e14c031 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-20resolving logback-classic 1.13 from security issueTaka Cho20-10/+228
cdp-pal and eelf are the jar using logback-classic 1.1.3. need to use exclusions option in pom file Issue-ID: APPC-1018 Change-Id: I00b41f9c366a5ead3f4205cd6fa6b9eb74599767 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-19fixing common-collection 3.2.1 security issueTaka Cho9-9/+24
changed pom.xml and features.xml to keep common-collection to 3.2.2 Change-Id: I3ccd44d61f2e58edae9de6d7042cdb752bbd73cb Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-17added test case to TestVnfc.javaSandeep J1-31/+83
to increase code coverage Issue-ID: APPC-1086 Change-Id: I67c5f3aa03ee7b5fdd333bda71008605bcc71d6b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>