Commit Graph

17 Commits

Author SHA1 Message Date
66d19f7a2d Upgraded to actix_web 1.0+
* Some refactoring
 * Adding CORS support
 * Updating API & tests with 405 for the relevent calls
 * Fixing test so they can be run
2019-10-03 14:28:41 +02:00
aebe559130 Remove CLion workspace definition from repository 2019-10-03 14:28:41 +02:00
f1c8677e5b Wee bit early to disable trace logs for release build 2019-09-16 17:29:40 +02:00
787608b8e7 Update README.md 2019-09-16 17:26:30 +02:00
485e6d342b Integrate Query Parser
Integrate the query parser to allow filters to be provided to collection
end points.

Refactor the shared state to better encapsulate the model.
2019-09-12 14:16:30 +02:00
29e78454a0 Moving JSON model to mercator_db, as it is shared. 2019-09-12 11:37:27 +02:00
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