summaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
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-12Add missing license text to pom files, part 1Skip Wonnell28-0/+588
Change-Id: I57a7d2956869519137679550459b001f29992ec2 Issue-ID: APPC-398 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-12Fix blockers in MigrateServerkurczews1-44/+39
Issue-ID: APPC-391 Change-Id: I556eec94a563c95c91f0a58b8829e3c9a1947797 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-11Sonar blocker issue resolutionSkip Wonnell1-21/+18
Sonar issue resolutions for HttpDmaapConsumerImpl.java Resolve this blocker issue: https://sonar.onap.org/issues/search#issues=AWDfpmsG-08if2a6xIV5 And other sonar findings: https://sonar.onap.org/issues/search#issues=AWDfpmsG-08if2a6xIV6 https://sonar.onap.org/issues/search#issues=AWBUkkJW-08if2a6vS8b https://sonar.onap.org/issues/search#issues=AWBUkkJW-08if2a6vS8d https://sonar.onap.org/issues/search#issues=AWBUkkJV-08if2a6vS8a https://sonar.onap.org/issues/search#issues=AWBUkkJW-08if2a6vS8g Issue-ID: APPC-385 Change-Id: Ic81c345ebfaddbd4fd88d4a95da6f546c65c3235 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-11Replaced to private String definitionTaka1-3/+4
Change-Id: Ibd5d9f63ea1fda33eccc69a9604c66c9d24733ff Issue-ID: APPC-394 Signed-off-by: Taka <tc012c@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-11Fix sonar issues in EvacuateServerkurczews1-61/+61
Change-Id: Ia9992cc2566974183d7d4855a5f2e215b8c31033 Issue-ID: APPC-390 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-01-10attach volume & detach volume actions in openstackkusuma kumari M6-82/+278
Issue-ID: APPC-342 Change-Id: Ifb6ad409a53969c4e607a8d74c83dd80676c9527 Signed-off-by: kusuma kumari M <km583p@att.com>
2018-01-09platform hardening changes for appc-adapterskusuma kumari M5-39/+15
Issue-ID: APPC-362 Change-Id: I5dfcee3ea542b130916b055b408f89240e513bba Signed-off-by: kusuma kumari M <km583p@att.com>
2018-01-09code changes for platform hardening appc adapterskusuma kumari M18-546/+812
Issue-ID: APPC-305 Change-Id: Ice60ca77ffccc409d50ef11318e841c3b1f82ce1 Signed-off-by: kusuma kumari M <km583p@att.com>
2018-01-04New iaas unit testsPatrick Brady13-1/+690
Adding new unit tests for the org.onap.appc.adapter.iaas.provider.operation.impl package. Change-Id: I4a2da6ff04b63a88e47d39080cfd8a58703364e0 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-369
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>