aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* First version of admin API (#298)Alex2022-05-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **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>
* Add a K2V client library and CLI (#303)trinity-1686a2022-05-181-1/+4
| | | | | | | | | lib.rs could use getting split in modules, but I'm not sure how exactly Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/303 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Add missing src/block to toplevel cargo.tomlAlex Auvolat2022-03-231-0/+1
|
* Update dependencies and add admin module with metricsmricher2022-03-141-1/+2
| | | | | | | | | | - Global dependencies updated in Cargo.lock - New module created in src/admin to host: - the (future) admin REST API - the metric collection - add configuration block No metrics implemented yet
* Skeleton to the new web APIQuentin2020-11-021-0/+1
|
* Rename garage_core to garage_modelAlex Auvolat2020-07-071-1/+1
|
* Split code for modular compilationAlex Auvolat2020-04-241-41/+9
|
* Remove a few features in dependenciesAlex Auvolat2020-04-211-3/+2
|
* Pretty loggingAlex Auvolat2020-04-211-17/+21
|
* Add hostname to node infoAlex Auvolat2020-04-191-0/+1
|
* WIPAlex Auvolat2020-04-171-0/+1
| | | | | | TODOs: - ensure sync goes both way - finish sending blocks to other nodes when they need them before deleting
* Enable debug info in release profileAlex Auvolat2020-04-161-0/+3
|
* CleanupAlex Auvolat2020-04-121-1/+1
|
* TLS works \o/Alex Auvolat2020-04-121-3/+3
| | | | | | | | | So, the issues were: - webpki does not support IP addresses as DNS names in URLs, so I hacked the HttpsConnector to always provide a fixed string as the DNS name for server certificate validation - the certificate requied a SAN section which was complicated to build but eventually the solution is there in genkeys.sh
* Trying to do TLSAlex Auvolat2020-04-121-0/+5
|
* table::insert_many, version_table::updatedAlex Auvolat2020-04-111-1/+1
|
* (Try to) disable LTO ?Alex Auvolat2020-04-101-0/+3
|
* Something worksAlex Auvolat2020-04-091-0/+1
|
* Some workAlex Auvolat2020-04-081-0/+1
|
* Some work in actually storing thingsAlex Auvolat2020-04-081-1/+2
|
* custom data type for hashes and identifiersAlex Auvolat2020-04-071-0/+1
|
* Some workAlex Auvolat2020-04-061-0/+1
|
* Some more basic workAlex Auvolat2020-04-061-2/+5
|
* First commit: skeleton for something greatAlex Auvolat2020-04-051-0/+23