summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-08-26Merge "Need to create the ipv6 address which was missing."Steve Smokowski1-0/+15
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, Cory1-0/+15
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-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 Ahmad5-0/+121
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, Cory1-22/+32
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, Steven1-2/+2
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 Smokowski2-3/+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, Cory2-3/+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, Cory4-53/+77
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, Cory3-5/+17
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 ↵marcinrzepeckiwroc1-5/+6
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-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-09Fix Heatbridge auth for Keystone-v3Boslet, Cory5-9/+18
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-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 Muszkieta2-7/+6
2020-06-02Merge "Sonar fixes"Lukasz Muszkieta1-7/+8
2020-06-01Sonar fixesMateusz Gołuchowski2-7/+6
Changed input parameter for didCreateAuditFail. Now clients must pass object without Optional wrapper. Issue-ID: SO-1841 Change-Id: I96f7793e7e4d7871908f8dbbc1e4cd3a028498d5 Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-05-28Sonar fixesMateusz Goluchowski1-7/+8
Issue-ID: SO-1841 Change-Id: I96f7793e7e4d7871908f8dbbc1e4cd3a028495d5 Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-05-27Fix for NPE in HeatbridgeLukasz Rajewski1-2/+2
Null is checked for network type which can be unknown. Issue-ID: SO-2953 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Iccf724eed5ec7d69b70eabbcf25bfafe1e8fe12b (cherry picked from commit 7c35f6dd4fd4b227f063036280a7f24728a198d8)
2020-05-18add null check for server HostName/Name/FlavorMnushkin, Dmitry1-10/+17
add null check for server HostName/Name/Flavor maven format file after build failure include relationship empty string verification add unit test to verify null/empty string update empty string validation code Issue-ID: SO-2912 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If308469cd4ec0008a6d1a480641da890d67b4259
2020-05-14remove setting of the prov-statusBonkur, Venkat1-3/+0
remove setting of the prov-status on pserver Issue-ID: SO-2935 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6e4767c2a457962de26ec09923228bfa72e55a54
2020-05-08Added to support to enabling l2 multicastingBoslet, Cory1-0/+8
updated aai dependency Added to support to enabling l2 multicasting for lnterfaces. Issue-ID: SO-2914 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idf34a41777e23b7171bd09c174830a4eeeb79e4b
2020-05-06updated code with parallel streams to normalKalkere Ramesh, Sharan1-1/+1
updated code with parallel streams to normal streams Issue-ID: SO-2904 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifb9c3644b1129f593acde31b57b0bb3ec24074d2
2020-04-29rename package for external useBenjamin, Max12-35/+35
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
2020-04-17openstack inventory captureSmokowski, Steven12-201/+433
Begin heatbridge refactor initial check in of heatbridge Additional commits of heatbridge Update Heat bridge to write more AAI data Update to utlize HeatBrdige to populate AAI Adjust simulator endpoints to work again Remove not needed BB Test case, fix tc Refactor how AAI relationships are being built Issue-ID: SO-2777 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iffccc24e18b278188c3fe98bcb1ad9685229d0a2
2020-04-16Merge "Add additional null checks when building pserver objects from ↵Steve Smokowski2-2/+13
openstack server object. This error is not reproduceable with mitaka and queens release of openstack"
2020-04-16Add additional null checks when building pserver objects fromMunir Ahmad2-2/+13
openstack server object. This error is not reproduceable with mitaka and queens release of openstack Issue-ID: SO-2802 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: I8c7a31d98ba4ef05faaf07ded0da13120fddf2c7
2020-04-16move network adapter to an external client taskBoslet, Cory27-4319/+270
Began impelenting new network external task. Made the vnfAdapterTask subflow an openstack subflow, refactored infra flows and BB to call it for network functions. Fixed bugs discovered through a robot dry run, added unit test, added support for rollback network request Updated junit test files for comparison due to not polling for response Removed the no longer used network adapter rest task from bpmn tasks Removed the unused network adapter async and its beans Removed network async client package from open pojo scan Issue-ID: SO-2813 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I4c25892012cc86659ab122448ed1aca5cab91671
2020-04-16Merge "reduced code smells"Steve Smokowski2-2/+0
2020-04-15remove vnfadapterrest flow and interfaceBoslet, Cory12-5461/+6
Removed unused soap vnf adapter apis and implements Removed unused apis and implements from vnf adapter Updates and removed dead code that is never used Add back override method to the healthcheck in vnf imp Removed the vnfadapter rest v2 interface and test. Removed references to v2 rest interfaces from CXF config. Reverted change to the cxf configuration file. Removed more unused code and updated unit test to account for removed apis and v2 being removed Updated the att openstack adapter cfx to remove v2 classes Initial commit of cleaning up the vnf adapter and removing the rest subflow. Issue-ID: SO-2812 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia093a5ac2dffd21d27a1ba74a813198b806d0786
2020-04-14Merge "Removed neutron mode code"Steve Smokowski1-318/+202
2020-04-13Check for null when building pserver objects from op server objMunir Ahmad1-3/+9
Issue-ID: SO-2802 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: Idc7d2a4a831ece6347f5d6bc837a476bfa0b2d27
2020-04-12reduced code smellsRupinder2-2/+0
Removed some unused imports Issue-ID: SO-2804 Change-Id: Ib0a7716585448ade0c9571479ed06effaf25738b Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-04-10Removed neutron mode codeBoslet, Cory1-318/+202
Removed neutron mode code from the network adapter impl and updated unit test Updated variable names in network adapter impl Issue-ID: SO-2803 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id1649333001ce5756dd5a0cdf47f953299307d27
2020-03-31Added support for volume group request toBoslet, Cory1-10/+23
Added support for volume group request to indicate whether the volume group existed, etc. Issue-ID: SO-2770 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I614926ad33220734133afd84bd8d0fedc8f6e6d6
2020-03-30Merge "convert openstack to external tasks"Steve Smokowski21-207/+722
2020-03-26convert openstack to external tasksBoslet, Cory21-207/+722
Use external tasks to communicate with openstack adapter Will be more resilient to failures Refactored all flows to use external tasks not REST calls Rollback is now an external task Ensured backwards compatibility Issue-ID: SO-2767 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8afdb89c688d756aed0f25f7d9a7fb898142554d
2020-03-25Flipped status messages based on is operationBoslet, Cory2-5/+3
Flipped status messages based on is operation performed and fixed typos in message. Issue-ID: SO-2766 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I763a847534700efef662313eead76f2ccafa53cf
2020-03-19mso to add support for creating the cloud regionSmokowski, Steven3-19/+66
mso to add support for creating the cloud region Updated tag name to msoRequest on deletes. Issue-ID: SO-2753 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I80e318ce34f5938a42896398eb1a38b5c5f6e831
2020-03-16split single and plural graph inventory urisBenjamin, Max1-3/+8
split single and plural graph inventory uris updated all object references in MSO using graph inventory plurals corrected unit test stubbings added additional unit tests correct interfaces to return plural after related-to modified the way http aware uris are built reformated interfaces to no longer duplicate methods corrected issues with identity of unbuilt uris removed AAIUri references from groovy files fixed clone behavior on Uri objects Issue-ID: SO-2743 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I37aa2a13dcbf010b6c82ad73af3be5db5d9bd673