EIDA / eida-statistics

Aggregated statistics of EIDA nodes
GNU General Public License v3.0
0 stars 0 forks source link

All webservice methods in one Flask application #13

Closed jschaeff closed 1 year ago

jschaeff commented 1 year ago

Curently, the webservices /statistics/1/* and /dataselectstats are written to be executed in separate flask applications.

I would like to serve both in one single application:

PUSH /dataselectstats => statistics ingestion GET /dataselectstats => statistics query GET /query GET /health GET / => documentation

Besides, do not declare all the statistics/1/ part in the routes, as they will be set on the deployment side.

You can reorganize the project to split the routes and the methods as you see fit.