Open
Description
Dependency
Overview
We are currently storing excess data in vrms_data.json
. We need to store only necessary data to make the website work. See Resources/Instructions for required data.
Details
Currently, all data fetched from the VRMS API is being saved. This means we are exposing unnecessary information to end users. We should only update required information and delete everything else in order to ensure data privacy, protection & security. Required data under resources
Action Items
- Read and understand Hack for LA's GitHub Actions Architecture wiki
- Create a new folder in
github-actions/trigger-schedule
namedvrms-data
- In that new folder create a new file named
filter-vrms-data.js
- In that new folder create a new file named
- Write the code required to filter the vrms data & save it to
_data/external/vrms_data.json
- Integrate the new file with the "Update VMRS data" workflow triggered by
.github/workflows/vrms-data.yml
- Test the workflow in your repo and demonstrate that your solution works.
- Test that all pages that rely on
vrms_data.json
are unchanged
Resources/Instructions
- This issue was initiated by ER: Review VRMS json data to identify what we are using #6145
- Hack for LAs GitHub Actions
- Required data specified in this issue: Identify what is required for the website that VRMS provides #7524
- Pages that use
vrms_data.json
- https://www.hackforla.org/projects/311-data (any project page like this) has event data
- https://www.hackforla.org/events/ has event data
- https://www.hackforla.org/project-meetings
- Files used by "Update VMRS data" workflow"
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In progress (actively working)