Skip to content

Releases: AaltoAsia/O-MI

v1.0.8 - Write performance upgrade

04 Dec 11:51
Compare
Choose a tag to compare

Changes

  • Fixed write request performance problems when writing new InfoItems, especially into a large existing hierarchy. Write performance should increase also in some other situations.
  • Fixed xml double escape bug in <value>
  • Experimental support for Kamon metrics

Release version 1.0.7

08 Nov 14:13
Compare
Choose a tag to compare

Changelog

Minor

  • ParkingAgent example: Added support for mv:isOccupied item for a mv:ParkingSpace
  • Fixed problem in start script when path contains spaces
  • Fixed response of remove command in admin CLI

Release version 1.0.6

23 Oct 15:35
Compare
Choose a tag to compare

Changes

  • Fix memory leak in parser (o-mi read request)
  • Backup option is now optional in Debian release
  • Reduced size of the Debian release from 130MB -> 52MB
  • ODF-Agent example now gives better random values
  • New Responsible Java Agent example

Release version 1.0.5

22 Aug 13:23
Compare
Choose a tag to compare

Changes

  • Parking Service Agent example: fixed issue with RDF prefix #13

Release version 1.0.4

21 Aug 07:11
Compare
Choose a tag to compare

Changes

  • Parking Service Agent example: fixed issues #10 #11 and probably #12
  • Fixed bug in internal O-DF function getChildPaths
  • InfluxDB integration: fixed bug that journal db did not take snapshots which caused long server restarts

Release version 1.0.3

06 Aug 10:31
Compare
Choose a tag to compare

Changes

  • Authorization API
    • Fixes in O-MI Read request filtering in complex cases
    • Fixed a possible configuration case where authentication fails incorrectly
    • Fixed configuration name "cookie" to "cookies" in parameter extraction ("from..." settings to be consistent with request generation ("to..." settings)
  • Parking Service Agent example: fixed problem with capacity objects returned by findParking method (Issue #9)
  • InfluxDB integration: fixed number types to be written as numbers rather than strings

Release version 1.0.2

17 Jul 08:06
Compare
Choose a tag to compare

Changes

  • Authorization API
    • Fix bugs in O-DF filtering
    • Only read requests are now filtered by default; write, delete and call requests needs access to all contents of the request before succeeding, in other words, partial success is not allowed.

Hotfix version 1.0.1

12 Jul 12:05
Compare
Choose a tag to compare

Changes

  • Fixed problem with backup command

Other

  • Compatible with version 1.0.0. Follow migration guide if updating from version older than 1.0.0

Release version 1.0.0 - Performance upgrade

11 Jul 15:51
Compare
Choose a tag to compare

Changes

  • Write and Read request performance improved massively
  • Changed journal db library to akka-persistance, improves write performance over 100 times faster
  • Added possibility to take journal snapshots using CLI
  • Configuration parameters for server start and internal timeouts
  • Configuration parameters changed for taking journal snapshots and removing old snapshots:
    • Snapshots are now taken every 6 hours by default, snapshots older than 3 days are removed
  • Internal analytics functionality was removed, but might be reintroduced in future

Migration guide

This update does not have backwards-compatible journal db. This means that old journal db needs to be removed. To update without migrating data, remove old journal db: rm -r /var/log/o-mi-node/journalDBs

  1. Update to version 0.9.2 (backup possibility added in this version)
  2. Connect to the CLI using for example netcat:
    1. nc localhost 8180
    2. backup subs odf
      • This creates json file 'subs' for subscriptions and odf file 'odf' for the data. Change them to different file path if your server doesn't have filesystem permissions in the working directory.
  3. Install this new version
  4. If installing on top of the old version (also debian or rpm package), remove old journal db: rm -r /var/log/o-mi-node/journalDBs
  5. Move the files 'subs' and 'odf' to the working directory of the new version.
  6. Restore data: Connect again with netcat and restore the data to the server from the files:
    1. nc localhost 8180
    2. restore subs odf

Other

We are now changing versioning system to more semantic-like. Our "public API" then includes at least database models, configuration, O-MI and InternalAgent interfaces. So it would be easy to know if an update works with old databases and configuration. InternalAgents compatibility is still difficult to determine as they are compiled code that uses o-mi-node as dependency.

Known Issues

  • CLI backup functionality not working correctly. Fixed in version 1.0.1.

Release version 0.13.0

03 Jul 08:33
Compare
Choose a tag to compare

Announcement

There will soon be the next version with new journal db, which would allow us to make the release more stable and future updates backwards-compatible. If your updating procedure is not automated and the new features are not needed, it is advised to wait until the next update.

Changes

  • Version 2 of external authentication and authorization API support, see the documentation (which is still being improved)
  • The included example agent parking and charging service is updated
  • Web client: The missing delete request added
  • Updated Scala version to 2.12.6, this broke the journal db
  • Minor logging changes

Migration guide

This update does not have backwards-compatible journal db. This means that old journal db needs to be removed. To update without migrating data, remove old journal db: rm -r /var/log/o-mi-node/journalDBs

  1. Update to version 0.9.2 (backup possibility added in this version)
  2. Connect to the CLI using for example netcat:
    1. nc localhost 8180
    2. backup subs odf
      • This creates json file 'subs' for subscriptions and odf file 'odf' for the data. Change them to different file path if your server doesn't have filesystem permissions in the working directory.
  3. Install this new version
  4. If installing on top of the old version (also debian or rpm package), remove old journal db: rm -r /var/log/o-mi-node/journalDBs
  5. Move the files 'subs' and 'odf' to the working directory of the new version.
  6. Restore data: Connect again with netcat and restore the data to the server from the files:
    1. nc localhost 8180
    2. restore subs odf