Skip to content

Commit a53f5af

Browse files
authored
---
yaml --- r: 9301 b: refs/heads/spanner-gapic-migration c: 45e76f3 h: refs/heads/master i: 9299: c544ea3
1 parent 3c4b7cb commit a53f5af

6 files changed

Lines changed: 134 additions & 52 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ refs/tags/v0.35.0: c28951c5f4cc97a1be07900d19df6984115a4bd6
8181
refs/tags/v0.36.0: 6b75c61f73e6827b3ca379bd54f88f750290162f
8282
refs/tags/v0.37.0: db2e142f92601709fdd48db159776f905742e30f
8383
refs/heads/mrschmidt-sizefix: 627a3bfa30bb6f4f76af47b228c38b208dd921e0
84-
refs/heads/spanner-gapic-migration: 75d1d0be729843fdb60e7fa57f7dba193f4e38a9
84+
refs/heads/spanner-gapic-migration: 45e76f3e631e51e22188341e935e2481a2987773
8585
refs/tags/v0.38.0: c235ee4df5e1248e1769dae3f86a0d7ab7fd8301
8686
refs/tags/v0.39.0: ab231c9d22475242a43d6d9554aa4a3f736dab01
8787
refs/tags/v0.40.0: a1d5b05206cce7734365f1b910396a2c9d6605ec

branches/spanner-gapic-migration/google-cloud-bom/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@
170170
<testing.version>0.43.1-alpha-SNAPSHOT</testing.version><!-- {x-version-update:google-cloud-testing:current} -->
171171

172172
<api-common.version>1.5.0</api-common.version>
173-
<gax.version>1.23.0</gax.version>
174-
<gax-grpc.version>1.23.0</gax-grpc.version>
175-
<gax-httpjson.version>0.40.0</gax-httpjson.version>
173+
<gax.version>1.24.0</gax.version>
174+
<gax-grpc.version>1.24.0</gax-grpc.version>
175+
<gax-httpjson.version>0.41.0</gax-httpjson.version>
176176
<generated-proto-beta.version>0.8.0</generated-proto-beta.version>
177177
<generated-proto-ga.version>1.7.0</generated-proto-ga.version>
178178
</properties>

branches/spanner-gapic-migration/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Session createSession(final DatabaseId db) throws SpannerException {
266266
new Callable<com.google.spanner.v1.Session>() {
267267
@Override
268268
public com.google.spanner.v1.Session call() throws Exception {
269-
return rawGrpcRpc.createSession(
269+
return gapicRpc.createSession(
270270
db.getName(), getOptions().getSessionLabels(), options);
271271
}
272272
});
@@ -806,7 +806,7 @@ public Timestamp writeAtLeastOnce(Iterable<Mutation> mutations) throws SpannerEx
806806
new Callable<CommitResponse>() {
807807
@Override
808808
public CommitResponse call() throws Exception {
809-
return rawGrpcRpc.commit(request, options);
809+
return gapicRpc.commit(request, options);
810810
}
811811
});
812812
Timestamp t = Timestamp.fromProto(response.getCommitTimestamp());
@@ -872,7 +872,7 @@ public void close() {
872872
new Callable<Void>() {
873873
@Override
874874
public Void call() throws Exception {
875-
rawGrpcRpc.deleteSession(name, options);
875+
gapicRpc.deleteSession(name, options);
876876
return null;
877877
}
878878
});
@@ -898,7 +898,7 @@ ByteString beginTransaction() {
898898
new Callable<Transaction>() {
899899
@Override
900900
public Transaction call() throws Exception {
901-
return rawGrpcRpc.beginTransaction(request, options);
901+
return gapicRpc.beginTransaction(request, options);
902902
}
903903
});
904904
if (txn.getId().isEmpty()) {

0 commit comments

Comments
 (0)