Notes
This revision contains some breaking API changes.
Changes
+ `create_db` was moved out of `app_factory.py` and into `orm.py`. (115)
+ All files created during tests are now made in the `/tmp` directory. (44)
+ Migrations are now performed automatically when the flask app is created
(when the first request comes in to WSGI). (71, 114)
+ Dropped support for Python 3.5 (119)
+ Added the REST API to get all metrics (120)
+ `db.add_data_point` was renamed to `db.insert_datapoint` to match with
future API naming conventions. (123)
+ Added an internal api for datapoints to `db.py`. (125)
+ The REST api is now viewable via a Swagger (or ReDoc!) web page! (34)
+ Core API routes have been refactored to use Flask's Pluggable Views. (128)
+ Sorted the Swagger API into logical blueprints by Schema/MethodView. (133)
+ Replaced all instances of port 9999 with port 2003. (104)
+ The `missing_required_key` error response now accepts lists or tuples.
(137)
+ The `/data` API routes have been moved to a MethodView class. (138)
+ **BREAKING** The api has been refactored to be more consistent. Public API
on core schemas (`Metric`, `DataPoint`) will only accept internal IDs and
no longer accept strings for metric identification. See the docs for
additional details. (140)
+ Minor updates to how the `populated_db` test fixture works (142)
+ Table PKs are now explicit `AUTOINCREMENT` rather than using SQLite's
internal `ROWID`. This will result in increased cpu/memory/disk overhead,
but it ensures that PKs cannot be resued. (143)
+ The REST API for `DataPoint` has been implemented. (122)
+ Example `docker-compose.yml` file now includes `depends_on`. (99)
+ A tip on generating a secure secret has been added to the installation
docs. (93)
+ Command line stuff is now handled by `click`. (150)