]
Steven Hawkins logged work on TEIIDSB-134:
------------------------------------------
Author: Steven Hawkins
Created on: 05/Nov/19 2:50 PM
Start Date: 05/Nov/19 2:50 PM
Worklog Time Spent: 2 hours, 30 minutes
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 3 minutes)
Time Spent: 2 hours, 30 minutes
Worklog Id: (was: 12448068)
OData 2 source fails with default headers
-----------------------------------------
Key: TEIIDSB-134
URL:
https://issues.jboss.org/browse/TEIIDSB-134
Project: Teiid Spring Boot
Issue Type: Bug
Components: core, OData
Affects Versions: 1.2.0
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 1.3.0
Attachments: example-odata.zip
Original Estimate: 3 minutes
Time Spent: 2 hours, 30 minutes
Remaining Estimate: 0 minutes
The translator sets the content type by default:
https://github.com/teiid/teiid/blob/06b9828a3fd6dafa358ff93f0a4803e69a3bf...
This seems to be handled differently by CXF and spring webservice sources. A user is
reporting that a simple request (without a payload) succeeds with CXF, but fails with
spring.
the translator throw
org.springframework.web.client.HttpClientErrorException$UnsupportedMediaType: 415
Unsupported Media Type by executing Query, for example "Select * from
categories", by jdbc client such as SQuirrel.