Skip to content

Releases: AaltoAsia/O-MI

Release version 3.1.6

18 Oct 04:45
Compare
Choose a tag to compare

Changes

  • Improved journal db trimming to solve disk space problems
  • Added trimJournals admin cli command to solve already bad journal situation
    • Look for log messages, you have this problem when you see something like: WARN LatestStore - Failed to deleteMessages toSequenceNr [11115773] for persistenceId [lateststore] due to [null: Circuit Breaker Timed out.]. It means the automatic cleaning cannot handle the amount of data in the clean step.
    • Take the sequence numbers from these warnings and use the trimJournal to start with smaller chunks and end with the amount in logs, otherwise you might remove still required data.
    • Example automation: for x in $(seq 1 110); do echo trimJournal HierarchyStore "$x"77656 | nc -q 3 localhost 8180; sleep 60s; done
  • Misc bug fixes

File to choose:

  • o-mi-node-x.y.z.zip for Windows, standalone package.
  • o-mi-node-x.y.z.deb for Ubuntu, Debian or other Linux with dpkg
  • o-mi-node-x.y.z.rpm for Red Hat Linux
  • o-mi-node-x.y.z.tgz for Mac or Linux, standalone package
  • apidoc-x.y.z.zip contains only documentation

Release version 3.1.4

07 Sep 12:23
Compare
Choose a tag to compare

Changes

  • Closing the server now takes snapshot and shuts down the actor system gracefully even in the case of SIGINT(ctrl + c)
  • Added a new ScalaAgent called ServiceDiscoveryAgent

ServiceDiscoveryAgent

File to choose:

  • o-mi-node-x.y.z.zip for Windows, standalone package.
  • o-mi-node-x.y.z.deb for Ubuntu, Debian or other Linux with dpkg
  • o-mi-node-x.y.z.rpm for Red Hat Linux
  • o-mi-node-x.y.z.tgz for Mac or Linux, standalone package
  • apidoc-x.y.z.zip contains only documentation

Release version 3.1.3

02 Jul 13:24
Compare
Choose a tag to compare

Changes

  • Big performance upgrade for write requests and read requests with historical values. Especially on databases with large amount of InfoItems
  • Added a getAllDatav2.py python script for downloading O-DF data from target server using O-MI

File to choose:

  • o-mi-node-x.y.z.zip for Windows, standalone package.
  • o-mi-node-x.y.z.deb for Ubuntu, Debian or other Linux with dpkg
  • o-mi-node-x.y.z.rpm for Red Hat Linux
  • o-mi-node-x.y.z.tgz for Mac or Linux, standalone package
  • apidoc-x.y.z.zip contains only documentation

Release version 3.1.2

31 Jan 12:41
Compare
Choose a tag to compare

Changes

  • Fix deleting of InfoItem locking the O-DF path from writing again
    • if you have this progrem and want to fix it:
      1. optional: make a backup of the O-DF hierarchy and subscriptions (poll subscription data will be lost) see Migration Guide in older release otherwise O-DF structure and active subscriptions will be lost (it might not matter if you have active write requests and possible subscribers have a recovery mechanism)
      2. remove database/journaldbs/ directory
      3. restore backup if you don't have any write requests rewriting the O-DF structure
  • Fix journal recovery error

File to choose:

  • o-mi-node-x.y.z.zip for Windows, standalone package.
  • o-mi-node-x.y.z.deb for Ubuntu, Debian or other Linux with dpkg
  • o-mi-node-x.y.z.rpm for Red Hat Linux
  • o-mi-node-x.y.z.tgz for Mac or Linux, standalone package
  • apidoc-x.y.z.zip contains only documentation

Release version 3.1.1

18 Dec 09:51
Compare
Choose a tag to compare

Changes

  • Fix bug with automatic websocket closing
  • Fix webclient protocol selector button

3.1.0

25 Nov 14:16
Compare
Choose a tag to compare

Changes

  • Added response gzipping
  • Fixed xmlns in responses when the server locale is Finnish or other which uses , as decimal separator.

File to choose:

  • o-mi-node-x.y.z.zip for Windows, standalone package.
  • o-mi-node-x.y.z.deb for Ubuntu, Debian or other Linux with dpkg
  • o-mi-node-x.y.z.rpm for Red Hat Linux
  • o-mi-node-x.y.z.tgz for Mac or Linux, standalone package
  • apidoc-x.y.z.zip contains only documentation

Release version 3.0.0

18 Nov 11:02
Compare
Choose a tag to compare

Changes

  • Breaking change: old OmiParser and OdfParser removed, use new faster streaming parsers instead (see example agents or tests).
  • O-MI v2 maxlevels request parameter implemented; Limits O-DF tree levels to the given depth from the leafs of the request O-DF.
  • Changed failed callback buffering to a queue, such that callbacks to the same url retain the correct order when the callback server comes back online. Last implementation had request independent retries.
  • Added a setting to stop triggering events for received O-MI Responses, if needed. This enables simple synchronization between two O-MI Nodes or more in a star-topology.
  • Responses now correctly have the same O-DF/O-MI versions as in the corresponding requests.
  • Prometheus metrics support. Added some basic metrics, see configuration file for extra info.
  • Fixed http get data discovery to show description hint for Object too, and multiple descriptions.
  • Fixed Windows start script fail with error "too long input"
  • Fixed webclient dependency race conditions (hopefully)
  • Fixed MetaData persistency over restarts
  • Fixed authorization to fail if allow set is empty; This only happened if there were configuration error in O-MI-Authorization module or a custom module.

Release version 2.0.1

04 Jun 09:07
Compare
Choose a tag to compare

Changes

  • Streaming http callback responses.
  • Streaming http get requests (increases speed for large amounts of infoitems or objects on the same level)
  • Updated webclient experimental json converter: automatic response to json conversion
  • TTL can now have fractions of seconds.
  • Callback origin authorization (Requests with callback can be restricted to address of origin only.): Added admin list configuration that can bypass the restriction if enabled.

File to choose:

  • o-mi-node-x.y.z.zip for Windows, standalone package. Do not extract into deep directory hierarchy because of windows program argument length limitation
  • o-mi-node-x.y.z.deb for Ubuntu, Debian or other Linux with dpkg
  • o-mi-node-x.y.z.rpm for Red Hat Linux
  • o-mi-node-x.y.z.tgz for Mac or Linux, standalone package

Release version 2.0.0

15 May 08:51
Compare
Choose a tag to compare

Changes

  • Large Read request performance improvements.
  • Request responses are streamed out instead of buffering it first fully on the server. Http responses use the chunked transfer encoding. Includes Http responses, websocket responses and websocket callback responses.
  • Internal agents have possibility to process Read and Delete requests for specified O-DF paths (and their subtrees).
  • Webclient has experimental json format option, but it is not yet supported on server-side of this O-MI node.
  • Fixed #19: Quotes in values are not escaped in responses.

Breaking changes

  • Internal agent interface updated. You might need to make minor additions to old agents. See the examples for details.
  • Default database locations changed from logs to database directory (zip, tar) or from /var/logs/o-mi-node to /var/lib/o-mi-node/database (dep, rpm). If updating from old version you can either use the old paths by keeping your old application.conf file or use the new locations by merging the new db path settings. If you want to change the location and old data is needed, copy the databases to these folders: sensorDB.* => database/valuehistorydb/, journal,snapshots => database/journaldb/. Read more about database location settings in the FAQ. Note if you use very old configuration, you might need to check that you have new journal location settings in the configuration file like specified in the FAQ, because any missing settings uses the defaults which changed in this release.

File to choose:

  • o-mi-node-x.y.z.zip for Windows, standalone package. Do not extract into deep directory hierarchy because of windows program argument length limitation
  • o-mi-node-x.y.z.deb for Ubuntu, Debian or other Linux with dpkg
  • o-mi-node-x.y.z.rpm for Red Hat Linux
  • o-mi-node-x.y.z.tgz for Mac or Linux, standalone package

Release version 1.0.9

07 Jan 15:44
Compare
Choose a tag to compare

Changes

  • Read performance improvements for large O-DF hierarchy
  • DB initialization timeout can be now changed with start-timeout configuration option
  • Webclient: subscription default parameters improved
  • Python example for subscriptions