summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapters-rest-interface/src/test
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-09-18 14:06:51 -0400
committerRob Daugherty <rd472p@att.com>2018-09-18 14:06:51 -0400
commitae6dd3e07bea17a6e4664a01f142afa8003debbe (patch)
tree6b8cb3f9d13c5929dc822756aa4177a388b7eb03 /adapters/mso-adapters-rest-interface/src/test
parent65bb66e63dd1d9fcfa4c12b288b5af91343bee01 (diff)
Upgrade to openstack libs version 1.3.0
Version 1.3.0 uses fasterxml.jackson. Note: several unit tests were wrong and had to be fixed. They were using a fasterxml ObjectMapper to deserialize openstack library class objects compiled with codehaus JsonProperty annotations. Consequently, the ObjectMapper could not "see" the annotations. The tests "worked" because the json was constructed wrongly to match. I have now fixed the json so that they have the true property names defined by the annotations. Change-Id: I088137ee5dd5af9cffd426610a50ae6408c5b190 Issue-ID: SO-1025 Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'adapters/mso-adapters-rest-interface/src/test')
-rw-r--r--adapters/mso-adapters-rest-interface/src/test/resources/stack-example.json13
1 files changed, 6 insertions, 7 deletions
diff --git a/adapters/mso-adapters-rest-interface/src/test/resources/stack-example.json b/adapters/mso-adapters-rest-interface/src/test/resources/stack-example.json
index c0f08f8bd7..968f6179b0 100644
--- a/adapters/mso-adapters-rest-interface/src/test/resources/stack-example.json
+++ b/adapters/mso-adapters-rest-interface/src/test/resources/stack-example.json
@@ -1,13 +1,12 @@
{
"outputs" : [{
- "outputKey": "key1",
- "outputValue": "value1"
+ "output_key": "key1",
+ "output_value": "value1"
},{
- "outputKey": "key2",
- "outputValue": "value2"
+ "output_key": "key2",
+ "output_value": "value2"
},{
- "outputKey": "key3",
- "outputValue": "value3"
+ "output_key": "key3",
+ "output_value": "value3"
}]
-
} \ No newline at end of file