-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add first version of Spring Cloud Config Client extension #7130
Conversation
a1b3dd7
to
a622434
Compare
...sions/spring-config-server-client/runtime/src/main/resources/META-INF/quarkus-extension.yaml
Outdated
Show resolved
Hide resolved
a622434
to
6dc0705
Compare
6dc0705
to
473de6d
Compare
Actually I think this is pretty much ready to go now... I am sure there are some cases where tweaking will be needed (for example we might need to look at the profile usage), but I would consider this feature complete at this point and the quicker we get feedback on its usage in real scenarios, the quicker we can improve it. |
Is there a doc describing |
Not yet, that would be a next step after this is in. But I'll definitely check it out and make sure the application behaves in the same way as the Spring Boot application described there |
473de6d
to
b2e4b07
Compare
...client/src/test/java/io/quarkus/spring/configserver/client/runtime/GreetingResourceTest.java
Outdated
Show resolved
Hide resolved
Don't forget to add your extension here: https://github.com/quarkusio/quarkus/blob/master/.github/boring-cyborg.yml#L246-L253 |
Thanks for the suggestions @gastaldi! |
b2e4b07
to
2dfc2c0
Compare
@gastaldi your comments should be addressed now. FTR, I plan to make another pass at this tomorrow by reading the Spring Cloud Config docs and going through online examples to see what is missing. But I don't expect there is any real work left on this, just tweaks and polish I guess |
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.
Added a bunch of cosmetic comments.
core/deployment/src/main/java/io/quarkus/deployment/builditem/FeatureBuildItem.java
Outdated
Show resolved
Hide resolved
...main/java/io/quarkus/spring/cloud/config/client/runtime/SpringCloudConfigClientRecorder.java
Outdated
Show resolved
Hide resolved
.../java/io/quarkus/spring/cloud/config/client/runtime/SpringCloudConfigServerClientConfig.java
Outdated
Show resolved
Hide resolved
...nsions/spring-cloud-config-client/runtime/src/main/resources/META-INF/quarkus-extension.yaml
Show resolved
Hide resolved
The darn rename was pretty bad... I obviously didn't think it through when I agreed to perform it :P |
2dfc2c0
to
aaaa448
Compare
aaaa448
to
bf02ff5
Compare
By going through the Spring Cloud Server documentation I have identified a few points where the current implementation differs from the Spring Cloud, so I'll address those differences over the next few hours |
bf02ff5
to
5641c82
Compare
I just pushed what I consider to be a feature complete first version. I would be grateful for a new round of reviews |
5641c82
to
23841cb
Compare
core/deployment/src/main/java/io/quarkus/deployment/builditem/FeatureBuildItem.java
Outdated
Show resolved
Hide resolved
23841cb
to
84c8b2e
Compare
...java/io/quarkus/spring/cloud/config/client/runtime/SpringCloudConfigServerClientGateway.java
Outdated
Show resolved
Hide resolved
.../io/quarkus/spring/cloud/config/client/runtime/SpringCloudConfigServerClientGatewayTest.java
Outdated
Show resolved
Hide resolved
84c8b2e
to
851bae4
Compare
851bae4
to
15cdc7d
Compare
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.
LGTM, it would be nice to add a guide showing how to use it (and add the link to the quarkus-extension.yaml
) when possible
Yes absolutely, that's on my list to be done before 1.3 goes out |
@gsmet is this OK for you as well? |
Curious if we get this in time for 1.3.0.Alpha2? |
That has my +1 😉 |
Fixes: #5662