summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src/main
AgeCommit message (Collapse)AuthorFilesLines
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
2020-03-10Merge "false positive on network creates"Steve Smokowski2-5/+36
2020-03-08false positive on network createsBoslet, Cory2-5/+36
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-02-12mso to add support for creating the cloud regionSmokowski, Steven4-1/+238
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, Steven15-1809/+2
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, Cory7-11/+46
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
2019-12-20Merge "Removed redundant null check for retryCount to prevent static ↵Seshu Kumar M3-3/+3
analyzer warning"
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M5-10/+198
2019-12-02Heatbridge bugfix make use of regionId instead of cloudSiteIdMunir Ahmad4-13/+14
Issue-ID: SO-2497 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: Ic3b3fc98c6978807e198a4530974d940a7da5ff8
2019-12-02Add heatbridge authenticate methodMunir Ahmad1-4/+2
Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: I16ee57af3c67d1443f07ea44536a13b6cac786dc Issue-ID: SO-2549
2019-12-02SO and heatbridge integration for delete flowMunir Ahmad9-9/+121
Issue-ID: SO-2272 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: Ie1b7ebdd1758478655779d940eabe0836834fcc4
2019-11-22improve error log scoresPlummer, Brittany11-77/+75
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c
2019-11-21Added AAF Integration related changesRamesh Parthasarathy5-10/+198
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-11-08Merge "Create PServer/PInterface Objects in AAI based on openstack's stack ↵Max Benjamin5-0/+85
resources"
2019-11-07Create PServer/PInterface Objects in AAI based on openstack's stack resourcesMunir Ahmad5-0/+85
Issue-ID: SO-2271 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: I9ff6a9d820a8f759358cbaa4abf6475c6af4c130
2019-11-04- Check if failIfExists exists, if not default it.Merkel, Jeff1-0/+3
- Check if failIfExists exists, if not default it. Issue-ID: SO-2507 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0ab965bca0fd6777d711c99d3bc550293e826414
2019-10-28Merge "General sonar improvements"Lukasz Muszkieta1-4/+0
2019-10-28General sonar improvementsArindam Mondal1-4/+0
+) Format logger witth log formatter ++) remove unused imports Issue-ID: SO-2381 Change-Id: If8b8f2377ae3b7c8d8a270792eaf99a04cfa7ef0 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com> Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-10-22remove python heatstack method call, use javaMnushkin, Dmitry1-35/+4
remove python heatstack method call, use java Issue-ID: SO-2479 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I91c41cd8bd560e054cd2a87a6cbdaf0f5e86759a
2019-10-15Cleanup - removed unused variables and methods,Oleksandr Moliavko2-10/+1
redundant initializers in several places Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I15ae50cf327d3d125f9d86c34281093bef677c71
2019-10-10Removed redundant null check for retryCount toOleksandr Moliavko3-3/+3
prevent static analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I9708b89082b56fb7bc24eca577f6a7db75ba79f9
2019-10-01Improve fall out case handlingSmokowski, Steven3-183/+44
Update Openstack adapter to handle fall out cases with greater stability Issue-ID: SO-2376 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20116cbd3b63bb29c9bf4ed99e92bd5f2b691da5
2019-09-30Merge "Added null check to server.getImage() to prevent crash at getId() call."Lukasz Muszkieta1-5/+7
2019-09-26Added null check to server.getImage() to preventOleksandr Moliavko1-5/+7
crash at getId() call. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I6ecaf66649e9df971003268b7272f677c5394083
2019-09-10Integrate Logging LibraryPlummer, Brittany6-55/+95
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-09-10Merge "Created external task utils in a common location"Steve Smokowski5-105/+24
2019-09-10General sonar fixesArindam Mondal2-18/+17
+)Format logger ++) Remove toString() +++) Extract nested IF Issue-ID: SO-2226 Change-Id: Iff28408584b04ffd03b6aca0f647d0af9090a9c2 Signed-off-by: arind.mondal <arind.mondal@samsung.com>
2019-09-08Created external task utils in a common locationBoslet, Cory5-105/+24
Created external task utils in a common location then refactored external task to use these common utils Updated junit errors and failures in openstack Removed env param and updated unit test with class Remove env file from parm in unit test class Match argu to match class abstract to con. removed implementation within anonymous class Issue-ID: SO-2291 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I47c2850d750cbfe7ef67e2396fcb46db43e3cb97
2019-08-29sonar fix-remove unused importThugutla sailakshmi1-1/+0
sonar fix-remove unused import Issue-ID: SO-2174 Change-Id: I5c13bbf27aa0f03b448fca5c2cea7329512aff01 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-22Merge "Moved setNeutronNetworkId() call inside null check to prevent crash ↵Lukasz Muszkieta1-1/+1
at outputs.get() call"
2019-08-22Merge "Moved null check for outputs so that get() method call won't result ↵Lukasz Muszkieta1-4/+4
in crash."
2019-08-21Added null check for rootNode to prevent crash atOleksandr Moliavko1-13/+18
for loop. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I5ec16f3d73982c89e2bf5b14758274f1d4dd7740
2019-08-19Added null check for heat to remove staticOleksandr Moliavko1-1/+5
analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I71eb14adcc1227af4470853e6e1acdb631a7efe8
2019-08-16Removed unused CSAR class.Oleksandr Moliavko1-189/+0
Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I0efbb38cb34b0b36d2659ebf36f6cd2d109e5deb
2019-08-16Replaced string concatenations in a loop withOleksandr Moliavko1-4/+9
StringBuffer appends to remove static analyzer warning about inefficient string operations Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I89e0e5b599a8263882b0f91fb0f9191734a04ec1
2019-08-13Merge "Removed duplicate use of networkType field in String.format() call to ↵Lukasz Muszkieta1-2/+2
prevent static analyzer warning"
2019-08-13Removed duplicate use of networkType field inOleksandr Moliavko1-2/+2
String.format() call to prevent static analyzer warning Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I1e3ea352aac9a88172b683d267b2f3c804bb362b
2019-08-09Moved setNeutronNetworkId() call inside null checkOleksandr Moliavko1-1/+1
to prevent crash at outputs.get() call Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I51ad7a6de93c88ce6743234b943f9abcbc065a70
2019-08-09Moved null check for outputs so that get() methodOleksandr Moliavko1-4/+4
call won't result in crash. Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I23deef70ec7efec22cd31489666341a3b53c9899