-
Notifications
You must be signed in to change notification settings - Fork 83
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
CLOUDP-291622: Add delete command for Atlas Stream Processing PrivateLinks #3671
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.
I think just a question, everything else looks good!
"github.com/stretchr/testify/require" | ||
) | ||
|
||
func TestDeleteOpts_Run(t *testing.T) { |
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.
Does it make sense to have tests asserting the success and failure templates? I can see an argument that is validating the cli delete helper so feel free to tell me "no" 🙃
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 haven't found a clean way to check this in unit tests and we aren't verifying the output for other delete tests.
I added an additional test for the non-confirm delete case and we have an e2e test that verifies output for a successful delete.
0d5aedb
to
e6d8c11
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.
Lgtm
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
Proposed changes
Add the ability for users to delete a PrivateLink endpoint that is used with Stream Processing.
Jira ticket: CLOUDP-291622
Checklist
make fmt
and formatted my codeFurther comments
Example output