cloudstack-mirror/server/src/com/cloud/api
Vijayendra Bhamidipati 83101a752f Bug 13127: API error text refer to database ids instead of uuids
Description:

	Modified the IdentityTypeAdapter's custom serializer to
	identify whether this is an exception response that is being
	serialized, by checking if the idFieldName is set. If so,
	serialize both uuid and the uuidProperty (for eg, zoneId and
	"zoneId" (string)) and pass back the json representation of that.

	Modified XML serializer also to build a list of uuids+fieldnames.

	Introduced a new field "cserrorcode" in ExceptionResponse. This
	refers to an error code that can be according to the specific
	Exception being thrown. This will be serialized as usual. There
	shouldn't be any need to do a db lookup for conversion for these
	error codes.
2012-02-27 17:55:06 -08:00
..
commands Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network 2012-02-21 15:39:49 -08:00
doc Fixed XML api writer 2012-02-27 12:38:30 -08:00
response Bug 13127: API error text refer to database ids instead of uuids 2012-02-27 17:55:06 -08:00
ApiDBUtils.java bug 13866: return publicIp info in listVms api response when vm is linked to public ip via static nat 2012-02-17 15:42:17 -08:00
ApiDispatcher.java Bug 13127: API error text refer to database ids instead of uuids 2012-02-27 17:55:03 -08:00
ApiGsonHelper.java Bug 13127: API error text refer to database ids instead of uuids 2012-02-27 17:54:50 -08:00
ApiResponseGsonHelper.java Bug 13127: API error text refer to database ids instead of uuids 2012-02-27 17:54:50 -08:00
ApiResponseHelper.java Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network 2012-02-21 15:39:49 -08:00
ApiSerializerHelper.java Add license header to files 2011-04-14 11:23:14 -07:00
ApiServer.java Bug 13127: API error text refer to database ids instead of uuids 2012-02-27 17:55:03 -08:00
ApiServlet.java Bug 13127: API error text refer to database ids instead of uuids 2012-02-27 17:54:58 -08:00
EncodedStringTypeAdapter.java Keep "encode.api.response" parameter in ApiServer class; initialize it as a part of init() method 2011-06-21 11:07:31 -07:00
IdentityTypeAdapter.java Bug 13127: API error text refer to database ids instead of uuids 2012-02-27 17:55:06 -08:00
ResponseObjectTypeAdapter.java bug 10232: Introduced new gson builder - used for api reponse only 2011-06-13 13:19:20 -07:00
SerializationContext.java bug 6745: Fix problems in Async create commands 2011-11-03 07:34:02 -07:00