Release 10.9.0.14
This release upgrades the Apama-ctrl microservice to use Apama 10.7.2.7 (which is the same as Apama 10.7.0 Fix 32).
Fixes
Component | Description | Issue |
---|---|---|
Apama-ctrl microservice | Spring Framework has been upgraded to 5.2.20 to resolve security vulnerabilities CVE-2022-22965. | PAB-3083 |
Release 10.9.0.13
This release upgrades the Apama-ctrl microservice to use Apama 10.7.2.5 (which is the same as Apama 10.7.0 Fix 30).
Fixes
Component | Description | Issue |
---|---|---|
Apama-ctrl microservice | Apache Log4j inside all variants of the Apama-ctrl microservice has been upgraded to version 2.17.1 to resolve security vulnerabilities CVE-2021-44832 and CVE-2021-45105. | PAB-2982 |
Release 10.9.0.12
This release upgrades the Apama-ctrl microservice to use Apama 10.7.2.4 (which is the same as Apama 10.7.0 Fix 29).
Fixes
Component | Description | Issue |
---|---|---|
Apama-ctrl microservice | Apache Log4j inside all variants of the Apama-ctrl microservice has been upgraded to version 2.16.0 to resolve security vulnerabilities CVE-2021-44228 and CVE-2021-45046. | PAB-2925 |
Release 10.9.0.11
This release upgrades the Apama-ctrl microservice to use Apama 10.7.2.3 (which is the same as Apama 10.7.0 Fix 28).
Fixes
Component | Description | Issue |
---|---|---|
Apama-ctrl microservice | Custom branding is now immediately loaded when you start the Streaming Analytics application. Therefore customized logos will now appear instead of the default logo. | PAB-2773 |
Apama-ctrl microservice | Startup of the Apama-ctrl microservice for tenants with many devices could be slow, which resulted in the hosting platform to assume the instance to be unhealthy and therefore to restart it. The startup time has now been improved by moving expensive queries out of the critical path. | PAB-2828 |
Release 10.9.0.10
This release upgrades the Apama-ctrl microservice to use Apama 10.7.2.2 (which is the same as Apama 10.7.0 Fix 27).
Fixes
Component | Description | Issue |
---|---|---|
Apama-ctrl microservice | Microservices migrating from version 10.6.6.26 or lower could experience null pointer exceptions in the microservice log files, and a failure to start upon upgrade. This was caused by attempting to read a value from a field that had not existed prior to this version. The microservice will now set default values and not attempt to read the field if it does not exist. | PAB-2721 |
Apama Starter microservice | For the Apama Starter microservice, you can now customize the text on the support link that is shown when you click the info icon on the home screen of the Streaming Analytics application, next to "Starter". For more information on customization, see Customizing the home screen of the Streaming Analytics application in the Streaming Analytics guide. | PAB-2731 |
Release 10.9.0.8
This release upgrades the Apama-ctrl microservice to use Apama 10.7.2.1 (which is the same as Apama 10.7.0 Fix 26).
Fixes
Component | Description | Issue |
---|---|---|
Analytics Builder, EPL Apps, and smart rules | Text messages (SMS) that were sent from analytic models, EPL apps or smart rules were incorrectly rejected when the sender or recipient addresses contained the protocol identifier "tel". This has now been resolved. | PAB-2655 |
Apama-ctrl microservice | Startup of the Apama-ctrl microservice for tenants with many devices could be slow and consume excessive memory. This has now been resolved. | PAB-2633 |
Analytics Builder | When the German locale was set, the documentation links shown in the Analytics Builder model editor were incorrect. This has now been resolved. | PAB-2620 |
Analytics Builder | When the Japanese locale was set, the Analytics Builder user interface was not shown in Japanese. This has now been resolved. | PAB-2649 |
Release 10.9.0.7
Fixes
Component | Description | Issue |
---|---|---|
Apama-ctrl microservice | A defect existed in which safe mode was sometimes incorrectly triggered after a platform upgrade, resulting in all user EPL, analytic models and extensions being disabled. This has now been resolved. For more information on safe mode, see Safe mode on startup in the Streaming Analytics guide. | PAB-2603 |
Release 10.9.0.6
This release upgrades the Apama-ctrl microservice to use Apama 10.7.2.0 (which is the same as Apama 10.7.0 Fix 25).
Fixes
Component | Description | Issue |
---|---|---|
Analytics Builder | A spurious warning when the Send SMS and Send Email blocks were used has been removed. | PAB-2482 |
Analytics Builder | It is now possible to connect a block with an any output type to a block with a float input type.
Previously, this was incorrectly flagged as an error. As with other such conversions, the type of the value is only checked at runtime.
If a block actually outputs a string, this may fail if the string does not contain a number. |
PAB-2361 |
Analytics Builder | The Expression block now supports Value and any type inputs.
These are unpacked to concrete types before evaluating the expression.
Note that this means that the Expression block's type checking is lenient now when it comes to these types of inputs.
So even when your model passes validation, it might fail at runtime if you are trying to do unsupported operations. |
PAB-2466 |
EPL Apps |
The GenericResponse.body member is now deprecated and will be removed in a future release.
It is recommended that you now use the GenericResponse.getBody action instead of the GenericResponse.body member field.
See the com.apama.cumulocity package in the
API Reference for EPL (ApamaDoc)
for more information on the GenericResponse event. |
PAB-2430 |
Apama-ctrl microservice | The cep/events endpoint that receives notifications from Cumulocity IoT core now uses multiple threads
to process incoming notifications, which improves performance especially when using many Cumulocity IoT core nodes.
The tenant option streaminganalytics/proxy.maxParallelHttp can be set to control how many threads will be used
(the Apama-ctrl microservice will restart if this tenant option is changed). |
PAB-2319 |
Apama-ctrl microservice | The Apama-ctrl microservice now includes the roles ROLE_BULK_OPERATION_ADMIN, ROLE_BULK_OPERATION_READ, ROLE_AUDIT_ADMIN, ROLE_AUDIT_READ, ROLE_TENANT_MANAGEMENT_READ, ROLE_USER_MANAGEMENT_OWN_READ for its service user, which means that EPL apps can make bulk operation requests, audit entries and can read tenant information and its own user information. | PAB-2493 |
Release 10.9.0.3
This release upgrades the Apama-ctrl microservice to use Apama 10.7.1.2 (which is the same as Apama 10.5.0 Fix 23).
Release 10.9.0
Apama correlator version
This release of Cumulocity IoT Streaming Analytics includes the Apama version 10.7.1 correlator. See also What’s New In Apama 10.7.0 and What’s New In Apama 10.7.1 in the Apama documentation.
New Streaming Analytics application
A new application called Streaming Analytics is now available in the Cumulocity IoT application switcher. The Apama Analytics Builder and Apama EPL Apps applications from previous versions are now part of this new Streaming Analytics application. See the description of the new application’s home screen for more information.
The Streaming Analytics application supports the standard user interface languages of Cumulocity IoT. See also Available languages in the User guide.
Improvements in alarms generated by the Apama-ctrl microservice
The following improvements are available in this release:
eplapp_restore_timeout
This is a new alarm type which is raised if restoring an EPL app on a restart of the Apama-ctrl microservice takes a long time and exceeds a defined time limit. See EPL app restore timeout on restart of Apama-ctrl for more information.
Improvements for sender name and address in SMS messages
Smart rules and EPL apps now pick up the tenant options messaging/sms.senderName
and messaging/sms.senderAddress
to set the sender name and address values used for SendSMS
events. In your EPL apps, you can override the tenant options
by specifying senderName
and senderAddress
in the extraParams
field of the SendSMS
event.
Note that the tenant options are only read when the Apama-ctrl microservice is started. If the tenant options are changed, you must restart the microservice for the new values to take effect. If these tenant options are not defined, the following system default values are used: “Apama” as the sender name and “apama” as the sender address.
Improvements in EPL apps
New EPL samples are now available from the EPL editor:
- Send an Email, an SMS and an Operation on receiving an Alarm
- Raise an Alarm if no Measurements are received for a user-specified period
- Raise an Alarm if a device leaves the geofence and clear it if it re-enters
- Raise an Alarm if a Measurement exceeds a threshold value
They are similar in behavior to the following frequently-used smart rules:
- On alarm escalate it
- On missing measurements create alarm
- On geofence create alarm
- On measurement threshold create alarm
See Cockpit > Smart rules collection in the User guide for more information on these smart rules.
Improvements in Analytics Builder
The documentation for Analytics Builder, including release notes, is available separately. For your convenience, the release notes from the above documentation are also given below:
-
A new application called “Streaming Analytics” is now available in the Cumulocity IoT application switcher. Analytics Builder is now part of this new Streaming Analytics application, together with EPL Apps. See also Starting Analytics Builder.
-
The following new blocks are now available:
- Smart rule behavior:
- KPI (this block implements the core part of the “On measurement threshold create alarm” smart rule; see also Cockpit > Smart rules collection in the User guide)
- Text Substitution (see also Cockpit > Smart rules collection > Smart rule variables in the User guide)
- Position and geofence support:
- Position Input (new block type for the input blocks)
- Geofence
- Non-device inputs and outputs (see also the “On alarm send SMS” and “On alarm send email” smart rules under
Cockpit > Smart rules collection in the User guide):
- Constant Value (see also the list of new input and output ports on existing blocks below)
- Cron Timer
- Send SMS
- Send Email
- More calculations and aggregates:
- Utilities and flow manipulation to give more flexibility in writing models:
- Duration
- Set Properties (see also the list of new input and output ports on existing blocks below)
- Selector
- Switch (this block is intended to be used with template parameters)
See the Block Reference for detailed information on the new blocks.
- Smart rule behavior:
-
Additions and changes to existing blocks:
- Managed Object Input:
- The Property Name parameter is now optional. If not set, any update to a managed object generates an output.
- Managed Object Output:
- The Property Name parameter is now optional, allowing several properties to be updated in one go (for example, using the new Set Properties block).
- Event Output:
- New Time input port.
- New Properties input port (see also the new Set Properties block).
- Operation Output:
- New Properties input port (see also the new Set Properties block).
- Alarm Output:
- The Severity parameter is now optional. The severity of the alarm can now be set either via the Severity parameter or the new Severity input port. One of the input port and parameter must be connected or set.
- The Severity input port (but not parameter) also supports a CLEARED value to clear the alarm instead of creating or changing the severity of an existing alarm.
- The Message parameter is now optional. The message of the alarm can now be set either via the Message parameter or the new Message input port. One of the input port and parameter must be connected or set.
- New Time input port.
- New Clear Alarm input port.
- Extract Property:
- The Property Type parameter now supports a new option: Properties. This is intended to be used with the following block types: Operation Output (the Properties input port), Event Output (the Properties input port), and Managed Object Output (the Value input port).
- The Property Name parameter is now optional so that the Properties Type is able to just pass through the properties (see also the new Set Properties block).
See the Block Reference for detailed information on the above changes.
- Managed Object Input:
-
The input blocks are now able to distinguish between create and update events. For this purpose, a new Notification Mode parameter is now available in the block parameter editor. This is helpful, for example, if you are only interested in new alarms being created and you are not interested in models being activated when the same alarm is updated. This new parameter is available for the input blocks of type Alarm Input, Event Input, Operation Input, and also for the new Position Input type. It is not available for input blocks of type Measurement Input as measurements cannot be updated. See the Input category in the Block Reference for more information.
-
A new
chain_diagnostics
parameter for monitoring periodic status is now available. It provides diagnostic information about model chains, such as the time when the chain was created or the number of times the chain has been evaluated. See Monitoring periodic status for more information. -
A new
block_promise_timeout_secs
key for configuring model timeouts is now available. This tenant option defines the timeout in seconds to wait forPromise
values returned by block actions like$validate
to be completed. The default is 60 seconds. See Keys for model timeouts for more information. -
Objects containing the
c8y_Kpi
property are now treated as broadcast devices in addition topas_broadcastDevice
. See Broadcast devices for more information. -
Analytics Builder now supports the standard user interface languages of Cumulocity IoT. See Available languages in the User guide for more information.
-
Detailed documentation is now available which covers the distinctions between value types representing continuous-time and discrete-time values, and the
pulse
type. It also covers some of the details of block implementations around windowing and when blocks generate output. See Details of Values and Blocks.