Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363379 - Bugzilla adapater should accept application/xml, not just application/rdf+xml
Summary: Bugzilla adapater should accept application/xml, not just application/rdf+xml
Status: CLOSED FIXED
Alias: None
Product: Lyo
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 15:05 EST by Samuel Padgett CLA
Modified: 2013-05-23 09:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Padgett CLA 2011-11-09 15:05:40 EST
The Bugzilla adapter currently returns 406 Not Acceptable when application/xml is requested for change requests or query responses. According to the OSLC-CM spec, OSLC-CM providers MUST support XML. See

http://open-services.net/bin/view/Main/CmSpecificationV2?sortcol=table;table=up#Resource_Formats
http://open-services.net/bin/view/Main/OSLCCoreSpecAppendixRepresentations?sortcol=table;up=#Guidelines_for_application_xml

Since we're using Jena RDF/XML-ABBREV format for responses, we should be able to simply accept application/xml and respond the same way we do for application/rdf+xml.
Comment 1 Samuel Padgett CLA 2011-11-10 13:55:39 EST
Pull Request: https://github.com/eclipse/lyo.server/pull/2
Comment 2 Michael Fiedler CLA 2012-01-10 15:27:04 EST
Resolved with the following commit:

http://git.eclipse.org/c/lyo/org.eclipse.lyo.server.git/commit/?id=4effec0b3987b23fd5a1ab9fc968841548cdf56e
Comment 3 Samuel Padgett CLA 2013-05-23 09:13:15 EDT
Closing...