Gleb Natapov
755ee9a2c5
api: do not use token_metadata to retrieve ip to id mapping in token_metadata RESTful endpoints
...
We want to drop ip knowledge from the token_metadata, so use gossiper to
retrieve the mapping instead.
2025-01-15 16:30:28 +02:00
Avi Kivity
f3eade2f62
treewide: relicense to ScyllaDB-Source-Available-1.0
...
Drop the AGPL license in favor of a source-available license.
See the blog post [1] for details.
[1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
2024-12-18 17:45:13 +02:00
Kefu Chai
c03141b4b2
api: do not include unused headers
...
these unused includes were identified by clangd. see
https://clangd.llvm.org/guides/include-cleaner#unused-include-warning
for more details on the "Unused include" warning.
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com >
2024-06-13 09:32:51 +08:00
Kefu Chai
ffb5ad494f
api: do not include unused headers
...
these unused includes were identified by clangd. see
https://clangd.llvm.org/guides/include-cleaner#unused-include-warning
for more details on the "Unused include" warning.
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com >
Closes scylladb/scylladb#16973
2024-01-25 11:28:02 +03:00
Pavel Emelyanov
be9ea0c647
api: Pass shared_token_metadata instead of storage_service
...
The token metadata endpoints need token metadata, not storage service
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
2023-10-24 17:48:27 +03:00
Pavel Emelyanov
e4c0a4d34d
api: Move storage_service endpoints that use token metadata only
...
There are few of them that don't need the storage service for anything
but get token metadata from. Move them to own .cc/.hh units.
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
2023-10-24 17:44:53 +03:00