-
Notifications
You must be signed in to change notification settings - Fork 50
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
Update entities when provisioning config files #968
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.
lovely work with all the refactoring and test simplifying! most of these comments are nitpicks and method names suggestions, so nothing huge.
note: haven't reviewed the import.go
file and its tests yet
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, Lovro!
0e08369
to
99148d8
Compare
@hariso @maha-hajja I rebased the branch on top of main, the commits added since your review start with 3f1aaad. |
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.
lgtm
Description
This PR changes the behavior of the provisioning service to update entities instead of recreating them. This is needed to ensure that the correct connector lifecycle events are triggered.
A big chunk of the code changes in this PR constitutes new tests and refactoring of existing tests.
Fixes #962
Quick checks: