-
Notifications
You must be signed in to change notification settings - Fork 534
12141 - Storage Driver API #12182
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
Draft
jp-tosca
wants to merge
13
commits into
develop
Choose a base branch
from
storage-driver-endpoint
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+250
−203
Draft
12141 - Storage Driver API #12182
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d4e7f3d
First load for this branch, refactor of storage driver endpoint.
jp-tosca 73853c8
Added endpoint for allowed storage drivers
jp-tosca e26fdd1
Update for tests
jp-tosca f301c72
Merge remote-tracking branch 'origin/develop' into storage-driver-end…
jp-tosca 39f6a73
Update storage driver listing to include dataverse alias
jp-tosca 555adff
Update S3AccessIT to specify storage driver root in listStorageDriver…
jp-tosca 827f878
Update API endpoints in dataverses-datasets.rst to reflect correct st…
jp-tosca b40bd12
Add release notes for breaking changes in storage driver endpoints
jp-tosca 1f254a0
Refactor error handling in Dataverses API to use WrappedResponse for …
jp-tosca c4ec41e
Remove unused imports in Dataverses API for cleaner code
jp-tosca 7f069ca
Remove unused imports in Info.java for cleaner code
jp-tosca 3634db6
Fix typo in DeleteDataverseStorageDriverCommand instantiation and add…
jp-tosca 26cc48b
Update doc/release-notes/12141-storage-driver-endpoints.md
jp-tosca File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ### Breaking Changes | ||
|
|
||
| All the endpoints related to Storage Drivers have been moved out of the Admin API. | ||
|
|
||
| - The endpoints GET, PUT AND DELETE for `/api/admin/dataverse/{alias}/storageDriver` has been moved to `/api/dataverses/{alias}/storageDriver`. | ||
| - The endpoint `/api/admin/dataverse/storageDrivers` has been moved and renamed to `/api/dataverses/{alias}/allowedStorageDrivers`. Regarding the change of the name, this endpoint will in the future only display the storageDrivers that are allowed on the specified collection, as of now, it will display the entire list of available Drivers on the installation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This paragraph still says “Only accessible to superusers” but the new implementation in
Dataversesappears to allow any authenticated user with the relevant object permission (e.g.,EditDataverse) to set/reset the storage driver. Either enforce superuser-only access in the API or update this doc text to match the new authorization behavior.