summaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-01-03Removing unused importspwielebs1-296/+263
Change-Id: I7f3ef775b9e0b0bc3d5d4a758f21bd2f71a990d9 Issue-ID: APPC-366 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
2018-01-02Fix for sonar blockerTomek Kaminski1-2/+2
Add missing close operation on ClosableHttpClient instance in executeHttpRequest method of RestAdapterImpl.java Resolve sonar blocker using try-with-resources clause. Change-Id: Ibaf5eba70abd4a042708eb686da073e673d547fb Issue-ID: APPC-364 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2017-12-21Fix sonar issues for APPCTaka5-33/+23
Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-20Fix Compilation issue in TestServiceCatalogMichal Kabaj2-27/+16
Remove duplicate mockito-core test dependency in appc-iaas-adapter-bundle pom.xml and remove unused imports. Issue-ID: APPC-359 Change-Id: I119460f36ee0cedae0129419e55c134a105a8cd7 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2017-12-19Update jaxb-api to 2.2.3 or laterTaka6-7/+7
Issue-ID: APPC-306 Change-Id: I95ba608435bcafff5ea9d960d0295900aa14ebef Signed-off-by: Taka <tc012c@att.com>
2017-12-19Update bundle names from openecomp to onapTakamune Cho7-7/+7
Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e Issue-ID: APPC-13 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-19Update appc-config-parms to use onap packagingTakamune Cho1-0/+5
Issue-ID: APPC-13 Change-Id: I490847faabfed2e977ee21c0157adf8a790cea65 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-19Platform hardening for common bundleSkip Wonnell1-170/+177
General code clean up code Additional test cases Support for APPC-348, APPC-349 Issue-ID: APPC-305 Change-Id: I341c960bb33794c681aea86f2bd1b415294ec03f Signed-off-by: Skip Wonnell <skip@att.com>
2017-12-13Fourth part of onap renamePatrick Brady14-16/+16
Some paths within the docker image need to be updated from opt/openecomp to opt/onap Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13Second part of onap renamePatrick Brady195-0/+0
This is the second commit of the rename. The folder structure is renamed for appc-adapters and appc-config in this commit. Change-Id: Iaa2b8c937ff1ca1b5d1178128961fb115ee65d9b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady246-1191/+1191
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-10fix netconf and healthcheck adaprot for SonarTaka2-31/+0
Change-Id: I06c22b055d3cbf3826062f85a0878f488c0696cd Issue-ID: APPC-341 Signed-off-by: Taka <tc012c@att.com>
2017-12-07Fixed several Sonas blockerTaka3-4/+2
Change-Id: Iea0a227957092101094ac99967efdb552453363d Issue-ID: APPC-337 Signed-off-by: Taka <tc012c@att.com>
2017-12-04remove the unused import for iaas adaptorTaka1-21/+0
Change-Id: I89ee81b529c4f44d8b0fd3a1c91a7ec353bb7930 Issue-ID: APPC-330 Signed-off-by: Taka <tc012c@att.com>
2017-12-04remove unused import classTaka1-3/+0
Change-Id: If154d3a54dea173a4cb4c3a0178f6939132b0c77 Issue-ID: APPC-329 Signed-off-by: Taka <tc012c@att.com>
2017-12-04Remove unnecessary import classesTaka1-17/+0
Issue-ID: APPC-328 Change-Id: I5c60339f22c9f365b1659edac8f23aa1ddecac9a Signed-off-by: Taka <tc012c@att.com>
2017-11-17Bump minor versionJessica Wagantall36-36/+36
Bump minor version in preparation for Amsterdam branching. Change-Id: I83e13547f583db020d6f756ddb8918360c38903b Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Patrick Brady <pb071s@att.com>
2017-11-07Changing to Amsterdam release versionv1.2.01.0.0-ONAP1.0.0-AmsterdamPatrick Brady36-36/+36
Appc will be realeased as version 1.2.0 since version 1.1.0 already was created spring 2017. Change-Id: I177931e892c2556c11a261f018fd835d62a14d54 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-314
2017-10-16Add null checks to ServiceCatalogFactoryPatrick Brady1-2/+15
Change-Id: Ibee4af7ba6a7b7fcf1dafdc1e5b46b42608d98f0 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-274
2017-10-11Correcting iaas property namesPatrick Brady4-4/+8
The skiphypervisorcheck property was misspelled. Change-Id: I7aa4d01ed079d33e23b7c8be36bb6e7f24aa4bd6 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-268
2017-10-11Add support for OpenStack V3 Identity ServiceRY303T61-1653/+2406
replaced ServiceCatalog with a factory to select correct version ServiceCatalogV2 contains code previously found in ServiceCatalog add ServiceCatalogV3 implementation of V3 connector Issue-ID: APPC-259 Change-Id: Iba7d98cfc9e50914b8063be0b35494a9d0fea793 Signed-off-by: RY303T <RY303T@att.com>
2017-10-03Update VMURL to use a range for the versionRY303T2-4/+33
Replaced hardcoded 'v2' in url format with a range Issue-Id: APPC-257 Change-Id: I0411f15d0d2166fb7cf72d2df587ea17b9c8705b Signed-off-by: RY303T <RY303T@att.com>
2017-09-27Sonar Critical Fixsanchitap1-3/+4
ProviderStackOperation.java: L98 and L178 Sonar link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|rules=squid%3AS2184 Change-Id: Id73e2153b13716706b0dce4204d8c7519855afe5 Issue-Id :APPC-237 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2017-09-20Sonar Blockeramshegokar1-2/+2
For rest healthcheck Adapter-bundle Change-Id: Ic499d7af6c90cd692e8362ba4f7d2f5d62d48422 Issue-ID: APPC-216 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com> Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-18Add Unit Tests for appc-chef-adapterMarcus G K Williams7-79/+218
Issue-Id: APPC-181 Change-Id: Iee824ca929ea46944ac1673e709074687ad812f9 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
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>