Skip to content

chore(components): platform http endpoints resume#17931

Merged
squakez merged 1 commit intoapache:mainfrom
squakez:chore/CAMEL-22025
Apr 30, 2025
Merged

chore(components): platform http endpoints resume#17931
squakez merged 1 commit intoapache:mainfrom
squakez:chore/CAMEL-22025

Conversation

@squakez
Copy link
Contributor

@squakez squakez commented Apr 30, 2025

  • Reverted the change done in b19a5f6
  • Added a data structure to hold management endpoints

After the PR, the printout will result like:

2025-04-30 11:47:04.050  INFO 168627 --- [           main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 4.12.0-SNAPSHOT (camel-1) started in 458ms (build:0ms init:0ms start:458ms boot:1s740ms)
2025-04-30 11:47:04.052  INFO 168627 --- [           main] nt.platform.http.main.MainHttpServerUtil : HTTP endpoints summary
2025-04-30 11:47:04.053  INFO 168627 --- [           main] nt.platform.http.main.MainHttpServerUtil :     http://0.0.0.0:8080/hello              (GET)    
2025-04-30 11:47:04.053  INFO 168627 --- [           main] nt.platform.http.main.MainHttpServerUtil :     http://0.0.0.0:8080/observe/health     (GET)    (produce:application/json)
2025-04-30 11:47:04.054  INFO 168627 --- [           main] nt.platform.http.main.MainHttpServerUtil :     http://0.0.0.0:8080/observe/metrics    (GET)    (produce:text/plain; version=0.0.4; charset=utf-8)
2025-04-30 11:47:04.054  INFO 168627 --- [           main] nt.platform.http.main.MainHttpServerUtil : HTTP Management endpoints summary
2025-04-30 11:47:04.054  INFO 168627 --- [           main] nt.platform.http.main.MainHttpServerUtil :     http://0.0.0.0:9876/observe/health     (GET)    (produce:application/json)
2025-04-30 11:47:04.054  INFO 168627 --- [           main] nt.platform.http.main.MainHttpServerUtil :     http://0.0.0.0:9876/observe/metrics    (GET)    (produce:text/plain; version=0.0.4; charset=utf-8)

Notice that both service and management port will contain management endpoints for backward compatibility.

Closes CAMEL-22025

Description

Target

  • I checked that the commit is targeting the correct branch (Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

* Reverted the change done in b19a5f6
* Added a data structure to hold management endpoints

Closes CAMEL-22025
@github-actions
Copy link
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.

  • You can label PRs using build-all, build-dependents, 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.

@squakez squakez merged commit 6ddd897 into apache:main Apr 30, 2025
5 checks passed
@squakez squakez deleted the chore/CAMEL-22025 branch April 30, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments