-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Context:
- Once a week, the Logic App calls the scraper by iterating over a list of parameters. The scraper is called with "start date" and "end date" parameters -- the Logic App calls it using 2 week increments, going back 5 years. This means that this list of date parameters needs to be re-generated every week.
- Currently, the Python script that generates the array of data parameters is run manually on a dev's computer. It creates a json file, which is then manually uploaded to a specific container that the Logic App reads from.
Goal:
- This needs to be an automated process rather than something that is run manually. The recommended way is: create a new Azure Function with a "timer trigger", set to go off once a week, that generates
logic-app-dates.jsonand writes it to the container "logic-app-resource" (next to "case-html"). - No changes need to be made to the Logic App, as long as it results in a json file with the same name, in the same container, with the same structure. (
[["2018-04-25", "2018-05-01"], ["2018-05-02", "2018-05-08"], ...(etc to present)... ] - Contact Luci for the dates generator python script and example json file.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request