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: split emulator into core without deps and a higher level wrapper with grpc helpers #1264

Merged
merged 4 commits into from May 26, 2022

Conversation

igorbernstein2
Copy link
Contributor

@igorbernstein2 igorbernstein2 commented May 26, 2022

Currently the emulator exists in a single artifact with optional deps. The reason for this is that bigtable-hbase needs the emulator w/o grpc. However this is causing issues in graalvm packaging in #1234. This PR makes this easier to manage: a -core artifact without dependencies that just wraps the golang binary that bigtable-hbase can use and a wrapper that has a hard dep on grpc & gax.

This is technically a breaking change but the emulator artifact is pre-GA an is marked with BetaApi

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

@igorbernstein2 igorbernstein2 requested review from a team as code owners May 26, 2022 15:27
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigtable Issues related to the googleapis/java-bigtable API. labels May 26, 2022
…er with grpc helpers

Currently the emulator exists in a single artifact with optional deps. The reason for this is
that bigtable-hbase needs the emulator w/o grpc. However this is causing issues in graalvm
packaging in googleapis#1234. This PR makes this easier to manage: a -core artifact without dependencies
that just wraps the golang binary that bigtable-hbase can use and a wrapper that has a hard dep
on grpc & gax.

This is technically a breaking change but the emulator artifact is pre-GA an is marked with BetaApi
Copy link
Contributor

@mpeddada1 mpeddada1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @igorbernstein2! I have tried this locally with native image testing and it works great! Looks great from my end.

@igorbernstein2 igorbernstein2 changed the title chore: split emulator into core without deps and a higher level wrapper with grpc helpers feat: split emulator into core without deps and a higher level wrapper with grpc helpers May 26, 2022
@kolea2 kolea2 added the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
Copy link
Collaborator

@kolea2 kolea2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@igorbernstein2 igorbernstein2 added the automerge Merge the pull request once unit tests and other checks pass. label May 26, 2022
@kolea2 kolea2 added the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
@igorbernstein2 igorbernstein2 added the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
@gcf-merge-on-green gcf-merge-on-green bot merged commit 6fdc2c1 into googleapis:main May 26, 2022
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label May 26, 2022
gcf-merge-on-green bot pushed a commit that referenced this pull request May 26, 2022
This was introduced in #1264
gcf-merge-on-green bot pushed a commit that referenced this pull request May 31, 2022
🤖 I have created a release *beep* *boop*
---


## [2.8.0](v2.7.0...v2.8.0) (2022-05-27)


### Features

* split emulator into core without deps and a higher level wrapper with grpc helpers ([#1264](#1264)) ([6fdc2c1](6fdc2c1))


### Bug Fixes

* **java:** enable skipped tests for Native Image testing  ([#1234](#1234)) ([560a501](560a501))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@igorbernstein2 igorbernstein2 deleted the split-emulator branch May 31, 2022 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the googleapis/java-bigtable API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants