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/add google cloud firestore support #85

Open
wants to merge 10 commits into
base: 1.7.x
Choose a base branch
from

Conversation

SimonFrauenschuh
Copy link
Contributor

Add Support for Azure Blob Storage

Following the code and tests of the Micronaut implementation of the azure blob-storage-client, I've implemented something similar for Firebase.

Problem

All tests - if run individually - pass.
But if I run them via ./gradlew check, FirestoreStorageSpec fails when trying to access the firestore-emulator docker-image with the following error-message:

Caused by: com.google.api.gax.rpc.UnavailableException: io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason

@graemerocher graemerocher added the type: enhancement New feature or request label Aug 17, 2024
@anandjaisy
Copy link

@SimonFrauenschuh Does this also support gcp cloud storage https://cloud.google.com/storage?hl=en

@SimonFrauenschuh
Copy link
Contributor Author

@SimonFrauenschuh Does this also support gcp cloud storage https://cloud.google.com/storage?hl=en

EclipseStore has no support (yet) for google cloud storage so the short answer is no because you can't use the Firestore client that is required by EclipseStore.

Currently, there seems to be no direct support, but you can try using the S3Client and accessing googles XML-Endpoint. According to the documentation I've read until now there might be a change that because there is a S3-compatible endpoint you can use (Micronaut) EclipseStore for AWS S3.

(Maybe this tutorial works for you? (Note: You have to use the S3Client, not the AmazonS3))

Copy link
Contributor

@sdelamo sdelamo left a comment

Choose a reason for hiding this comment

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

@SimonFrauenschuh Thanks for the contribution.

The test FirestoreStorageSpec is failing for me.

can you check it?

@SimonFrauenschuh
Copy link
Contributor Author

@SimonFrauenschuh Thanks for the contribution.

The test FirestoreStorageSpec is failing for me.

can you check it?

Sorry, I have a few exams right now in university, will probably take a few days (weeks).

If the test is executed alone, it works, but I'll try to the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

5 participants