The token metadata endpoints need token metadata, not storage service Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
22 lines
412 B
C++
22 lines
412 B
C++
/*
|
|
* Copyright (C) 2023-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/sharded.hh>
|
|
#include "api.hh"
|
|
|
|
namespace locator { class shared_token_metadata; }
|
|
|
|
namespace api {
|
|
|
|
void set_token_metadata(http_context& ctx, httpd::routes& r, sharded<locator::shared_token_metadata>& tm);
|
|
void unset_token_metadata(http_context& ctx, httpd::routes& r);
|
|
|
|
}
|