diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-14 17:55:39 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-14 18:06:00 +0100 |
commit | 48196b82c33f2c53e06494998318b4d7d13766a3 (patch) | |
tree | 540ffe36b3bcc7d7c79c057f76f48711527bbea1 /docs/controller.md | |
parent | 574c0b3a1945810774be9f649e5ca656c8dd853a (diff) |
Reformating lines to be 80 characters long maximum
Change-Id: I82089520073f4d6eee72f702af52743c38afbbeb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'docs/controller.md')
-rw-r--r-- | docs/controller.md | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/docs/controller.md b/docs/controller.md index bf0a3c2..24abcea 100644 --- a/docs/controller.md +++ b/docs/controller.md @@ -1,31 +1,43 @@ # Controller -* Object: Generic Controller to handle Policy,Small Business Logic, Glue in between components, ... +* Object: Generic Controller to handle Policy, Small Business Logic, Glue in + between components, ... * Status: Release Candidate * Author: Fulup Ar Foll fulup@iot.bzh * Date : May-2018 ## Features -* Create a controller application from a JSON config file * Create a controller application from a JSON config file. * A controller could be considered as a collection of actions that could be mapped to a dynamically created verb or when receiving an event from any other API. * Actions can either be: - * Invocation of an other binding API, either internal or external (eg: a policy service, Alsa UCM, ...) - * C routines from a user provided plugin (eg: policy routine, proprietary code, ...) - * Lua script function. Lua provides access to every AGL appfw functionality and can be extended by plugins written in C. + * Invocation of an other binding API, either internal or external (eg: a + policy service, Alsa UCM, ...) + * C routines from a user provided plugin (eg: policy routine, proprietary code + , ...) + * Lua script function. Lua provides access to every AGL appfw functionality + and can be extended by plugins written in C. ## Installation -* Controller can easily be included as a git submodule in any AGL service or application binder. -* Dependencies: the only dependencies are AGL application framework (https://gerrit.automotivelinux.org/gerrit/p/src/app-framework-binder.git) and app-afb-helpers-submodule (https://gerrit.automotivelinux.org/gerrit/p/apps/app-afb-helpers-submodule.git). -* Controller relies on Lua-5.3, when not needed Lua might be removed at compilation time. +* Controller can easily be included as a git submodule in any AGL service or + application binder. +* Dependencies: the only dependencies are [AGL application framework](https://gerrit.automotivelinux.org/gerrit/p/src/app-framework-binder.git) + and [app-afb-helpers-submodule](https://gerrit.automotivelinux.org/gerrit/p/apps/app-afb-helpers-submodule.git). +* Controller relies on Lua-5.3, when not needed Lua might be removed at + compilation time. ## Monitoring -* The default test HTML page expect the monitoring HTML page to be accessible under /monitoring with the --monitoring option. -* The monitoring HTML pages are installed with the app framework binder in a subdirectory called monitoring. -* You can add other HTML pages with the alias options e.g. afb-daemon --port=1234 --monitoring --alias=/path1/to/htmlpages:/path2/to/htmlpages --ldpaths=. --workdir=. --roothttp=../htdocs -* The monitoring is accessible at http://localhost:1234/monitoring.
\ No newline at end of file +* The default test HTML page expect the monitoring HTML page to be accessible + under /monitoring with the --monitoring option. +* The monitoring HTML pages are installed with the app framework binder in a + subdirectory called monitoring. +* The monitoring is accessible at `http://localhost:1234/monitoring`. +* You can add other HTML pages with the alias options i.e: + +```bash +afb-daemon --name afb-my-binding --port=1234 --monitoring --alias=/path1/to/htmlpages:/path2/to/htmlpages --ldpaths=. --workdir=. --roothttp=../htdocs +``` |