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

*: reimplement dynamic config #2349

Merged
merged 6 commits into from
Apr 17, 2020
Merged

*: reimplement dynamic config #2349

merged 6 commits into from
Apr 17, 2020

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Apr 13, 2020

What problem does this PR solve?

What is changed and how it works?

This PR removes the original implementation and adds new APIs to register and get addresses of other components.

Release note

Remove config manager to let other components control their configuration by themselves

Check List

Tests

  • Unit test

@rleungx rleungx added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 13, 2020
@rleungx rleungx force-pushed the reimplement branch 4 times, most recently from dd67b77 to b43b0f4 Compare April 14, 2020 04:17
@rleungx rleungx added this to the v4.0.0-ga milestone Apr 14, 2020
@rleungx rleungx added component/pkg and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Apr 14, 2020
@rleungx
Copy link
Member Author

rleungx commented Apr 14, 2020

/run-all-tests

pkg/component/manager.go Outdated Show resolved Hide resolved
pkg/component/manager.go Outdated Show resolved Hide resolved
pkg/component/manager.go Show resolved Hide resolved
tests/dashboard/service_test.go Show resolved Hide resolved
@rleungx rleungx force-pushed the reimplement branch 2 times, most recently from ac3450c to f5bc492 Compare April 15, 2020 09:22
rleungx added 3 commits April 15, 2020 17:37
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx
Copy link
Member Author

rleungx commented Apr 15, 2020

/run-all-tests

Copy link
Member

@overvenus overvenus left a comment

Choose a reason for hiding this comment

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

Rest LGTM

server/api/component_test.go Show resolved Hide resolved
Signed-off-by: Ryan Leung <rleungx@gmail.com>
pkg/dashboard/adapter/manager.go Show resolved Hide resolved
pkg/component/manager_test.go Show resolved Hide resolved
server/cluster/cluster.go Outdated Show resolved Hide resolved
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Copy link
Member

@HunDunDM HunDunDM left a comment

Choose a reason for hiding this comment

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

LGTM

@rleungx
Copy link
Member Author

rleungx commented Apr 17, 2020

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 17, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Apr 17, 2020

Your auto merge job has been accepted, waiting for 2353

@sre-bot
Copy link
Contributor

sre-bot commented Apr 17, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Apr 17, 2020

@rleungx merge failed.

@rleungx
Copy link
Member Author

rleungx commented Apr 17, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Apr 17, 2020

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants