Commit Graph

11 Commits

Author SHA1 Message Date
9d2cb9293d Add basic CORS support 2019-09-12 11:37:27 +02:00
942a39d40d Add Automatic Logging of received queries. 2019-09-12 11:37:27 +02:00
9f259b1044 Add support for static files 2019-09-03 17:20:19 +02:00
8bf9edee25 Load data from file, getters only
At this time, the data is loaded from a set of files and the following
end points are available:
 - /health
 - /spaces (POST)
 - /spaces/{id} (GET)
 - /cores (POST)
 - /cores/{id} (GET)
 - /cores/{id}/spatial_objects (POST)
 - /cores/{id}/spatial_objects/{oid} (GET)

The implement ation is currently minimal and does not allow for filters
or parameters on any of the handlers.
2019-09-03 17:20:19 +02:00
677998062a Read from environment configuration 2019-09-03 17:20:19 +02:00
13eff2e626 Renamed DataSets to Cores, per meeting decision 2019-09-03 17:20:18 +02:00
fb0d65b4b8 Implementing HTTP API
The handler are empty for now, but all the routing and infrastructure is
in place.

The next steps is to wire in the query parser & index libraries.
2019-09-03 17:20:18 +02:00
75e6dfc71a Adding Swagger definition of the REST API 2019-09-03 17:20:18 +02:00
455f83c58b Testing infrastructure in place 2019-09-03 17:20:18 +02:00
1a923c5477 Simple Actix-web Service with shared state 2019-09-03 17:20:18 +02:00
f18e906f8d Licenses and acknowledgements 2019-09-03 17:20:00 +02:00