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

Allow Firestore emulator UI websocket port to be configurable #4925

Merged
merged 29 commits into from
Sep 28, 2022

Conversation

HYACCCINT
Copy link
Contributor

@HYACCCINT HYACCCINT commented Aug 26, 2022

Description

Fixes: #3837
Adding optional field websocket_port to Firestore emulator in Firebase.json, which allows the Firestore emulator UI websocket port to be configurable.

Note: Updates Firestore version from 1.14.4 to 1.15.0

Scenarios Tested

Sample Commands

Screen Shot 2022-09-08 at 1 04 39 PM

@codecov-commenter
Copy link

codecov-commenter commented Aug 26, 2022

Codecov Report

Base: 56.98% // Head: 56.94% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (b9e2dd8) compared to base (eb1dd9c).
Patch coverage: 0.00% of modified lines in pull request are covered.

❗ Current head b9e2dd8 differs from pull request most recent head f80c241. Consider uploading reports for the commit f80c241 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4925      +/-   ##
==========================================
- Coverage   56.98%   56.94%   -0.04%     
==========================================
  Files         291      291              
  Lines       19471    19486      +15     
  Branches     3900     3904       +4     
==========================================
+ Hits        11095    11097       +2     
- Misses       7437     7450      +13     
  Partials      939      939              
Impacted Files Coverage Δ
src/emulator/controller.ts 13.29% <0.00%> (-0.54%) ⬇️
src/emulator/downloadableEmulators.ts 23.30% <ø> (ø)
src/emulator/firestoreEmulator.ts 23.07% <0.00%> (-0.46%) ⬇️
src/emulator/types.ts 45.55% <ø> (ø)
src/emulator/auth/state.ts 85.43% <0.00%> (+0.56%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@HYACCCINT
Copy link
Contributor Author

schema/firebase-config.json Outdated Show resolved Hide resolved
src/emulator/controller.ts Outdated Show resolved Hide resolved
src/emulator/controller.ts Outdated Show resolved Hide resolved
src/emulator/controller.ts Show resolved Hide resolved
src/firebaseConfig.ts Outdated Show resolved Hide resolved
@HYACCCINT HYACCCINT marked this pull request as ready for review September 8, 2022 16:00
@yuchenshi yuchenshi enabled auto-merge (squash) September 27, 2022 23:43
@yuchenshi yuchenshi merged commit 311f399 into master Sep 28, 2022
@yuchenshi yuchenshi deleted the 3837-cynthia branch September 28, 2022 01:46
christhompsongoogle pushed a commit that referenced this pull request Sep 30, 2022
* feat: allow firestore ui websocket to be configurable through firebase.json

* feat: add logging for firestore ui websocket port reservation when starting cli

* feat: add logging for websocket port in emulator start cli, fix lint

* Update src/emulator/controller.ts

Co-authored-by: Yuchen Shi <[email protected]>

* fix: camel case

* fix: camel casing

* fix: typo

* fix: function naming

* fix: linting

* feat: update cloud firestore versions

* fix: update jar size

* Update CHANGELOG.md

* Update downloadableEmulators.ts

* Update downloadableEmulators.ts

Co-authored-by: Yuchen Shi <[email protected]>
christhompsongoogle pushed a commit that referenced this pull request Sep 30, 2022
* feat: allow firestore ui websocket to be configurable through firebase.json

* feat: add logging for firestore ui websocket port reservation when starting cli

* feat: add logging for websocket port in emulator start cli, fix lint

* Update src/emulator/controller.ts

Co-authored-by: Yuchen Shi <[email protected]>

* fix: camel case

* fix: camel casing

* fix: typo

* fix: function naming

* fix: linting

* feat: update cloud firestore versions

* fix: update jar size

* Update CHANGELOG.md

* Update downloadableEmulators.ts

* Update downloadableEmulators.ts

Co-authored-by: Yuchen Shi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow setting webSocketPort on the firestore emulator
4 participants