dali-lab / pine-beetle-automation

Server for automating the pipeline between ArcGIS and MongoDB.
https://spbpredict.com
1 stars 0 forks source link

Data Pipeline | Survey123 router and webhook #40

Closed jeffzyliu closed 3 years ago

jeffzyliu commented 3 years ago

Description

We need to emulate the archive structure of one route that is attached to the survey123 webhook. We should create this and then test it with dummy inputs to just verify that our communication is set up right.

Type of Issue

jeffzyliu commented 3 years ago

includes both a 'new' and 'edit' trigger. they should work exactly the same, except that 'new' triggers the pipeline on 'final collection', and 'edit' can do a lookup on whether the prediction exists already to check whether or not to recalculate

jeffzyliu commented 3 years ago

To be safe, for edit, rerun for both old and new y/s/c/rd if they exist

jeffzyliu commented 3 years ago

edit: this will only apply to the 'new data' trigger