Releases: AaltoAsia/O-MI
v1.0.8 - Write performance upgrade
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
Changelog
Minor
- ParkingAgent example: Added support for
mv:isOccupied
item for amv:ParkingSpace
- Fixed problem in start script when path contains spaces
- Fixed response of remove command in admin CLI
Release version 1.0.6
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
Changes
- Parking Service Agent example: fixed issue with RDF prefix #13
Release version 1.0.4
Release version 1.0.3
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
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
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
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
- Update to version 0.9.2 (backup possibility added in this version)
- Connect to the CLI using for example netcat:
nc localhost 8180
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.
- Install this new version
- 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
- Move the files 'subs' and 'odf' to the working directory of the new version.
- Restore data: Connect again with netcat and restore the data to the server from the files:
nc localhost 8180
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
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
- Update to version 0.9.2 (backup possibility added in this version)
- Connect to the CLI using for example netcat:
nc localhost 8180
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.
- Install this new version
- 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
- Move the files 'subs' and 'odf' to the working directory of the new version.
- Restore data: Connect again with netcat and restore the data to the server from the files:
nc localhost 8180
restore subs odf