AppIoT 201823 Release Notes

Release Notes Ericsson Application Platform for IoT

Featured issues in AppIoT Web Platform 2018_23
Main end user improvements
  • Transformers

Remake and extension of the transformer implementation. A transformer applies a transformation algorithm on incoming measurements and posts the result to a new resource. Predefined transformers are Aggregator, Calculator, Counter, DewPoint, Timer, and UpCount. Users can implement and manage custom transformers using the Transformer SDK.

Go to http://docs.appiot.io for full feature description and developers guide.

  • Event SDK

Event SDK aligned to support AppIoT 2.0 data model.

  • 2018_23_hotfix2: Stability and performance improvements for QueueMode message handling
    • Removed unnecessary calls that sometimes caused race condition (blocking) in high load situations.
    • Device status now only updated when changed, and not for every received measurement.
    • DeviceRegisterRequest from AppIoT to GW was incorrectly queued in device queue, now sent directly to GW.

 

  • 2018_23_hotfix3: Stability improvements for QueueMode message handling
    • Device status indicator for existing devices now shows correct status if device is never activated.
    • Removed usage of response codes 5.03 and 5.09 to prevent them from marking device as online when sent from devices.

 

  • Fixed support issues:
    • DDM-14229 Issues in reading settings category
      • Added validation that disallows settings with null values. Settings with null value caused confusion when fetching Settings.
    • DDM-14161 API call GET measurements/{resourceId}/aggregations does not include all expected measurements
      • Include all months of the time span.
      • Fetching aggregated data for aggregations longer than 1 hour with a time span less than one full month but with start and end in different months the data returned was only from the first month.
    • DDM-13718/AIOTSUP-1658 Device can be registered with Incorrect datacollector ID
      • Added validation for DataCollector on Device creation.
    • DDM-13346 Loading Resource collections in Event fails sometimes
      • Actuator modal used obsolete request /resourcecollections/obsolete to fill Resource Collections dropdown list. It fetched more data than necessary, which sometimes probably led to too long response time.
    • DDM-13316 UI suggestion: Gateway Type ID
      • Added a proper error message when using out of range number for Gateway Type ID.
    • DDM-13969 Unable to change Geo map on dashboard
      • Fixed editing Geomap on dashboard, right after creation.
    • AIOTSUP-629 Activity logs not working for Default device network
    • AIOTSUP-2102 / AIOTSUP-1642 Configurable ContentType for EventConsumer HTTP Post
    • AIOTSUP-2014 Shorten filename path lengths for Firmware packages
      • Since the limit for FOTA file names is 256 characters, make sure that unnecessary long path names are not used.
        – Change the blob location for firmware package files from “firmwares/” to “fw/”.
        – Use GUID for file name in URI and remove folder GUID in URI.
  • 2018_23_hotfix2:

      • DDM-21075 (dis)connected icon not working
        • Expose device online/offline status in Web API.
        • Make NeverActivated initial Device Status.
      • DDM-24897 DDM GUI getting slower when retrieving gateways
        • Optimize DB fetch of devices connected to gateways.
      • DDM-26209 DeviceRegister stuck in the queue
        • DeviceRegisterRequest from AppIoT to GW was incorrectly queued in device queue, now sent directly to GW.
        • Improved logging

Web API changes

  • TransformerTypeResponse renamed to TransformerTypeResponse3103
  • TransformerTypeResponse3103: Added SourceTypeDefinitions.ResourceDataType, FileName and DeviceNetworks, removed Preview
  • TransformerTemplateResponse: Added DeviceNetworkId and TransformationInterval
  • SmartObjectListResponse: Added TransformerName
  • TransformerTypeListResponse: Added NumberOfDeviceNetworks, removed Preview
  • /api/v3/devicetemplates/{id}/transformerTemplates POST modified, added possibility to set DeviceNetworkId and TransformationInterval in request body
  • /api/v3/devicetemplates/{id}/transformerTemplates PUT modified, added possibility to set DeviceNetworkId and TransformationInterval in request body
  • /api/v3/devicetemplates/{id}/transformerTemplates/{transformerTemplateId} PUT modified, added possibility to set DeviceNetworkId and TransformationInterval in request body
  • /api/v3/transformertypes GET modified, added possibility to set allDeviceNetworks flag in request query
  • /api/v3/transformertypes POST modified, added possibility to set AddedDeviceNetworkIds, Id, RemovedDeviceNetworkIds and DisplayName in request body
  • /api/v3/transformertypes/{id} PUT modified, added possibility to set AddedDeviceNetworkIds, Id, RemovedDeviceNetworkIds and DisplayName in request body
  • /api/v3/transformertypes/{id}/revoke PUT modified, removed Description, DisplayName, Name, TransformerTypeExternalLinks. Now also consumes application/xml and text/xml
  • /api/v3/devices/{id}/transformerlogs GET added

Known issues

  • Device status indicator may take long time to be updated in UI
  • If gateway shuts down ungracefully, messages in-flight will be lost
  • In-flight messages will change to Failed state with reason QueueMessageDiscardedException when the device registration lifetime expires on the LWM2M server