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/20 17:55:08 UTC

[PR] CAMEL-23573: camel-tui - Refactor CamelMonitor into per-tab classes [camel]

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

   ## Summary
   
   - Extract the 6,900-line `CamelMonitor` into focused per-tab classes behind a `MonitorTab` interface, reducing it to 2,722 lines
   - Each tab (Log, Routes, Consumers, Endpoints, HTTP, Health, History, CircuitBreaker) now owns its own key handling, rendering, and footer hints
   - Shared state and utility methods live in `MonitorContext`; inner data classes (IntegrationInfo, RouteInfo, etc.) promoted to package-private top-level files
   - CamelMonitor retains the overview tab, event dispatch loop, and data refresh logic
   - Pure refactoring — no behavioral changes
   
   ## Test plan
   
   - [x] Builds cleanly with `mvn install -DskipTests`
   - [x] Manually tested `camel monitor` — all 9 tabs render and respond to keys correctly
   - [x] Infra support (test-infra services) works as before
   
   
   🤖 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] CAMEL-23573: camel-tui - Refactor CamelMonitor into per-tab classes [camel]

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


-- 
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] CAMEL-23573: camel-tui - Refactor CamelMonitor into per-tab classes [camel]

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

   :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] CAMEL-23573: camel-tui - Refactor CamelMonitor into per-tab classes [camel]

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

   <!-- 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/26180267415)


-- 
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