summaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
2017-09-15Fix/Add unit tests for appc-rest-adapterMarcus G K Williams3-203/+193
Refactored RestAdapterImpl.java and added RequestFactory.java to enable cleaner unit tests. Added unit tests. Issue-Id: APPC-182 Change-Id: I129a9145ac028eda3257ef8c26f67b87f12c683f Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-15Changing to mariadb java clientPatrick Brady9-46/+19
Changing from the mysql java connector to the mariadb java client. Change-Id: I2f9b1f5da37424d529e196f9b6b8d0bf4f1f9d2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-198
2017-09-11Correcting problems related to ccsdk,new odlPatrick Brady1-1/+1
Some imports and dependencies needed to be updated which no longer exist in the new ODl version Change-Id: I57c52b73810d3f9770b764a2afe4147d3120a87b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-91 Issue-id: APPC-158
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady71-143/+127
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-09-01Code clean-up in ChefAdapterImpl.javaSkip Wonnell1-116/+67
Fix multiple issues found in Sonar Analysis Issue-ID: APPC-156 Change-Id: I242c45a2eab7c4e31fb42ff9d17405aa3f210147 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-01Modify IaaS adapter URL parsing to include pathRY303T5-16/+139
Modified the pattern in IdentityURL and VMURL to include optional path Modified the toString in IdentityURL and VMURL to properly print the full url string Updated tests to include new URL format Issue-ID: APPC-133 Change-Id: Ic7c272b70d4fe18c815d5dd5311f760d8b8953c1 Signed-off-by: RY303T <RY303T@att.com>
2017-08-31Fix sonar blocker in ChefAdpaterSkip Wonnell1-15/+5
Issue-ID: APPC-156 Change-Id: Ic2cbb76bb639094386c14bd06e068c9d5ad7bd0d Signed-off-by: Skip Wonnell <skip@att.com>
2017-08-30Remove catch throwable and errorbeili.zhou15-69/+64
Fix the following sonar blocker issue: - Catch Exception instead of Throwable - Catch Exception instead of Error Issue-Id: APPC-175 Change-Id: I16a1018001b067216740ec11e5a97e52d714db69 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-30ChefAdapter code clean-upSkip Wonnell20-1513/+1359
Issue-ID: APPC-90 Change-Id: I582d6b0c81d5a89938fff6038dfcc221ccaf19c1 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-29Remove duplicate codebeili.zhou13-1007/+701
Create a method for duplicated code to reduce code duplication in IAAS adapter provider operation. Issue-Id: APPC-175 Change-Id: Idfbfc7ffad433d0e7469b214e5b09d0dfd5dd7d2 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-29RestAdapter code clean-upSkip Wonnell2-453/+249
Issue-ID: APPC-90 Change-Id: I34b07327c82fb080d94d0fa6c70ae5cdfd8c5eb0 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-18Fix ExecutionQueue cannot be cleanedHao Kuang1-24/+16
Fix that LCM Requests in Execution Queue continue after Stop OAM request sent. Fix that Appc-Ansible bundle cannot be fully stopped because of NPE. Issue-Id: APPC-159 Change-Id: I8f0a3a79a5c572ad84e66f71b4ddb47118704302 Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-08-11Fixing dmaap authentication exceptionPatrick Brady1-10/+6
Dmaap http client was incorrectly throwing an exception if no authetication was present. This should not be since dmaap does not require authentication. Change-Id: If90ce1e52bf226bacc5a6c57bfe8aaa98e583bc5 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: APPC-135
2017-08-02Merging in bug fixesPatrick Brady13-113/+275
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-27Fix resource leak in ChefAdapterImpl.javaSkip Wonnell1-5/+4
Convert to Closeable versions of HttpClient and HttpResponse and instantiate both inside a TWR. Change-Id: I37ac34bab545592f51fb054068065fa1c00f7224 Signed-off-by: Skip Wonnell <kw5258@att.com> Issue: APPC-94
2017-07-20[APPC-93] Resource leak in appc.adapter.chef.chefclient.UtilsSkip Wonnell1-8/+2
Place instantiation of FileReader and BufferedReader inside a TWR Change-Id: Ibc0fffa76e536bdccca92731dc7ebc878faf67a1 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-07-20Applying license changes to all filesPatrick Brady236-700/+1180
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-07-13[APPC-16] update the chef adapterroot8-362/+311
Change-Id: I712b42f0e09a250cd06ec3a67561ca2ce062f760 Signed-off-by: root <jh245g@att.com>
2017-07-07[feature/APPC-7] ansible server commitecnoel8-0/+1850
Change-Id: I87b4843ca5d646e390d985be27aa1e3b94491d07 Signed-off-by: ecnoel <eric.noel@att.com> Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-15[feature/APPC-6]Ashwin Sridharan24-0/+3454
Added Ansible Adapter Extension for APP-C Change-Id: I4580fe5ebec526186fff5520fc7d12bff49f3fa4 Signed-off-by: Ashwin Sridharan <asridharan@research.att.com> Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady207-621/+828
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-05Remove duplicated dependenciesVictor Morales1-14/+2
It was removed some duplicated entries from the pom.xml file of appc-chef-adapter-bundle project Change-Id: Idab32dcffcaa18af249ff4354453856ab378de2e Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-06-05Fixing logic in an if statementPatrick Brady1-1/+1
Change-Id: Ibc50b5e56953ce6ceed11b21e9d2042d5a540cad Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady121-3124/+10451
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams9-149/+1
Taking a stab at removing numerous commented out methods and fields. Almost all of what is removed is commented code with no explanation. Change-Id: I61cb1d7100ae6c75f6d42f500ade0504c97b760c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-05-16Enable NETCONF Adapter bundle loggingMarcus G K Williams1-2/+5
Change-Id: If746c9a29066f8cbf7c27b280a44665144fe96d9 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-05-02Remove commented out logger in APPCMarcus G K Williams3-3/+0
Change-Id: Ib1b9bb1797180118ee1e5c0de18aafa2089c514b Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-04-18Modifying feature install scriptsPatrick Brady5-10/+110
Adding a while loop around each call to the opendaylight karaf client. If the client is not available it will try again up to 10 times. The new version of opendaylight seems to have delays after installing sdnc components which can cause errors for the appc components. These script changes fix allow the install script to wait for opendaylight to become available. Change-Id: Ib1bf6c7880398ac2ebe81eaff987ee4921cdb420 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-04-06Adding import package wildcardPatrick Brady1-1/+1
Solving an issue with a missing sdnc sli class. Change-Id: Ia037c57e17d30e0e6ab14599e48c121bf7875f24 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-04-06Several more properties changesPatrick Brady2-1/+2
Needed to support transition away from sdnc root pom. Change-Id: I9cc410d32afbe17d8060e4ed2353a3a3e0c1628d Signed-off-by: Patrick Brady <pb071s@att.com>
2017-04-05Updating properties for Opendaylight BoronPatrick Brady5-5/+5
Change-Id: I1af8dc52b98413c4c4c6cb9798843a3790350f9b Signed-off-by: Patrick Brady <pb071s@att.com>
2017-03-31Root pom parent and other cleanupPatrick Brady2-14/+1
Change-Id: I61deff5cffeb0a3730066ca83f86a98b647acd03 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-03-10Updating master to 1.1.0-SNAPSHOTPatrick Brady26-27/+27
Change-Id: I4f2bf794f5ce8b60c4fc35817e69c9cbd337cc47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-03-03Adding com.sun.jersey to import package for iaasPatrick Brady1-1/+1
Change-Id: I7b26e442459e5a7600e5d51f4e334011a927d037 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-24Disabling sshAdapterTestPatrick Brady1-0/+1
Sometimes the test fails randomly since its trying to make an ssh connection. Change-Id: Id1e7166e18e690c98a0c7ed8d86968226f70804b Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-24Changing to snapshot versionPatrick Brady26-27/+27
Changing version from 1.0.0 to 1.0.0-SNAPSHOT Change-Id: If11d37d83348e5c4db298414e627622a62480d3f Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-15Moving all files to root directoryPatrick Brady201-0/+24029
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>