Updating Flow Limit Dynamically

You can update the Flow limit value dynamically without restarting an application. Additionally, you can use the following REST API:

The base path for all REST APIs exposed is http://<host or IP address>:<port>/ where port is of running AppNode.

bw/app.json/updateflowlimit/
Method POST
Description Update the Flow limit without restarting an application.
Path Parameters None
Query Parameters
  • Parameter: Flow limit.
  • Type: Integer (mandatory).
  • Description: The new value of the Flow limit.
  • Parameter: name.
  • Type: String.
  • Description: Application name. This property is mandatory for BW 6.x applications but it is optional when using for BWCE or TCI applications.
  • Parameter: version.
  • Type: Integer.
  • Description: Application version. This property is mandatory for BW 6.x applications but it is optional when using for BWCE or TCI applications.
  • Parameter: component.
  • Type: String (Optional.
  • Description: Component name of an application.
For example http://<host or IP address>:<port>/bw/app.json/updateflowlimit?flowLimit=<new_flow_limit>&name=<app_name>.application&version=<app_version>&component=<component_name>

bw/app.json/flowlimit/
Method GET
Description Get the latest Flow limit applied to the application or the component without restarting an application.
Path Parameters None
Query Parameters
  • Parameter: name.
  • Type: String.
  • Description: Application name. This property is mandatory for BW 6.x applications but it is optional when using for BWCE or TCI applications.
  • Parameter: version.
  • Type: Integer.
  • Description: Application version. This property is mandatory for BW 6.x applications but it is optional when using for BWCE or TCI applications.
  • Parameter: component.
  • Type: String (Optional).
  • Description: Component name of an application.
For example http://<host or IP address>:<port>/bw/app.json/flowlimit?name=<app_name>.application&version=<app_version>&component=<component_name>