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

feat: add subscription receiver API #64

Merged
merged 3 commits into from
Jun 3, 2024
Merged

feat: add subscription receiver API #64

merged 3 commits into from
Jun 3, 2024

Conversation

mabdh
Copy link
Member

@mabdh mabdh commented May 30, 2024

Add APIs

  • POST /v1beta1/subscriptions/{subscription_id}/receivers
  • PUT /v1beta1/subscriptions/{subscription_id}/receivers/{receiver_id}
  • DELETE /v1beta1/subscriptions/{subscription_id}/receivers/{receiver_id}

Modify API

  • GET /v1beta1/subscriptions
    to return subscriptions where receiver labels / receiver id is in query

proto changes: goto/proton#103

@mabdh mabdh force-pushed the subscription-v2 branch 2 times, most recently from 89ee5e9 to 5478e27 Compare May 31, 2024 06:24
@mabdh mabdh force-pushed the subscription-v2 branch 4 times, most recently from 9ffa7c2 to 6922aba Compare May 31, 2024 08:44
internal/store/postgres/subscription.go Fixed Show fixed Hide fixed
internal/store/postgres/subscription.go Fixed Show fixed Hide fixed
internal/store/postgres/subscription.go Fixed Show fixed Hide fixed
internal/store/postgres/subscription.go Fixed Show fixed Hide fixed
@mabdh mabdh force-pushed the subscription-v2 branch 3 times, most recently from dc22472 to 39012ad Compare May 31, 2024 09:48
@mabdh mabdh requested a review from StewartJingga June 2, 2024 13:16
@mabdh mabdh marked this pull request as ready for review June 3, 2024 04:44
@mabdh mabdh merged commit 2477ff6 into main Jun 3, 2024
5 checks passed
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.

1 participant