aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22Bugfixes for error handling while attaching volumeModaboina, Kusumakumari (km583p)1-29/+88
Change-Id: I103709186eff4fc9e42038b2e1113b010b822528 Issue-ID: APPC-761 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-03-21bugfix for error handling while detaching volumesModaboina, Kusumakumari (km583p)3-487/+533
Change-Id: I96f7d017a63b0741d87666f4608356567932ff77 Issue-ID: APPC-762 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-03-05Unit Test Coverage Part:2amshegokar5-0/+306
Unit Test Coverage for: 1. Snapshot.java 2. Volume.java 3. Volume_.java 4. Template.java 5. SnapshotRestoreResponse.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fopenstack%2Fheat%2Fmodel Change-Id: I18ecc259973bbd3934f9ccd4cc20d897444d9d76 Issue-ID: APPC-686 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-01Unit Test Coverageshubhada4-0/+223
Unit Test Coverage for: 1. Data.java 2. CreateSnapshotParams.java 3. Properties.java 4. ResourceData.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fopenstack%2Fheat%2Fmodel Change-Id: I0eeef6216f536483c6b7a45d0847688d6d84fd2f Issue-ID: APPC-685 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-28Code fix for attach and detach volumesPatrick Brady2-78/+84
Cherry-picked to split up commit https://gerrit.onap.org/r/#/c/31149/ into individual jira tickets. open stack consumes cdp-pal openstack jars to connect to cinder, this fix retrives set of volumes from volumeservice provider and performs attach or detach through compute service. Change-Id: I59bce60d9f79ba9285f284fe1f56945e63d0bcba Signed-off-by: Patrick Brady <pb071s@att.com> Signed-off-by: kusuma kumari M <km583p@att.com> Issue-ID: APPC-448
2018-02-18refactor LookupServer for nesting tryTaka1-37/+43
Change-Id: Id27025cd6d4f5a4f8ba9653b656d263585edb24e Issue-ID: APPC-599 Signed-off-by: Taka <tc012c@att.com>
2018-02-18refactor EvacuateServer for nesting tryTaka1-109/+132
Change-Id: I4b114e6f2f41c755cf7e346a120e50441a1209dd Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-598
2018-02-18refactor CreateSnapshot for nesting tryTaka1-39/+44
Change-Id: Ia66842fe6b680fd5f6eb74e8ddebf09f89c6c1d0 Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-597
2018-02-14Unit test for iaas provider activatorTaka2-2/+114
Change-Id: I7e7ec6d977625406b9d4dee19d974492e1a5f4cc Issue-ID: APPC-615 Signed-off-by: Taka <tc012c@att.com>
2018-02-12ProviderServerOperation sonar fixesJakub Dudycz1-131/+84
Change-Id: I95cb0512c83f8d3dd94aac8f635538518ee88024 Issue-ID: APPC-604 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-12ProviderOperation sonar fixesJakub Dudycz3-95/+98
Change-Id: Ic51bf15bcf469fc105c7cd4fe9e5e538200d49b1 Issue-ID: APPC-603 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09ChefAdapterImpl sonar fixesJakub Dudycz1-0/+1
Change-Id: I3e1a496e18a4b9e6e9dc954bc16fb4af991fd5d3 Issue-ID: APPC-579 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07ServiceCatalogV3 fixesJakub Dudycz1-53/+58
Change-Id: I28d22a5d6206b4e4aaed3a017b4db39d0d5f0709 Issue-ID: APPC-549 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07TenantCache sonar fixesJakub Dudycz1-49/+46
Change-Id: I8c95c1913edb325faac49f416d16f42683d8fa7e Issue-ID: APPC-574 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-05AttachVolumeServer fixesJakub Dudycz1-59/+58
Change-Id: Idaf3d9c3e2beec8686f2624ec562d989fe25b3e1 Issue-ID: APPC-565 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-02Extraction of nested try catch in migrateServerkjaniak2-22/+61
Try catch block placed in new private method conductServerMigration, UT for class added. Issue-ID: APPC-557 Change-Id: I7f968dbc87ee3be4125da6a8a3e201af99aa420e Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2018-01-31Fix in CreateSnapshotburdziak1-2/+5
Change-Id: I05fa53bd4573aa4179fd488c617b338d9188f7ad Issue-ID: APPC-552 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-30Fixes in ServiceCatalogV2burdziak1-20/+19
Change-Id: I8cd58acc8db233f08a10bcb88123c802fa952e87 Issue-ID: APPC-548 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-30EvacuateServer fixesJakub Dudycz1-36/+55
Change-Id: I5639366aa6db54ceae8543663816dd022ae50ea9 Issue-ID: APPC-550 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-25DetachVolumeServer fixesJakub Dudycz1-36/+40
Change-Id: I8f57e962583914467a748648303f90319fcfa58d Issue-ID: APPC-524 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-25validation fix for OS attach volumes & detach volskusuma kumari M2-9/+41
Issue-ID: APPC-448 Change-Id: Icdf6c63a09e82b494c0de25c9d4ed2cb0d2312d1 Signed-off-by: kusuma kumari M <km583p@att.com>
2018-01-25Fixes in ServiceCatalogV2burdziak1-7/+12
Change-Id: I3b8464818e46dfd204c37bc5421b992ec34ebf2c Issue-ID: APPC-492 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-24platform-specific line separatorburdziak1-6/+6
Issue-ID: APPC-453 Change-Id: I18d5a0b254aececc141006a31cdd7cb8fa8473d3 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-24code fix for OS attach volumes and dettach volumeskusuma kumari M2-39/+54
Issue-ID: APPC-448 Change-Id: I348108a8fb49a42c79039975e8470442a0f80dd2 Signed-off-by: kusuma kumari M <km583p@att.com>
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-18fixed some Sonar critical issuesTaka4-0/+22
Change-Id: I9dfe73a45b43919ff7b01ab3217d957a40ac2018 Issue-ID: APPC-408 Signed-off-by: Taka <tc012c@att.com>
2018-01-17Add/update license text part 3Skip Wonnell12-12/+288
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 some sonar issueskurczews1-2/+2
Fix sonar issues assigned to me Change-Id: I926c011fd9d2c4f5628c4151e8c50a8fb5f3ea86 Issue-ID: APPC-412 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.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-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 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-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
2017-12-21Fix sonar issues for APPCTaka2-7/+0
Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-20Fix Compilation issue in TestServiceCatalogMichal Kabaj1-14/+11
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 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-13Fourth part of onap renamePatrick Brady2-2/+2
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 Brady68-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 Brady69-414/+414
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-07Fixed several Sonas blockerTaka1-1/+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-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-07Change to CCSDK and ODL CarbonPatrick Brady22-24/+24
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
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-30Remove catch throwable and errorbeili.zhou14-49/+54
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>