[teiid-issues] [JBoss JIRA] (TEIIDSB-223) Issues with connection_factories.json and operator
Ramesh Reddy (Jira)
issues at jboss.org
Tue Aug 4 15:49:00 EDT 2020
[ https://issues.redhat.com/browse/TEIIDSB-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353945#comment-14353945 ]
Ramesh Reddy commented on TEIIDSB-223:
--------------------------------------
`makefile` had the `operator-sdk` at wrong version, it should have been `0.17.0` updated now, so run generate once it should correct it.
> 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)
More information about the teiid-issues
mailing list