v2 backend: generate and serve case stats #1972
Labels
needs:triage
New issue that needs triage
resolved:stale
No recent activity on the issue or PR
source:public
Issues created by the public
Summary
Currently, the case stats being served by the v2 backend are...
v1
API (getCaseStats
) instead of using Firestore-based "API-less" access.Desired Solution
We'd like to...
v1
API.Additional Context
There is existing AppEngine code to generate case stats in
RefreshCaseStatsServlet.java
. We're looking to replace this code with our new Cloud Functions approach - its logic can likely be mostly maintained.To allow for direct access from the client to Firestore, we will need to update our Firestore security rules in
firestore.rules
. Please also update the unit tests infirestore_rules.spec.ts
to demonstrate which parts of the database should and should not be accessible directly to clients.The text was updated successfully, but these errors were encountered: