Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for new cloud client test framework in google-cloud…
…-spanner-executor (#2217) * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Fix error code mapping. * Remove read_timestamp field in read result as it will never use it.(for optimistic only) * Mark all fields in spanner action outcome as optional. * Refactored existing protos according to api dev lint. Prepare new protos for existing executor features. * Added DML/batch DML/query features. Commented out Batch txns and change stream for future support. * Added support to Write. * Update batch txn related protos. * Add support for batch txn feature. * Add metadata for batch read. Prepare protos for change stream. * Implement the support for change stream. * Update change stream proto fields. * Fix create cloud backup bug. * Fix numeric related issue. Fix partition token. Fix request index for batch read. * Make all calls to streamObserver synchronized to prevent concurrency issue. This is achieved by wrapping streamObserver into executionFlowContext and make all the calls synchronized. * Rebase onto java-spanner changes. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Add Spanner executor proto and implementation for Read/Mutation and admin actions. * Fix error code mapping. * Remove read_timestamp field in read result as it will never use it.(for optimistic only) * Mark all fields in spanner action outcome as optional. * Refactored existing protos according to api dev lint. Prepare new protos for existing executor features. * Added DML/batch DML/query features. Commented out Batch txns and change stream for future support. * Added support to Write. * Update batch txn related protos. * Add support for batch txn feature. * Add metadata for batch read. Prepare protos for change stream. * Implement the support for change stream. * Update change stream proto fields. * Fix create cloud backup bug. * Fix numeric related issue. Fix partition token. Fix request index for batch read. * Make all calls to streamObserver synchronized to prevent concurrency issue. This is achieved by wrapping streamObserver into executionFlowContext and make all the calls synchronized. * Replaces protos with the final released version. * Apply maven-protobuf-plugin to generate grpc stubs, remove grpc folder for executor proto. Add key file option to client creation. * Remove partitionTestUtil since partitionToken can be fetched now. * Remove partitionTestUtil since partitionToken can be fetched now. * Cleanup. * Fix pageToken for all the list operations. Reformat code. * Rephrase some comments. Add createUserInstanceConfig and deleteUserInstanceConfig. Fix instanceConfig conversion issue. * Fix key flag issue. Fix replicas in createUserInstanceConfig. * Fix some admin actions regarding instanceId args. * Remove unused stuff in metadata. Fix numeric key issue. * Remove debug message. * Remove debug message. * Update build files to accommodate with proto dependency changes. * Update pom file. * Update pom file. * fix: update comments * fix: clean up dependencies. * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: addressed comments. * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
- Loading branch information