Skip to content
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

[query] topic api: support DELETE on /topic #1926

Merged
merged 2 commits into from
Sep 5, 2019

Conversation

schallert
Copy link
Collaborator

Users may need to delete m3msg topics.

What this PR does / why we need it:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing and/or backwards incompatible change?:

Added support for deleting m3msg topics in coordinator API

Does this PR require updating code package or user-facing documentation?:

None

@schallert schallert marked this pull request as ready for review September 5, 2019 03:43
@@ -94,21 +87,3 @@ func TestTopicGetHandler(t *testing.T) {
resp = w.Result()
require.Equal(t, http.StatusNotFound, resp.StatusCode)
}

func validateEqualTopicProto(t *testing.T, this, other topicpb.Topic) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meant to delete these tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah moved to common_test.go

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry just saw

@@ -0,0 +1,56 @@
// Copyright (c) 2018 Uber Technologies, Inc.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: 2019

Copy link
Collaborator

@benraskin92 benraskin92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@schallert schallert force-pushed the schallert/topic_delete_api branch from adb5630 to d7e5792 Compare September 5, 2019 14:13
@schallert schallert merged commit ef06251 into master Sep 5, 2019
@schallert schallert deleted the schallert/topic_delete_api branch September 5, 2019 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants