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 providers to space/info #862

Merged
merged 2 commits into from
Aug 22, 2023
Merged

feat: add providers to space/info #862

merged 2 commits into from
Aug 22, 2023

Conversation

travis
Copy link
Member

@travis travis commented Aug 16, 2023

I believe we currently don't have any way for an agent to figure out which providers a space is registered to - add a list of providers to space/info to enable this in the CLI and w3console

I believe we currently don't have any way for an agent to figure out which providers a space is registered to - add a list of providers to `space/info` to enable this in the CLI and w3console
Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

LGTM 💪

@travis travis merged commit ac72921 into main Aug 22, 2023
3 checks passed
@travis travis deleted the feat/space-info-providers branch August 22, 2023 16:58
travis added a commit that referenced this pull request Aug 22, 2023
🤖 I have created a release *beep* *boop*
---


##
[5.1.0](upload-api-v5.0.0...upload-api-v5.1.0)
(2023-08-22)


### Features

* add providers to space/info
([#862](#862))
([ac72921](ac72921))
* add subscriptions to CustomerGetSuccess
([#863](#863))
([dd2e77c](dd2e77c))
* change "total" to "limit"
([#867](#867))
([8295070](8295070))


### Bug Fixes

* re-enable upload-api tests
([#864](#864))
([d76a6af](d76a6af))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Travis Vachon <travis.vachon@protocol.ai>
travis added a commit to storacha/w3infra that referenced this pull request Aug 31, 2023
…lers (#220)

`consumer/get` required wiring up the space metrics table in the
upload-api stack to get space allocation metrics, which we call
"allocation" in w3admin. Currently just returning 1 billion as the
"total" space for all consumers since we don't currently check anyway,
but we should figure out where this lives when we tackle billing in the
near future.

Also implement `getStorageProviders` per
storacha/w3up#862

Also add `subscriptions` to the `customer/get` response, per
storacha/w3up#863

---------

Co-authored-by: Vasco Santos <santos.vasco10@gmail.com>
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