Skip to content

fix(cmd): scope bean completion to selected domain - #97

Merged
nyg merged 1 commit into
masterfrom
codex/88-domain-aware-bean-completion
Sep 21, 2026
Merged

nyg merged 1 commit into
masterfrom
codex/88-domain-aware-bean-completion

Conversation

@nyg

@nyg nyg commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Bean completion includes beans from every domain even after a domain is selected. Scope the shared candidate query to the selected domain, preserving both fully qualified and short names. When no domain is selected, completion still offers fully qualified names from all domains.

Add seven integration cases covering bean, get -b/--bean, set -b/--bean, domain changes, and clearing the domain. The tests exercise console completion against a real JMX connection and reproduce the unwanted cross-domain suggestions before the fix.

Validation: JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-25.jdk/Contents/Home mvnd -B --no-transfer-progress clean verify passed with 352 unit tests and 85 integration/end-to-end tests.

Closes #88.

@sonarqubecloud

Copy link
Copy Markdown

@nyg
nyg merged commit 79d9f1c into master Sep 21, 2026
4 checks passed
@nyg
nyg deleted the codex/88-domain-aware-bean-completion branch September 21, 2026 17:44
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.

Bean autocompletion should take selected domain into account

1 participant