summaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-01-22Evaluate to variable valueburdziak11-24/+44
Same issue in many files. Issue-ID: APPC-446 Change-Id: Iea2d6a64d5d794d3300267438cd3a2971d378d3a Signed-off-by:te burdziak <olaf.burdziakowski@nokia.com>
2018-01-19Change log message for Restart actionSkip Wonnell1-2/+2
Issue-ID: APPC-430 Change-Id: Ib9be5dade18e6b66f1409f64f9cba84429219231 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-18Reformat and clean up ChefAdapterImpl.javaSkip Wonnell2-433/+353
Fix some Sonar issues Update code to ONAP java style Issue-ID: APPC-419 Change-Id: I0c6b7b684c10b3874c3ef7de40066eb6c3b6345e Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-18Fix bundle name in ChefActivator.javaSkip Wonnell1-1/+1
Issue-ID: APPC-420 Change-Id: Ia55c85cec3024f4199920200e614d60c7822bbbb Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-18fixed some Sonar critical issuesTaka11-13/+33
Change-Id: I9dfe73a45b43919ff7b01ab3217d957a40ac2018 Issue-ID: APPC-408 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 Wonnell16-15/+294
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 random test failure in TestChefApiClientSkip Wonnell2-35/+24
The check of the timestamp header fails when rolling over to a new minute. Change the code to compare the length of the interval instead. Issue-ID: APPC-411 Change-Id: I3a98aab2de878335a2bc320d261fee3101fd0652 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-17Fix some sonar issueskurczews3-16/+29
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-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>