From dc6dfca6c22fce3ad0c10cffd3dc2698a101b40f Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Tue, 16 Apr 2019 17:21:23 -0400 Subject: always convert values toString for xml marshalling always convert values toString for xml marshalling added in null check and object mapper call Change-Id: Ie91c313dce110d53586e6773e2223d63be799a54 Issue-ID: SO-1786 Signed-off-by: Benjamin, Max (mb388a) --- .../VfRequest-marshalled-with-complex-object.xml | 15 +++++++++++++++ .../test/resources/createVfModuleRequest-with-params.xml | 7 +++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 adapters/mso-adapters-rest-interface/src/test/resources/VfRequest-marshalled-with-complex-object.xml (limited to 'adapters/mso-adapters-rest-interface/src/test/resources') diff --git a/adapters/mso-adapters-rest-interface/src/test/resources/VfRequest-marshalled-with-complex-object.xml b/adapters/mso-adapters-rest-interface/src/test/resources/VfRequest-marshalled-with-complex-object.xml new file mode 100644 index 0000000000..ce175127df --- /dev/null +++ b/adapters/mso-adapters-rest-interface/src/test/resources/VfRequest-marshalled-with-complex-object.xml @@ -0,0 +1,15 @@ + + + false + true + + + test array + ["a","b","c"] + + + test-null + + + + diff --git a/adapters/mso-adapters-rest-interface/src/test/resources/createVfModuleRequest-with-params.xml b/adapters/mso-adapters-rest-interface/src/test/resources/createVfModuleRequest-with-params.xml index 1ff24a50f6..2718f1df61 100644 --- a/adapters/mso-adapters-rest-interface/src/test/resources/createVfModuleRequest-with-params.xml +++ b/adapters/mso-adapters-rest-interface/src/test/resources/createVfModuleRequest-with-params.xml @@ -1,4 +1,4 @@ - + RegionOne CloudOwner 09d8566ea45e43aa974cf447ed591d77 @@ -196,7 +196,10 @@ vf_module_index 0 - + + raw-json-param + ["a","b","c"] + 11c8ec20-a1f8-4aa2-926f-e55d67a30f8b -- cgit 1.2.3-korg