aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-18scopeOverlap errorfix actionrequest fr force=falseModaboina, Kusumakumari (km583p)7-10/+45
Issue-ID: APPC-1188 Change-Id: Ife6666e80025a595c5a8f840a00d0882ac80ed71 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-17Adding DistributeTraffic LCM APITomek Osinski7-0/+373
This commit contains code modifications for APPC to support DistributeTraffic LCM API. Tests has been implemented for new service. Change-Id: I853120eced93928268074cf89dd62fb89fea9ff8 Issue-ID: APPC-1169 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2018-09-14Documentation for DistributeTraffic LCM actionLukasz Rajewski2-0/+46
This change modifies APPC LCM API Guide and APPC CDT User Guide with descriptions for new DistributeTraffic LCM API Change-Id: Ieb945976821369728c6a4e96437acce920a2ff1a Issue-ID: APPC-1171 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2018-09-12Revert "remove logback 1.1.2 security issue"Patrick Brady1-10/+0
Fix for bundle error. This reverts commit b51a315636321718cde5ea759cebcb1b28a06d94. Change-Id: Idd5cc7452a4ff36c1238ccc6c38dbcdcd4453769 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1202
2018-09-11Correct fasterxml errorsPatrick Brady2-4/+10
Different versions of fasterxml were being used at once, causing type errors. Change-Id: I42c28e26386284010fe5c965456e2c72fdb30f3c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1202
2018-09-11Fix for json types errorPatrick Brady1-1/+1
Karaf is now including an older version of json bundle. In order to avoid conflicts, the correct version is now embedded here. Change-Id: Id1c037abc2a2825998e4f2e4777bd2e2d5996529 Signed-off-by: Patrick Brady <pb071s@att.com>a Issue-ID: APPC-1202
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel34-68/+68
patch description: Restore of valid shebang lines and exec flags Change-Id: Id44c9d4ac9f2243f478213b34f61a30576ca2235 Issue-ID: APPC-1203 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
2018-09-11In progress trxns criteria fixBalaji, Ramya (rb111y)5-30/+135
Changed the criteria for inprogress transactions to the last X hours. This will eliminate stale transactions causing an incorrect scope overlap error. Issue-ID: APPC-1194 Change-Id: I2f3147503f4202e8e8931b2615e626e3b9af8261 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-09-11refactored code for TestCompareNodeXmlSandeep J1-14/+18
added object creation to setup method using before annotation Issue-ID: APPC-1086 Change-Id: If0e0c438a4e31751ae17db6ee557b2a2adb55036 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11refactored code for TestCompareNodeCliSandeep J1-13/+14
added object creation to setup method using before annotation Issue-ID: APPC-1086 Change-Id: Ia125c53807d4f255686d4f2ff6af818c1b08ca4d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11refactored code for TestCompareNodeJsonSandeep J1-17/+15
added object creation to setup method using before annotation Issue-ID: APPC-1086 Change-Id: I136191ab61d7b39751ccffa63a711d9ef14add7d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11added test case to TestParsingNode.javaSandeep J1-21/+28
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1b37fa65a8cb8182f0f6f1af810c4cdddfa30ef0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11bugfix to allow reboot even VM is at error stateModaboina, Kusumakumari (km583p)1-5/+0
Issue-ID: APPC-1198 Change-Id: I12cb5b2807a026b7bc55f16109fbca852b2b41fb Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-11added test case to ConfigComponentAdaptorTestSandeep J2-0/+59
to increase code coverage Issue-ID: APPC-1086 Change-Id: I49259f114ed7e180c0dd4d71de11da331634dc12 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11added test case to TestDGGeneralDBServiceSandeep J1-2/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I034a158efa5d3d274b0ee92cc7d91ae918f7e744 Signed-off-by: Sandeep J <sandeejh@in.ibm.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-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