Skip to content

0.4.3

Choose a tag to compare

@greenape greenape released this 26 Mar 11:20
· 11961 commits to master since this release

Added

  • When running integration tests locally, normally pytest will automatically spin up servers for flowmachine and flowapi as part of the test setup.
    This can now be disabled by setting the environment variable FLOWKIT_INTEGRATION_TESTS_DISABLE_AUTOSTART_SERVERS=TRUE.
  • The integration tests now use the environment variables FLOWAPI_HOST, FLOWAPI_PORT to determine how to connect to the flowapi server.
  • A new data generator has been added to the synthetic data container which supports more data types, simple disaster simulation, and more plausible behaviours as well as increased performance

Changed

  • FlowAPI now reports queued/running status for queries instead of just accepted
  • The following environment variables have been renamed:
    • DB_USER -> FLOWDB_USER
    • DB_USER -> FLOWDB_HOST
    • DB_PASS -> FLOWDB_PASS
    • DB_PW -> FLOWDB_PASS
    • API_DB_USER -> FLOWAPI_DB_USER
    • API_DB_PASS -> FLOWAPI_DB_PASS
    • FM_DB_USER -> FLOWMACHINE_DB_USER
    • FM_DB_PASS -> FLOWMACHINE_DB_PASS
  • Added numerator_direction to ProportionEventType to allow for proportion of directed events.

Fixed

  • Server no longer loses track of queries under heavy load
  • TopUpBalances no longer always uses entire topups table

Removed

  • The environment variable DB_NAME has been removed.