vm-id APPC request parameter contains a full OpenStack nova
VM URL, which is not parsed correctly. This prevents any APPC LCM
requests from successfull completion
Issue-ID: APPC-1902
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: I1fd1432ad81d432b51055e99c3697f3280f82e9a
String oString = o.toString();
//Add escape characters to the string in case it is a string representation
//of a json object.
- oString = JSONObject.quote(oString);
+ oString = JSONObject.quote(oString, false);
//Remove the surrouding quotes added by the JSONObject.quote() method.
//JSONObject.quote() will always return, at minimum, a string with two quotes,
//even if a null string is passed to it. So this substring method does not