Downloaded an ioFog setup in Ubuntu 18.04.1 following the QuickStart guide
Downloaded the ioFog Quick Start project using the below curl command
curl -L -o quick-start.tar.gz https://github.com/ioFog/demo/archive/blank-environment.tar.gz
After running docker-compose up --detach I could see three containers running namely iofog-agent, iofog-controller and iofog-connector.
executing iofog-agent status command in the agent container gives the below output
ioFog daemon : RUNNING
Memory Usage : about 142.16 MiB
Disk Usage : about 0.00 MiB
CPU Usage : about 0.00%
Running Microservices : 0
Connection to Controller : ok
Messages Processed : about 0
System Time : 16/11/2018 05:39 PM
I pushed a sample microservice docker image to the local docker registry and tried adding the same to iofog-controller registry (registry-id = 2) using iofog-controller catalog add. It returned a catalog ID.
Since the iofog enviroment didnât have a default flow setup, I created one using iofog-controller flow add -n âflow_1â -d âflow_iofogâ -a -u 1.
And then tried adding the microservice to the iofog-controller using iofog-controller microservice add
This returned me FlowService.getFlow is not a function error. Kindly help me resolve this.