-
Notifications
You must be signed in to change notification settings - Fork 114
Read-only client in webhooks only mode #206
Read-only client in webhooks only mode #206
Conversation
/cc @adrianludwin |
ded0159
to
414ad55
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.
Awesome change :) Just a few suggestions
This appears like a more robust implementation of the webhooks only mode than the current one. It ensures that the client provided to all components are not able to perform any write operations towards the API. Tested: Ran both unit-tests ('make test') and integration test ('make test-e2e') successfully. The integration tests were verified both in default and HA mode.
414ad55
to
683a23b
Compare
@adrianludwin I have addressed all your comments. PTAL! |
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.
I like it! Thanks!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adrianludwin, erikgb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This appears like a more robust implementation of the webhooks only mode than the current one. It ensures that the client provided to all components are not able to perform any write operations towards the API.
Tested: Ran both unit-tests ('make test') and integration test ('make test-e2e') successfully. The integration tests were verified both in default and HA mode.
Fixes #198, fixes #195