What is the role of FLOW in iofog controller

(Josemaria Thomas) #1

A flow ID is mandatory while adding a microservice in iofog controller.
I could create a flow using iofog-controller flow add command. But couldn’t understand its role.

  "flows": [
      "id": 1,
      "name": "flow1",
      "description": "flowtest",
      "isActivated": true,
      "created_at": "2018-11-25T11:08:42.991Z",
      "updated_at": "2018-11-25T11:08:42.991Z",
      "userId": 1


Flow is some kind of logical group for microservices. You can activate/deactivate flow in order to start/stop the whole group of microservices.

(Josemaria Thomas) #3

Thanks for the info :+1: