aboutsummaryrefslogtreecommitdiff
path: root/src/api/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-221-1/+1
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-221-4/+4
|
* Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0Alex Auvolat2021-05-281-4/+4
|
* S3 API: support ListBucketsQuentin Dufour2021-05-031-0/+2
|
* update to v0.2.1v0.2.1release-v0.2.1Alex Auvolat2021-03-191-4/+4
|
* Update Cargo.toml files with AGPL license infov0.2.0Alex Auvolat2021-03-181-11/+11
|
* Prepare for release 0.2Alex Auvolat2021-03-181-4/+4
|
* Update dependenciesAlex Auvolat2021-03-161-9/+8
|
* WIP migrate to tokio 1Alex Auvolat2021-03-151-2/+2
|
* Forgot a bumpAlex Auvolat2021-01-151-1/+1
|
* Propose ETag fixbug/etagAlex Auvolat2020-12-051-0/+1
|
* Fix base64/hex checksum comparisonQuentin2020-11-221-0/+1
|
* Refactor error management in API parterror-refactoringAlex Auvolat2020-11-081-0/+1
|
* Implement correct ETag for objects created with PutObjectAlex Auvolat2020-07-131-0/+1
|
* Add support for model migrationsAlex Auvolat2020-07-081-3/+3
|
* Update to Hyper 0.13.6 that accepts non-Sync streams in wrap_stream.Alex Auvolat2020-07-071-1/+1
| | | | Simplifies code and makes it possible to publish on crates.io
* Add versions to dependencies0.1.0Alex Auvolat2020-07-071-3/+3
|
* Add license, description and repository to .toml filesAlex Auvolat2020-07-071-0/+3
|
* Rename garage_core to garage_modelAlex Auvolat2020-07-071-1/+1
|
* Implement HTTP ranges in getAlex Auvolat2020-05-041-0/+1
|
* Implement DeleteObjectsAlex Auvolat2020-05-011-1/+1
|
* Slightly improved S3 compatibilityAlex Auvolat2020-05-011-1/+1
| | | | | | | | - ListBucket does not require any of the parameters (delimiter, prefix, max-keys, etc) - URLs are properly percent_decoded - PutObject and DeleteObject calls now answer correctly (empty body, version id in the x-amz-version-id: header)
* Starting to be S3 compatibleAlex Auvolat2020-04-241-0/+6
|
* Split code for modular compilationAlex Auvolat2020-04-241-0/+28