-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feature/firebase emulator config switch #707
Feature/firebase emulator config switch #707
Conversation
…fig property set by the firebase dev service config.
… separated from the quarkus logic. Added support for - UI Logging port - UI Hub endpoint - Firestore websocket port - Cloud Storage
…based on the Quarkus configuration into a separate class Moved the exposed ports to be part of the container configuration.
Ok, quite a bit of work so far:
SCRATCH THIS BELOW, IM AN IDIOT ;)
|
@loicmathieu question w.r.t. the currently failing build. Cause of that is that the tests try to validate that a function is running, which requires the packages needed for that function are installed (i.e. run
any preference? |
If a simple |
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.
There is a lot of config/rules file, I'm not sure what it's used for, if we really need them, and if they should not be moved to META-INF so they are included in the JAR and loaded from there.
.../io/quarkiverse/googlecloudservices/firebase/deployment/FirebaseDevServiceProjectConfig.java
Outdated
Show resolved
Hide resolved
...iverse/googlecloudservices/firebase/deployment/testcontainers/FirebaseEmulatorContainer.java
Show resolved
Hide resolved
...iverse/googlecloudservices/firebase/deployment/testcontainers/FirebaseEmulatorContainer.java
Show resolved
Hide resolved
firebase-devservices/deployment/src/main/schema/firebase-config.json
Outdated
Show resolved
Hide resolved
...udservices/firebase/deployment/testcontainers/FirebaseEmulatorContainerCustomConfigTest.java
Outdated
Show resolved
Hide resolved
...oudservices/firebase/deployment/testcontainers/FirebaseEmulatorContainerIntegrationTest.java
Outdated
Show resolved
Hide resolved
Its a simple npm install, I'll put that in the actions |
To summarize, those are all used for testing purposes, not used at runtime, at kept in those locations as this mimics the way a regular Firebase project would be setup, i.e. having those files there is part of the test setup. |
OK, great, understood. |
Everything that is test related should either be in src/test or in an integration-test module. |
Fixed: 8be975c |
All comments processed, your turn again ;) |
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.
LGTM, thanks a lot!
This is a huge contribution.
I'll certainly do a round of cleanup later, if so, I'll send you the PR for validation.
I also didn't check the doc in details.
But overall, the PR is a nice addition so I'll merge it as is as it's already too old ;).
Thanks again for your patience
No description provided.