-
Notifications
You must be signed in to change notification settings - Fork 178
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
INTMDB-28: Added Event Triggers Realm #476
Conversation
@coderGo93 added apix to review. Reminder to share PRs in Slack as we discussed. Also tests failed. |
@themantissa thank you and yes because I'm a waiting a pr in realm client to be merged to master and then pull the changes in go modules and it will pass the test |
@tsedgwick though you'd want to see (and perhaps comment on/review) the PR for the work in Terraform. |
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.
Looking good, I have added a question for my own learning.
go.sum
Outdated
go.mongodb.org/realm v0.0.0-20210604190232-4d3dfc67ed71 h1:2jY3qOwzS8AQMRtuGxs8y/k1FRGWQHfvrrtEk0X+61Y= | ||
go.mongodb.org/realm v0.0.0-20210604190232-4d3dfc67ed71/go.mod h1:Tru1+aHka6+4uXYigPKoNySbNWgtkfsanVddwmcqvOM= | ||
go.mongodb.org/realm v0.0.0-20210618220639-e70c919266f2 h1:3ukcBKIOun3QRMZzdVRCU/7uVhjR7XQsdD/cCH5V8So= | ||
go.mongodb.org/realm v0.0.0-20210618220639-e70c919266f2/go.mod h1:Tru1+aHka6+4uXYigPKoNySbNWgtkfsanVddwmcqvOM= |
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.
[q] Why does go.sum mentions 2 versions of go.mongodb.org/realm
? When only go.mongodb.org/realm v0.0.0-20210618220639-e70c919266f2
is present in go.mod?
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.
That looks like go mod tidy
might need to be run to remove the duplicates, unless the reference is coming in from another lib.
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.
good eye @threebee , just pushed with vendor updated, thank you
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.
Overall lgtm but some small docs edits and test stuff.
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! Thank you for the edits.
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 if test passes. I personally found this PR kind of too big to review.
@threebee do you think it would have helped to do the changes for the URI in one PR and the actual Trigger add in another? I agree the combined made for a large PR! fyi @coderGo93 |
@threebee The tests for trigger are coded to be skipped because it requires to be available always for app realm since there's no a resource to create a realm app, also to load a sample dataset in cluster since it requires to link the database name and collection name, what do you think? @themantissa . Yeah the PR is kinda big because of implementation of the second client instead of only atlas but I did that way because it seems safer to avoid any breaking since once it's merged, the other "old" PRs must be rebased to avoid an error that client type is wrong so in that way, if most of the tests of atlas passed it means it works the new implementation, obviously there's a chance that it will fail some testacc like before but it's expected since it hasn't fixed yet |
@coderGo93 Thank you for explanation. Feel free to merge, my comment is non blocking. |
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 just check for the changes you need to do before merging
…nfig match and project
Description
Link to any related issue(s):
Type of change:
Required Checklist:
Further comments
Waiting for a PR of realm client to be merged then pull the changes so it can pass the normal tests