Extensions and XML templates
Currently, request extensions have to deserialize data, manipulate it, and reserialize it. This happens for each extension. This is generally not much of a problem for JSON data, but XML is expensive to deserialize and reserialize, and it is currently impossible to extend the XML without directly editing the serializer or writing an independent serializer.
This proposal is to establish new middleware which performs the XML serialization, and to also establish a means of creating XML templates, which can be extended by attaching slave templates to describe the extra data that an extension may wish to include.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Low
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Kevin L. Mitchell
- Definition:
- Approved
- Series goal:
- Accepted for essex
- Implementation:
- Implemented
- Milestone target:
- 2012.1
- Started by
- Kevin L. Mitchell
- Completed by
- Kevin L. Mitchell
Related branches
Related bugs
Sprints
Whiteboard
Note: I have already written much of the code for this, and am slowly converting nova-api to use templates for XML serialization. I am proceeding carefully, so as to ensure that the XML returned will be identical to that returned by the hand-coded serializers. -Vek
Gerrit topic: https:/
Addressed by: https:/
Add XML templates.