You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: functions-python/gbfs_validator/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,9 @@ The message published by the batch function to the Pub/Sub topic follows this fo
32
32
33
33
-**`gbfs-validator-batch`**: Triggered per execution ID, this function iterates over all GBFS feeds, preparing and publishing individual messages to the Pub/Sub topic.
34
34
-**`gbfs-validator-pubsub`**: Triggered per feed, this function performs the following steps:
35
-
1.**Download the feed snapshot to GCP**: It uploads all related files to the specified Cloud Storage bucket and updates the `gbfs.json` file to point to the newly uploaded files.
36
-
2.**Validate the feed**: Run the GBFS validator on the feed snapshot.
37
-
3.**Update the database**: The function updates the database with the snapshot information and validation report details.
35
+
1.**Access the autodiscovery URL and update versions**: The function accesses the autodiscovery URL to update the **GBFSVersions** table.
36
+
2.**Measure latency and validate the feed**: For each version, the function measures the response latency and validates the feed. The validation summary is stored in GCP, and the total error count is extracted and saved in the **GBFSValidationReport**.
37
+
3.**Store validation details**: The function stores detailed errors as **GBFSNotice** entities.
0 commit comments