aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-ansible-adapter
AgeCommit message (Collapse)AuthorFilesLines
2019-05-28InventoryNames in ansible adapter fixedLukasz Rajewski1-1/+1
This change fixes support for InventoryNames parameter in LCM request going to Ansible server. Also ansible adapter DG has been modified to consider new parameter added Change-Id: I68aa8efa34b79ef2f669d81563510fea7bb0a730 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: APPC-1612 (cherry picked from commit 7155b808084ff6e49f6eef01ac7defd9a7754a3a)
2019-05-22Fix for support of InventoryNamesLukasz Rajewski1-0/+2
This change addes support for InventoryNames parameter in LCM request going to Ansible server Change-Id: I9aea0b5407460d5dc0b2691e73ba795f8fe2af15 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: APPC-1612
2019-05-20Update parent versionPatrick Brady6-7/+7
Update the parent version to match the new 2.* parent versioning. Change-Id: I77280d8cf12de1de20c01249491dc85243f5d655 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1601
2019-04-26Increment snapshot versionPatrick Brady6-6/+6
Change from 1.5.0-SNAPSHOT to 1.6.0-SNAPSHOT to prepare for next development cycle. Change-Id: I187785ab4b11a37815289d20ba802c48e86cee7f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1585
2019-04-24remove commons-codec hardcodedTaka Cho1-5/+0
remove 1.9 version commons-codec Change-Id: I8ea5ca9c017b2d2b8917e38e2666996c5227d40b Issue-ID: APPC-1579 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-04-09added test case to TestConnectionBuilder.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie7d84cc28ebd112c2ce224cd6c544939ef376ed1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-07Removed unused importsJegadeesh Babu1-2/+1
Sonar fix Issue-ID: APPC-1567 Change-Id: Iec6ce8b197e958e69e108708c056f00cca3b9c66 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-27Used constants to replace duplicated literalsJegadeesh Babu1-7/+11
Sonar Fix Issue-ID: APPC-1555 Change-Id: I3943003c7fa37aed95e138f03a3fe4b8f48b75ce Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-18Revert "upgrade mapper-asl"Patrick Brady1-11/+0
The old version is a newer version of the dependency. This reverts commit 651430451d2134d14daab15ebae29eccc878b52b. Change-Id: I410e9debc0207c12ffa024ff48a69b5f482006de Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1531
2019-03-18Replaced hardcoded with const variableJegadeesh Babu1-4/+5
Sonar fix Issue-ID: APPC-1544 Change-Id: I19c7f33d4e7d1070fa84a33e4f997923c9c1f8e1 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-15Revert "upgrade databind artifact"Patrick Brady3-42/+1
Fasterxml databind is being brought in to karaf by opendaylight and trying to force a different version for the appc components is causing class errors. This reverts commit 52cf1a81d591efb2b1ee4b8c5a70b137dfb6c212. Change-Id: I6d0da2ed081e4abd4b83e8b11935ba43bee0e1aa Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1533
2019-03-14Refactored local var which hides class variableJegadeesh Babu1-15/+15
Sonar fix Issue-ID: APPC-1536 Change-Id: I2aa494d4fb13f6422382232cb05c94c333650f85 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-13Multiple Sonar FixesDriptaroop Das1-1/+1
Multiple Sonar Fixes Issue-ID: APPC-1525 Change-Id: I58b8adc0e53a00c6d3de05c921dafdd3dd9fe118 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-03-13upgrade databind artifactTaka Cho3-1/+42
upgrade jackson's databind from 2.8.11.2 to 2.8.11.3 Change-Id: I9bf3ab8021f91f6ed36bdffdacbaeeac78d2e87c Issue-ID: APPC-1533 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-12upgrade mapper-aslTaka Cho1-0/+11
move to 1.9.3 for mapper-asl for securilty vulnerability Change-Id: I9189a59ad96af9a9cd761941ed64ed9eae77743f Issue-ID: APPC-1531 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-12Handled exceptionJegadeesh Babu1-1/+2
Sonar fix Issue-ID: APPC-1526 Change-Id: I04e8425625a4dd2a5561c80d4e685b32a21b6a70 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-03-12Added loggerJegadeesh Babu1-0/+3
Sonar fix Issue-ID: APPC-1532 Change-Id: I6c1ca46e0fb95d4eb41c3b6fd6a8e640ca047a00 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-28Added null check to avoid null pointer exceptionJegadeesh Babu1-7/+11
Sonar fix Issue-ID: APPC-1505 Change-Id: Iefd8a45aacb6e8de50c16c36fe9ab551401ca417 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-27Added Null checkJegadeesh Babu1-1/+7
Code to avoid null pointer Exception Issue-ID: APPC-1451 Change-Id: I5e2324a2ddffbc50251ee93a1278cfb68e62a551 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-25Changes for new odl versionPatrick Brady1-2/+2
Changes required to update to latest opendaylight version. Some powermock tests have been temporarily removed due to an powermock incompatibility. They will be fixed and re-added. Change-Id: I418d44913fcd42423d2d9bd37b189f6301eaab81 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1370
2019-02-14added test case to TestAnsibleMessageParser.javaSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic0546d8cff108551d32bb7db71238e1c968d0bef Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-14added test file to cover AnsibleResult.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4c148c9b74177ebc455652ff37edba184e279b1c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-13modified existing test case to increase coverageSandeep J1-1/+3
changing constructor argument from 0 to 1 increases code coverage Issue-ID: APPC-1086 Change-Id: Ic5f2d61bd96ef862c0b20d91c7b9af3f7ca1a081 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-08ansible adapter changes for multiple ansible servsModaboina, Kusumakumari (km583p)7-233/+429
Issue-ID: APPC-1365 Change-Id: Ie3d102d9efcef7ba98b1fb5920a73a6c64b01897 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2019-01-30remove the old python filesTaka Cho8-1845/+2
Since ansible container build moved to CCSDK/distribution/ansible_server, the files under this directory will be removed Change-Id: Iac2303c3430e2952d59732960a7462f6253a0ecc Issue-ID: CCSDK-1009 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-01-18Update install-feature for pre-installPatrick Brady1-3/+1
Since the feature zip files will be extracted during docker build, the install-features scripts need to be modified so that the script will not fail when the zip file does not exist, since the zip file will have already been unzipped. Change-Id: I441064226db956addae5c2f238114ce3965c13ef Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1337
2019-01-08Change parent version to appc snapshotPatrick Brady6-7/+7
Changing to the current release snapshot version of the appc parents instead of the previous release version. This allows updated changes to parents to be in builds. Change-Id: I6cec484012c2cb48ee1ea7f10fd058d017f00947 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Update parent pom versionPatrick Brady6-7/+7
Update the parent version to appc parent 1.4.1 Change-Id: I185d086595bed6410f7fd6b8c139cc6300e4467e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Fixes feature install on latest ccsdkPatrick Brady1-1/+1
Updated rest adapter to resolve dependencies the same way that other appc features do. This fixed the karaf crash during install. Added necessary dependencies as embedded or karaf bundles to other appc features, as needed. Change-Id: Id04d08cd09c2ff0cae0db8ecbc61405da10882d7 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2018-12-18Sonar Fix: ConnectionBuilder.javaArundathi Patil1-3/+3
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1278 Change-Id: Ic81337c3a2f8c60f5a25adfc10fb4416311de08d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-01Sonar Fix: AnsibleMessageParser.javaArundathi Patil1-1/+4
Fixed sonar issues/code-smells across this file. Issue-ID: APPC-1256 Change-Id: I70480e3867c0ab49325d10e0ec91e76bf6979c50 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-28Sonar Fix: ConnectionBuilder.javaArundathi Patil1-2/+2
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1252 Change-Id: I8f07da91c7b29012c8d4b72af8b94ee5c5a017a4 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-28Sonar Fix: AnsibleResult.javaArundathi Patil1-8/+8
Fixed sonar issues/code-smells across the file. Issue-ID: APPC-1250 Change-Id: I9adca61255c1e20094bf992bfa1430ee4af50528 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-12Increment version numberPatrick Brady6-6/+6
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-11Roll to next version after releasePatrick Brady6-6/+6
Change to version 1.4.1-SNAPSHOT Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-09Change to released parent pomsPatrick Brady6-6/+6
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady3-0/+3
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel1-2/+2
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-08-24Remove old appc-commonRyan Young1-1/+1
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.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-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-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-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-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-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-14Update license header on appc-adapter xml filesJohn McClung5-10/+5
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-13More updates to lic header in appc propertiesJohn McClung2-4/+2
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-01Continue removing ECOMP trademark from lic header.John McClung2-4/+2
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-05-23Update missing License HeadersJohn McClung11-25/+9
Add missing License Header Change-Id: I844c474d68b4d4147d55b2660a075fa5592f31df Issue-ID: APPC-923 Signed-off-by: John McClung <jm1364@att.com>