panoptes / POCS

An Observatory Control System for the PANOPTES citizen-science project designed to help find transiting exoplanets! :telescope: :stars:
https://pocs.readthedocs.io/en/latest/
MIT License
77 stars 49 forks source link

Add firestore service #1250

Closed wtgee closed 2 months ago

wtgee commented 2 months ago

Instead of using the PanDB mechanism to upload metadata to firestore, this creates a service that listens on the json_store/panoptes directory for incoming current_{collection}.yaml files and processes them accordingly.

This decouples the firestore process from POCS and allows for easier control and future features.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 17.24138% with 48 lines in your changes are missing coverage. Please review.

Project coverage is 70.22%. Comparing base (2a0dbaf) to head (12e2f77).

Files Patch % Lines
src/panoptes/pocs/utils/cli/network.py 12.72% 48 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1250 +/- ## =========================================== - Coverage 71.87% 70.22% -1.66% =========================================== Files 101 100 -1 Lines 8399 8399 Branches 1163 1164 +1 =========================================== - Hits 6037 5898 -139 - Misses 2207 2352 +145 + Partials 155 149 -6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.