26 lines
625 B
YAML
26 lines
625 B
YAML
|
|
id: phonics-annual-update
|
||
|
|
namespace: schoolcompare.data
|
||
|
|
description: Download and load Phonics Screening Check data via EES API
|
||
|
|
|
||
|
|
triggers:
|
||
|
|
- id: annual-schedule
|
||
|
|
type: io.kestra.plugin.core.trigger.Schedule
|
||
|
|
cron: "0 5 1 9 *" # 1 September annually at 05:00
|
||
|
|
|
||
|
|
tasks:
|
||
|
|
- id: download
|
||
|
|
type: io.kestra.plugin.core.http.Request
|
||
|
|
uri: http://integrator:8001/run/phonics?action=download
|
||
|
|
method: POST
|
||
|
|
timeout: PT20M
|
||
|
|
|
||
|
|
- id: load
|
||
|
|
type: io.kestra.plugin.core.http.Request
|
||
|
|
uri: http://integrator:8001/run/phonics?action=load
|
||
|
|
method: POST
|
||
|
|
timeout: PT30M
|
||
|
|
|
||
|
|
retry:
|
||
|
|
maxAttempts: 3
|
||
|
|
delay: PT15M
|