v.1.1.0

Improvements:

  1. The “descriptor” and “descriptor_version” fields were added to the event.

  2. A set of nullable columns was updated.

  3. Due to reducing the size of the database, ids column types changed from varchar to UUID in Postgres

  4. The “Event.insert_time” column for a real-time new events monitoring was added.

  5. A new “location” field was added to the event. The field specifies the place where the event occurred.

  6. To improve the request execution speed the count field was removed from the response of GET “/events”.

  7. A DELETE method was added to “/events”. The method deletes 10000 oldest events from database.

  8. 202 Accepted status code was restored on POST “/events”.

  9. To check postgres database connection asyncpg is now used.

  10. An event_id parameter was added to the response from DELETE of “/events”

  11. A /1/events/match route for in-database matching was added, see installation here, see usage here

  12. The insert time query parameters were added to DELETE of “/events”, see here

  13. SAVE_EVENTS_TIMEOUT was added to the config for database events saving timeouts.

  14. Events copy was added to the monitoring, see monitoring.

Bugs fixed:

  1. The config file is no more required if start service with –luna-config argument

  2. The external_id query parameter of GET “/events” request can be any string now.

How to update from previous version:

To update from the previous version, replace all folders with files and update dependencies from requirements.txt. Then run the commands (only for postgres):

alembic upgrade head