-
Notifications
You must be signed in to change notification settings - Fork 3
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
Port 9402 port api search identifier #79
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.
Great work 🤩
|
||
func (f *fixture) assertObjectsHandled(objects []struct{ kind, name string }) { | ||
assert.Eventually(f.t, func() bool { | ||
integrationKinds, err := f.portClient.GetIntegrationKinds(f.controllersHandler.stateKey) |
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.
Nice :)
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
pkg/jq/parser_test.go
Outdated
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.
add a test on search identifier
Description
What - Add support for search identifier feature
Why - Allows you to update entity without knowing its identifier
How - Refactor the code to allow run initial sync independently, which then can be used to evaluate and keep the identifiers while running initial sync to Port. The identifiers needed for the delete stale entities process at the end of the initial resync.
Type of change
Please leave one option from the following and delete the rest: