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

Use same did across access / upload API services #183

Closed
Gozala opened this issue Nov 17, 2022 · 3 comments
Closed

Use same did across access / upload API services #183

Gozala opened this issue Nov 17, 2022 · 3 comments
Assignees

Comments

@Gozala
Copy link
Contributor

Gozala commented Nov 17, 2022

I think having two different did's and endpoints clients need to interact with is incidental complexity we're pushing onto users, it seems that only reason we're dealing with this is because we run some code in CF and other in AWS, but perhaps we can hide that under the curtain ?

E.g. with ucanto forwarding delegations is fairly trivial, perhaps we should consider doing that ? In the future we could probably even remove need to run code on AWS.

I don't know what is best compromise here, but I do think we should not neglect this

Parts

@Gozala Gozala changed the title can we use same did across access / upload API services Use same did across access / upload API services Nov 18, 2022
@Gozala
Copy link
Contributor Author

Gozala commented Nov 18, 2022

We had a call today about this and I believe we came to following conclusion:

  1. We should do it before we go into production.
  2. We should not do it in phase 1 to keep things simple.
  3. We will evaluate our options to do what makes most sense.

Then @olizilla had pretty cool suggestion, which was:

  1. Why don't we use same keypair across two endpoints so they have same DID
  2. Why don't we just add DNS route that simply resolves to AWS endpoint

If we do ☝️ we'll make our clients agnostic of changes we'll do in the future. Even if we decide to host all of the capabilities under the same route in the future, we'll just point that other DNS route to the same endpoint and old clients will continue to work as expected.

I think this seems like a small enough task that we can tackle sooner that later, without us having to change any of the code.

@gobengo
Copy link
Contributor

gobengo commented Dec 12, 2022

Working toward milestone

Future (not now)

  • unify the ucanto http service URLs so clients don't have to manage one per w3 service, but instead just one per w3 platform environment (usually only 1 when env=production)

@gobengo
Copy link
Contributor

gobengo commented Jan 5, 2023

I think this is done

@gobengo gobengo closed this as completed Jan 5, 2023
Peeja pushed a commit to storacha/upload-service that referenced this issue Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[3.0.1](storacha/w3ui@solid-uploader-v3.0.0...solid-uploader-v3.0.1)
(2022-12-15)


### Bug Fixes

* update dependencies
([996871f](storacha/w3ui@996871f))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alan Shaw <[email protected]>
Peeja pushed a commit to storacha/upload-service that referenced this issue Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[3.0.1](storacha/w3ui@solid-uploader-v3.0.0...solid-uploader-v3.0.1)
(2022-12-15)


### Bug Fixes

* update dependencies
([c4752b0](storacha/w3ui@c4752b0))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alan Shaw <[email protected]>
fforbeck added a commit to storacha/upload-service that referenced this issue Feb 5, 2025
### Changes
- Using the correct gateway host

### Related Issues
- storacha/project-tracking#260
fforbeck pushed a commit to storacha/upload-service that referenced this issue Feb 5, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.17.6](storacha/console@w3console-v1.17.5...w3console-v1.17.6)
(2025-01-13)


### Bug Fixes

* using the correct gateway host
([storacha#183](storacha/console#183))
([3febe4a](storacha/console@3febe4a))

---
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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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

No branches or pull requests

3 participants