René's URL Explorer Experiment


Title: refactor: resolve the informer target client without a downcast by csviri · Pull Request #3548 · operator-framework/java-operator-sdk · GitHub

Open Graph Title: refactor: resolve the informer target client without a downcast by csviri · Pull Request #3548 · operator-framework/java-operator-sdk

X Title: refactor: resolve the informer target client without a downcast by csviri · Pull Request #3548 · operator-framework/java-operator-sdk

Description: InformerManager is generic over C extends Informable, but getTargetClient type-tested for InformerEventSourceConfiguration to find out whether a specific (e.g. remote cluster) client was configured. Informable has two implementors and only one could answer the question, so a third configuration type wanting its own client would be ignored silently rather than failing to compile. Move the default getKubernetesClient() up from InformerEventSourceConfiguration to Informable and let InformerManager ask the configuration directly. The default still returns Optional.empty(), so existing implementations are unaffected. As a side effect the ConfigurationService client is now only created when no specific client is configured, instead of being created and then discarded. Quality-only change: no intended behavior difference. Cut from next and touches a disjoint set of files from the sibling cleanup PRs, so it can be merged independently and in any order. Verified on this branch alone: mvn -o -pl operator-framework-core,operator-framework-junit -am test (693 core + 6 junit tests, no failures) and mvn spotless:check.

Open Graph Description: InformerManager is generic over C extends Informable, but getTargetClient type-tested for InformerEventSourceConfiguration to find out whether a specific (e.g. remote cluster) client was configured...

X Description: InformerManager is generic over C extends Informable, but getTargetClient type-tested for InformerEventSourceConfiguration to find out whether a specific (e.g. remote cluster) client was configured...

Opengraph URL: https://github.com/operator-framework/java-operator-sdk/pull/3548

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c6797f38-a48a-b71f-c6e8-a7cae1562ba6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8B8:328071:5AFDF9:7C5C02:6AED5DEC
html-safe-nonce62112044723951841519a6ff51bd42325a9ab759a6942db3740e929de615d76d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEI4OjMyODA3MTo1QUZERjk6N0M1QzAyOjZBRUQ1REVDIiwidmlzaXRvcl9pZCI6IjQ0OTY0MDk1NDg5NjgyNTQ5NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccb5c26f2dd40b8b7abed3c6b9cc5cdc71ecb201056c817fec416d9900c54b99c
hovercard-subject-tagpull_request:4228216785
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/operator-framework/java-operator-sdk/pull/3548/files
twitter:imagehttps://avatars.githubusercontent.com/u/5443269?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5443269?s=400&v=4
og:image:altInformerManager is generic over C extends Informable, but getTargetClient type-tested for InformerEventSourceConfiguration to find out whether a specific (e.g. remote cluster) client was configured...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/operator-framework/java-operator-sdk git https://github.com/operator-framework/java-operator-sdk.git
octolytics-dimension-user_id38202270
octolytics-dimension-user_loginoperator-framework
octolytics-dimension-repository_id188592933
octolytics-dimension-repository_nwooperator-framework/java-operator-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id188592933
octolytics-dimension-repository_network_root_nwooperator-framework/java-operator-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/operator-framework/java-operator-sdk/pull/3548/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foperator-framework%2Fjava-operator-sdk%2Fpull%2F3548%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foperator-framework%2Fjava-operator-sdk%2Fpull%2F3548%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=operator-framework%2Fjava-operator-sdk
Reloadhttps://github.com/operator-framework/java-operator-sdk/pull/3548/files
Reloadhttps://github.com/operator-framework/java-operator-sdk/pull/3548/files
Reloadhttps://github.com/operator-framework/java-operator-sdk/pull/3548/files
operator-frameworkhttps://github.com/operator-framework
java-operator-sdkhttps://github.com/operator-framework/java-operator-sdk
Codehttps://github.com/operator-framework/java-operator-sdk
Issues49 (49)https://github.com/operator-framework/java-operator-sdk/issues
Pull requests11 (11)https://github.com/operator-framework/java-operator-sdk/pulls
Discussionshttps://github.com/operator-framework/java-operator-sdk/discussions
Actionshttps://github.com/operator-framework/java-operator-sdk/actions
Projectshttps://github.com/operator-framework/java-operator-sdk/projects
Security and qualityhttps://github.com/operator-framework/java-operator-sdk/security
Insightshttps://github.com/operator-framework/java-operator-sdk/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Foperator-framework%2Fjava-operator-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Foperator-framework%2Fjava-operator-sdk%2Fissues%2Fnew%2Fchoose
csvirihttps://github.com/csviri
operator-framework:nexthttps://github.com/operator-framework/java-operator-sdk/tree/next
csviri:informer-target-client-lookuphttps://github.com/csviri/java-operator-sdk/tree/informer-target-client-lookup
Conversation 4 https://github.com/operator-framework/java-operator-sdk/pull/3548
Commits 1 https://github.com/operator-framework/java-operator-sdk/pull/3548/commits
Checks 28 https://github.com/operator-framework/java-operator-sdk/pull/3548/checks
Files changed https://github.com/operator-framework/java-operator-sdk/pull/3548/files
Please reload this pagehttps://github.com/operator-framework/java-operator-sdk/pull/3548/files
refactor: resolve the informer target client without a downcast https://github.com/operator-framework/java-operator-sdk/pull/3548/files#top
Show all changes 1 commit https://github.com/operator-framework/java-operator-sdk/pull/3548/files
0c7a1bb refactor: resolve the informer target client without a downcast csviri Aug 7, 2026 https://github.com/operator-framework/java-operator-sdk/pull/3548/commits/0c7a1bbd4edca356e4e13b82db8061935a6aa5d9
Clear filters https://github.com/operator-framework/java-operator-sdk/pull/3548/files
Please reload this pagehttps://github.com/operator-framework/java-operator-sdk/pull/3548/files
Please reload this pagehttps://github.com/operator-framework/java-operator-sdk/pull/3548/files
Informable.java https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-dfba4fe3f3083d881727dc5a5834b8c7a4bf4c9599d77a93d55e66b3d356c572
InformerEventSourceConfiguration.java https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-c31cdeabb7bbce5d9b3a514cc793cddf136b6432f4e133d905ec32172e8fc4fb
InformerManager.java https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-9103a9e0ff0a050aa36f896a605240d6b07ec464171431b6976e62b758906412
operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/Informable.javahttps://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-dfba4fe3f3083d881727dc5a5834b8c7a4bf4c9599d77a93d55e66b3d356c572
View file https://github.com/csviri/java-operator-sdk/blob/0c7a1bbd4edca356e4e13b82db8061935a6aa5d9/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/Informable.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/operator-framework/java-operator-sdk/pull/3548/{{ revealButtonHref }}
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-dfba4fe3f3083d881727dc5a5834b8c7a4bf4c9599d77a93d55e66b3d356c572
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-dfba4fe3f3083d881727dc5a5834b8c7a4bf4c9599d77a93d55e66b3d356c572
...ava/io/javaoperatorsdk/operator/api/config/informer/InformerEventSourceConfiguration.javahttps://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-c31cdeabb7bbce5d9b3a514cc793cddf136b6432f4e133d905ec32172e8fc4fb
View file https://github.com/csviri/java-operator-sdk/blob/0c7a1bbd4edca356e4e13b82db8061935a6aa5d9/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/informer/InformerEventSourceConfiguration.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/operator-framework/java-operator-sdk/pull/3548/{{ revealButtonHref }}
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-c31cdeabb7bbce5d9b3a514cc793cddf136b6432f4e133d905ec32172e8fc4fb
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-c31cdeabb7bbce5d9b3a514cc793cddf136b6432f4e133d905ec32172e8fc4fb
...in/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerManager.javahttps://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-9103a9e0ff0a050aa36f896a605240d6b07ec464171431b6976e62b758906412
View file https://github.com/csviri/java-operator-sdk/blob/0c7a1bbd4edca356e4e13b82db8061935a6aa5d9/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerManager.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/operator-framework/java-operator-sdk/pull/3548/{{ revealButtonHref }}
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-9103a9e0ff0a050aa36f896a605240d6b07ec464171431b6976e62b758906412
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-9103a9e0ff0a050aa36f896a605240d6b07ec464171431b6976e62b758906412
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-9103a9e0ff0a050aa36f896a605240d6b07ec464171431b6976e62b758906412
https://github.com/operator-framework/java-operator-sdk/pull/3548/files#diff-9103a9e0ff0a050aa36f896a605240d6b07ec464171431b6976e62b758906412
Please reload this pagehttps://github.com/operator-framework/java-operator-sdk/pull/3548/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.