Skip to content
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: Made ConfigurationServiceOverrider to accept dependent resource factory #2175

Merged

Conversation

rameshmalla
Copy link
Contributor

This PR is a follow-up to #2166.

The idea here is to modify ConfigurationServiceOverrider to accept implementations of DependentResourceFactory. This modification can then be utilized by OperatorAutoConfiguration in josdk-spring-boot-starte to inject a Spring-aware DependentResourceFactory.

Note: I made this change with a high-level understanding of the codebase. I am open to learning and adjusting the changes based on suggestions if they do not align with the future plans of the library.

@rameshmalla rameshmalla force-pushed the dependent-resource-factory-input branch from 65b12af to 157d74e Compare December 24, 2023 07:50
Ramesh Malla and others added 3 commits December 24, 2023 08:54
@rameshmalla
Copy link
Contributor Author

Hi @csviri I fixed the code format issue, if it's ok with you could you approve the workflows.

Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @rameshmalla

@rameshmalla
Copy link
Contributor Author

👍

@csviri csviri requested a review from metacosm December 28, 2023 18:32
Copy link
Collaborator

@metacosm metacosm left a comment

Choose a reason for hiding this comment

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

Thank you!

@metacosm metacosm merged commit 0e3886b into operator-framework:main Dec 29, 2023
22 checks passed
@csviri csviri linked an issue Jan 8, 2024 that may be closed by this pull request
csviri pushed a commit that referenced this pull request Jan 8, 2024
…ctory (#2175)

* feat:Made ConfigurationServiceOverrider to accept dependent resource factory

Signed-off-by: Ramesh Malla <[email protected]>

* Code refactor

Signed-off-by: Ramesh Malla <[email protected]>

* Format code

Signed-off-by: Ramesh Malla <[email protected]>

---------

Signed-off-by: Ramesh Malla <[email protected]>
Co-authored-by: Ramesh Malla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possibility to create DependentResources via custom Factory
3 participants