Skip to content

CAMEL-23637: camel-jbang - TUI add Run Infra Service action to F2 menu#23607

Merged
davsclaus merged 1 commit into
mainfrom
CAMEL-23637
May 28, 2026
Merged

CAMEL-23637: camel-jbang - TUI add Run Infra Service action to F2 menu#23607
davsclaus merged 1 commit into
mainfrom
CAMEL-23637

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Add "Run Infra Service..." action to the TUI F2 actions menu (User Actions group, after "Run an example...")
  • Opens a browser listing all ~71 available test infrastructure services from the catalog
  • Already-running services shown dimmed with "(running)" and are non-selectable
  • Type-ahead search: press a letter to jump to first service starting with that letter
  • After selecting a service, a port dialog allows optional port configuration and implementation selection (for services with multiple implementations)
  • Launches via camel infra run <alias> [impl] --background [--port N]
  • Word-wrapped descriptions matching the example browser style

Test plan

  • F2 → "Run Infra Service..." opens browser with full service list
  • Already-running services shown dimmed with "(running)", not selectable
  • Type-ahead: press k jumps to kafka, p jumps to postgres, etc.
  • Select a service → port dialog appears with optional port input
  • For services with multiple implementations, left/right arrows cycle implementations
  • Leave port empty + Enter → launches with default port
  • Type port + Enter → launches with custom port
  • Esc from port dialog → back to browser, Esc from browser → back to F2

Claude Code on behalf of Claus Ibsen

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions github-actions Bot added the dsl label May 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • dsl/camel-jbang/camel-jbang-plugin-tui
All tested modules (2 modules)
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: Launcher :: Container

⚙️ View full build and test results

@davsclaus davsclaus merged commit 51a65ad into main May 28, 2026
6 checks passed
@davsclaus davsclaus deleted the CAMEL-23637 branch May 28, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant