Which Version of Teiid Wildfly to use with Teiid Designer / or how to correctly configure the Eclipse environment
cjohn001 Jan 2, 2019 5:07 PMThis request is related to [TEIID-5545] Odata V4 Batch processing does not work as teiid/olingo rejects "Accept: multipart/mixed" request header - … . As my question here goes a little bit of topic from the original Jira issue, I decided to follow up in a separate discussion on the topic.
I am currently working with Teiid Designer 11.1.3. The documentation on Teiid Wildfly Downloads | Teiid says, that:
"Teiid Designer is optional Eclipse based tooling for creation of VDBs in a modeling environment. Note that Teiid Designer currently works with only Teiid 9.0 and earlier. However VDBs developed against a Teiid 9.0 environment will still be valid for deployment into later releases."
My production environment is based on a mysql v8 database served by Teiid Wildfly 11.2.0. Due to the previous note on Teiid 9 and some issues I had throughout working with Teiid-Designer I switched my development environment to a Teiid 9.0 server where the server is used to create vdb's with Teiid-Designer by using "Import from Teiid connection" . All my development efforts are currently done against the Teiid 9 instance.
I also have to note, that Teiid, the database, and Teiid-Designer are all running on the same laptop and that I do not want to have 2 Teiid instances with different server versions running in parallel at the same time (probably possible by adapting port mappings, but I have not tried).
As I like to update the Olingo Plugin now in Teiid 11 to support advanced batching features and this seems to be not easily done for Teiid 9, my Teiid 9 and 11 instances would run out of sync as those would support a different odata feature set. Hence, for development efforts I would steadily have to switch between the different-versioned Teiid server instances.
By doing some experiments with Teiid 11 and Teiid Designer to create vdb's, I found out that I might have a thinking error when using Teiid Designer. My hope is that I simply misinterpreted the statement about compatibility between Teiid-Designer and Teiid 9 on the Teiid Community Website, and that I can in fact also use Teiid Wildfly 11.2.0 with Teiid-Designer, to get rid of the Teiid 9 server instance. The following screenshot depicts my Designer configuration
As you can see in the upper right red rectangle, I have two server runtimes configured. Till today my thought was, I need a Wildfly 11 runtime when I connect with a Teiid 11 Server instance, and a Wildfly 9 Runtime when I connect to Teiid 9 server instance. When using Wildfly 11 runtime to do an "Import from Teiid connection" I get the following error message:
Well, this perfectly fits to the description on the Teiid community homepage and supported my previous thinking.
However, what also seems to be possible, is to use the Wildfly 9 Runtime against the Wildfly 11 Server. "Import from Teiid connection" seems to work for me as far as I can see, and I can also deploy the build vdb to the Wildfly server.
Now my question arising here is, was it just luck that these things were working and doing different things with Teiid Designer will have to be expected to fail in different places?
Or is my understanding about the configured Wildfly 9 Runtime option wrong, and this configuration option is indeed only thought to tell Teiid Designer for which server runtime version a vdb has to be generated. Hence, the runtime configuration set here is independent of the Wildfly Server which is running in the background?
The later case would be great, as this would mean, it is save to just work with the Wildfly 11 server, in the development and in the production environment and just configure a Wildfly 9 runtime in Teiid-Designer to generate the vdb's. So please let me know which of the two assumptions is right, or if there even might be a third one, I am not aware of yet