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

feat: add devlake-config update method #1176

Merged
merged 2 commits into from
Oct 20, 2022

Conversation

warren830
Copy link
Contributor

@warren830 warren830 commented Oct 16, 2022

Signed-off-by: Yingchu Chen yingchu.chen@merico.dev

Pre-Checklist

Note: please complete ALL items in the following checklist.

  • I have read through the CONTRIBUTING.md documentation.
  • My code has the necessary comments and documentation (if needed).
  • I have added relevant tests

Description

  1. modified the definition of Connection and comment RenderAuthConfig
  2. add devlake-config UpdateConfig

image

as we can see, when we changed the config, devlake processed requests from stream as expected

@warren830 warren830 requested a review from a team as a code owner October 16, 2022 04:04
@warren830 warren830 force-pushed the feat-devlake-config-update branch from d3ddcac to e1bb649 Compare October 16, 2022 05:33
@daniel-hutao daniel-hutao self-requested a review October 17, 2022 05:49
Copy link
Member

@daniel-hutao daniel-hutao left a comment

Choose a reason for hiding this comment

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

@warren830 Thanks for your contributions! I've left some comments here.

internal/pkg/plugin/devlakeconfig/devlakeconfig.go Outdated Show resolved Hide resolved
pkg/util/downloader/resource_test.go Outdated Show resolved Hide resolved
internal/pkg/plugin/devlakeconfig/devlakeconfig.go Outdated Show resolved Hide resolved
internal/pkg/plugin/devlakeconfig/devlakeconfig.go Outdated Show resolved Hide resolved
internal/pkg/plugin/devlakeconfig/devlakeconfig.go Outdated Show resolved Hide resolved
internal/pkg/plugin/devlakeconfig/devlakeconfig.go Outdated Show resolved Hide resolved
@daniel-hutao
Copy link
Member

@warren830 Please take a look at this pr: #1181

I refactored the State/Resource in that pr.

@warren830 warren830 force-pushed the feat-devlake-config-update branch from e1bb649 to bc7fa80 Compare October 19, 2022 06:51
Signed-off-by: Yingchu Chen <yingchu.chen@merico.dev>
@warren830 warren830 force-pushed the feat-devlake-config-update branch 2 times, most recently from bea3cb2 to a6d3fef Compare October 19, 2022 08:05
Signed-off-by: Daniel Hu <tao.hu@merico.dev>
@daniel-hutao daniel-hutao force-pushed the feat-devlake-config-update branch from a6d3fef to 76e7569 Compare October 19, 2022 08:08
@warren830 warren830 force-pushed the feat-devlake-config-update branch from 76e7569 to 0716a34 Compare October 19, 2022 08:08
@IronCore864 IronCore864 merged commit 30cf3af into devstream-io:main Oct 20, 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.

3 participants