Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | First version of admin API (#298) | Alex | 2022-05-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **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> | ||||
* | Fix some new clippy lintsfix-resync | Alex Auvolat | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | Update to Netapp 0.4 which supports distributed tracing | Alex Auvolat | 2022-03-14 | 1 | -2/+2 |
| | |||||
* | Add tracing integration with opentelemetry | Alex Auvolat | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | New buckets for 0.6.0: make bucket id a SK and not a HK, CLI updates | Alex Auvolat | 2022-01-04 | 1 | -2/+2 |
| | |||||
* | Some movement of helper code and refactoring of error handling | Alex Auvolat | 2022-01-04 | 1 | -1/+7 |
| | |||||
* | Improve how node roles are assigned in Garagev0.5-beta1 | Alex Auvolat | 2021-11-16 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | - 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 environment variables equivalents for some CLI options. | Jill | 2021-11-03 | 1 | -3/+8 |
| | |||||
* | CLI: default rpc_hostv0.4-rc1 | Alex Auvolat | 2021-10-26 | 1 | -5/+20 |
| | |||||
* | Improve CLI, adapt tests, update documentation | Alex Auvolat | 2021-10-25 | 1 | -22/+58 |
| | |||||
* | Improvements to CLI and various fixes for netapp version | Alex Auvolat | 2021-10-22 | 1 | -2/+1 |
| | | | | Discovery via consul, persist peer list to file | ||||
* | First port of Garage to Netapp | Alex Auvolat | 2021-10-22 | 1 | -43/+28 |
| | |||||
* | try parsing rpc-host command-line parameter | Trinity Pointard | 2021-06-01 | 1 | -1/+10 |
| | |||||
* | make most requested changes | Trinity Pointard | 2021-04-27 | 1 | -2/+1 |
| | |||||
* | document garage crate | Trinity Pointard | 2021-04-27 | 1 | -1/+3 |
| | |||||
* | cargo fmt | Alex Auvolat | 2021-03-12 | 1 | -5/+5 |
| | |||||
* | Refactor CLI and prettify CLI outpu | Alex Auvolat | 2021-03-12 | 1 | -508/+28 |
| | |||||
* | Implement garage stats to get info on node contents | Alex Auvolat | 2021-03-12 | 1 | -0/+18 |
| | |||||
* | Rename n_tokens into capacity | Alex Auvolat | 2021-03-10 | 1 | -10/+10 |
| | |||||
* | Some refactoring | Alex Auvolat | 2021-02-21 | 1 | -0/+1 |
| | |||||
* | Start to implement Website CLI | Quentin | 2020-12-14 | 1 | -0/+3 |
| | |||||
* | WIP table migration | Quentin | 2020-12-12 | 1 | -4/+4 |
| | |||||
* | CLI structure | Quentin | 2020-12-10 | 1 | -0/+15 |
| | |||||
* | Split code for modular compilation | Alex Auvolat | 2020-04-24 | 1 | -0/+531 |