Offline Operations

The term Offline Operations refers to a set of operations that empower the IoT Edge Platform administrator to fully control the Edge Platform synchronization with the Cloud, thereby making it possible to manually block or trigger it based on some business or operations criteria.

These offline operations support the following functionalities:
  • The possibility to enable or disable data transfer to the Cloud

  • The possibility to enable or disable the consumption of commands from the Cloud

  • The possibility to enable or disable the device model synchronization with the Cloud

  • The possibility to enable or disable the data model synchronization with the Cloud

There are two configuration files available to support the configuration of the required service. These files are present, by default, under the folder /config/services at the root of the Edge Gateway.

The default values are configured to leave the Gateway behavior unchanged with respect to the older versions; Netty Server is disabled and all the channels are enabled, that is, the communication with the Cloud is fully active.

The two configuration files are:
  • sap.NettyConfiguration.cfg: This file contains the configurations to enable a local Netty Server that is used to allow calling local APIs.

    Default content:

    # Enables a Netty server

    enabled = false

    # Host name or IP address to identify a specific network interface on

    # which to listen

    host = localhost

    # TCP/IP port on which the server listens for connections

    port = 8900

  • sap.RemotingStrategyConfiguration.cfg: This file contains the starting configuration for all the four operations.

    Default content:

    # Enable/Disable channel to send data to the Internet of Things

    # Service Cloud

    dataChannelActive = true

    # Enable/Disable channel to send/receive device model updates from

    # the Internet of Things Service Cloud

    deviceModelChannelActive = true

    # Enable/Disable channel to receive commands from the Internet of

    # Things Service Cloud

    commandsChannelActive = true

    # Enable/Disable channel to receive data model updates from the

    # Internet of Things Service Cloud

    dataModelChannelActive = true