Skip to content

Conversation

@wardlican
Copy link
Contributor

Why are the changes needed?

In master-slave mode, requests from the slave node's OpenAPI will be automatically forwarded to the master node.

Close #3963.

Brief change log

Add the RequestForwarder class to intercept and forward requests in http.before.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

wardli added 21 commits October 29, 2025 17:49
@github-actions github-actions bot added module:ams-server Ams server module module:ams-optimizer AMS optimizer module module:common labels Nov 25, 2025
wardli added 3 commits November 25, 2025 16:19
# Conflicts:
#	amoro-ams/src/main/java/org/apache/amoro/server/dashboard/DashboardServer.java
#	amoro-ams/src/main/java/org/apache/amoro/server/table/DefaultTableService.java
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.

[Subtask]: Supports forwarding OpenAPI requests to the master node in master-slave mode.

1 participant