You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/05/17 07:32:39 UTC

[PR] TUI: add p/P keys to start/stop/suspend/resume routes [camel]

davsclaus opened a new pull request, #23264:
URL: https://github.com/apache/camel/pull/23264

   ## Summary
   
   - On the **Routes tab**, `p` toggles start/stop and `P` toggles suspend/resume for the currently selected route. The footer shows context-sensitive hints based on route state:
     - Started → `p=stop`, `P=suspend`
     - Suspended → `p=start`, `P=resume`
     - Stopped → `p=start`
   - On the **Overview tab**, `p` toggles start/stop all routes for the selected integration (`stopAllRoutes` / `startAllRoutes`). The footer hint updates dynamically: `p=stop` when routes are running, `p=start` when all stopped.
   - Reuses the existing action file protocol (`{"action":"route","id":"<id>","command":"start|stop|suspend|resume"}`), with `id=*` for the all-routes Overview action.
   
   ## Test plan
   
   - [ ] Start a Camel integration with multiple routes
   - [ ] Open TUI and go to Routes tab, select a route
   - [ ] Press `p` — route stops; footer switches to `p=start`
   - [ ] Press `p` again — route starts; footer switches back to `p=stop`
   - [ ] Press `P` on a started route — route suspends; footer shows `P=resume`
   - [ ] Press `P` again — route resumes
   - [ ] Switch to Overview tab, select an integration
   - [ ] Press `p` — all routes stop; footer shows `p=start`
   - [ ] Press `p` again — all routes start; footer shows `p=stop`
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TUI: add p/P keys to start/stop/suspend/resume routes [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23264:
URL: https://github.com/apache/camel/pull/23264#issuecomment-4469758697

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: 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](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TUI: add p/P keys to start/stop/suspend/resume routes [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23264:
URL: https://github.com/apache/camel/pull/23264


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TUI: add p/P keys to start/stop/suspend/resume routes [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23264:
URL: https://github.com/apache/camel/pull/23264#issuecomment-4469809933

   <!-- ci-tested-modules -->
   :test_tube: **CI tested the following changed modules:**
   
   - `dsl/camel-jbang/camel-jbang-plugin-tui`
   
   <details><summary>All tested modules (2 modules)</summary>
   
   - Camel :: JBang :: Plugin :: TUI
   - Camel :: Launcher :: Container
   
   </details>
   
   ---
   :gear: [View full build and test results](https://github.com/apache/camel/actions/runs/25984741901)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org