Skip to content

add missing declarative config resource providers #14222

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Jul 10, 2025

Fixes #14081

@zeitlinger zeitlinger self-assigned this Jul 10, 2025
@zeitlinger zeitlinger requested a review from a team as a code owner July 10, 2025 14:37
@zeitlinger zeitlinger marked this pull request as draft July 11, 2025 07:07
@zeitlinger zeitlinger force-pushed the declarative-config-resource-providers branch from f5600d0 to 6728f62 Compare July 15, 2025 15:22
@zeitlinger zeitlinger marked this pull request as ready for review July 15, 2025 16:09
@zeitlinger zeitlinger moved this from In Progress to Awaiting Review in Declarative Configuration: Java Jul 15, 2025
@zeitlinger
Copy link
Member Author

@laurit please have a look 😄

return create();
}

public Resource create() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be part of the public api?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JarResourceComponentProvider is in the internal package - so we need this to be public unless we do some tricks.

I actually don't mind it being in the public API - it signals that config properties are not needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if the detector decides later that it wants to look at config properties, but people are calling the method that doesn't pass in config properties?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point - fixed

@zeitlinger
Copy link
Member Author

@laurit can you check again?

@zeitlinger zeitlinger force-pushed the declarative-config-resource-providers branch from f283f17 to e99c20a Compare July 22, 2025 08:08
@zeitlinger
Copy link
Member Author

@laurit can you check again?

1 similar comment
@zeitlinger
Copy link
Member Author

@laurit can you check again?

@zeitlinger zeitlinger force-pushed the declarative-config-resource-providers branch from 3616ed0 to 78f8138 Compare August 16, 2025 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting Review
Development

Successfully merging this pull request may close these issues.

missing resource providers for declarative config
4 participants