sambuc
fd2b4e098b
Upgraded to actix-web 4
2024-08-11 15:19:36 +02:00
sambuc
e05159c7d7
Specify toolchain version
...
This prevents compilation issues with newer standard libraries.
2024-08-06 10:58:55 +02:00
sambuc
1e5b5a8685
Remove .idea folder
2020-04-02 11:13:21 +02:00
sambuc
72e5296a7d
parser module was renamed to mercator_parser
2020-04-01 18:16:33 +02:00
sambuc
1da288b826
Fix links to grammar definitions
2020-04-01 17:46:07 +02:00
sambuc
478563f820
Adding documentation
2020-04-01 11:32:45 +02:00
sambuc
5dc9f13a78
Change timing information level to debug
2020-01-27 13:27:26 +01:00
sambuc
6532bd5a0d
Remove .unwrap() calls, and add more information.
2020-01-20 15:40:00 +01:00
sambuc
fc84eee48b
Prevent unsafe blocks for now
2020-01-20 14:59:39 +01:00
sambuc
eba485519c
Updated imports
...
* Reorganised so that each module part imports from the mod.rs
This allows for coherent types within the module to be updated
simply.
* Updated imports to the new mercator_db organisation
2020-01-14 18:01:49 +01:00
sambuc
16ac1ea7d1
Add content-type for responses
2019-11-28 13:42:43 +01:00
sambuc
d1dffdf890
Quiet some new clippy warnings
2019-11-28 13:42:14 +01:00
sambuc
e8e50bca8f
Enable compression. The client has to request it.
2019-11-08 16:50:19 +01:00
sambuc
a6865c6cbd
Update to new Index API, reduce allocations
2019-10-30 21:33:37 +01:00
sambuc
7c54dd4fc9
Fix indentation errors in Swagger file
2019-10-23 16:21:30 +02:00
sambuc
bba41629f4
Removing memory allocations
2019-10-18 20:59:10 +02:00
sambuc
5cbd2a0b69
Add support for view port & resolution selection.
2019-10-15 20:14:49 +02:00
sambuc
75b3529eb9
Support multiple cores (Datasets)
2019-10-04 19:27:02 +02:00
sambuc
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
sambuc
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
sambuc
aebe559130
Remove CLion workspace definition from repository
2019-10-03 14:28:41 +02:00
sambuc
f1c8677e5b
Wee bit early to disable trace logs for release build
2019-09-16 17:29:40 +02:00
sambuc
787608b8e7
Update README.md
2019-09-16 17:26:30 +02:00
sambuc
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
sambuc
29e78454a0
Moving JSON model to mercator_db, as it is shared.
2019-09-12 11:37:27 +02:00
sambuc
9d2cb9293d
Add basic CORS support
2019-09-12 11:37:27 +02:00
sambuc
942a39d40d
Add Automatic Logging of received queries.
2019-09-12 11:37:27 +02:00
sambuc
9f259b1044
Add support for static files
2019-09-03 17:20:19 +02:00
sambuc
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
sambuc
677998062a
Read from environment configuration
2019-09-03 17:20:19 +02:00
sambuc
13eff2e626
Renamed DataSets to Cores, per meeting decision
2019-09-03 17:20:18 +02:00
sambuc
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
sambuc
75e6dfc71a
Adding Swagger definition of the REST API
2019-09-03 17:20:18 +02:00
sambuc
455f83c58b
Testing infrastructure in place
2019-09-03 17:20:18 +02:00
sambuc
1a923c5477
Simple Actix-web Service with shared state
2019-09-03 17:20:18 +02:00
sambuc
f18e906f8d
Licenses and acknowledgements
2019-09-03 17:20:00 +02:00