[JBoss JIRA] (TEIID-6004) Getting and error while configuring oAuth2 with Teiid.
by Nayan Bija (Jira)
[ https://issues.redhat.com/browse/TEIID-6004?page=com.atlassian.jira.plugi... ]
Nayan Bija commented on TEIID-6004:
-----------------------------------
and again I require some info from.
As you provided 3 steps to connect with GCP bucket from Teiid in TEIID-5940.
In the third step, it is mentioned that you will have to use TEXTTABLE or XMLTABLE functions to consume CSV or XML.
So I just have a question without using this function can we write a query. just like we write for other databases like MYSQL, SQLServer, BigQuery, etc.
> Getting and error while configuring oAuth2 with Teiid.
> ------------------------------------------------------
>
> Key: TEIID-6004
> URL: https://issues.redhat.com/browse/TEIID-6004
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits
> Reporter: Nayan Bija
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 15.0, 13.1.2, 14.0.1
>
> Original Estimate: 2 hours
> Time Spent: 1 hour, 30 minutes
> Remaining Estimate: 30 minutes
>
> We need to read the Flat file from Google storage(bucket). so that we are following the steps mention in this ticket TEIID-5940".
> So it is mentioned that we will have to make web service data source and will have to configure google credentials into it.
> So to create a datasource below steps has been provided but getting and error in final step.
> Refered below URL for steps.
> [http://teiid.github.io/teiid-documents/master/content/admin/OAuth_Authent...]
>
> C:\Softwares\teiid-wildfly-14.0.0-server1\teiid-14.0.0\bin>teiid-oauth-util.bat
> Select type of OAuth authentication
> 1) OAuth 1.0A
> 2) OAuth 2.0
> 3) OAuth 2.0 - Facebook
> 2
> === OAuth 2.0 Workflow ===
> Enter the Client ID = dfgfdg-dfgdfg.apps.googleusercontent.com
> Enter the Client Secret = dfgd-obggh_unnng_SDD
> Enter the User Authorization URL = https://accounts.google.com/o/oauth2/auth
> Enter scope (hit enter for none) = profile
> Enter callback URL (default: urn:ietf:wg:oauth:2.0:oob) =
> Cut & Paste the URL in a web browser, and Authticate
> Authorize URL = https://accounts.google.com/o/oauth2/auth?client_id=fdfdsfdsdfsdfsdf
> Enter Token Secret (Auth Code, Pin) from previous step = 4/2QdsfdsfEZvSxCK5yEPNJCYcbdsfsd
> Enter the Access Token URL = https://www.googleapis.com/oauth2/v3/token
> Jul 30, 2020 5:29:04 PM org.apache.cxf.configuration.jsse.SSLUtils loadDefaultKeyManagers
> WARNING: Default key managers cannot be initialized: Password must not be null
> java.security.UnrecoverableKeyException: Password must not be null
> at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:124)
> at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:55)
> at java.security.KeyStore.getKey(KeyStore.java:1011)
> at sun.security.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:133)
> at sun.security.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:70)
> at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:256)
> at org.apache.cxf.configuration.jsse.SSLUtils.loadDefaultKeyManagers(SSLUtils.java:116)
> at org.apache.cxf.configuration.jsse.SSLUtils.getDefaultKeyStoreManagers(SSLUtils.java:89)
> at org.apache.cxf.transport.https.SSLUtils.getSSLContext(SSLUtils.java:75)
> at org.apache.cxf.transport.https.HttpsURLConnectionFactory.decorateWithTLS(HttpsURLConnectionFactory.java:144)
> at org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:101
> at org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:121)
> at org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:125)
> at org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit.setupConnection(AsyncHTTPConduit.java:190)
> at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:505)
> at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:47)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:701)
> at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1086)
> at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:932)
> at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:901)
> at org.apache.cxf.jaxrs.client.WebClient.form(WebClient.java:434)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:301)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:225)
> at org.teiid.oauth.OAuthUtil.oauth20Flow(OAuthUtil.java:158)
> at org.teiid.oauth.OAuthUtil.main(OAuthUtil.java:76)
> at org.jboss.modules.Module.run(Module.java:352)
> at org.jboss.modules.Module.run(Module.java:320)
> at org.jboss.modules.Main.main(Main.java:593)
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter
> at org.apache.cxf.rs.security.oauth2.provider.OAuthJSONProvider.readJSONResponse(OAuthJSONProvider.java:307)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:306)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:225)
> at org.teiid.oauth.OAuthUtil.oauth20Flow(OAuthUtil.java:158)
> at org.teiid.oauth.OAuthUtil.main(OAuthUtil.java:76)
> at org.jboss.modules.Module.run(Module.java:352)
> at org.jboss.modules.Module.run(Module.java:320)
> at org.jboss.modules.Main.main(Main.java:593)
> Caused by: java.lang.ClassNotFoundException: org.apache.cxf.jaxrs.json.basic.JsonMapObjectReaderWriter from [Module "or
> 0.0\modules,C:\Softwares\teiid-wildfly-14.0.0-server1\teiid-14.0.0\modules\system\layers\dv,C:\Softwares\teiid-wildfly-
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> ... 8 more
> Press any key to continue . . .
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIID-6004) Getting and error while configuring oAuth2 with Teiid.
by Nayan Bija (Jira)
[ https://issues.redhat.com/browse/TEIID-6004?page=com.atlassian.jira.plugi... ]
Nayan Bija commented on TEIID-6004:
-----------------------------------
Hi [~shawkins]
As suggested by you I have created web service data source with Google auth2.
But I didn't find any way how to test it from the Teiid admin console.
Could you please suggest us a way to test connectivity with Google Auth2 using web service data source.
> Getting and error while configuring oAuth2 with Teiid.
> ------------------------------------------------------
>
> Key: TEIID-6004
> URL: https://issues.redhat.com/browse/TEIID-6004
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits
> Reporter: Nayan Bija
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 15.0, 13.1.2, 14.0.1
>
> Original Estimate: 2 hours
> Time Spent: 1 hour, 30 minutes
> Remaining Estimate: 30 minutes
>
> We need to read the Flat file from Google storage(bucket). so that we are following the steps mention in this ticket TEIID-5940".
> So it is mentioned that we will have to make web service data source and will have to configure google credentials into it.
> So to create a datasource below steps has been provided but getting and error in final step.
> Refered below URL for steps.
> [http://teiid.github.io/teiid-documents/master/content/admin/OAuth_Authent...]
>
> C:\Softwares\teiid-wildfly-14.0.0-server1\teiid-14.0.0\bin>teiid-oauth-util.bat
> Select type of OAuth authentication
> 1) OAuth 1.0A
> 2) OAuth 2.0
> 3) OAuth 2.0 - Facebook
> 2
> === OAuth 2.0 Workflow ===
> Enter the Client ID = dfgfdg-dfgdfg.apps.googleusercontent.com
> Enter the Client Secret = dfgd-obggh_unnng_SDD
> Enter the User Authorization URL = https://accounts.google.com/o/oauth2/auth
> Enter scope (hit enter for none) = profile
> Enter callback URL (default: urn:ietf:wg:oauth:2.0:oob) =
> Cut & Paste the URL in a web browser, and Authticate
> Authorize URL = https://accounts.google.com/o/oauth2/auth?client_id=fdfdsfdsdfsdfsdf
> Enter Token Secret (Auth Code, Pin) from previous step = 4/2QdsfdsfEZvSxCK5yEPNJCYcbdsfsd
> Enter the Access Token URL = https://www.googleapis.com/oauth2/v3/token
> Jul 30, 2020 5:29:04 PM org.apache.cxf.configuration.jsse.SSLUtils loadDefaultKeyManagers
> WARNING: Default key managers cannot be initialized: Password must not be null
> java.security.UnrecoverableKeyException: Password must not be null
> at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:124)
> at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:55)
> at java.security.KeyStore.getKey(KeyStore.java:1011)
> at sun.security.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:133)
> at sun.security.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:70)
> at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:256)
> at org.apache.cxf.configuration.jsse.SSLUtils.loadDefaultKeyManagers(SSLUtils.java:116)
> at org.apache.cxf.configuration.jsse.SSLUtils.getDefaultKeyStoreManagers(SSLUtils.java:89)
> at org.apache.cxf.transport.https.SSLUtils.getSSLContext(SSLUtils.java:75)
> at org.apache.cxf.transport.https.HttpsURLConnectionFactory.decorateWithTLS(HttpsURLConnectionFactory.java:144)
> at org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:101
> at org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:121)
> at org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:125)
> at org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit.setupConnection(AsyncHTTPConduit.java:190)
> at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:505)
> at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:47)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:701)
> at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1086)
> at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:932)
> at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:901)
> at org.apache.cxf.jaxrs.client.WebClient.form(WebClient.java:434)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:301)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:225)
> at org.teiid.oauth.OAuthUtil.oauth20Flow(OAuthUtil.java:158)
> at org.teiid.oauth.OAuthUtil.main(OAuthUtil.java:76)
> at org.jboss.modules.Module.run(Module.java:352)
> at org.jboss.modules.Module.run(Module.java:320)
> at org.jboss.modules.Main.main(Main.java:593)
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter
> at org.apache.cxf.rs.security.oauth2.provider.OAuthJSONProvider.readJSONResponse(OAuthJSONProvider.java:307)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:306)
> at org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils.getAccessToken(OAuthClientUtils.java:225)
> at org.teiid.oauth.OAuthUtil.oauth20Flow(OAuthUtil.java:158)
> at org.teiid.oauth.OAuthUtil.main(OAuthUtil.java:76)
> at org.jboss.modules.Module.run(Module.java:352)
> at org.jboss.modules.Module.run(Module.java:320)
> at org.jboss.modules.Main.main(Main.java:593)
> Caused by: java.lang.ClassNotFoundException: org.apache.cxf.jaxrs.json.basic.JsonMapObjectReaderWriter from [Module "or
> 0.0\modules,C:\Softwares\teiid-wildfly-14.0.0-server1\teiid-14.0.0\modules\system\layers\dv,C:\Softwares\teiid-wildfly-
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> ... 8 more
> Press any key to continue . . .
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIID-6009) How to test web service datasource from Teiid admin console.
by Nayan Bija (Jira)
[ https://issues.redhat.com/browse/TEIID-6009?page=com.atlassian.jira.plugi... ]
Nayan Bija updated TEIID-6009:
------------------------------
Description:
We have configured Google auth2 and created a data source of it but couldn't find any way to test it from the Admin console.
Could you please suggest us a way to test connectivity with Google Auth2 using web service data source.
> How to test web service datasource from Teiid admin console.
> ------------------------------------------------------------
>
> Key: TEIID-6009
> URL: https://issues.redhat.com/browse/TEIID-6009
> Project: Teiid
> Issue Type: Feature Request
> Reporter: Nayan Bija
> Assignee: Steven Hawkins
> Priority: Major
>
> We have configured Google auth2 and created a data source of it but couldn't find any way to test it from the Admin console.
> Could you please suggest us a way to test connectivity with Google Auth2 using web service data source.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIID-5940) How to connect GCP bucket using Teiid
by Nayan Bija (Jira)
[ https://issues.redhat.com/browse/TEIID-5940?page=com.atlassian.jira.plugi... ]
Nayan Bija commented on TEIID-5940:
-----------------------------------
Hi [~shawkins]
As suggested by you I have created webservice datasource with Google auth2.
But I didnt find any way how to test it from Teiid admin console.
Could you please suggest us a way to test connectivity with Google Auth2 using web service data source.
> How to connect GCP bucket using Teiid
> -------------------------------------
>
> Key: TEIID-5940
> URL: https://issues.redhat.com/browse/TEIID-5940
> Project: Teiid
> Issue Type: Feature Request
> Components: JDBC Connector
> Reporter: Nayan Bija
> Assignee: Steven Hawkins
> Priority: Major
> Labels: GCP_BUC, jdbc-connector, team-service-2
> Original Estimate: 3 days
> Remaining Estimate: 3 days
>
> We need to read flat file or CSV file tabular data using Teiid.
> We couldn't find any JDBC driver by using it we can establish the connection with the GCP Bucket.
> Could you please suggest us any solution how to connect to GCP bucket using Teiid.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIIDSB-223) Issues with connection_factories.json and operator
by Steven Hawkins (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-223?page=com.atlassian.jira.plug... ]
Steven Hawkins commented on TEIIDSB-223:
----------------------------------------
Just old references like https://gist.github.com/fulldecent/d84cd1abdcc6930865d1b862c4aed917 which point to faq links that no longer exist on travis, so I'd guess they don't make it easy.
> Issues with connection_factories.json and operator
> --------------------------------------------------
>
> Key: TEIIDSB-223
> URL: https://issues.redhat.com/browse/TEIIDSB-223
> Project: Teiid Spring Boot
> Issue Type: Quality Risk
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.6.0
>
> Time Spent: 4 hours, 4 minutes
> Remaining Estimate: 0 minutes
>
> There are a couple of things that I hit updating the connection_factories.json:
> 1. The objectmapper is not set to use a predictable order for the json, so it may vary by vm leading to needless file changes. We can just change the Main to add the sorted mapping feature.
> 2. The operator generation logic uses a settings.xml that does not specify snapshot access - if you do not locally build the teiid-spring-boot snapshot, then it will fail generation.
> 3. Even if you update the settings to have snapshot access, the generation logic must download nearly everything related to teiid-spring-boot. We could consider just running the generation step as part of the teiid-spring-boot build so that it is available as a single artifact.
> 4. The operator readme doesn't mention anything about running make generate (or related)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIIDSB-223) Issues with connection_factories.json and operator
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-223?page=com.atlassian.jira.plug... ]
Ramesh Reddy commented on TEIIDSB-223:
--------------------------------------
Any pointers on spinning that image?, last time I checked it was cryptic, otherwise I need to keep updating the .travis.ymal file and commit it to test
> Issues with connection_factories.json and operator
> --------------------------------------------------
>
> Key: TEIIDSB-223
> URL: https://issues.redhat.com/browse/TEIIDSB-223
> Project: Teiid Spring Boot
> Issue Type: Quality Risk
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.6.0
>
> Time Spent: 4 hours, 4 minutes
> Remaining Estimate: 0 minutes
>
> There are a couple of things that I hit updating the connection_factories.json:
> 1. The objectmapper is not set to use a predictable order for the json, so it may vary by vm leading to needless file changes. We can just change the Main to add the sorted mapping feature.
> 2. The operator generation logic uses a settings.xml that does not specify snapshot access - if you do not locally build the teiid-spring-boot snapshot, then it will fail generation.
> 3. Even if you update the settings to have snapshot access, the generation logic must download nearly everything related to teiid-spring-boot. We could consider just running the generation step as part of the teiid-spring-boot build so that it is available as a single artifact.
> 4. The operator readme doesn't mention anything about running make generate (or related)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIIDSB-223) Issues with connection_factories.json and operator
by Steven Hawkins (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-223?page=com.atlassian.jira.plug... ]
Steven Hawkins commented on TEIIDSB-223:
----------------------------------------
Yes, make ci locally is not a problem.
> Is there a way you run travis locally to test before any changes .travis.yaml file?
It's not really a local thing. You need to spin op their image with all of the associated configuration defaults etc. based upon the .travis.yml file. I've put more on this in the pr in terms of trying to iron out some of the differences, but there remain some - I'm locally running go 1.14 (but updating .travis.yml to 1.14 didn't make a difference) and of course travis is running ubuntu (which at the very least had to be accounted for in the yamllint utility). To make further progress you'd probably want to log or error out with more information about the zz generated file differences and go from there. I got tired of messing with it so I stopped with this :)
> Issues with connection_factories.json and operator
> --------------------------------------------------
>
> Key: TEIIDSB-223
> URL: https://issues.redhat.com/browse/TEIIDSB-223
> Project: Teiid Spring Boot
> Issue Type: Quality Risk
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.6.0
>
> Time Spent: 4 hours, 4 minutes
> Remaining Estimate: 0 minutes
>
> There are a couple of things that I hit updating the connection_factories.json:
> 1. The objectmapper is not set to use a predictable order for the json, so it may vary by vm leading to needless file changes. We can just change the Main to add the sorted mapping feature.
> 2. The operator generation logic uses a settings.xml that does not specify snapshot access - if you do not locally build the teiid-spring-boot snapshot, then it will fail generation.
> 3. Even if you update the settings to have snapshot access, the generation logic must download nearly everything related to teiid-spring-boot. We could consider just running the generation step as part of the teiid-spring-boot build so that it is available as a single artifact.
> 4. The operator readme doesn't mention anything about running make generate (or related)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIIDSB-223) Issues with connection_factories.json and operator
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-223?page=com.atlassian.jira.plug... ]
Ramesh Reddy commented on TEIIDSB-223:
--------------------------------------
`make ci` locally works for me, we would need to see how it differs in the travis. Is there a way you run travis locally to test before any changes .travis.yaml file?
> Issues with connection_factories.json and operator
> --------------------------------------------------
>
> Key: TEIIDSB-223
> URL: https://issues.redhat.com/browse/TEIIDSB-223
> Project: Teiid Spring Boot
> Issue Type: Quality Risk
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.6.0
>
> Time Spent: 4 hours, 4 minutes
> Remaining Estimate: 0 minutes
>
> There are a couple of things that I hit updating the connection_factories.json:
> 1. The objectmapper is not set to use a predictable order for the json, so it may vary by vm leading to needless file changes. We can just change the Main to add the sorted mapping feature.
> 2. The operator generation logic uses a settings.xml that does not specify snapshot access - if you do not locally build the teiid-spring-boot snapshot, then it will fail generation.
> 3. Even if you update the settings to have snapshot access, the generation logic must download nearly everything related to teiid-spring-boot. We could consider just running the generation step as part of the teiid-spring-boot build so that it is available as a single artifact.
> 4. The operator readme doesn't mention anything about running make generate (or related)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months
[JBoss JIRA] (TEIIDSB-223) Issues with connection_factories.json and operator
by Steven Hawkins (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-223?page=com.atlassian.jira.plug... ]
Steven Hawkins commented on TEIIDSB-223:
----------------------------------------
Updated the connection factories to be picked up with every travis build. We still can't run make ci on travis though.
> Issues with connection_factories.json and operator
> --------------------------------------------------
>
> Key: TEIIDSB-223
> URL: https://issues.redhat.com/browse/TEIIDSB-223
> Project: Teiid Spring Boot
> Issue Type: Quality Risk
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.6.0
>
> Time Spent: 4 hours, 4 minutes
> Remaining Estimate: 0 minutes
>
> There are a couple of things that I hit updating the connection_factories.json:
> 1. The objectmapper is not set to use a predictable order for the json, so it may vary by vm leading to needless file changes. We can just change the Main to add the sorted mapping feature.
> 2. The operator generation logic uses a settings.xml that does not specify snapshot access - if you do not locally build the teiid-spring-boot snapshot, then it will fail generation.
> 3. Even if you update the settings to have snapshot access, the generation logic must download nearly everything related to teiid-spring-boot. We could consider just running the generation step as part of the teiid-spring-boot build so that it is available as a single artifact.
> 4. The operator readme doesn't mention anything about running make generate (or related)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 5 months