Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
977 changes: 977 additions & 0 deletions ydb/core/client/object_storage_listing_ut.cpp

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ydb/core/client/ut/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ SRCS(
flat_ut.cpp
locks_ut.cpp
query_stats_ut.cpp
object_storage_listing_ut.cpp
)

END()
8 changes: 8 additions & 0 deletions ydb/core/driver_lib/run/run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
#include <ydb/services/ydb/ydb_scheme.h>
#include <ydb/services/ydb/ydb_scripting.h>
#include <ydb/services/ydb/ydb_table.h>
#include <ydb/services/ydb/ydb_object_storage.h>

#include <ydb/core/fq/libs/init/init.h>

Expand Down Expand Up @@ -562,6 +563,8 @@ void TKikimrRunner::InitializeGRpc(const TKikimrRunConfig& runConfig) {
names["topic"] = &hasTopic;
TServiceCfg hasPQCD = services.empty();
names["pqcd"] = &hasPQCD;
TServiceCfg hasObjectStorage = services.empty();
names["object_storage"] = &hasObjectStorage;
TServiceCfg hasClickhouseInternal = services.empty();
names["clickhouse_internal"] = &hasClickhouseInternal;
TServiceCfg hasRateLimiter = false;
Expand Down Expand Up @@ -724,6 +727,11 @@ void TKikimrRunner::InitializeGRpc(const TKikimrRunConfig& runConfig) {
AppData->InFlightLimiterRegistry, grpcRequestProxies[0], hasClickhouseInternal.IsRlAllowed()));
}

if (hasObjectStorage) {
server.AddService(new NGRpcService::TGRpcYdbObjectStorageService(ActorSystem.Get(), Counters,
grpcRequestProxies[0], hasObjectStorage.IsRlAllowed()));
}

if (hasScripting) {
server.AddService(new NGRpcService::TGRpcYdbScriptingService(ActorSystem.Get(), Counters,
grpcRequestProxies[0], hasScripting.IsRlAllowed()));
Expand Down
2 changes: 2 additions & 0 deletions ydb/core/grpc_services/rpc_calls.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <ydb/public/api/protos/ydb_discovery.pb.h>
#include <ydb/public/api/protos/ydb_monitoring.pb.h>
#include <ydb/public/api/protos/ydb_status_codes.pb.h>
#include <ydb/public/api/protos/ydb_table.pb.h>
#include <ydb/public/api/protos/draft/ydb_object_storage.pb.h>
#include <ydb/public/api/protos/ydb_persqueue_cluster_discovery.pb.h>
#include <ydb/public/api/protos/ydb_persqueue_v1.pb.h>
#include <ydb/public/api/protos/ydb_federation_discovery.pb.h>
Expand Down
Loading