Updating Flow Limit Dynamically

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

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: flowLimit
  • Type: Integer (Mandatory)
  • Description: The new value of 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>