GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: split emulator into core without deps and a higher level wrapper with grpc helpers by igorbernstein2 · Pull Request #1264 · googleapis/java-bigtable

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@igorbernstein2

@igorbernstein2 igorbernstein2 commented May 26, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@igorbernstein2
igorbernstein2 requested review from a team 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
@igorbernstein2
chore: split emulator into core without deps and a higher level wrapp…
c3e99cd
…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
@igorbernstein2
igorbernstein2 force-pushed the split-emulator branch from 9f93918 to c3e99cd Compare May 26, 2022 15:40
mpeddada1
mpeddada1 approved these changes May 26, 2022
View reviewed changes

@mpeddada1 mpeddada1 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this 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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@igorbernstein2
igorbernstein2 requested a review from kolea2 May 26, 2022 17:49
@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 approved these changes May 26, 2022
View reviewed changes
@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
kolea2
kolea2 suggested changes May 26, 2022
View reviewed changes

@kolea2 kolea2 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Please add this new module to the repo metadata: https://github.com/googleapis/java-bigtable/blob/main/.repo-metadata.json#L15

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@igorbernstein2
owlbot config
c10f36c
@igorbernstein2
igorbernstein2 force-pushed the split-emulator branch from 33f8419 to c10f36c Compare May 26, 2022 18:10
@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
kolea2
kolea2 approved these changes May 26, 2022
View reviewed changes
kolea2
kolea2 suggested changes May 26, 2022
View reviewed changes
Comment thread google-cloud-bigtable-emulator-core/pom.xml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@igorbernstein2
missing version comment
097b6ea
@igorbernstein2
igorbernstein2 force-pushed the split-emulator branch from 8cabf8f to 097b6ea Compare May 26, 2022 18:29
kolea2
kolea2 approved these changes May 26, 2022
View reviewed changes
@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-owl-bot
🦉 Updates from OwlBot post-processor
e526b4a
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
@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
@release-please release-please Bot mentioned this pull request May 26, 2022
chore(main): release 2.8.0 #1265
Merged
@igorbernstein2 igorbernstein2 mentioned this pull request May 26, 2022
chore: fix version tag #1266
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request May 26, 2022
@igorbernstein2
chore: fix version tag (#1266)
a7b8358
This was introduced in #1264
gcf-merge-on-green Bot pushed a commit that referenced this pull request May 31, 2022
@release-please
chore(main): release 2.8.0 (#1265)
9fb0360
🤖 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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@kolea2 kolea2 kolea2 approved these changes
@mpeddada1 mpeddada1 mpeddada1 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: l Pull request size is large.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@igorbernstein2 @kolea2 @mpeddada1
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.