summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
AgeCommit message (Collapse)AuthorFilesLines
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
2020-06-01Sonar fixesMateusz Gołuchowski4-16/+14
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 Goluchowski2-7/+60
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-27Merge "fixed some JUnits"Steve Smokowski2-0/+9
2020-05-26fixed some JUnitsRupinder2-0/+9
Issue-ID: SO-2804 Change-Id: I6589ea250ee95160febd40c55cbfbf1a81782b60 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-22added assert statements in JUnitsRupinder3-0/+6
Issue-ID: SO-2804 Change-Id: Iddb9630af826b719a6e55a974005e9a520401d8e Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-20Began adding pluging to lifecycle mappingBoslet, Cory1-0/+13
Began adding pluging to lifecycle mapping metadata to get rid of eclipse workspace pom errors/markers Issue-ID: SO-2948 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I78946c59e6aaf440e014ed06e9ff476bac5c2613
2020-05-18add null check for server HostName/Name/FlavorMnushkin, Dmitry2-11/+103
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-13switch to docker-maven-plugin because that's allBenjamin, Max1-1/+1
switch to docker-maven-plugin because that's all we need Issue-ID: SO-2933 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I65783d3a7c172f4ce7fc39d64a3987eeae58feed
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, Max18-55/+54
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, Steven16-259/+438
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, Cory33-4957/+274
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, Cory21-7402/+8
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 Smokowski2-468/+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, Cory2-468/+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 Smokowski31-220/+1090
2020-03-26convert openstack to external tasksBoslet, Cory31-220/+1090
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-25Merge "Ingest and Process Service Function"Steve Smokowski1-0/+1
2020-03-24Ingest and Process Service FunctionSmokowski, Steven1-0/+1
Intial commit of writing service function to AAI Update schema.sql table to pass all unit tests Update local sql to setup CI server for test Update schema to work and fix passwords Issue-ID: SO-2763 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8c517a485841574cde849e1c4e86c3bb7b7dcf89
2020-03-19mso to add support for creating the cloud regionSmokowski, Steven4-23/+96
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, Max2-18/+15
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
2020-03-10Merge "false positive on network creates"Steve Smokowski9-15/+114
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski16-16/+16
2020-03-08false positive on network createsBoslet, Cory9-15/+114
Added a new resourceStatusMessage field to the GET orch request API added new column to infra active request table updated openstack adapter to record the resource status added support of v8 on GET orch request API. Issue-ID: SO-2718 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73b35f1562de4df477bf7e5cef01de13440ba98a
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany16-16/+16
Added annotation for setting up scheduled tasks logs Added new annotation to scheduledTasks Moved annotation setup to logging-library Issue-ID: SO-2713 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7080c4bb289e454f14167631e2601c954389c0ef
2020-03-01Add ability to build https endpoint to multicloudEric Multanen1-0/+1
Add parameter to allow https endpoint to be used for endpoint to multicloud (via msb). Change-Id: Ia3a296cab8e8676e7b39c0f56c03e18e18a0a777 Issue-ID: SO-1450 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2020-02-26bump the versions for all the SO to 1.6.0seshukm1-1/+1
Issue-ID: SO-2519 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: Id0993b244b0978375ff8476e4bf8ef79e1bb9e68
2020-02-12mso to add support for creating the cloud regionSmokowski, Steven5-1/+334
Initial check in to support cloud region create Add additional junit tests Add additional integration tests Updated junit to use spy and removed setter method Issue-ID: SO-2657 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6a93f3b4caf7d640ffa5842981247d284b9013ad
2020-02-10Merge "Initial commit to check client alive"Steve Smokowski2-4/+6
2020-02-07Initial commit to check client aliveSmokowski, Steven2-4/+6
Initial commit to check client alive Issue-ID: SO-2653 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib9f4cf7f5815bd9b8d0d42417f3e5fd83382547a
2020-02-07add retry sequence levelsBoslet, Cory5-0/+23
Added retry sequence levels so that the different services can specify their desire. Updated to be medium and added to be long sequence in audit. Change retry level to be final and changed default constructor to private Changed default constructor to public so its visible. Updated unit test to reflect change and get verify job to pass Added and updated the unit test for add graph Issue-ID: SO-2649 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I981b90a5dbb1dca5354fba37589b26dabbfc0b0e
2020-01-30Remove Valet from openstack adapterSmokowski, Steven18-1972/+13
Remove Valet from openstack adapter Clean up CI, so it passes on dev branch Fixed bad merge regarding correct method name. Added try catch around createIfNotExists methods to avoid failing sim. Fix broken Fabric Tests from merge Update logging jar dependency for CI Issue-ID: SO-2623 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I572276f751b132ec78d7ab5763f1c76bfc8256c5
2020-01-15Use the timeout from the heat template instead ofBoslet, Cory11-30/+65
Use the timeout from the heat template instead of hardcode WIP Added custom uuid to vf adapter delete rest request Added and fixed compilations errors due to interface change added logic to check that the timeout is less than 120 Set the cust model uuid in bpmn so its avaiable to adapter. Added to use timeout from heat template for network. Updated unit test to account for new param change to method. Fixed and added missing param to deletevf in vnfadapterrestv2 Fixed failing junits due to adding model cust id to request Issue-ID: SO-2601 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6ac276f37d4b6423501fb07fe081828ea3bed235
2020-01-07consolidated security configurationBenjamin, Max3-238/+0
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36