Skip to content

Commit 384ca88

Browse files
committed
remove forwarding path support form generator
1 parent f1fbf88 commit 384ca88

34 files changed

Lines changed: 0 additions & 1390 deletions

generator/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,6 @@ add_library(
6767
internal/format_class_comments.h
6868
internal/format_method_comments.cc
6969
internal/format_method_comments.h
70-
internal/forwarding_client_generator.cc
71-
internal/forwarding_client_generator.h
72-
internal/forwarding_connection_generator.cc
73-
internal/forwarding_connection_generator.h
74-
internal/forwarding_idempotency_policy_generator.cc
75-
internal/forwarding_idempotency_policy_generator.h
76-
internal/forwarding_mock_connection_generator.cc
77-
internal/forwarding_mock_connection_generator.h
78-
internal/forwarding_options_generator.cc
79-
internal/forwarding_options_generator.h
8070
internal/generator_interface.h
8171
internal/http_annotation_parser.cc
8272
internal/http_annotation_parser.h

generator/generator_config.proto

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,6 @@ message ServiceConfiguration {
113113
// constructor and the connection factory function.
114114
bool experimental = 18;
115115

116-
// We use this setting to maintain backwards compatibility when relocating a
117-
// service from the undesired `forwarding_product_path` to the desired
118-
// `product_path`.
119-
//
120-
// If set, generate backwards compatibility headers at the
121-
// `forwarding_product_path`. These headers define aliases (in the namespace
122-
// derived from `forwarding_product_path`), which point to types defined at
123-
// the `product_path` (in the namespace derived from `product_path`).
124-
//
125-
// For details on why we would relocate a service, see #10170, or
126-
// https://github.com/googleapis/google-cloud-cpp/blob/main/doc/adr/2022-11-11-multiple-versions-of-GCP-service-in-one-library.md
127-
string forwarding_product_path = 19;
128-
129116
// Override idempotency policy values for specific rpcs.
130117
message IdempotencyOverride {
131118
// rpc_name should be qualified with the service name e.g.: Service.Method.

generator/google_cloud_cpp_generator.bzl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ google_cloud_cpp_generator_hdrs = [
3535
"internal/doxygen.h",
3636
"internal/format_class_comments.h",
3737
"internal/format_method_comments.h",
38-
"internal/forwarding_client_generator.h",
39-
"internal/forwarding_connection_generator.h",
40-
"internal/forwarding_idempotency_policy_generator.h",
41-
"internal/forwarding_mock_connection_generator.h",
42-
"internal/forwarding_options_generator.h",
4338
"internal/generator_interface.h",
4439
"internal/http_annotation_parser.h",
4540
"internal/http_option_utils.h",
@@ -95,11 +90,6 @@ google_cloud_cpp_generator_srcs = [
9590
"internal/doxygen.cc",
9691
"internal/format_class_comments.cc",
9792
"internal/format_method_comments.cc",
98-
"internal/forwarding_client_generator.cc",
99-
"internal/forwarding_connection_generator.cc",
100-
"internal/forwarding_idempotency_policy_generator.cc",
101-
"internal/forwarding_mock_connection_generator.cc",
102-
"internal/forwarding_options_generator.cc",
10393
"internal/http_annotation_parser.cc",
10494
"internal/http_option_utils.cc",
10595
"internal/idempotency_policy_generator.cc",

generator/integration_tests/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ filegroup(
7777
name = "golden_hdrs",
7878
srcs = glob(
7979
include = [
80-
"golden/*.h",
81-
"golden/mocks/*.h",
8280
"golden/v1/*.cc",
8381
"golden/v1/*.h",
8482
"golden/v1/internal/*.cc",

generator/integration_tests/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ set_target_properties(google_cloud_cpp_generator_golden_protos
5454
file(
5555
GLOB google_cloud_cpp_generator_golden_files
5656
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
57-
"golden/*.h"
58-
"golden/mocks/*.h"
5957
"golden/v1/*.h"
6058
"golden/v1/internal/*.h"
6159
"golden/v1/internal/*_sources.cc"

generator/integration_tests/golden/golden_kitchen_sink_client.h

Lines changed: 0 additions & 41 deletions
This file was deleted.

generator/integration_tests/golden/golden_kitchen_sink_connection.h

Lines changed: 0 additions & 50 deletions
This file was deleted.

generator/integration_tests/golden/golden_kitchen_sink_connection_idempotency_policy.h

Lines changed: 0 additions & 40 deletions
This file was deleted.

generator/integration_tests/golden/golden_kitchen_sink_options.h

Lines changed: 0 additions & 48 deletions
This file was deleted.

generator/integration_tests/golden/golden_thing_admin_client.h

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)