summaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2019-06-17Changes related to eviction of connectionsBenjamin, Max (mb388a)8-20/+212
These are changes related to ASDC controller for evicting database connection pool when ip address changes Included other appllications such as requestDB, CatalogDB, API Handler, BPMN, OpenstackAdapter etc Change-Id: I9a96ea12fb0c10643a204a58d55360bebba326fe Issue-ID: SO-2018 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-17Merge "Fix sonar issues in mso-openstack-adapters"Steve Smokowski1-79/+62
2019-06-17Improvements in MsoVnfAdapterImplr.bogacki1-67/+62
Improvements in MsoVnfAdapterImpl according to the Sonar analyses. -Removed unnecessary code. -Fixed imports. -Extracted constants. Issue-ID: SO-2011 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I9dc8406fe0cdea74b08ebb013a68f970da647b6c
2019-06-15Merge "update multi stage code to accurately skip bbs"Max Benjamin28-0/+560
2019-06-14Merge "add is_data_internal column to request db"Max Benjamin1-0/+3
2019-06-14Merge "adapter client will not retry on openstack failure"Max Benjamin8-26/+32
2019-06-14add is_data_internal column to request dbMnushkin, Dmitry1-0/+3
add is_data_internal column to request processing data Use Boolean type in java bean to be mapped by hibernate Change-Id: I40a96f80114e02a2ced17efb47e45718dfd2ee7c Issue-ID: SO-2023 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14fix delete stack error not propogatingSmokowski, Steven2-30/+65
Update logic to properly format rollback error messages Change-Id: I66ad4fd78758661be297810f393e6da759daa17b Issue-ID: SO-2014 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max28-0/+560
moved around classes to packages that make more sense updated license headers in java files converted MultiStage logic to FlowManipulator moved tests to new package location and fixed issues allow for custom listeners before flowsToExecute moved validation classes to listener.validation Change-Id: Ic5416812ef9c5611fe19bf9b6aa316373b110ec6 Issue-ID: SO-2021 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-14adapter client will not retry on openstack failureSangalang, Felix8-26/+32
Utilized the original util method with boolean argument. inventory audit: adapter client should not retry on openstack failures. Change-Id: Ibdcec58c662f54ccef887e74f17634baa9df2457 Issue-ID: SO-2016 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-10Merge "replaced String.repeat with static final strings"Steve Smokowski24-251/+235
2019-06-10replaced String.repeat with static final stringsBenjamin, Max24-251/+235
replaced String.repeat with static final strings Change-Id: Ife14fde70e8f648881a03e9343ae8faf9cb87e2e Issue-ID: SO-1999 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-09Merge "Added ext_system_error_source column to requestdb"Steve Smokowski1-0/+4
2019-06-09Merge "Switched name and id, and updated tests"Steve Smokowski2-5/+5
2019-06-09Update stack save to only save the params objectSmokowski, Steven2-26/+20
use get parameters not store entire request of stack Update stack save to only save off the params object Change-Id: I41e0e03b412e37f12d348c84a1512c9bf4403748 Issue-ID: SO-2002 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-09Added ext_system_error_source column to requestdbPlummer, Brittany1-0/+4
Added ext_system_error_source column to requestdb Change-Id: Iad9ad0178546aad2b64014987ff3da60f01f8bd4 Issue-ID: SO-2001 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-09Switched name and id, and updated testsPlummer, Brittany2-5/+5
Switched name and id, and updated tests Change-Id: Ica8251be71d2fd9362e4f209755d80bc36ccbf66 Issue-ID: SO-2000 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-07Merge "Updated to use the logicalResourceId"Steve Smokowski2-2/+2
2019-06-07Merge "change the update line to update the latest stack"Steve Smokowski2-2/+2
2019-06-06Updated to use the logicalResourceIdPlummer, Brittany2-2/+2
Updated to use the logicalResourceId instead of physicalResourceId Change-Id: I2ebc800cf7ce4b5794bece7c304ebd7d1ac92088 Issue-ID: SO-1979 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06change the update line to update the latest stackKalkere Ramesh, Sharan2-2/+2
fix the unit test for latest stack update change the update line to update the latest stack Change-Id: I8b7f903c9f7bbae1163f1363a19f18b2803f558c Issue-ID: SO-1977 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Accommodate WAN NetworkingGamboa, Gilbert2-1/+11
checked and evaluated naming policy only if infra bonding. Updated workflowAction to include vrf configuration for vpn-binding in resourceIds list. added in linked resource to service proxy cust committing the asdc controller classpath change added some unit tests for vrf validation and updated bbinput setup test update config resource cust foreign key mapping Moved mockbean for AssignVrfConfiguration task class into BaseBpmnTest. added in a check to see if list is empty before access added unit tests for bbinput setup for vrf config Update AssignFlows enum with correct AssignVrfConfiguration flow name Change-Id: Ibf14e36505638b19c1366ecebfce560c02e69e44 Issue-ID: SO-1975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski14-250/+354
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-04Fix northbound_request_ref_lookup SERVICE_TYPE = '*'Marcus G K Williams1-28/+28
Make sure SERVICE_TYPE is not NULL so that GR_API alacarte requests work. Issue-ID: SO-1904 SO-1892 Change-Id: Ib4c617311b17f6d521a3eee0a71a6247d7770d54 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-1/+6
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-0/+5
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-03Cleaned up duplicated literalsrob.bog22-201/+237
Cleaned up Sonar code smells related to the duplicated literals in loggers. Issue-ID: SO-1932 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I58c48cec0012c42b7b892ae76c24c6a087c60c7e
2019-05-31Merge "issue encoding openstack errors"Steve Smokowski1-0/+12
2019-05-31Merge "Fix issue where request was not being updated"Steve Smokowski4-3/+136
2019-05-31enhanced vnf adapter errog log.Sangalang, Felix3-6/+15
enhanced vnf adapter error log for heatEnvironment when null. removed the junit tests because of no assertions coverage. enhanced vnf adapter errog log. Change-Id: I80d3070ce203c4c8339f0a0e7df6f3731d0a16c2 Issue-ID: SO-1967 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31Fix issue where request was not being updatedSmokowski, Steven4-3/+136
Fix issue where request was not being updated Change-Id: Ib4b3809797449224ac417facfaa4bf48d91a1ecb Issue-ID: SO-1966 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31issue encoding openstack errorsSmokowski, Steven1-0/+12
Fix setting of port to fix unit test issues Fix formatting error on the file causing build issue Properly revert change that was made previously Fix issue where base java library not encoding properly Change-Id: I2bfa46825d9a99998195dbd7bd422f88fa76ef09 Issue-ID: SO-1965 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31Merge "converted lock time from hard coded value"Steve Smokowski4-5/+13
2019-05-31Merge "Corrected enum formatting by plugin"Steve Smokowski2-6/+18
2019-05-31Merge "JUnit tests for RestfulUtil"Steve Smokowski2-2/+159
2019-05-31Corrected enum formatting by pluginBenjamin, Max (mb388a)2-6/+18
enums are now single item per line Change-Id: I6330ea4a9093071457dd47b95b6ed3bb7f8312e7 Issue-ID: SO-1970 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31converted lock time from hard coded valueKalkere Ramesh, Sharan4-5/+13
update lock time property to have a default of 60000 converted lock time from hard coded to property driven Change-Id: I4a42b85c4241c8865f8dc133be96d7bc92b8574d Issue-ID: SO-1962 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31fix keypair conflict issue in openstack adapterSmokowski, Steven23-805/+1005
Fix wiremock stubs to return proper data and url Fix copyright header issue on unit test file Fix keypair issue, clean up unit tests and logging Fix issues found in unit testing, update data Fix broken Unit tests that used invalid data Continue Refactor to support keypair failure scenario Update logic for when to auto delete a stuck keypair Change-Id: Ice5256cf0381a3b46d1c442907c0f321a1c0d006 Issue-ID: SO-1897 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-29JUnit tests for RestfulUtilr.bogacki2-2/+159
Increased junit tests coverage according to Sonar analyses. Added missing tests for RestfulUtil. Issue-ID: SO-1692 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I8744960c0ad3a36ca4c36e23867168bfda5cbd1d
2019-05-29Fix sonar issues in mso-openstack-adaptersParshad Patel1-79/+62
Fix Either log or rethrow this exception Fix Replace the type specification in this constructor call with the diamond operator ("<>") Fix Remove this unused local variable Fix Iterate over the "entrySet" instead of the "keySet" Issue-ID: SO-1841 Change-Id: I5e9195d75d29a66a4a360e031ab02ab7c9872388 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-05-27Fix sonar for MapEntryk.kazak5-11/+53
MapEntry bug: make entry private and provide accessors MapEntry codesmell: move comment 'Required by JAXB' into empty constructor MapElements codesmell: move explanatory comment inside empty constructor MapElements codesmell: log error stacktrace MapAdapter codesmell: use entry set instead of key set for iteration JAXBMarshallingTest: add test cases to cover 100% of MapElements & other cases Change-Id: If51f1f86b5ad44b3462424e4fd73cb0eff352124 Issue-ID: SO-1811 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-05-26Modify scaleOut-related settingsElena Kuleshov1-3/+3
Corrections for execution of VfModule-ScaleOut Issue-ID: SO-1972 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ia654a223f1e86749d34d78b5918eda38a0a630c7
2019-05-30Handle operation state null from VNFMMichaelMorris1-0/+4
Issue-ID: SO-1956 Change-Id: I8d2efe3f9d97a38a533b33eabd0be2a42cebef66 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-05-30Merge "Persist native CM workflows in CatalogDB" into dublinSteve Smokowski1-1/+7
2019-05-30Get operation state from VNFM failingMichaelMorris2-4/+8
Issue-ID: SO-1943 Change-Id: I8d0fd3e9cd4aea26e94a18a6e610abd34f2e5fe9 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-05-24Persist native CM workflows in CatalogDBElena Kuleshov1-1/+7
Add native CM workflows to Workflow table to make them available to VID Issue-ID: SO-1942 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Ifbf3ed8a513f4704583df8a565dba97344702ede
2019-05-24Calls to/from VNFM failMichaelMorris8-12/+73
Issue-ID: SO-1909 Change-Id: I2f8a19dfd456316e5436be4e85d8a384d7d5ed6f Signed-off-by: MichaelMorris <michael.morris@est.tech> (cherry picked from commit a7160456335b2ce3710efd00658711d431eac0b4)
2019-05-23Calls to/from VNFM failMichaelMorris8-12/+73
Issue-ID: SO-1909 Change-Id: I2f8a19dfd456316e5436be4e85d8a384d7d5ed6f Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-05-22Add SO Update the repeatable Macro - northbound_request_ref_lookupBonkur, Venkat (vb8416)1-0/+1
Added dublin - Update repeatable Macro not to lose the ability to drive flows differently based on service type. UPDATE northbound_request_ref_lookup SET SERVICE_TYPE = '*' WHERE SERVICE_TYPE = NULL; Issue-ID: SO-1892 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com> Change-Id: I3fa58559fe4596b3a0e184a8391ac93fb9496a26
2019-05-21Merge "Missing modifications for DistributeTraffic actions" into dublinSteve Smokowski1-0/+15