Closed wtgee closed 2 months ago
Attention: Patch coverage is 60.00000%
with 2 lines
in your changes are missing coverage. Please review.
Project coverage is 71.97%. Comparing base (
2a0dbaf
) to head (2b323f6
).
Files | Patch % | Lines |
---|---|---|
src/panoptes/pocs/utils/database.py | 60.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is going to be pulled from the normal POCS operations and instead act on the files itself in a separate process.
This changes the behavior so that if the config item
panoptes_network.use_firestore
is set, then firestore will be used as the main database for long term storage and a local json file will not be written. The "current" document (e.g.~/json_store/panoptes/current_weather.json
) will still be written.This also changes the metadata firestore key to be
/metadata/{collection}/records/
, with an auto generated id. Each record has aunit
reference, areceived_time
, andcollection: {collection
}`.