aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
AgeCommit message (Collapse)AuthorFilesLines
2020-11-02Revert "Fixed the lock times and populated error variable"Seshu Kumar M4-10/+10
This reverts commit 342703276a0b5e1a031890010dfae5b5a8ab0d66. Reason for revert: so basic health check failed. Issue-ID: SO-3353 Change-Id: I28fb81c21703b8ec98906dd3bcbf74351c3e0164 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2020-10-22Fixed the lock times and populated error variableBoslet, Cory4-10/+10
Fixed the lock times and populated error variable only on error so it doesnt over write Issue-ID: SO-3330 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I2d9bd05329a2a4c752cd9fc6f740891adb6d8251
2020-10-21Removed audit codeBoslet, Cory21-2321/+126
Updated to error on inventory therefore no longer need audit Removed the audit UT test from source Removed the audit from the task services. Updated the BB unit test to not have audit anymore Changed robots to fix for create inventory. Delete the vnfc by id after each robot Create pserver in aai that ci is using Continue to fix robot test for heat bridge Continue to fix robots due to heatbridge enabled More changes to simulator to account for heatbridge for replace scenrios Added get resources scenrio for heatbridge Added header and added version to simulator Added correct response file and header for base module id Fixed the remaining failing service instance robots Changed to get tenant id else where when null Fixed the macro robots for heatbridge and getting resources Added scenrios that are still needed for heatbridge Added to connect when already exist and missing relationships Updated unit test to account for change to code. Issue-ID: SO-3316 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8cefebd91261fcb8ff03d582afb48517dd34625a
2020-10-21Merge "Update network to use a sync create"Steve Smokowski1-1/+1
2020-10-20Update network to use a sync createSmokowski, Steven1-1/+1
Update network to use a sync create Issue-ID: SO-3315 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I81ba97be16d1b7150224fc3fd249d2efd15214d8
2020-10-20Update code to filter null or empty imagesSmokowski, Steven2-1/+31
Update code to filter null or empty images Issue-ID: SO-3314 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9b8ad005b96df0006f723bb54bbfe475e5892d2c
2020-10-14Update to use fqdn of server to query aaiSmokowski, Steven1-1/+3
Update to use fqdn of server to query aai Issue-ID: SO-3303 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I624e3c42e8d0254b0bd490af9a7ca6572564875e
2020-10-08Exclude problematic dependency from cxfBenjamin, Max (mb388a)1-73/+0
jboss rmi dependency excluded from all cxf dependencies Done at the root pom to prevent from happening again Issue-ID: SO-3292 Change-Id: I022b8ecf58d76d090b16079324df2047fecc1a61 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2020-10-01Reworked how we find the sriov pf related link.Boslet, Cory4-71/+94
Reworked how we find the sriov pf related link. Removed unneccessary line of code put in for test Issue-ID: SO-3282 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idfa54f4c9b3332ba325b4cc9fd0fc974c4e76d4f
2020-10-01Merge "Only process ovs when its ovs and not sriov."Steve Smokowski2-6/+68
2020-09-29Only process ovs when its ovs and not sriov.Boslet, Cory2-6/+68
Only process ovs when its ovs and not sriov. Issue-ID: SO-3279 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I79c0becb118fd64ee520c3ba789748de08890984
2020-09-29Changed to use the physical network nameBoslet, Cory3-18/+18
Changed to use the physical network name and refactor/fixes WIP Fixed the failing junit test as a result of change Issue-ID: SO-3278 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I34c0d5978c914260ca6300948a697c0c7ab7fdfa
2020-09-23removed references to AAIObjectTypeBenjamin, Max7-95/+112
removed references to AAIObjectType and AAIObjectPlurals additional corrections for removal of aai object type corrected additional java files updated groovy files to match aai fluent builder style Issue-ID: SO-3259 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifdf12fcacb34cc648548eb18b638afd06dad67a9
2020-09-20Heatbridge UpdatesSmokowski, Steven6-150/+243
Updated heatbridge to work with upcoming A&AI changes Issue-ID: SO-3257 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6b58c8e2a920e715d303aeda5137952f667c3133
2020-09-03Added to set is floating to false in aai.Boslet, Cory2-1/+60
Added to set is floating to false in aai. Added to the existing junit test cases. Added a unit test to test the ip method. Issue-ID: SO-3217 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I342f8a5b04299330d9b90d0da4421017db3e5e0e
2020-08-26Merge "Need to create the ipv6 address which was missing."Steve Smokowski3-2/+30
2020-08-25Additional null checks while building vserverKuleshov, Elena1-1/+3
Additional null checks while building vserver interfaces. Issue-ID: SO-3197 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9835535e6b13ee434a1532e1a739184b56bbc011
2020-08-19Need to create the ipv6 address which was missing.Boslet, Cory3-2/+30
Need to create the ipv6 address which was missing. forgot to remove not needed line of code Updated junits to pass on jenkins. Updated unit test to test ipv6 ips. Issue-ID: SO-3186 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I58c643c0a4680fead44f84cb6ba2eca95d04cb72
2020-08-07Merge "changes for java 11 upgradation Issue-ID: SO-3082"Seshu Kumar M1-2/+2
2020-08-06changes for java 11 upgradationarun chapagain1-2/+2
Issue-ID: SO-3082 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: Icb14f1a29d06d828307f0acc23d4414fecbbfaa3
2020-08-06Merge "[SO] heatbridge implemention to delete L3Network and its subnet from AAI"Steve Smokowski1-0/+14
2020-08-06bump the master to 1.7.1seshukm1-1/+1
Issue-ID: SO-2940 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I888677f7d32ff35619be0f5bb2b677f56215f2e0
2020-08-04[SO] heatbridge implemention to delete L3Network and its subnet from AAIMunir Ahmad1-0/+14
Issue-ID: SO-3109 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: Ib59975fea3efe54b301e0484e38d08b07d5fc947
2020-08-04[SO] heatbridge implemention to populate AAI with openstack provider ↵Munir Ahmad6-0/+187
network/subnet Issue-ID: SO-3109 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: Ibb8f5b994072b797783dba7ce412baecb9b64174
2020-07-24Fixed issue where uri was being set whereBoslet, Cory1-2/+3
Fixed issue where uri was being set where hostname was expected. Issue-ID: SO-3095 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6386628707c1ee9860b2ed87cf7868e23dc16329
2020-07-21Merge "Not found exception was in the wrong place."Lukasz Muszkieta1-3/+3
2020-07-19Not found exception was in the wrong place.Boslet, Cory1-3/+3
Not found exception was in the wrong place. Issue-ID: SO-3075 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I321f42a33951f26dc39e2de45b61a455e6032bcb
2020-07-16Updated code to create the child objectsBoslet, Cory2-24/+34
Updated code to create the child objects seperately Changed mockito arg matcher to look for optional classes Issue-ID: SO-3070 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7645a9837a9f07e6c505a92219e7836d80e567ce
2020-07-14Create vserver if not existsSmokowski, Steven2-5/+4
Create vserver if not exists Fix broken unit tests on vserver Issue-ID: SO-3065 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9ef64045443032083b49d71b38d35d30e85ae50a
2020-07-14Merge "Set up logging for dry run on delete invenotry"Steve Smokowski3-32/+46
2020-07-14Merge "Changed certain external task to use the long"Steve Smokowski3-5/+3
2020-07-14Set up logging for dry run on delete invenotryBoslet, Cory3-32/+46
Set up logging for dry run on delete invenotry heatbridge. Issue-ID: SO-3067 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I69c19b9d6781910d15822cc9e7039f6aba6952a4
2020-07-10Changed certain external task to use the longBoslet, Cory3-5/+3
Changed certain external task to use the long lock time. Issue-ID: SO-3049 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If074ee1467fe1bac79892a885c4efddf87415b8a
2020-07-10Began fixing issues with heat bridgeBoslet, Cory6-57/+88
Began fixing issues with heat bridge WIP. Removed duplicate method call from heat bridge Added to populate ipv4 prefix lendth with subnet prefix Fixed remaining issues with heat bridge code. Change sriov pf to be sriov vf in aai object. Issue-ID: SO-3035 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I05de776126b2442268d98d87176855f1080109bd
2020-07-07Added checks on the cloud owner to determine ifBoslet, Cory4-10/+74
Added checks on the cloud owner to determine if vlans should be done, added null pointer checks, fixed and add unit test. Removed autowiring of client and removed logging Changed the default value of the cloud owner. Updated unit test to mock the new env property call Removed to make HeatBridgeImpl a spring class. Issue-ID: SO-3033 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I31cfa83bc74fe9786f220d952a78e5bf4f04bb3e
2020-07-01Removed the declarations of thrown exceptions which were a subclass od ↵marcinrzepeckiwroc2-11/+23
java.io.IOException, Added one test to cover not covered usecase, Added constant field instead of multiple literal duplication. Issue-ID: SO-1841 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: I686df90ecb463f036687b93069f8d1341ee4e597
2020-06-30merged ONAP refactor and fluent builder methodBenjamin, Max1-1/+1
WorkflowAction refactoring merged ONAP refactor and fluent builder method types Issue-ID: SO-3005 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5c2a7dbcdf645efe408f81c1abbc7bfe8770fe9e
2020-06-25Merge "Loop over max clients to fix topic not getting"Steve Smokowski1-5/+5
2020-06-25Enabled the openstack logsBoslet, Cory1-0/+2
Enabled the openstack logs so that we can debug heat bridge issues. Issue-ID: SO-3008 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia7a900fcbdf985e732a8bb9fe885a72e69d649d5
2020-06-25Loop over max clients to fix topic not gettingBoslet, Cory1-5/+5
Loop over max clients to fix topic not getting subscribed. Issue-ID: SO-3007 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8a63fed874946528d1318bfa2e10e663c688444b
2020-06-18Prepare for java 11Benjamin, Max1-3/+3
final changes for java11 groovy compatibility removed unnecessary dependencies and cleaned up poms added missing jaxws-api dependency to pom.xml java8 profile is now active by default in parent pom update beans to have RemoteResource annotation always use the compiler plugin from parent pom Update external task timeout to longer value to hold lock update remote resource annotation to match catalog db client add remote resource annotation to bean for bowman completely remove bowman from requests db client Issue-ID: SO-2059 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If6f0df36e8077ccd703abce9f64290daed63955b
2020-06-16Merge "Fix Heatbridge auth for Keystone-v3"Lukasz Muszkieta6-12/+24
2020-06-16Change openstack to use the jersey connectorBoslet, Cory1-2/+16
Change openstack to use the jersey connector instead so the request/responses are logged Need the jersey dependancies and must use these versions Issue-ID: SO-2985 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1c420c72a318faf89fc05af5af667d6ac057d1bc
2020-06-09Fix Heatbridge auth for Keystone-v3Boslet, Cory6-12/+24
Fix Heatbridge auth for Keystone-v3 Issue-ID: SO-2980 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idacce2beebde14f43817ada59fb0d593504c6bdd
2020-06-03Fixed logging and have flow error on auditBoslet, Cory2-3/+3
Fixed logging and have flow error on audit failure. Issue-ID: SO-2973 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I712fece759deb651368b1eb4c524ddb0b0e46686
2020-06-03Merge "make sure maven plugins only run when we want"Steve Smokowski1-7/+4
2020-06-02make sure maven plugins only run when we wantBenjamin, Max1-7/+4
make sure maven plugins only run when we want Issue-ID: SO-2972 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5fe1b4836f597cf6bda5fee02ca6c234c7917f33
2020-06-02Add null check for network nameSmokowski, Steven1-2/+4
Add null check for network name Issue-ID: SO-2971 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifb3fe5f7b85157ddb29efec385b7a77ab3701249
2020-06-02Merge "Sonar fixes"Lukasz Muszkieta4-16/+14
2020-06-02Merge "Sonar fixes"Lukasz Muszkieta2-7/+60