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

release/0.5: adopt new divviup-api API #2151

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

tgeoghegan
Copy link
Contributor

The PRs related to divviup/divviup-api#542 implement the new concept of "collector credential". This entails changes to the API for provisioning tasks via divviup-api that we use in e2e integration tests. On release/0.5, we don't use the divviup-client crate, so we update the client baked into Janus.

Another curiosity is that while divviup-api will mint a collector auth token in response to our request to create a collector auth token, that auth token won't be used and instead the one generated by the Janus aggregator API gets plumbed back to us in the task creation request.

Part of #2071

The PRs related to divviup/divviup-api#542
implement the new concept of "collector credential". This entails
changes to the API for provisioning tasks via divviup-api that we use in
e2e integration tests. On `release/0.5`, we don't use the
`divviup-client` crate, so we update the client baked into Janus.

Another curiosity is that while `divviup-api` will mint a collector auth
token in response to our request to create a collector auth token, that
auth token won't be used and instead the one generated by the Janus
aggregator API gets plumbed back to us in the task creation request.

Part of #2071
@tgeoghegan tgeoghegan requested a review from a team as a code owner October 19, 2023 23:03
@tgeoghegan
Copy link
Contributor Author

I empirically verified that we can run the Janus integration tests against a divviup-api that includes divviup/divviup-api#583. But will that work in the website? In particular, if a subscriber creates a task in a Janus 0.5.x aggregator via the website, will they be handed the collector auth token generated by the Janus aggregator API, or the collector auth token generated by divviup-api?

@tgeoghegan tgeoghegan merged commit 7a8b3d6 into release/0.5 Oct 24, 2023
8 checks passed
@tgeoghegan tgeoghegan deleted the timg/0.5/divviup-api-collector-credential branch October 24, 2023 00:39
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.

3 participants