You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Testcontainers project allows to use services running in containers to be used during testing. It will be great to add such tests for available emulators using google/cloud-sdk container.
I have a proof of concept here that shows how to run such tests in Travis.
If this idea look good to everyone I can try to add some simple tests after #1973 is fixed.
It's not clear what this request is for currently. Our current stance is for users of google-cloud-java to start emulators themselves, and then customize the API clients in google-cloud-java to use the running emulator instead of the real service. What else is needed?
The problem I've seen before that google-cloud-java stopped working with emulators. It will be nice to make sure changes to google-cloud-java are not breaking it ability to talk to emulators.
We intend on continuing to support the special functionality necessary for emulators (plain text, no credentials). With that, I don't think emulators would generally break. It's a challenge to verify emulators in google-cloud-java because that requires extra dependencies that are problematic (either the python-based gcloud utility, or downloading the emulator from the internet). I think I'll close this out - feel free to open a new issue if emulators break in the future.
priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Activity
shinfan commentedon May 8, 2017
I don't think google-cloud-java contains any source code of gcloud emulators.
fkorotkov commentedon May 8, 2017
Right, @shinfan. But wouldn't it be great to verify
google-cloud-javaworks properly with emulators to catch problems like #1973?shinfan commentedon May 8, 2017
Oh I sorry I misunderstood. I think it makes sense to make sure gcloud work with emulators.
garrettjonesgoogle commentedon Aug 11, 2017
It's not clear what this request is for currently. Our current stance is for users of google-cloud-java to start emulators themselves, and then customize the API clients in google-cloud-java to use the running emulator instead of the real service. What else is needed?
fkorotkov commentedon Aug 11, 2017
The problem I've seen before that
google-cloud-javastopped working with emulators. It will be nice to make sure changes togoogle-cloud-javaare not breaking it ability to talk to emulators.fkorotkov commentedon Aug 11, 2017
It might be fine to not have them since
google-cloud-javais getting more and more stable. 🤷♂️garrettjonesgoogle commentedon Aug 11, 2017
We intend on continuing to support the special functionality necessary for emulators (plain text, no credentials). With that, I don't think emulators would generally break. It's a challenge to verify emulators in google-cloud-java because that requires extra dependencies that are problematic (either the python-based gcloud utility, or downloading the emulator from the internet). I think I'll close this out - feel free to open a new issue if emulators break in the future.
deps: update dependency com.google.cloud:google-cloud-shared-dependen…
chore(main): release 2.33.1 (#2026)
chore(main): release 2.29.2-SNAPSHOT (googleapis#2024)
chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…
chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
chore(deps): update dependency com.google.cloud:google-cloud-bigtable…