Open gridcellcoder opened 1 year ago
This issue does not seem to follow the issue template. Make sure you provide all the required information.
Its possible its just not supported yet https://github.com/googleapis/java-storage/issues/875 https://firebase.google.com/docs/emulator-suite/install_and_configure#admin_sdk_availability
Any updates on this? Is it supported or not? Can we use the cloud store emulator in tests?
[REQUIRED] Environment info
firebase-tools:11.21.0
Platform
[REQUIRED] Test case
FIREBASE_STORAGE_EMULATOR_HOST=localhost:9199
Create a basic maven project with google-cloud libs and start the emulator (after running firebase init).
Complete code example here; https://github.com/gridcellcoder/firebase-emulator-debug
[REQUIRED] Steps to reproduce
Then create a maven project only with latest cloud libs
results in an exception.
Other steps and approaches also indicated at stackoverflow: https://stackoverflow.com/questions/75201025/unable-to-upload-media-file-tofirebase-emulator
tried with combinations of google-cloud-storage 2.15.0,2.16.0 and firebase-tools v11.19.0 ,v11.16.1 and get the same error message.
[REQUIRED] Expected behavior
Storage of a text file in the emulated storage bucket
gs://demo-project.appspot.com
as seen in the UI.[REQUIRED] Actual behavior
logfile.txt