Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
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
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ private <ReqT, RowT> ServerStreamingCallable<ReadRowsRequest, RowT> createReadRo
public Map<String, String> extract(ReadRowsRequest readRowsRequest) {
return ImmutableMap.of(
"table_name", readRowsRequest.getTableName(),
"app_profile_id", readRowsRequest.getAppProfileId());
"app_profile", readRowsRequest.getAppProfileId());
}
})
.build(),
Expand Down Expand Up @@ -360,7 +360,7 @@ public Map<String, String> extract(
SampleRowKeysRequest sampleRowKeysRequest) {
return ImmutableMap.of(
"table_name", sampleRowKeysRequest.getTableName(),
"app_profile_id", sampleRowKeysRequest.getAppProfileId());
"app_profile", sampleRowKeysRequest.getAppProfileId());
}
})
.build(),
Expand Down Expand Up @@ -394,7 +394,7 @@ private UnaryCallable<RowMutation, Void> createMutateRowCallable() {
public Map<String, String> extract(MutateRowRequest mutateRowRequest) {
return ImmutableMap.of(
"table_name", mutateRowRequest.getTableName(),
"app_profile_id", mutateRowRequest.getAppProfileId());
"app_profile", mutateRowRequest.getAppProfileId());
}
})
.build(),
Expand Down Expand Up @@ -507,7 +507,7 @@ private UnaryCallable<MutateRowsRequest, Void> createMutateRowsBaseCallable() {
public Map<String, String> extract(MutateRowsRequest mutateRowsRequest) {
return ImmutableMap.of(
"table_name", mutateRowsRequest.getTableName(),
"app_profile_id", mutateRowsRequest.getAppProfileId());
"app_profile", mutateRowsRequest.getAppProfileId());
}
})
.build(),
Expand Down Expand Up @@ -549,7 +549,7 @@ public Map<String, String> extract(
CheckAndMutateRowRequest checkAndMutateRowRequest) {
return ImmutableMap.of(
"table_name", checkAndMutateRowRequest.getTableName(),
"app_profile_id", checkAndMutateRowRequest.getAppProfileId());
"app_profile", checkAndMutateRowRequest.getAppProfileId());
}
})
.build(),
Expand Down Expand Up @@ -583,7 +583,7 @@ private UnaryCallable<ReadModifyWriteRow, Row> createReadModifyWriteRowCallable(
public Map<String, String> extract(ReadModifyWriteRowRequest request) {
return ImmutableMap.of(
"table_name", request.getTableName(),
"app_profile_id", request.getAppProfileId());
"app_profile", request.getAppProfileId());
}
})
.build(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private void verifyHeaderSent() {
String requestParamsvalue = metadata.get(X_GOOG_REQUEST_PARAMS_KEY);
assertThat(requestParamsvalue).containsMatch("(^|.*&)table_name=" + TABLE_NAME + "($|&.*)");
assertThat(requestParamsvalue)
.containsMatch("(^|.*&)app_profile_id=" + APP_PROFILE_ID + "($|&.*)");
.containsMatch("(^|.*&)app_profile=" + APP_PROFILE_ID + "($|&.*)");

String apiClientValue = metadata.get(API_CLIENT_HEADER_KEY);
assertThat(apiClientValue).containsMatch("gl-java/[.\\d_]+");
Expand Down