summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter
AgeCommit message (Collapse)AuthorFilesLines
2019-01-07Update parent pom versionPatrick Brady6-6/+6
Update the parent version to appc parent 1.4.1 Change-Id: I185d086595bed6410f7fd6b8c139cc6300e4467e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Fixes feature install on latest ccsdkPatrick Brady1-2/+2
Updated rest adapter to resolve dependencies the same way that other appc features do. This fixed the karaf crash during install. Added necessary dependencies as embedded or karaf bundles to other appc features, as needed. Change-Id: Id04d08cd09c2ff0cae0db8ecbc61405da10882d7 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-02Fixed sonar issues in CreateSapshot.javaezhil1-2/+2
Change-Id: Ib3c1e84cdbec3e2698f55b13c038afdf9e51d294 Issue-ID: APPC-1298 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-19Sonar fix: ServiceCatalogV3.javaArundathi Patil1-2/+2
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1281 Change-Id: I118fe3da8ae3ac3c46ad5f2128353e332387086c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar fix: ProviderAdapter.javaArundathi Patil1-1/+2
Fixed sonar issues/code-smells across this file. Issue-ID: APPC-1280 Change-Id: I168acf475095b7ef1a40cc1662d844470f045a5d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-17Fix for OOM-1538Joss Armstrong1-1/+3
This is APPC code change, values.yaml in OOM project also requires update. This is using EncryptionTool class already present in APPC for decryption of password. Alternative may be to use the CryptoUtils class from SO to have common encrypted string? Issue-ID: OOM-1538 Change-Id: I8201dd2587604c19ac584c7af1a9281ab96340d2 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-11-12Increment version numberPatrick Brady6-6/+6
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-25Fix missing javax.messagingPatrick Brady1-1/+1
Change-Id: I79f37091b5b66d2812ea6d49ac9ef44a44dc91fc Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1220
2018-10-24Fix jersey and javax dependenciesPatrick Brady1-2/+2
Change-Id: Ib2865fea0bd4c0ed73d8db0b9326bbc3d19c12c6 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1219
2018-10-11Roll to next version after releasePatrick Brady6-6/+6
Change to version 1.4.1-SNAPSHOT Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-09Change to released parent pomsPatrick Brady6-6/+6
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady3-0/+3
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-21Remove logback 1.1.3 security issuePatrick Brady1-0/+20
cdp-pal and eelf are the dependencies using logback-classic 1.1.3. Need to use exclusions option in pom file Change-Id: Id8f5817ec955e2b7b486bc0215c35541086606aa Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel1-2/+2
patch description: Restore of valid shebang lines and exec flags Change-Id: Id44c9d4ac9f2243f478213b34f61a30576ca2235 Issue-ID: APPC-1203 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
2018-09-11bugfix to allow reboot even VM is at error stateModaboina, Kusumakumari (km583p)1-5/+0
Issue-ID: APPC-1198 Change-Id: I12cb5b2807a026b7bc55f16109fbca852b2b41fb Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-07Misleading err msg failed to rebuild for snapshot.Modaboina, Kusumakumari (km583p)1-1/+1
Issue-ID: APPC-1196 Change-Id: I017528097939c89794afb8753db429886269c7c8 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-04Fixed error message for rebuildBalaji, Ramya (rb111y)1-4/+14
Corrected code to ensure that all errors in retrieving images do not result in a misleading error message attributed to bootable volumes. Instead, a generic error message processing has been added. Issue-ID: APPC-1189 Change-Id: Ic4dc917e86429a3ab7bce4432796083f0741c637 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-08-21Revert "resolving logback-classic 1.13"Patrick Brady1-20/+0
Temporary revert to fix failing bundles. This reverts commit 76b6ff1ce84d4c2ab4518dd5f154083b91680245. Change-Id: Ibce5eee91ad8f1bec9b458a52a7f5d25ada85da9 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-20resolving logback-classic 1.13 from security issueTaka Cho1-0/+20
cdp-pal and eelf are the jar using logback-classic 1.1.3. need to use exclusions option in pom file Issue-ID: APPC-1018 Change-Id: I00b41f9c366a5ead3f4205cd6fa6b9eb74599767 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-14Karaf 4 for appc-iaas-adapterPatrick Brady6-132/+176
Change-Id: Ic6eb6f8025f2521b1b5b0a7df926ecc9bca582ac Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1022
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>