Skip to content

Add startTimestamp to context dev console#23541

Merged
davsclaus merged 1 commit into
mainfrom
context-dev-console-start-timestamp
May 26, 2026
Merged

Add startTimestamp to context dev console#23541
davsclaus merged 1 commit into
mainfrom
context-dev-console-start-timestamp

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Adds startTimestamp (epoch millis) to the context dev console JSON output, using CamelContext.getClock().get(ContextEvents.START).getCreated()
  • Adds Started: line to the text output showing the context start date
  • Uses the existing Clock API — no new APIs needed

Test plan

  • Compiles
  • CI green

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
@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 core label May 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • core/camel-console
All tested modules (13 modules)
  • Camel :: All Core Sync point
  • Camel :: Console
  • Camel :: DSL :: CLI Connector
  • Camel :: DSL :: CLI Debug
  • Camel :: Diagram
  • Camel :: JBang :: Console
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: Launcher :: Container
  • Camel :: YAML DSL :: Validator
  • Camel :: YAML DSL :: Validator Maven Plugin

⚙️ View full build and test results

Copy link
Copy Markdown
Contributor

@gnodet gnodet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, small change adding startTimestamp to the context dev console output. Uses ContextEvents.START clock for both text mode (human-readable date) and JSON mode (epoch millis). Null-safe with the if (startClock != null) guard. Preserves the existing uptime field.

LGTM.

Fully automatic review from Claude Code

@davsclaus davsclaus merged commit 10e3860 into main May 26, 2026
6 checks passed
@davsclaus davsclaus deleted the context-dev-console-start-timestamp branch May 26, 2026 20:49
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.

2 participants