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

[content-service] Define UsageReportService.DownloadURL rpc #12300

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

easyCZ
Copy link
Member

@easyCZ easyCZ commented Aug 23, 2022

Description

As part of marking Workspace Instances as already billed, we'll need to download the latest report an invoice is based on, and from that report mark all instances for that invoice as already billed for.

This PR adds the RPC definition without actually implementing it, that will come in subsequent PR.

What is the security model for content-service?

  • Is it possible for Workspaces to interact with the content service directly?
  • What prevents the caller from asking for a report without credentials?

Related Issue(s)

How to test

NONE

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@easyCZ easyCZ requested a review from a team August 23, 2022 09:24
@easyCZ easyCZ force-pushed the mp/content-get-download-url branch 3 times, most recently from 61355ae to b5a7a2f Compare August 24, 2022 08:11
@easyCZ
Copy link
Member Author

easyCZ commented Aug 24, 2022

/werft run

👍 started the job as gitpod-build-mp-content-get-download-url.4
(with .werft/ from main)

@easyCZ easyCZ force-pushed the mp/content-get-download-url branch from b5a7a2f to 6c144ec Compare August 25, 2022 07:54
@easyCZ easyCZ changed the title [content-service] Define GetDownloadURL rpc [content-service] Define UsageReportService.DownloadURL rpc Aug 25, 2022
@easyCZ easyCZ requested a review from jenting August 25, 2022 07:55
@easyCZ easyCZ force-pushed the mp/content-get-download-url branch from 6c144ec to 85dc4fb Compare August 25, 2022 07:56
Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

LGTM

@roboquat roboquat merged commit 62bb1c4 into main Aug 26, 2022
@roboquat roboquat deleted the mp/content-get-download-url branch August 26, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants