-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JsonSchema generated classes are persisted #3079
Conversation
Can one of the admins verify this patch? |
db9403c
to
2f6df91
Compare
2f6df91
to
03c5e55
Compare
03c5e55
to
a587989
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
|
||
DOCKER_IMAGE_GOLANG=golang:1.15.6 | ||
DOCKER_IMAGE_GOLANG=marcnuri/golang-1.15-java11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oooh, that looks like a maintenance nightmare!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
Not really, it's a very simple image, but I haven't found any other, open, publicly maintained equivalent (I bet not many Golang developers want to mix it with Java, and vice-versa)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, I think it's a step forward to making the development experience better.
Looking good! What are the plans for |
:) Yes, indeed. I'm just trying to make sure that we are on the right path before investing more time. BTW, thx for the feedback ;) |
Description
Partially persist generated model in
src/generated/java/
.This PR contains:
pom.xml
:When reviewing you should consider the changed poms, shell scripts and CI workflow configurations (basically ignore any *.java file).
Relates to #2118 and #2119
What does this PR bring?
./kubernetes-model-generator/generateModelDocker.sh
takes much longer since it involves a Maven execution for each module. This shouldn't really be a problem because it has only to be executed in case there are changes in our go files.Feedback
So far my IDE experience with the partially persisted model has improved.
It would be nice if those of you who had previous issues with the setup (@metacosm. @Fabian-K, @jorsol...) could provide your feedback to see if we should proceed and merge this or consider it a failed experiment.
Type of change
test, version modification, documentation, etc.)
Checklist