Simplify starting of services 87/15387/2
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 13 Jul 2018 14:38:55 +0000 (16:38 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Mon, 16 Jul 2018 15:09:23 +0000 (17:09 +0200)
The previous version was confusing and was expecting
that onneed and share_session were always true.

Removing this parameter simplifies the code.

Also handle errors of required classes and apis at initialisation.

Change-Id: I7c99aa356cba41f368bd47cab797fa086a5740af
Signed-off-by: José Bollo <jose.bollo@iot.bzh>

No differences found