aboutsummaryrefslogtreecommitdiff
path: root/src/api/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* [s3-checksum] implement x-amz-checksum-* headersAlex Auvolat2024-03-261-0/+3
|
* [sse-c] Implement SSE-C encryptionAlex Auvolat2024-03-071-0/+3
|
* Merge branch 'main' into next-0.10Alex Auvolat2024-03-041-0/+1
|\
| * [rel-0.9.3] Bump version to 0.9.3v0.9.3Alex Auvolat2024-03-041-1/+1
| |
| * [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2Alex Auvolat2024-03-011-1/+1
| |
| * [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token ↵Alex Auvolat2024-02-291-0/+1
| | | | | | | | checking
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-151-1/+2
|\|
| * [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-151-0/+1
| |
| * [fix-cargo-toml] fix cargo warnings in Cargo.toml filesfix-cargo-tomlAlex Auvolat2024-02-151-1/+1
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-131-35/+37
|\|
| * [dep-upgrade-202402] wip: port to http/hyper crates v1Alex Auvolat2024-02-051-1/+2
| |
| * [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-35/+36
| |
| * Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-1/+1
| |
* | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-111-1/+1
|/
* bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-1/+1
|
* cargo: add hyperlocal as a dependencynetworkException2023-09-291-0/+1
|
* update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-1/+1
|
* bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-1/+1
|
* garage/api: cargo: Updated idna dependency to 0.4.Jonathan Davies2023-08-281-1/+1
|
* api/Cargo.toml: Updated roxmltree to 0.18.Jonathan Davies2023-06-241-1/+1
|
* Declare garage crates using workspace.dependenciesJakub Jirutka2023-05-091-5/+5
| | | | | | | | This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
* api/Cargo.toml: Bumped quick-xml to version 0.26.Jonathan Davies2023-04-231-1/+1
|
* Prepare for v0.8.2Alex Auvolat2023-03-131-6/+6
|
* Cargo.toml: Loosen tracing dependency to just 0.1.Jonathan Davies2023-01-261-1/+1
|
* api/Cargo.toml: Updated idna from 0.2 to 0.3.Jonathan Davies2023-01-261-1/+1
|
* Cargo.toml: Updated base64 from 0.13 to 0.21.Jonathan Davies2023-01-261-1/+1
|
* api/Cargo.toml: Updated url from 2.1 to 2.3.Jonathan Davies2023-01-231-1/+1
|
* api/Cargo.toml: Updated httpdate from 0.3 to 1.0.Jonathan Davies2023-01-231-1/+1
|
* api/Cargo.toml: Updated pin-project to 1.0.12.Jonathan Davies2023-01-231-1/+1
|
* Bump everything to v0.8.1Alex Auvolat2023-01-021-6/+6
|
* cargo2nix unstable (patched), rust 1.63.0, nixpkgs 22.05 (32-bit builds are ↵Alex Auvolat2022-10-141-1/+1
| | | | broken)
* Faster GetObject workflow for getting entire objectsfaster-getAlex Auvolat2022-09-191-0/+1
|
* Merge branch 'main' into lx-perf-improvementsAlex Auvolat2022-09-081-9/+9
|\
| * Remove opentelemetry-otlp dep in api/Alex Auvolat2022-09-061-2/+0
| |
| * Bump versions to 0.8.0 (compatibility is broken already)Alex Auvolat2022-09-061-6/+6
| |
| * Allow building without Prometheus exporter (/metrics endpoint)Jakub Jirutka2022-09-061-2/+3
| | | | | | | | | | | | prometheus and opentelemetry-prometheus add 7 extra dependencies in total and increases the size of the garage binary by ~7 % (with fat LTO).
| * Make OTLP exporter optional via feature "telemetry-otlp"Jakub Jirutka2022-09-061-1/+2
| | | | | | | | | | opentelemetry-otlp add 48 (!) extra dependencies and increases the size of the garage binary by ~11 % (with fat LTO).
* | Compute hashes on dedicated threadsAlex Auvolat2022-07-291-4/+4
|/
* First version of admin API (#298)Alex2022-05-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Spec:** - [x] Start writing - [x] Specify all layout endpoints - [x] Specify all endpoints for operations on keys - [x] Specify all endpoints for operations on key/bucket permissions - [x] Specify all endpoints for operations on buckets - [x] Specify all endpoints for operations on bucket aliases View rendered spec at <https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/admin-api/doc/drafts/admin-api.md> **Code:** - [x] Refactor code for admin api to use common api code that was created for K2V **General endpoints:** - [x] Metrics - [x] GetClusterStatus - [x] ConnectClusterNodes - [x] GetClusterLayout - [x] UpdateClusterLayout - [x] ApplyClusterLayout - [x] RevertClusterLayout **Key-related endpoints:** - [x] ListKeys - [x] CreateKey - [x] ImportKey - [x] GetKeyInfo - [x] UpdateKey - [x] DeleteKey **Bucket-related endpoints:** - [x] ListBuckets - [x] CreateBucket - [x] GetBucketInfo - [x] DeleteBucket - [x] PutBucketWebsite - [x] DeleteBucketWebsite **Operations on key/bucket permissions:** - [x] BucketAllowKey - [x] BucketDenyKey **Operations on bucket aliases:** - [x] GlobalAliasBucket - [x] GlobalUnaliasBucket - [x] LocalAliasBucket - [x] LocalUnaliasBucket **And also:** - [x] Separate error type for the admin API (this PR includes a quite big refactoring of error handling) - [x] Add management of website access - [ ] Check that nothing is missing wrt what can be done using the CLI - [ ] Improve formatting of the spec - [x] Make sure everyone is cool with the API design Fix #231 Fix #295 Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/298 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* First implementation of K2V (#293)Alex2022-05-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Specification:** View spec at [this URL](https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/k2v/doc/drafts/k2v-spec.md) - [x] Specify the structure of K2V triples - [x] Specify the DVVS format used for causality detection - [x] Specify the K2V index (just a counter of number of values per partition key) - [x] Specify single-item endpoints: ReadItem, InsertItem, DeleteItem - [x] Specify index endpoint: ReadIndex - [x] Specify multi-item endpoints: InsertBatch, ReadBatch, DeleteBatch - [x] Move to JSON objects instead of tuples - [x] Specify endpoints for polling for updates on single values (PollItem) **Implementation:** - [x] Table for K2V items, causal contexts - [x] Indexing mechanism and table for K2V index - [x] Make API handlers a bit more generic - [x] K2V API endpoint - [x] K2V API router - [x] ReadItem - [x] InsertItem - [x] DeleteItem - [x] PollItem - [x] ReadIndex - [x] InsertBatch - [x] ReadBatch - [x] DeleteBatch **Testing:** - [x] Just a simple Python script that does some requests to check visually that things are going right (does not contain parsing of results or assertions on returned values) - [x] Actual tests: - [x] Adapt testing framework - [x] Simple test with InsertItem + ReadItem - [x] Test with several Insert/Read/DeleteItem + ReadIndex - [x] Test all combinations of return formats for ReadItem - [x] Test with ReadBatch, InsertBatch, DeleteBatch - [x] Test with PollItem - [x] Test error codes - [ ] Fix most broken stuff - [x] test PollItem broken randomly - [x] when invalid causality tokens are given, errors should be 4xx not 5xx **Improvements:** - [x] Descending range queries - [x] Specify - [x] Implement - [x] Add test - [x] Batch updates to index counter - [x] Put K2V behind `k2v` feature flag Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/293 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* Move block manager to separate moduleAlex Auvolat2022-03-231-0/+1
|
* Bump version to 0.7 because of incompatible NetappAlex Auvolat2022-03-141-4/+4
|
* Remove strum crate dependency; add protobuf nix dependencyAlex Auvolat2022-03-141-3/+0
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-141-1/+6
|
* Support for PostObject (#222)trinity-1686a2022-02-211-0/+3
| | | | | | | | | | | | | | | | | | Add support for [PostObject](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html) - [x] routing PostObject properly - [x] parsing multipart body - [x] validating signature - [x] validating policy - [x] validating content length - [x] actually saving data Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr> Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/222 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Support STREAMING-AWS4-HMAC-SHA256-PAYLOAD (#64) (#156)Jill2022-01-171-0/+2
| | | | | | | | Closes #64. Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/156 Co-authored-by: Jill <kokakiwi@deuxfleurs.fr> Co-committed-by: Jill <kokakiwi@deuxfleurs.fr>
* Model changesAlex Auvolat2022-01-041-0/+1
|
* New model for bucketsAlex Auvolat2022-01-041-4/+4
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-4/+5
| | | | | | | | | | | | | | | | | - change the terminology: the network configuration becomes the role table, the configuration of a nodes becomes a node's role - the modification of the role table takes place in two steps: first, changes are staged in a CRDT data structure. Then, once the user is happy with the changes, they can commit them all at once (or revert them). - update documentation - fix tests - implement smarter partition assignation algorithm This patch breaks the format of the network configuration: when migrating, the cluster will be in a state where no roles are assigned. All roles must be re-assigned and commited at once. This migration should not pose an issue.
* add support for vhost-style s3 bucketTrinity Pointard2021-11-161-0/+1
|