Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

astraea-974 Implement BalancerHandler post request #1178

Merged
merged 3 commits into from
Dec 8, 2022

Conversation

g1geordie
Copy link
Contributor

@g1geordie g1geordie commented Nov 27, 2022

[JSON][WEB] Implement BalancerHandler post request by Jackson
ref #974

[JSON][WEB] Implement BalancerHandler post request by Jackson
# Conflicts:
#	app/src/main/java/org/astraea/app/web/BalancerHandler.java
public void setBalancer(String balancer) {
this.balancer = balancer;
}

public void setBalancerConfig(Map<String, String> balancerConfig) {
Copy link
Contributor

Choose a reason for hiding this comment

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

這個只有測試使用,我們可否簡化一下程式碼,把setter都移除,讓測試端直接操作內部member就好?

Copy link
Contributor

Choose a reason for hiding this comment

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

這個我在下一隻PR處理好了,整體看起來不錯了,我先合併

@chia7712 chia7712 merged commit ae1944f into opensource4you:main Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants