summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter
AgeCommit message (Collapse)AuthorFilesLines
2018-07-10null ptr checkKrishnajinka2-14/+23
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-06-26add support for new openstack rebootaction VM levlModaboina, Kusumakumari (km583p)6-1/+251
Issue-ID: APPC-922 Change-Id: I84941d8a5882b422d4e8365c82b8aaaf4618fa57 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-22enchance rebuildaction to make snapshotid OptionalModaboina, Kusumakumari (km583p)11-590/+515
Issue-ID: APPC-1011 Change-Id: I58d71df2c71a2964cd5957119e3967e35912ac6b Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-06-18Unit test cases for iaas impl packageLathishbabu Ganesan17-818/+1050
Change-Id: Iac6167dca83413b7533cb65a73775a616866589c Issue-ID: APPC-436 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2018-06-14Update license header on appc-adapter xml filesJohn McClung6-12/+6
Modify license header on appc-adapter xml and .code_styling xml files to reflect 2018 changes. I also had to fix the xml_version line syntax for the .code_styling xml files. Change-Id: I361f64d3d6edbf43b6c7ae06611f64ee183b7d82 Issue-ID: APPC-999 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung5-10/+5
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files. Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008 Issue-ID: APPC-996 Signed-off-by: John McClung <jm1364@att.com>
2018-06-08Unit Tests for APPC Adaptersroot3-0/+1125
onap/appc/adapter/iaas/provider/operation/impl/base classes New test cases added to increase coverage to 96% Change-Id: Ied377274d4407a3d0f0ccdfca9cbf2e11e46e1c8 Issue-ID: APPC-438 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-06-01Continue removing ECOMP trademark from lic header.John McClung12-27/+14
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01More iaas adapter license header changesJohn McClung41-87/+42
Remove ECOMP trademark license header in iaas adapter files. Change-Id: I697b33cefd85aab4496640d9dc1e2d685eb80e53 Issue-ID: APPC-930 Signed-off-by: John McClung <jm1364@att.com>
2018-05-25Modify iaas adapter provider files license headersJohn McClung24-46/+22
Remove ECOMP trademark license header in iaas adapter provider files. Change-Id: I04de8480f1d04bf17c36eae876cb00d91379f3e3 Issue-ID: APPC-928 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady4-4/+4
Change from version 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT and update version file. Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-916
2018-04-11ODL Upgrade Method 2Patrick Brady3-20/+7
Changes necessary to support upgrade to ODL Nitrogen, while continuing to use Karaf 3 style features Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-403
2018-04-04Unit test for ProviderOperationFactorykurczews1-0/+195
Change-Id: I239784f5acc6647e1ed4f2962de4504901b62108 Issue-ID: APPC-828 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03Add junit tests RequestFailedExceptionTest classMei Su1-0/+123
Add junit-tests RequestFailedExceptionTest class Issue-ID: APPC-825 Change-Id: I54b46f6e3025f89bbd52017248c408641095fe46 Signed-off-by: Mei Su <ms6523@att.com>
2018-03-23Unit test coverageamshegokar1-0/+34
Unit test coverage for Constants.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%2Futils%2FConstants.java Change-Id: Ied122a1838111897079243f0e444a9eef1b2f162 Issue-ID: APPC-778 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-22Corrected condition to pick regionBalaji, Ramya (rb111y)1-1/+1
Fixed condition so that region can be determined correctly Issue-ID: APPC-776 Change-Id: Iaf57a4face50d99a56cd4b85c0a318d34632a1e8 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
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-08upgrade httpclient from 4.5.1 to 4.5.3Taka Cho1-1/+1
Change-Id: I951cc53b6f319bdb9eba25ecdeaffaae5702fbc2 Issue-ID: APPC-703 Signed-off-by: Taka Cho <tc012c@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-01security issue jackson-mapper 1.9.12Taka Cho1-1/+1
Change-Id: I89266f7a8dde8bc409f4edc8bdf91195c4249515 Issue-ID: APPC-675 Signed-off-by: Taka Cho <tc012c@att.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-20Update .gitignore with license textSkip Wonnell4-2/+90
Update .gitignore with license text Remove IDE generated files from repository Update .gitignore to ignore IDE Generated files Issue-ID: APPC-637 Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6 Signed-off-by: Skip Wonnell <skip@att.com>
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 Wonnell14-13/+291
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-12Add missing license text to pom files, part 1Skip Wonnell4-0/+84
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>