[
https://issues.redhat.com/browse/TEIIDSB-223?page=com.atlassian.jira.plug...
]
Ramesh Reddy edited comment on TEIIDSB-223 at 8/4/20 3:49 PM:
--------------------------------------------------------------
`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.
update: yes, I see `make ci` failing, I will take a look
was (Author: rareddy):
`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)