aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-21Reduce code smellsMamtha1-11/+8
Issue-ID: APPC-1858 Change-Id: Id6dde417125b0c51426284dbcfa27cb7b8802822 Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2020-04-17Code smell fix for appc-ansible-adapter-bundle moduleMamtha1-11/+11
Issue-ID: APPC-1858 Change-Id: I20362c71c8c54def706bb2fe94970ab18965d62d Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
2020-04-06improved code structureRupinder1-1/+0
Removed code smells Issue-ID: APPC-1859 Change-Id: I241ac80a75fdebfb9048349ae993a891a7a9642d Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-01-10ansible chnages for adding configdata and bugfixesModaboina, Kusumakumari (km583p)5-20/+135
Change-Id: Ide9528baa569815198b18951af7f355c7c7e54d8 Issue-ID: APPC-1786 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@att.com>
2019-12-09VNFC Support for Ansible actionsLukasz Rajewski2-5/+137
Introduced AutoNodeList parameter for ansible request template which allows to generate NodeList section from infromation about VMs and VNFC in the AAI. List is being filtered by vnfc-name,vserver-id, vnfc-type and vf-module-id parameters which can be specified in the request-parameters of payload section. Change-Id: I3d5b79ab6ff778116856b513612721a9637363df Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: APPC-1729
2019-09-17Sonar fix- APPC-1715Arundathi Patil1-2/+2
Fixed multiple sonar issues across this file Issue-ID: APPC-1715 Change-Id: I5a7df4bde164b8ec3c8f91f07646d0630d52fa59 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-07-31Sonar Fix- AnsibleServerEmulator.javadinesha2-6/+6
Fixed Sonar issues accross the file Issue-ID: APPC-1669 Change-Id: I49db3c6c23f5cf61fe8d898662abaeb14f7c4422 Signed-off-by: dinesha <dineshgs@in.ibm.com>
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-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-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-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-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>
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-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-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-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-02-19Unit Test for ansibleActivatorTaka3-21/+116
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-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 Wonnell2-354/+294
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>
2018-01-03Removing unused importspwielebs1-296/+263
Change-Id: I7f3ef775b9e0b0bc3d5d4a758f21bd2f71a990d9 Issue-ID: APPC-366 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2017-12-21Fix sonar issues for APPCTaka3-26/+23
Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>