Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363379

Summary: Bugzilla adapater should accept application/xml, not just application/rdf+xml
Product: [Technology] Lyo Reporter: Samuel Padgett <samuel.padgett>
Component: ServerAssignee: Project Inbox <lyo.server-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: fiedler.mf, samuel.padgett
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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...