]
Christoph John commented on TEIID-5545:
---------------------------------------
Hello Ramesh,
thanks. Ok, first part was simple. I cloned Olingo from git and could build it without
errors. The dependency list from this build (mvn dependency:tree) is in the attached
file.
I would like to change the Olingo library now on a Teiid 9.0 and on a Teiid 11.2 instance.
So far I just had a look into Teiid 9.0.
Question 1: I assume only the modules under the following path need to be exchanged. Is
this correct?
/opt/jboss/wildfly/modules/system/layers/dv/org/apache/olingo
This is to say under ./apache/olingo I have to replace the jars in the folders client,
commons and server. Is this the full list of relevant jars I have to exchange?
./client/main/odata-client-api-4.2.0-teiid-5.jar
./client/main/odata-client-core-4.2.0-teiid-5.jar
./commons/main/odata-commons-api-4.2.0-teiid-5.jar
./commons/main/odata-commons-core-4.2.0-teiid-5.jar
./server/main/odata-server-api-4.2.0-teiid-5.jar
./server/main/odata-server-core-4.2.0-teiid-5.jar
./server/main/odata-server-core-ext-4.2.0-teiid-5.jar
./server/main/teiid-olingo-patches-9.0.6.jar
------------------------------------------------------------------------
Question 2: The file teiid-olingo-patches-9.0.6.jar seem to be not part of Olingo. Would I
have to rebuild this as well? In case of yes, how would I have to do it and from where
could I get the sources
------------------------------------------------------------------------
Question 3: How can I extract the dependencies of the jar files that are part of
Teiid-Wildfly?
Thanks for your help.
Odata V4 Batch processing does not work as teiid/olingo rejects
"Accept: multipart/mixed" request header
--------------------------------------------------------------------------------------------------------
Key: TEIID-5545
URL:
https://issues.jboss.org/browse/TEIID-5545
Project: Teiid
Issue Type: Bug
Components: OData
Affects Versions: 11.2
Reporter: Christoph John
Assignee: Ramesh Reddy
Priority: Critical
Fix For: 12.1
When using Teiid together with SAPUI5/OpenUI5 Odata V4 model, batch processing does not
work as Teiid rejects the "Accept: multipart/mixed" header. The issue has been
described in
https://developer.jboss.org/message/986421#986421
It has been stated that Olingo in general does support multipart messages and it was
recommended to remove the header from the request.
https://developer.jboss.org/message/986425#986425
Unfortunately this seems to be not easily possible when using the SAPUI5 framework. I
addressed the issue in the SAPUI5 forum under the following issue:
https://github.com/SAP/openui5/issues/2288
The result of this discussion was, that the header is valid for the send content. As I am
no expert in the topic I do not really have an opinion on that. However,
https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html
suggests that the header is required. So I am not sure if it is correct or an error to
reject the message. However, if Olingo can process the content, it would be great to have
a fix for the accept header, or alternatively a config option to enable handling of the
Accept header in a way that Olingo processes these data.