-
Notifications
You must be signed in to change notification settings - Fork 1
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
Proposal for version 2 #24
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to address the open question about the use of URI for the providers. However, it is not blocking either. The rest looks good.
I like the use of references, which is a slightly different approach that we have done in the past and would probably be a good way to define spectral bands. But that's not relevant here. I'm not sure why |
Could be a string, if there's no way something could be hosted with the same URL on different storage providers? Not sure, would something like hosted on AWS US and AWS EU work? |
Out of discussions with @m-mohr and @matthewhanson :
|
That was your proposal, which I didn't agree with yet. Neither did Matt. We need to clarify the details. Just a type seems not enough to transmit information about the storage provider. I just don't understand how this should work with just a protocol. I'd need a more concrete proposal to understand how this may work.
Yes, we talked about the parameters, but we did not agree yet to move the existing properties all there. I understood it more as a free-form object for additional properties, i.e. in addition to what is in this PR. Additionally, we discussed whether storage:refs should be an array or string and that the endpoints discussed above should resolve to something useful, i.e. they should usually be the actual API endpoint, not a generic service webpage or so. |
I second this. The |
Co-authored-by: Phil Varner <[email protected]>
b3a21af
to
3cc6274
Compare
I completely reworked the PR to make a new proposal. Ideally we would define the general approach in this PR and then add the actual best practices per provider in separate PRs. The examples that I have right now are more to show how it's meant to work, not to define actual best practices for S3/AWS/Azure. Otherwise we'll probably never finish the PR itself... @matthewhanson @emmanuelmathot @fmigneault @philvarner PS: This is my last attempt to make something useful out of this extension. If we can't agree on something in the next weeks I consider this extension to be non-functional for many cases and I'll ditch it for my use cases in favor of a custom extensions per provider. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just minor comments.
@philvarner @matthewhanson any updates regarding the reviews? |
I just added a type field for validation / discriminator purposes. @fmigneault @emmanuelmathot and everyone else: Any last minute comments? I think we can merge soon once @matthewhanson made his review. |
This looks great, @m-mohr went over it with me this morning. I like the changes, big improvement over 1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice addition 👍
If there are still comments, please open issues. I'll release next week. Thanks everyone. |
@m-mohr coming in late ... feels pretty complex but since this is aimed at data providers and implementors, we can expect a decent level of technical competency. 👍🏼 |
This PR proposes version 2 of this extension and fixes most issues that are open.
It is meant to be a better, more universal and more lightweight approach based on the learnings from v1.
It also reworks the extension so that less duplication happens in assets based on the archtiecture in the authentication extension.
This is heavily breaking but I think this is required to make this a better extension that can fullfil all the various needs.
Ideally we would define the general approach in this PR and then add the actual best practices per provider in separate PRs. The examples that I have right now are more to show how it's meant to work, not to define actual best practices for S3/AWS/Azure. Otherwise we'll probably never finish the PR itself...
Please review the changes carefully:
See the changelog below:
Added
storage:schemes
,storage:ref
and Storage Scheme ObjectChanged
storage:schemes
and located in the Item Properties, Collections or Catalog metadatastorage:ref
Removed
storage:platform
,storage:region
,storage:requester_pays
andstorage:tier