-
Notifications
You must be signed in to change notification settings - Fork 132
feat: add support for new cloud client test framework in google-cloud-spanner-executor #2217
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
Merged
Merged
Changes from 59 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 6131cff
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google 11c42e1
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google 090fadd
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google 26317d9
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google 2a9ef63
Fix error code mapping.
gyang-google ec686fe
Remove read_timestamp field in read result as it will never use it.(f…
gyang-google df4a9eb
Mark all fields in spanner action outcome as optional.
gyang-google 8296ed9
Refactored existing protos according to api dev lint.
gyang-google 2b3dfa5
Added DML/batch DML/query features.
gyang-google a1a4121
Added support to Write.
gyang-google 921370c
Update batch txn related protos.
gyang-google 86d8968
Add support for batch txn feature.
gyang-google 97d11eb
Add metadata for batch read.
gyang-google 7f5671b
Implement the support for change stream.
gyang-google 4c94983
Update change stream proto fields.
gyang-google fdcc520
Fix create cloud backup bug.
gyang-google 35f6476
Fix numeric related issue.
gyang-google 3297cce
Make all calls to streamObserver synchronized to prevent concurrency …
gyang-google 57e784c
Rebase onto java-spanner changes.
gyang-google 16a1548
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google 3104630
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google 06c199d
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google d8e54b6
Add Spanner executor proto and implementation for Read/Mutation and a…
gyang-google 1bd26fb
Fix error code mapping.
gyang-google 11725b8
Remove read_timestamp field in read result as it will never use it.(f…
gyang-google 3ea8e28
Mark all fields in spanner action outcome as optional.
gyang-google 2f83657
Refactored existing protos according to api dev lint.
gyang-google 9c7e4fe
Added DML/batch DML/query features.
gyang-google 00a7133
Added support to Write.
gyang-google d75ef89
Update batch txn related protos.
gyang-google 491bdc1
Add support for batch txn feature.
gyang-google 2a04be1
Add metadata for batch read.
gyang-google 132c7c7
Implement the support for change stream.
gyang-google b70dbb1
Update change stream proto fields.
gyang-google 4a16ad1
Fix create cloud backup bug.
gyang-google bbdd51e
Fix numeric related issue.
gyang-google ccd2c14
Make all calls to streamObserver synchronized to prevent concurrency …
gyang-google 196360b
Replaces protos with the final released version.
gyang-google 734e5b7
Apply maven-protobuf-plugin to generate grpc stubs, remove grpc folde…
gyang-google 5f4e06e
Remove partitionTestUtil since partitionToken can be fetched now.
gyang-google e450aca
Merge remote-tracking branch 'git-fork/spanner-executor' into spanner…
gyang-google bf98484
Remove partitionTestUtil since partitionToken can be fetched now.
gyang-google b853576
Cleanup.
gyang-google 500a936
Fix pageToken for all the list operations.
gyang-google 52807ec
Rephrase some comments.
gyang-google 3dcc60b
Fix key flag issue.
gyang-google 401285d
Fix some admin actions regarding instanceId args.
gyang-google 51b2b42
Remove unused stuff in metadata.
gyang-google 58089b7
Remove debug message.
gyang-google d979668
Merge remote-tracking branch 'git-fork/spanner-executor' into spanner…
gyang-google 69069ef
Remove debug message.
gyang-google 6b96f14
Update build files to accommodate with proto dependency changes.
gyang-google 6289715
Merge branch 'googleapis:main' into spanner-executor
gyang-google 57d6596
Update pom file.
gyang-google 5bb0184
Update pom file.
gyang-google 2e6e171
fix: update comments
gyang-google 6d59274
fix: clean up dependencies.
gyang-google e702f7a
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] bd0241f
fix: addressed comments.
gyang-google ba63018
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
<?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> | ||
<url>https://github.com/googleapis/java-spanner</url> | ||
|
||
<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> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.