Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for new cloud client test framework in google-cloud-spanner-executor #2217

Merged
merged 61 commits into from Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
2652512
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 10, 2022
6131cff
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
11c42e1
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
090fadd
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
26317d9
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
2a9ef63
Fix error code mapping.
gyang-google Oct 13, 2022
ec686fe
Remove read_timestamp field in read result as it will never use it.(f…
gyang-google Oct 13, 2022
df4a9eb
Mark all fields in spanner action outcome as optional.
gyang-google Oct 13, 2022
8296ed9
Refactored existing protos according to api dev lint.
gyang-google Nov 18, 2022
2b3dfa5
Added DML/batch DML/query features.
gyang-google Nov 18, 2022
a1a4121
Added support to Write.
gyang-google Nov 18, 2022
921370c
Update batch txn related protos.
gyang-google Nov 22, 2022
86d8968
Add support for batch txn feature.
gyang-google Nov 23, 2022
97d11eb
Add metadata for batch read.
gyang-google Nov 30, 2022
7f5671b
Implement the support for change stream.
gyang-google Nov 30, 2022
4c94983
Update change stream proto fields.
gyang-google Nov 30, 2022
fdcc520
Fix create cloud backup bug.
gyang-google Dec 1, 2022
35f6476
Fix numeric related issue.
gyang-google Dec 6, 2022
3297cce
Make all calls to streamObserver synchronized to prevent concurrency …
gyang-google Dec 6, 2022
57e784c
Rebase onto java-spanner changes.
gyang-google Oct 10, 2022
16a1548
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
3104630
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
06c199d
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
d8e54b6
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google Oct 13, 2022
1bd26fb
Fix error code mapping.
gyang-google Oct 13, 2022
11725b8
Remove read_timestamp field in read result as it will never use it.(f…
gyang-google Oct 13, 2022
3ea8e28
Mark all fields in spanner action outcome as optional.
gyang-google Oct 13, 2022
2f83657
Refactored existing protos according to api dev lint.
gyang-google Nov 18, 2022
9c7e4fe
Added DML/batch DML/query features.
gyang-google Nov 18, 2022
00a7133
Added support to Write.
gyang-google Nov 18, 2022
d75ef89
Update batch txn related protos.
gyang-google Nov 22, 2022
491bdc1
Add support for batch txn feature.
gyang-google Nov 23, 2022
2a04be1
Add metadata for batch read.
gyang-google Nov 30, 2022
132c7c7
Implement the support for change stream.
gyang-google Nov 30, 2022
b70dbb1
Update change stream proto fields.
gyang-google Nov 30, 2022
4a16ad1
Fix create cloud backup bug.
gyang-google Dec 1, 2022
bbdd51e
Fix numeric related issue.
gyang-google Dec 6, 2022
ccd2c14
Make all calls to streamObserver synchronized to prevent concurrency …
gyang-google Dec 6, 2022
196360b
Replaces protos with the final released version.
gyang-google Dec 13, 2022
734e5b7
Apply maven-protobuf-plugin to generate grpc stubs, remove grpc folde…
gyang-google Dec 14, 2022
5f4e06e
Remove partitionTestUtil since partitionToken can be fetched now.
gyang-google Dec 14, 2022
e450aca
Merge remote-tracking branch 'git-fork/spanner-executor' into spanner…
gyang-google Dec 14, 2022
bf98484
Remove partitionTestUtil since partitionToken can be fetched now.
gyang-google Dec 14, 2022
b853576
Cleanup.
gyang-google Dec 14, 2022
500a936
Fix pageToken for all the list operations.
gyang-google Dec 15, 2022
52807ec
Rephrase some comments.
gyang-google Dec 15, 2022
3dcc60b
Fix key flag issue.
gyang-google Dec 15, 2022
401285d
Fix some admin actions regarding instanceId args.
gyang-google Dec 16, 2022
51b2b42
Remove unused stuff in metadata.
gyang-google Dec 17, 2022
58089b7
Remove debug message.
gyang-google Dec 17, 2022
d979668
Merge remote-tracking branch 'git-fork/spanner-executor' into spanner…
gyang-google Dec 21, 2022
69069ef
Remove debug message.
gyang-google Dec 21, 2022
6b96f14
Update build files to accommodate with proto dependency changes.
gyang-google Jan 3, 2023
6289715
Merge branch 'googleapis:main' into spanner-executor
gyang-google Jan 3, 2023
57d6596
Update pom file.
gyang-google Jan 3, 2023
5bb0184
Update pom file.
gyang-google Jan 4, 2023
2e6e171
fix: update comments
gyang-google Jan 5, 2023
6d59274
fix: clean up dependencies.
gyang-google Jan 5, 2023
e702f7a
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 5, 2023
bd0241f
fix: addressed comments.
gyang-google Jan 7, 2023
ba63018
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions google-cloud-spanner-bom/pom.xml
Expand Up @@ -55,6 +55,11 @@
<artifactId>google-cloud-spanner</artifactId>
<version>6.34.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-spanner:current} -->
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner-executor</artifactId>
<version>6.34.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-spanner-executor:current} -->
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner</artifactId>
Expand Down
27 changes: 27 additions & 0 deletions google-cloud-spanner-executor/assembly-descriptor.xml
@@ -0,0 +1,27 @@
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>jar-with-dependencies</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
<unpack>true</unpack>
<unpackOptions>
<excludes>
<exclude>io.grpc.LoadBalancerProvider</exclude>
</excludes>
</unpackOptions>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>${project.build.outputDirectory}</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
</fileSets>
</assembly>
165 changes: 165 additions & 0 deletions google-cloud-spanner-executor/pom.xml
@@ -0,0 +1,165 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner-executor</artifactId>
<version>6.34.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-spanner-executor:current} -->
<packaging>jar</packaging>
<name>Google Cloud Spanner Executor</name>

<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner-parent</artifactId>
<version>6.34.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-spanner:current} -->
</parent>

<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-spanner</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>api-common</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-core</artifactId>
</dependency>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-oauth2-http</artifactId>
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-spanner-admin-instance-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-spanner-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-spanner-admin-database-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-spanner-executor-v1</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax</artifactId>
</dependency>
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-grpc</artifactId>
</dependency>
<dependency>
<groupId>org.threeten</groupId>
<artifactId>threetenbp</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-credentials</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-services</artifactId>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>

<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>RELEASE</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<finalName>google-spanner-cloud-executor</finalName>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<descriptors>
<descriptor>assembly-descriptor.xml</descriptor>
</descriptors>
<archive>
<manifest>
<mainClass>com.google.cloud.executor.spanner.WorkerProxy</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M7</version>
</plugin>
</plugins>
</build>
</project>