bba41629f4
Removing memory allocations
2019-10-18 20:59:10 +02:00
5cbd2a0b69
Add support for view port & resolution selection.
2019-10-15 20:14:49 +02:00
0239b15fa3
JSON request parameters definition
...
+ JSON Filter parameters:
* Add filters
* Add resolution
* Add view_port
* Add space, for output space normalization into a single space
* Add ids_only
+ JSON Query parameters:
* Add query
* Add resolution
* Add view_port
2019-10-03 14:41:32 +02:00
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
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
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
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