I sometimes get this error:
2016-10-20T15:38:24+0200 WARN main o.s.s.c.SimpleParser:131 - Command 'app register --name email --type source --uri <uriToMyDockerImage>' was found but is not currently available (type 'help' then ENTER to learn about this command)
At other times it works as expected.
Note that I start the shell with --dataflow.uri=<url> --spring.shell.commandFile=<path>
.
Why would the app register
command not be available? What can I do to make it available?
This would happen if the last time the server tried to connect to the REST API of the dataflow server, the server was down. This happens at
dataflow config server <url>