Previous Topic

Next Topic

Book Contents

Book Index

Release notes 10.4.1

Release date: August 17, 2021

The following minor changes and improvements are included in release 10.4.1:

Module

Changes or improvements

External
1.8.1000

The following Jetty bundles are updated from version 9.4.39.v20210325 to 9.4.42.v20210604:

  • Jetty-alpn-conscrypt-server
  • Jetty-alpn-java-server
  • Jetty-alpn-openjdk8-server
  • Jetty-alpn-server
  • Jetty-http
  • Jetty-http2-common
  • Jetty-http2-hpack
  • Jetty-http2-server
  • Jetty-io
  • Jetty-osgi-alpn
  • Jetty-security
  • Jetty-server
  • Jetty-servlet
  • Jetty-util
  • Websocket-api
  • Websocket-common
  • Websocket-server
  • Websocket-servlet

Framework
8.6.5000

  • Custom ForkJoinWorkerThreadFactory implementation is provided and loaded on startup, so that threads created using ForkJoinPool have correct set of permissions. This workarounds a security bug in JDK 8 (https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8172726).

ONVIF
1.7.1000

  • A system property added to allow configuration of the Online Status Check.
  • There are improvements concerning:
    • Logging when Firmware Update process is canceled
    • Logging when device registration fails
    • Events processing logging errors when both Pull-Point and WS-Base notifications are enabled

OSGi Things Agent
1.2.1000

  • All available providers are now selected when 'null' providers are given in a request for backup - where all providers from the runtime are used and for restore - where all providers from the backup file are used.
  • In backup and restore, the progress of the operation given now scales with the amount of providers - for example, if 3 out of 5 providers are finished with their backup, the progress will be 60%.
  • A file upload API bundle has been created to hold the API for the file upload functionality.

    The file upload functionality no longer requires the Azure library stack bundle as a mandatory runtime element. The Azure functionality and the base one have been split into separate bundles.

    The two file upload bundles are now named as follows:

    • com.prosyst.mbs.things.agent.file.upload.api
    • com.prosyst.mbs.things.agent.file.upload.azure
  • The file upload functionality is now separate. It was previously part of both the log and backup bundles:
    • com.prosyst.mbs.things.agent.items.osgi.backup
    • com.prosyst.mbs.things.agent.items.osgi.log
  • File upload now allows one single upload at a time, unless specified with the force option. Now the default behaviour is with one upload at a time.
  • Benchmarking was added to the backup and restore, and log file upload modules.
  • Periodic upload of whole log files is now possible. This can be done by specifying a configuration property autoUploadPeriod, which allows periodic sending of upload request events. This can be disabled by cancelling the request.

REST
2.1.5000

  • The Swagger-ui jquery library version is updated to 1.9.0 and a fix is applied for jquery's prototype pollution.

Resolved issues

The following table provides a summary of issues that were fixed in release 10.4.1:

#

Module

Topic/ keyword

Issue and resolution

Affect Version

 

Cameras
4.5.4000

Driver Factory configuration

Adding of custom user properties was not processed correctly. Now this is fixed.

10.0.0

2

Core
1.4.5000

BenchmarkUtil

There was an issue with a NullPointerException upon calling end(id) in a different thread than one that called begin(id) in BenchmarkUtil. It has been fixed.

10.4.0

3

Core
1.4.5000

Benchmark times

There was an issue with benchmarking timestamps not being displayed correctly upon invocation of the commands. It has been fixed.

10.4.0

4

Device Access
3.7.3000

Vorto, items

Device Access did not set version to enum types (default is 0.0.0). Now it is fixed and version 1.0.0 is set.

10.3.0

5

Device Access
3.7.3000

Device status,
Device items

Device Access changed device status to Online before registering all device items. It was possible device status to be changed from Online to Initializing and again to Online several times. Now everything is updated and improved. This modification is related only to Device Access API.

9.0.0

6

External
1.8.1000

Equinox Http Servlet Bundle,
session adapters invalidation

In the org.eclipse.equinox.http.servlet bundle, there was an issue with multiple SessionAdapters not being cleaned up on session invalidation. It has been patched.

10.4.0

7

Framework
8.6.5000

Framework storage,
bundles

There was a race condition when starting framework with ready storage, that prevented new bundles to be installed in some occasions, right after startup. Now storage operations are synchronized and this issue no longer occurs.

10.4.0

8

ONVIF
1.7.1000

Device registration

Sometimes the registration was successful, but the device did not appear in the Device Access, due to failed asynchronous operations. This is now fixed.

10.4.0

9

ONVIF
1.7.1000

Pull-Point subscription

The pulling of the messages fall-back mechanism was not working when device did not respond with valid ONVIF fault. This is now fixed.

10.3.0

10

ONVIF
1.7.1000

WS-Base notifications

Property changed events were not fired when device sent notification event with integer representation of boolean type (1 or 0). This is now fixed.

10.4.0

11

ONVIF
1.7.1000

SecureConnection functional item

A property change events was fired even if device's trusted state was not changed, affecting all devices registered with secure connection. The reason for that was a problem in the filter for the subscription for events from the Driver. This is now fixed.

10.3.0

12

ONVIF
1.7.1000

TLS Configuration

There were logs with extra details. Now this is fixed by lowering the details logged when TLS Configuration is changed.

10.4.0

13

ONVIF
1.7.1000

Fault responses

ONVIF fault responses were not processed correctly. That was affecting the following requests:

  • CreatePullPointSubscription
  • Subscribe
  • Renew
  • GetDeviceInformation
  • PullMessages

The processing of these responses is now fixed.

10.0.0

14

OSGi
1.9.2000

Declarative services

There was a StackOverflowError when processing invalid component property types. Now such situations are detected and IllegalArgumentException is thrown, when component property type is not defined correctly.

10.4.0

15

OSGi
1.9.2000

Configuration admin

There was a missing validation for different case variants of keys in configuration properties, which is required by OSGi specification. Now this is fixed and properties are properly checked.

10.4.0

16

OSGi Things Agent
1.2.1000

Property section events,
annotated eventable properties

In the previous version if the property could be monitored only, then the property section should have been events. Тhe events section is removed to keep the size of the thing smaller. The annotated properties with Section.Name.EVENTS do not go as configuration or status properties of the corresponding thing's feature. Any changes of the annotated property with Section.Name.EVENTS will trigger Ditto outbox messages with the event data.

10.4.0

17

OSGi Things Agent
1.2.1000

Invoke operation,
set property, security

It was not possible to invoke operation or set configuration property of the feature through the cloud when the security is activated. Now this is fixed.

10.2.0

18

OSGi Things Agent
1.2.1000

Synchronized bundle listener,
configuration listener

It was possible some bundles to be skipped and not be represented as features of the bundles thing. Now this is fixed and each bundle has its representation as a feature of the bundles thing properly.

10.2.0

19

OSGi Things Agent
1.2.1000

FIM core bundle,
missing thing

After restarting the com.prosyst.mbs.fim.core bundle, edge:services:runtime thing and its features were not available. Now this is fixed.

10.2.0

20

OSGi Things Agent
1.2.10000

Backup and restore,
correlation ID in use

There was a bug which resulted in the correlation ID being shown as in use, when no correlation ID was initially supplied. It has been fixed.

10.4.0

21

OSGi Things Agent
1.2.1000

Auto uploadable log,
deactivation error

There was an error upon deactivating the auto uploadable log. It has been fixed.

10.4.0

22

OSGi Things Agent
1.2.1000

File upload,
chunking

When file upload is done without chunking, the whole file was cached in memory before it was uploaded. It is now fixed.

10.4.0

23

Util
1.2.4000

User admin,
SimpleLogin

User Admin was not available in some specific cases due to a race condition. It has been fixed.

10.4.0

Known issues

The following section provides a summary of known issues in the current release:

System Integrity Protection (SIP) in macOS: Affecting Gateway Software version 9.3.X, when System Integrity Protection on Mac OS X is turned on, bundles with native libraries may throw an Error, when libraries are loaded and it may lead to malfunctioning of the bundles. System Integrity Protection has to be disabled in order to use the functionality provided by the native libraries from the bundles on macOS/OS X since version 10.11 (OS X El Capitan).

#

Module

Search keyword

Known Issue

1

ONVIF
1.7.0

Target image EJDK compact1

Apache Xerces library is used for ONVIF Discovery and it is not included in the target images. The org.apache.xerces bundle needs to be installed manually when using ejdk compact1 profile.

2

ONVIF
1.7.0

TLS resumption

Java is introducing the Extended Master Secret Extension enabled by default after the 8u161 update. Some cameras which do not support the extension will cause the TLS resumption to fail during the SSL handshake. Without resumption, the delay for each ONVIF request will be increased. Disabling the Extended Master Secret Extension will allow the TLS resumption to work for those devices. This could be achieved by setting the jdk.tls.useExtendedMasterSecret system property to false.

3

ONVIF
1.7.0

Compact1 profile

ONVIF driver is using javax.xml.transform to process the complex type of notifications events. These packages are not part of the EJDK 8 compact1 profile. The lib containing the implementation is not in a bundle and must be provided manually for the complex type of events to work.

4

OSGi Things Agent
1.2.1000

Chunk upload,
Azure

When Azure file upload is used, chunked mode is not currently supported. It is advisable to use non-chunked mode instead.