-
Notifications
You must be signed in to change notification settings - Fork 218
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
feat: Make @Configured, @GradualRetry and @RateLimited Inherited (#2091) #2092
feat: Make @Configured, @GradualRetry and @RateLimited Inherited (#2091) #2092
Conversation
...io/javaoperatorsdk/operator/api/config/dependent/DependentResourceConfigurationResolver.java
Outdated
Show resolved
Hide resolved
50b715e
to
1545e47
Compare
Not sure why the edit: the links in contributing doc to code style do not work |
@BramMeerten running just |
1545e47
to
917752d
Compare
@csviri Updated it, noticed one test is failing |
917752d
to
746f34c
Compare
I don't think this should have been closed, @csviri. |
Sorry this was a mistake. |
Ahh, I know what happened, merged the next into main, therefor the next branch branch was deleted |
Yeah, that's what I thought as well, just wanted to make sure you were aware of it :) |
@BramMeerten do you plan to proceed with this issue? |
@csviri Yes, sorry had a very busy week. I probably won't have time until the weekend |
@BramMeerten sure, no hury, thank you! |
…rator-framework#2091) Signed-off-by: Bram Meerten <bram.mee@gmail.com>
746f34c
to
2512336
Compare
@csviri this is ready now to be reviewed. In my first version I made Step 1First a converter is registered for
Step 2Configuration is extracted from
Step 2.a
Step 2.b
Step 2.c
|
One check (integration_tests (11, v1.25.14) failed because "The operation was canceled." but tests were successful The other check (sample_operators_tests) works locally on my laptop and I don't think my changes impact these tests. So not sure what is happening. |
Hi Bram, the failing tests are currently under investigation, not relevant for your PR. |
…) (#2092) Signed-off-by: Bram Meerten <bram.mee@gmail.com> Co-authored-by: Attila Mészáros <csviri@gmail.com> Signed-off-by: Attila Mészáros <csviri@gmail.com>
…) (#2092) Signed-off-by: Bram Meerten <bram.mee@gmail.com> Co-authored-by: Attila Mészáros <csviri@gmail.com>
…) (#2092) Signed-off-by: Bram Meerten <bram.mee@gmail.com> Co-authored-by: Attila Mészáros <csviri@gmail.com>
…) (#2092) Signed-off-by: Bram Meerten <bram.mee@gmail.com> Co-authored-by: Attila Mészáros <csviri@gmail.com> Signed-off-by: Attila Mészáros <csviri@gmail.com>
Noticed that for
@Configured
there already was a test with an annotation on a superclass (BaseConfigurationServiceTest::configuringFromCustomAnnotationsShouldWork
). Custom code was written inDependentResourceConfigurationResolver.java
to make this work. But seems unneeded when@Configured
is inherited.