-
Notifications
You must be signed in to change notification settings - Fork 295
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
Implement patching remote config #1007
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly minor comments 👍
Disclaimer: I left the gql implementation for other reviewer. I checked only Botkube core source-code.
pkg/config/manager_remote.go
Outdated
} | ||
|
||
func (m *RemoteConfigPersistenceManager) PersistActionEnabled(ctx context.Context, name string, enabled bool) error { | ||
panic("Implement me") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
panic("Implement me") | |
return errors.New("PersistActionEnabled is not implemented for GQL manager") |
but why it was not covered?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backend doesn't support actions yet
675a0cb
to
e741d93
Compare
@@ -0,0 +1,97 @@ | |||
package remote |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mszostok any better better place for remote API objects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For m it's fine 👍
76b1fe1
to
7feb2fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 👍 Please only fix test issues before merging.
@@ -0,0 +1,97 @@ | |||
package remote |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For m it's fine 👍
Co-authored-by: Mateusz Szostok <szostok.mateusz@gmail.com>
Co-authored-by: Mateusz Szostok <szostok.mateusz@gmail.com>
Co-authored-by: Mateusz Szostok <szostok.mateusz@gmail.com>
Co-authored-by: Mateusz Szostok <szostok.mateusz@gmail.com>
16a3703
to
ca20cb3
Compare
Description
Changes proposed in this pull request:
Testing
Deploy backend with instructions from cloud PR.
Run botkube
go run cmd/botkube/main.go
Related issue(s)
https://github.com/kubeshop/botkube-cloud/issues/176