summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-ansible-adapter
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-05-22Increment version for new branchPatrick Brady4-4/+4
Change from version 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT and update version file. Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-916
2018-04-11ODL Upgrade Method 2Patrick Brady3-11/+7
Changes necessary to support upgrade to ODL Nitrogen, while continuing to use Karaf 3 style features Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-403
2018-03-06upgrade httpclient from 4.5.2 to 4.5.3Taka Cho1-1/+1
Change-Id: I2cd2eb825a22c48807464d7f7185788fde975981 Issue-ID: APPC-689 Signed-off-by: Taka Cho <tc012c@att.com>
2018-03-01security issue jackson-mapper 1.9.12Taka Cho1-1/+1
Change-Id: I89266f7a8dde8bc409f4edc8bdf91195c4249515 Issue-ID: APPC-675 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell2-1/+43
Update .gitignore with license text Remove IDE generated files from repository Update .gitignore to ignore IDE Generated files Issue-ID: APPC-637 Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-19Unit Test for ansibleActivatorTaka4-194/+291
Change-Id: I56279239cdae934116e4d3ac8d257f593e641064 Issue-ID: APPC-600 Signed-off-by: Taka <tc012c@att.com>
2018-02-14refactor AnsibleMessageParser for nesting tryTaka1-57/+58
Change-Id: Idd86134a034d5f49baff34fd0d056820f45e1121 Issue-ID: APPC-596 Signed-off-by: Taka <tc012c@att.com>
2018-02-01test coverage for private method/constuctorTaka1-0/+82
Change-Id: I57ab535ed0772ac15ea07c6bcfc69170f773da5c Issue-ID: APPC-555 Signed-off-by: Taka <tc012c@att.com>
2018-01-18Fixing Sonar issuespwielebs1-43/+38
Change-Id: I3610f506ece3af04f477e3bb5001651367342f07 Issue-ID: APPC-421 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-01-17Add/update license text part 3Skip Wonnell2-2/+3
Convert some file formats from dos to unix Change-Id: Iab31d84016c84bf03df7fdc8cf0c163c23091a88 Issue-ID: APPC-398 Issue-ID: APPC-305 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-17Fix some sonar issueskurczews2-14/+27
Fix sonar issues assigned to me Change-Id: I926c011fd9d2c4f5628c4151e8c50a8fb5f3ea86 Issue-ID: APPC-412 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-15Code hardening for Ansible BundleSkip Wonnell3-355/+296
Fix all Sonar issues AnsibleAdapterImpl.java and ConnectionBuilder.java Format code to ONAP style. Issue-ID: APPC-401 Change-Id: I1e3c66d653ce6f1ee8cd0b98f35e695b1ed49611 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-15Code hardening for Ansible BundleSkip Wonnell4-286/+249
Fix sonar issues - Note: two public method names in AnsibleServerEmulater (Post and Get) require correction, but cannot be changed yet without a merge conflict. Format code to ONAP style Simplify code Issue-ID: APPC-401 Change-Id: Id33f47f61bd10088a2c0312bebdcd86801fabf80 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-15Code hardening for Ansible BundleSkip Wonnell2-38/+27
Fix all Sonar issues in AnsibleActivator.java and AnsibleAdapter.java Format code to ONAP style Issue-ID: APPC-401 Change-Id: Ic628684711e0265f599b9409023a98625fcddc81 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-11Fix sonar issues in AnsibleMessageParserkurczews3-252/+195
Change-Id: I18c434275af9d51732e4208908d0b877cbd47693 Issue-ID: APPC-389 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-11Cleaning TestAnsibleAdapterImpl classpwielebs1-85/+78
Change-Id: I56ed7c582ce76203e3ad7c8ddf1ba53566a1d451 Issue-ID: APPC-392 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-01-11remove unused import classes for Ansible AdaptorTaka1-1/+0
Change-Id: I967c3045620993bcea0d1d7f861cfd311f27fed2 Issue-ID: APPC-393 Signed-off-by: Taka <tc012c@att.com>