summaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-09-21Remove logback 1.1.3 security issuePatrick Brady6-1/+80
cdp-pal and eelf are the dependencies using logback-classic 1.1.3. Need to use exclusions option in pom file Change-Id: Id8f5817ec955e2b7b486bc0215c35541086606aa Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel7-14/+14
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-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-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-07Misleading err msg failed to rebuild for snapshot.Modaboina, Kusumakumari (km583p)1-1/+1
Issue-ID: APPC-1196 Change-Id: I017528097939c89794afb8753db429886269c7c8 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.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-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 Chandrasekaran2-6/+43
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-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-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-24Remove old appc-commonRyan Young8-9/+9
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.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-21Revert "resolving logback-classic 1.13"Patrick Brady6-80/+1
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-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-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-20resolving logback-classic 1.13 from security issueTaka Cho6-1/+80
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 Cho1-1/+5
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-17upgrade bcprov to 1.60Taka Cho3-20/+2
upgrade bcprov to 1.60 to avoid security issue Change-Id: I10b20adbcceed68a74ac49dec7a6ade64d34d33c Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-13Karaf 4 for appc outboundPatrick Brady1-1/+1
Change-Id: I4aceffe33748a8e157bc1cac118de1e6b431378b Issue-ID: APPC-1146 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-14Karaf 4 for 2 featuresPatrick Brady6-151/+192
appc-ansible-adaptor and appc-sequence-generator Change-Id: I1f2e8727f899486df84c75350737a7a91bbb1039 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1142
2018-08-14Karaf 4 for appc-iaas-adapterPatrick Brady6-132/+176
Change-Id: Ic6eb6f8025f2521b1b5b0a7df926ecc9bca582ac Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1022
2018-08-13Karaf 4 for appc-dg featuresPatrick Brady9-107/+213
Including appc-dg-util, appc-dg-shared, and appc-ssh-adapter Change-Id: Ia137a87c560438d23f7858e0f4068717891be076 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1137
2018-08-13Karaf 4 for first few featuresPatrick Brady33-677/+1067
appc-metric appc-dmaap-adapter appc-chef-adapter appc-netconf-adapter appc-rest-adapter Change-Id: I1d5a8e39cac7be74b05a0782f0971f8d08c8162d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1029
2018-08-03Changed Code and DGs to return detailed response.Shailendra Borale2-3/+9
Added comment and used String instead of Integer.toString Change-Id: I07a0a7752b225fbf50d761b489b9320b47fcc71d Issue-ID: APPC-1013 Signed-off-by: sb8915 <sb8915@att.com>
2018-07-31ignoring testFetch as it is long time to executeSandeep J1-1/+1
ignoring the testFetch method as it is taking 130 sec to execute, as reported by Patrick in the issue APPC-1111. Issue-ID: APPC-1111 Change-Id: I7bef0719a04b5d3dd9d52a1c2608f16f16d76c5d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-30Increase coverage for sshdDataAccessDerviceGanesh Chandrasekaran2-0/+119
Issue-ID: APPC-1113 Change-Id: If7f466c6e6c205c220ae020c3e4ce24e1088f7f3 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-07-26API to support getConnection with SSH KeyFileGanesh Chandrasekaran7-72/+101
Issue-ID: APPC-1097 Change-Id: Ic9baa3e43be55bc20aa974898c164cc8a590a78a Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-07-23Fix ssh adapter compilation issues.David Crosson3-38/+52
Apache sshd library updated to 2.0.0 Issue-ID: APPC-835 Change-Id: Idfbc396291c3d05a47e4dceb45d06bc8084c054d Signed-off-by: David Crosson <david.crosson@orange.com>
2018-07-23Junit Test cases for Ansible adapterDilip kumar Pampana1-0/+178
Junits test cases for ansibleMessageParser in Ansible Adapter Issue-ID: APPC-1106 Change-Id: I9ef0664fb613d80f3275637413f0d2fae76b0186 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-19added few test cases to increase code coverageSandeep J2-7/+34
added few test cases to increase code-coverage for DmaapConsumerImpl.java Issue-ID: APPC-1086 Change-Id: I3cf10a195063a05acf77b01aa2ea66e3da44d179 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-10null ptr checkKrishnajinka2-14/+23
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-09use try with resourcesKrishnajinka1-12/+13
Issue-ID: APPC-1046 Change-Id: I28ca35b8a888875f91afda05c4dedee3ed301dde Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-06-27Unit test cases for ansible impl packageLathish6-72/+552
Change-Id: I2d035b548f9cfd866ed9966ac6dbf4e496723afc Issue-ID: APPC-533 Signed-off-by: Lathish <lathishbabu.ganesan@ericsson.com>
2018-06-26add support for new openstack rebootaction VM levlModaboina, Kusumakumari (km583p)6-1/+251
Issue-ID: APPC-922 Change-Id: I84941d8a5882b422d4e8365c82b8aaaf4618fa57 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-22enchance rebuildaction to make snapshotid OptionalModaboina, Kusumakumari (km583p)11-590/+515
Issue-ID: APPC-1011 Change-Id: I58d71df2c71a2964cd5957119e3967e35912ac6b Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-21chef adapter changes for pushjob status nodescheckModaboina, Kusumakumari (km583p)3-79/+120
Issue-ID: APPC-1012 Change-Id: Iac03825b092f62a8d3747a62303f7869bc8280e8 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-19Enhance Ansible by parsing of response messagesModaboina, Kusumakumari (km583p)3-5/+35
Issue-ID: APPC-1015 Change-Id: I19d81c1a266625c81b772fbee9996054bb5a2cbf Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-18Unit test cases for iaas impl packageLathishbabu Ganesan17-818/+1050
Change-Id: Iac6167dca83413b7533cb65a73775a616866589c Issue-ID: APPC-436 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2018-06-14Update license header on appc-adapter xml filesJohn McClung46-91/+46
Modify license header on appc-adapter xml and .code_styling xml files to reflect 2018 changes. I also had to fix the xml_version line syntax for the .code_styling xml files. Change-Id: I361f64d3d6edbf43b6c7ae06611f64ee183b7d82 Issue-ID: APPC-999 Signed-off-by: John McClung <jm1364@att.com>
2018-06-14Update lic header in appc client and config xmlJohn McClung7-14/+7
Modify license header in appc-adapter xml, appc-client xml and appc-config xml files to reflect 2018 changes. Change-Id: I1b7bd41a43ca5662ed4d293a33f468e443551fd7 Issue-ID: APPC-1000 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung19-38/+19
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-08Unit Tests for APPC Adaptersroot3-0/+1125
onap/appc/adapter/iaas/provider/operation/impl/base classes New test cases added to increase coverage to 96% Change-Id: Ied377274d4407a3d0f0ccdfca9cbf2e11e46e1c8 Issue-ID: APPC-438 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-06-05Update license header in REST and SSH adapter fileJohn McClung30-60/+30
Modify license header in appc-rest-adapter, appc-rest-healthcheck-adapter and appc-ssh-adapter files to reflect 2018 changes. Change-Id: Ie4cfe6984982eff27ce8aa44c8b1df4f3434bc5f Issue-ID: APPC-968 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Unit test for ChefApiClientImplTestMichal Kabaj1-3/+15
-Add new JUnits to ChefApiClientImplTest to check if body is properly set for put/post http requests. Change-Id: Ie9ea2de7a1c68fa12815586a4f85646b06ce69a9 Issue-ID: APPC-879 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>