aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2022-10-27 15:49:38 +0300
committeralexv-smirnov <alex@ydb.tech>2022-10-27 15:49:38 +0300
commit83ad49bd68b15461ea342ec82f17068fac7ef6c3 (patch)
treef6f40b0911af92b457c7f30825411229fc0f1a6c
parente73f8297c5d736639dd17d7a538a15d02e5dc655 (diff)
downloadydb-83ad49bd68b15461ea342ec82f17068fac7ef6c3.tar.gz
return ydb database service mock from oss code back to kikimr
-rw-r--r--CMakeLists.darwin.txt1
-rw-r--r--CMakeLists.linux-aarch64.txt1
-rw-r--r--CMakeLists.linux.txt1
-rw-r--r--cloud/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/CMakeLists.txt10
-rw-r--r--cloud/bitbucket/common-api/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/common-api/yandex/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/common-api/yandex/cloud/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/common-api/yandex/cloud/api/CMakeLists.txt51
-rw-r--r--cloud/bitbucket/common-api/yandex/cloud/api/tools/CMakeLists.txt48
-rw-r--r--cloud/bitbucket/private-api/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/private-api/yandex/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/private-api/yandex/cloud/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/private-api/yandex/cloud/priv/CMakeLists.txt53
-rw-r--r--cloud/bitbucket/private-api/yandex/cloud/priv/access/CMakeLists.txt50
-rw-r--r--cloud/bitbucket/private-api/yandex/cloud/priv/operation/CMakeLists.txt48
-rw-r--r--cloud/bitbucket/private-api/yandex/cloud/priv/quota/CMakeLists.txt51
-rw-r--r--cloud/bitbucket/private-api/yandex/cloud/priv/ydb/CMakeLists.txt9
-rw-r--r--cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/CMakeLists.txt67
-rw-r--r--ydb/library/folder_service/proto/folder_service.proto2
-rw-r--r--ydb/library/testlib/service_mocks/CMakeLists.txt1
-rw-r--r--ydb/library/testlib/service_mocks/database_service_mock.h75
-rw-r--r--ydb/library/ycloud/api/iam_token_service.h2
-rw-r--r--ydb/library/ycloud/api/service_account_service.h3
-rw-r--r--ydb/public/api/client/yc_public/events/common.proto1
-rw-r--r--ydb/public/api/client/yc_public/events/options.proto1
-rw-r--r--ydb/public/api/client/yc_public/events/yq.proto1
-rw-r--r--ydb/public/api/client/yc_public/logging/log_entry.proto1
-rw-r--r--ydb/public/api/client/yc_public/logging/log_ingestion_service.proto2
-rw-r--r--ydb/public/api/client/yc_public/logging/log_resource.proto1
30 files changed, 0 insertions, 543 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt
index 912b806b6a..cd6d87e652 100644
--- a/CMakeLists.darwin.txt
+++ b/CMakeLists.darwin.txt
@@ -12,4 +12,3 @@ add_subdirectory(util)
add_subdirectory(library)
add_subdirectory(ydb)
add_subdirectory(certs)
-add_subdirectory(cloud)
diff --git a/CMakeLists.linux-aarch64.txt b/CMakeLists.linux-aarch64.txt
index 912b806b6a..cd6d87e652 100644
--- a/CMakeLists.linux-aarch64.txt
+++ b/CMakeLists.linux-aarch64.txt
@@ -12,4 +12,3 @@ add_subdirectory(util)
add_subdirectory(library)
add_subdirectory(ydb)
add_subdirectory(certs)
-add_subdirectory(cloud)
diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt
index 912b806b6a..cd6d87e652 100644
--- a/CMakeLists.linux.txt
+++ b/CMakeLists.linux.txt
@@ -12,4 +12,3 @@ add_subdirectory(util)
add_subdirectory(library)
add_subdirectory(ydb)
add_subdirectory(certs)
-add_subdirectory(cloud)
diff --git a/cloud/CMakeLists.txt b/cloud/CMakeLists.txt
deleted file mode 100644
index 3ad0faf524..0000000000
--- a/cloud/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(bitbucket)
diff --git a/cloud/bitbucket/CMakeLists.txt b/cloud/bitbucket/CMakeLists.txt
deleted file mode 100644
index ab8cce84c4..0000000000
--- a/cloud/bitbucket/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(common-api)
-add_subdirectory(private-api)
diff --git a/cloud/bitbucket/common-api/CMakeLists.txt b/cloud/bitbucket/common-api/CMakeLists.txt
deleted file mode 100644
index 9fee5b3331..0000000000
--- a/cloud/bitbucket/common-api/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(yandex)
diff --git a/cloud/bitbucket/common-api/yandex/CMakeLists.txt b/cloud/bitbucket/common-api/yandex/CMakeLists.txt
deleted file mode 100644
index d51f65f4b4..0000000000
--- a/cloud/bitbucket/common-api/yandex/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(cloud)
diff --git a/cloud/bitbucket/common-api/yandex/cloud/CMakeLists.txt b/cloud/bitbucket/common-api/yandex/cloud/CMakeLists.txt
deleted file mode 100644
index 0a386de02f..0000000000
--- a/cloud/bitbucket/common-api/yandex/cloud/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(api)
diff --git a/cloud/bitbucket/common-api/yandex/cloud/api/CMakeLists.txt b/cloud/bitbucket/common-api/yandex/cloud/api/CMakeLists.txt
deleted file mode 100644
index f0abd297c9..0000000000
--- a/cloud/bitbucket/common-api/yandex/cloud/api/CMakeLists.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(tools)
-
-add_library(yandex-cloud-api)
-set_property(TARGET yandex-cloud-api PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-set_property(TARGET yandex-cloud-api PROPERTY
- PROTO_NAMESPACE cloud/bitbucket/common-api
-)
-target_include_directories(yandex-cloud-api PUBLIC
- ${CMAKE_BINARY_DIR}/cloud/bitbucket/common-api
-)
-target_link_libraries(yandex-cloud-api PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-googleapis-common-protos
- cloud-api-tools
- contrib-libs-protobuf
-)
-target_proto_messages(yandex-cloud-api PRIVATE
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api/yandex/cloud/api/operation.proto
-)
-target_proto_addincls(yandex-cloud-api
- ./cloud/bitbucket/common-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api
- ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(yandex-cloud-api
- --cpp_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/common-api
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/common-api
-)
-target_proto_plugin(yandex-cloud-api
- grpc_cpp
- grpc_cpp
-)
diff --git a/cloud/bitbucket/common-api/yandex/cloud/api/tools/CMakeLists.txt b/cloud/bitbucket/common-api/yandex/cloud/api/tools/CMakeLists.txt
deleted file mode 100644
index 12b18776a0..0000000000
--- a/cloud/bitbucket/common-api/yandex/cloud/api/tools/CMakeLists.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-
-add_library(cloud-api-tools)
-set_property(TARGET cloud-api-tools PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-set_property(TARGET cloud-api-tools PROPERTY
- PROTO_NAMESPACE cloud/bitbucket/common-api
-)
-target_include_directories(cloud-api-tools PUBLIC
- ${CMAKE_BINARY_DIR}/cloud/bitbucket/common-api
-)
-target_link_libraries(cloud-api-tools PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-googleapis-common-protos
- contrib-libs-protobuf
-)
-target_proto_messages(cloud-api-tools PRIVATE
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api/yandex/cloud/api/tools/options.proto
-)
-target_proto_addincls(cloud-api-tools
- ./cloud/bitbucket/common-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api
- ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cloud-api-tools
- --cpp_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/common-api
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/common-api
-)
-target_proto_plugin(cloud-api-tools
- grpc_cpp
- grpc_cpp
-)
diff --git a/cloud/bitbucket/private-api/CMakeLists.txt b/cloud/bitbucket/private-api/CMakeLists.txt
deleted file mode 100644
index 9fee5b3331..0000000000
--- a/cloud/bitbucket/private-api/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(yandex)
diff --git a/cloud/bitbucket/private-api/yandex/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/CMakeLists.txt
deleted file mode 100644
index d51f65f4b4..0000000000
--- a/cloud/bitbucket/private-api/yandex/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(cloud)
diff --git a/cloud/bitbucket/private-api/yandex/cloud/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/cloud/CMakeLists.txt
deleted file mode 100644
index 20e0028be2..0000000000
--- a/cloud/bitbucket/private-api/yandex/cloud/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(priv)
diff --git a/cloud/bitbucket/private-api/yandex/cloud/priv/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/cloud/priv/CMakeLists.txt
deleted file mode 100644
index 7b85366d1f..0000000000
--- a/cloud/bitbucket/private-api/yandex/cloud/priv/CMakeLists.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(access)
-add_subdirectory(operation)
-add_subdirectory(quota)
-add_subdirectory(ydb)
-
-add_library(yandex-cloud-priv)
-set_property(TARGET yandex-cloud-priv PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-set_property(TARGET yandex-cloud-priv PROPERTY
- PROTO_NAMESPACE cloud/bitbucket/private-api
-)
-target_include_directories(yandex-cloud-priv PUBLIC
- ${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_link_libraries(yandex-cloud-priv PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-googleapis-common-protos
- contrib-libs-protobuf
-)
-target_proto_messages(yandex-cloud-priv PRIVATE
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/sensitive.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/validation.proto
-)
-target_proto_addincls(yandex-cloud-priv
- ./cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(yandex-cloud-priv
- --cpp_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_proto_plugin(yandex-cloud-priv
- grpc_cpp
- grpc_cpp
-)
diff --git a/cloud/bitbucket/private-api/yandex/cloud/priv/access/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/cloud/priv/access/CMakeLists.txt
deleted file mode 100644
index d4e907cf4f..0000000000
--- a/cloud/bitbucket/private-api/yandex/cloud/priv/access/CMakeLists.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-
-add_library(cloud-priv-access)
-set_property(TARGET cloud-priv-access PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-set_property(TARGET cloud-priv-access PROPERTY
- PROTO_NAMESPACE cloud/bitbucket/private-api
-)
-target_include_directories(cloud-priv-access PUBLIC
- ${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_link_libraries(cloud-priv-access PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-googleapis-common-protos
- yandex-cloud-priv
- contrib-libs-protobuf
-)
-target_proto_messages(cloud-priv-access PRIVATE
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/access/access.proto
-)
-target_proto_addincls(cloud-priv-access
- ./cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cloud-priv-access
- --cpp_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_proto_plugin(cloud-priv-access
- grpc_cpp
- grpc_cpp
-)
diff --git a/cloud/bitbucket/private-api/yandex/cloud/priv/operation/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/cloud/priv/operation/CMakeLists.txt
deleted file mode 100644
index 759162a183..0000000000
--- a/cloud/bitbucket/private-api/yandex/cloud/priv/operation/CMakeLists.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-
-add_library(cloud-priv-operation)
-set_property(TARGET cloud-priv-operation PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-set_property(TARGET cloud-priv-operation PROPERTY
- PROTO_NAMESPACE cloud/bitbucket/private-api
-)
-target_include_directories(cloud-priv-operation PUBLIC
- ${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_link_libraries(cloud-priv-operation PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-googleapis-common-protos
- contrib-libs-protobuf
-)
-target_proto_messages(cloud-priv-operation PRIVATE
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/operation/operation.proto
-)
-target_proto_addincls(cloud-priv-operation
- ./cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cloud-priv-operation
- --cpp_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_proto_plugin(cloud-priv-operation
- grpc_cpp
- grpc_cpp
-)
diff --git a/cloud/bitbucket/private-api/yandex/cloud/priv/quota/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/cloud/priv/quota/CMakeLists.txt
deleted file mode 100644
index d0897999b2..0000000000
--- a/cloud/bitbucket/private-api/yandex/cloud/priv/quota/CMakeLists.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-
-add_library(cloud-priv-quota)
-set_property(TARGET cloud-priv-quota PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-set_property(TARGET cloud-priv-quota PROPERTY
- PROTO_NAMESPACE cloud/bitbucket/private-api
-)
-target_include_directories(cloud-priv-quota PUBLIC
- ${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_link_libraries(cloud-priv-quota PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-googleapis-common-protos
- yandex-cloud-priv
- contrib-libs-protobuf
-)
-target_proto_messages(cloud-priv-quota PRIVATE
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/quota/quota.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/quota/quota_limit.proto
-)
-target_proto_addincls(cloud-priv-quota
- ./cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cloud-priv-quota
- --cpp_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_proto_plugin(cloud-priv-quota
- grpc_cpp
- grpc_cpp
-)
diff --git a/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/CMakeLists.txt
deleted file mode 100644
index 0293e4453a..0000000000
--- a/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-add_subdirectory(v1)
diff --git a/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/CMakeLists.txt b/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/CMakeLists.txt
deleted file mode 100644
index ff2361c3f3..0000000000
--- a/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/CMakeLists.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-
-# This file was gererated by the build system used internally in the Yandex monorepo.
-# Only simple modifications are allowed (adding source-files to targets, adding simple properties
-# like target_include_directories). These modifications will be ported to original
-# ya.make files by maintainers. Any complex modifications which can't be ported back to the
-# original buildsystem will not be accepted.
-
-
-
-add_library(priv-ydb-v1)
-set_property(TARGET priv-ydb-v1 PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-set_property(TARGET priv-ydb-v1 PROPERTY
- PROTO_NAMESPACE cloud/bitbucket/private-api
-)
-target_include_directories(priv-ydb-v1 PUBLIC
- ${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_link_libraries(priv-ydb-v1 PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-googleapis-common-protos
- yandex-cloud-api
- cloud-api-tools
- yandex-cloud-priv
- cloud-priv-access
- cloud-priv-operation
- cloud-priv-quota
- contrib-libs-protobuf
-)
-target_proto_messages(priv-ydb-v1 PRIVATE
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/backup.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/backup_service.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/database.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/database_service.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/location.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/location_service.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/operation_service.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/quota_service.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/resource_preset.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/resource_preset_service.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/storage_type.proto
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/storage_type_service.proto
-)
-target_proto_addincls(priv-ydb-v1
- ./cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/common-api
- ${CMAKE_SOURCE_DIR}/cloud/bitbucket/private-api
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(priv-ydb-v1
- --cpp_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/cloud/bitbucket/private-api
-)
-target_proto_plugin(priv-ydb-v1
- grpc_cpp
- grpc_cpp
-)
diff --git a/ydb/library/folder_service/proto/folder_service.proto b/ydb/library/folder_service/proto/folder_service.proto
index bb4fb4c2a6..bd62d75154 100644
--- a/ydb/library/folder_service/proto/folder_service.proto
+++ b/ydb/library/folder_service/proto/folder_service.proto
@@ -4,8 +4,6 @@ import "google/protobuf/timestamp.proto";
package NKikimrProto.NFolderService;
-// copied from cloud/bitbucket/private-api/yandex/cloud/priv/resourcemanager/v1/folder_service.proto
-
message Folder {
enum Status {
diff --git a/ydb/library/testlib/service_mocks/CMakeLists.txt b/ydb/library/testlib/service_mocks/CMakeLists.txt
index 339154ea3b..d4fecf049e 100644
--- a/ydb/library/testlib/service_mocks/CMakeLists.txt
+++ b/ydb/library/testlib/service_mocks/CMakeLists.txt
@@ -12,7 +12,6 @@ target_link_libraries(library-testlib-service_mocks INTERFACE
contrib-libs-cxxsupp
yutil
client-yc_private-servicecontrol
- priv-ydb-v1
api-grpc-draft
client-yc_private-resourcemanager
client-yc_private-iam
diff --git a/ydb/library/testlib/service_mocks/database_service_mock.h b/ydb/library/testlib/service_mocks/database_service_mock.h
deleted file mode 100644
index 59fff6dde9..0000000000
--- a/ydb/library/testlib/service_mocks/database_service_mock.h
+++ /dev/null
@@ -1,75 +0,0 @@
-#pragma once
-
-#include <cloud/bitbucket/private-api/yandex/cloud/priv/ydb/v1/database_service.grpc.pb.h>
-#include <util/string/join.h>
-#include <util/string/vector.h>
-
-class TDatabaseServiceMock : public yandex::cloud::priv::ydb::v1::DatabaseService::Service {
-public:
- THashMap<TString, yandex::cloud::priv::ydb::v1::Database> PersistentDatabases;
- THashMap<TString, yandex::cloud::priv::ydb::v1::Database> TemporaryDatabases;
- TString Identity;
-
- TMaybe<grpc::Status> CheckAuthorization(grpc::ServerContext* context) {
- if (!Identity.empty()) {
- auto[reqIdBegin, reqIdEnd] = context->client_metadata().equal_range("authorization");
- UNIT_ASSERT_C(reqIdBegin != reqIdEnd, "Authorization is expected.");
- if (Identity != TStringBuf(reqIdBegin->second.cbegin(), reqIdBegin->second.cend())) {
- return grpc::Status(grpc::StatusCode::UNAUTHENTICATED,
- TStringBuilder() << "Access for user " << Identity << " is forbidden");
- }
- }
-
- return Nothing();
- }
-
- virtual grpc::Status GetByPath(grpc::ServerContext* context,
- const yandex::cloud::priv::ydb::v1::GetDatabaseByPathRequest* request,
- yandex::cloud::priv::ydb::v1::Database* response) override
- {
- auto status = CheckAuthorization(context);
- auto parts = SplitString(request->path(), "/");
- Y_ENSURE(parts.size() >= 3);
- TString canonizedPath = "/" + JoinRange("/", parts.begin(), parts.begin() + 3);
-
- if (auto itPersistent = PersistentDatabases.find(canonizedPath); itPersistent != PersistentDatabases.end()) {
- *response = itPersistent->second;
- return grpc::Status::OK;
- } else {
- auto it = TemporaryDatabases.find(canonizedPath);
- if (it == TemporaryDatabases.end()) {
- return grpc::Status(grpc::StatusCode::NOT_FOUND, TStringBuilder() << " database with name " << request->path() << " not found");
- } else {
- *response = it->second;
- return grpc::Status::OK;
- }
- }
- }
-
- virtual grpc::Status ListAll(grpc::ServerContext* context,
- const yandex::cloud::priv::ydb::v1::ListAllDatabasesRequest* request,
- yandex::cloud::priv::ydb::v1::ListAllDatabasesResponse* response) override
- {
- auto status = CheckAuthorization(context);
- if (status.Defined()) {
- return *status;
- }
-
- if (PersistentDatabases.empty()) {
- return grpc::Status::OK;
- }
- auto it = PersistentDatabases.begin();
- if (!request->page_token().empty()) {
- it = PersistentDatabases.find(request->page_token());
- }
- Y_ENSURE(it != PersistentDatabases.end());
- *response->add_databases() = it->second;
- it++;
- if (it != PersistentDatabases.end()) {
- response->set_next_page_token(it->first);
- }
- return grpc::Status::OK;
- }
-
-};
-
diff --git a/ydb/library/ycloud/api/iam_token_service.h b/ydb/library/ycloud/api/iam_token_service.h
index a525ebebbc..e657703888 100644
--- a/ydb/library/ycloud/api/iam_token_service.h
+++ b/ydb/library/ycloud/api/iam_token_service.h
@@ -22,8 +22,6 @@ namespace NCloud {
static_assert(EvEnd < EventSpaceEnd(TKikimrEvents::ES_IAM_TOKEN_SERVICE), "expect EvEnd < EventSpaceEnd(TKikimrEvents::ES_SERVICE_ACCOUNT_SERVICE)");
- // https://a.yandex-team.ru/arc/trunk/arcadia/cloud/bitbucket/private-api/yandex/cloud/priv/iam/v1/iam_token_service.proto
-
struct TEvCreateForServiceAccountRequest : TEvGrpcProtoRequest<TEvCreateForServiceAccountRequest, EvCreateForServiceAccountRequest, yandex::cloud::priv::iam::v1::CreateIamTokenForServiceAccountRequest> {};
struct TEvCreateResponse : TEvGrpcProtoResponse<TEvCreateResponse, EvCreateResponse, yandex::cloud::priv::iam::v1::CreateIamTokenResponse> {};
};
diff --git a/ydb/library/ycloud/api/service_account_service.h b/ydb/library/ycloud/api/service_account_service.h
index 5f0f6bbb97..09ed660019 100644
--- a/ydb/library/ycloud/api/service_account_service.h
+++ b/ydb/library/ycloud/api/service_account_service.h
@@ -22,9 +22,6 @@ namespace NCloud {
static_assert(EvEnd < EventSpaceEnd(TKikimrEvents::ES_SERVICE_ACCOUNT_SERVICE), "expect EvEnd < EventSpaceEnd(TKikimrEvents::ES_SERVICE_ACCOUNT_SERVICE)");
- // https://a.yandex-team.ru/arc/trunk/arcadia/cloud/bitbucket/private-api/yandex/cloud/priv/iam/v1/service_account.proto
- // https://a.yandex-team.ru/arc/trunk/arcadia/cloud/bitbucket/private-api/yandex/cloud/priv/iam/v1/service_account_service.proto
-
struct TEvGetServiceAccountRequest : TEvGrpcProtoRequest<TEvGetServiceAccountRequest, EvGetServiceAccountRequest, yandex::cloud::priv::iam::v1::GetServiceAccountRequest> {};
struct TEvGetServiceAccountResponse : TEvGrpcProtoResponse<TEvGetServiceAccountResponse, EvGetServiceAccountResponse, yandex::cloud::priv::iam::v1::ServiceAccount> {};
diff --git a/ydb/public/api/client/yc_public/events/common.proto b/ydb/public/api/client/yc_public/events/common.proto
index dbb31e8aad..5c9e3e6cf5 100644
--- a/ydb/public/api/client/yc_public/events/common.proto
+++ b/ydb/public/api/client/yc_public/events/common.proto
@@ -6,7 +6,6 @@ import "google/protobuf/timestamp.proto";
import "ydb/public/api/client/yc_public/common/validation.proto";
import "ydb/public/api/client/yc_public/events/options.proto";
-option go_package = "a.yandex-team.ru/cloud/bitbucket/public-api/yandex/cloud/events;events";
option java_package = "yandex.cloud.api.events";
option java_outer_classname = "CommonEvents";
diff --git a/ydb/public/api/client/yc_public/events/options.proto b/ydb/public/api/client/yc_public/events/options.proto
index 17e67d5df2..90f13f2f20 100644
--- a/ydb/public/api/client/yc_public/events/options.proto
+++ b/ydb/public/api/client/yc_public/events/options.proto
@@ -4,7 +4,6 @@ package yandex.cloud.events;
import "google/protobuf/descriptor.proto";
-option go_package = "a.yandex-team.ru/cloud/bitbucket/public-api/yandex/cloud/events;events";
option java_package = "yandex.cloud.api.events";
extend google.protobuf.FieldOptions {
diff --git a/ydb/public/api/client/yc_public/events/yq.proto b/ydb/public/api/client/yc_public/events/yq.proto
index deea6d237a..7690c2e753 100644
--- a/ydb/public/api/client/yc_public/events/yq.proto
+++ b/ydb/public/api/client/yc_public/events/yq.proto
@@ -7,7 +7,6 @@ import "ydb/public/api/client/yc_public/events/common.proto";
import "ydb/public/api/client/yc_public/events/options.proto";
import "ydb/public/api/client/yc_public/common/validation.proto";
-option go_package = "a.yandex-team.ru/cloud/bitbucket/public-api/yandex/cloud/events/yq;yq";
option java_package = "yandex.cloud.api.events.yq";
// Query
diff --git a/ydb/public/api/client/yc_public/logging/log_entry.proto b/ydb/public/api/client/yc_public/logging/log_entry.proto
index 58b1aa4ac9..aa12765f70 100644
--- a/ydb/public/api/client/yc_public/logging/log_entry.proto
+++ b/ydb/public/api/client/yc_public/logging/log_entry.proto
@@ -7,7 +7,6 @@ import "google/protobuf/timestamp.proto";
import "ydb/public/api/client/yc_public/logging/log_resource.proto";
import "ydb/public/api/client/yc_public/common/validation.proto";
-option go_package = "a.yandex-team.ru/cloud/bitbucket/public-api/yandex/cloud/logging/v1;logging";
option java_package = "yandex.cloud.api.logging.v1";
message LogEntry {
diff --git a/ydb/public/api/client/yc_public/logging/log_ingestion_service.proto b/ydb/public/api/client/yc_public/logging/log_ingestion_service.proto
index 30b490fb21..4da392849e 100644
--- a/ydb/public/api/client/yc_public/logging/log_ingestion_service.proto
+++ b/ydb/public/api/client/yc_public/logging/log_ingestion_service.proto
@@ -7,8 +7,6 @@ import "ydb/public/api/client/yc_public/logging/log_entry.proto";
import "ydb/public/api/client/yc_public/logging/log_resource.proto";
import "ydb/public/api/client/yc_public/common/validation.proto";
-
-option go_package = "a.yandex-team.ru/cloud/bitbucket/public-api/yandex/cloud/logging/v1;logging";
option java_package = "yandex.cloud.api.logging.v1";
// A set of methods for writing to log groups. To make a request use `ingester.logging.yandexcloud.net`.
diff --git a/ydb/public/api/client/yc_public/logging/log_resource.proto b/ydb/public/api/client/yc_public/logging/log_resource.proto
index cb7196d8ad..93e4a3c2a2 100644
--- a/ydb/public/api/client/yc_public/logging/log_resource.proto
+++ b/ydb/public/api/client/yc_public/logging/log_resource.proto
@@ -4,7 +4,6 @@ package yandex.cloud.logging.v1;
import "ydb/public/api/client/yc_public/common/validation.proto";
-option go_package = "a.yandex-team.ru/cloud/bitbucket/public-api/yandex/cloud/logging/v1;logging";
option java_package = "yandex.cloud.api.logging.v1";
// Log entry resource specification.