Prepare the Integration with systemd
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 11 Oct 2016 15:07:16 +0000 (17:07 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 26 Jan 2017 20:40:08 +0000 (21:40 +0100)
commit1d4de11a907e41c06063a2cd5028dc4101690f50
tree69af98bbe6512cdbcab33267574c131f85ffd597
parentbfc9c138b1a9e87f9d387e2f900c14807c9da9b9
Prepare the Integration with systemd

This is an intermediate commit providing
basic functionnalities for setting up
integration of the framework with systemd.

 - file afm-unit.conf is a mustache template
 - translation of config.xml to json object
 - mustache (extended) application of the json to the template
 - post processing of the result for extracting unit files

This processing is currently available as a test
(and a tool) and will be integrated after more
developement, test and validation.

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
23 files changed:
CMakeLists.txt
conf/CMakeLists.txt
conf/afm-unit.conf [new file with mode: 0644]
docs/config.xml.md [new file with mode: 0644]
docs/permissions.md [new file with mode: 0644]
docs/widgets.md
mkdocs.yml
src/CMakeLists.txt
src/mustach.c [new file with mode: 0644]
src/mustach.h [new file with mode: 0644]
src/tests/CMakeLists.txt [new file with mode: 0644]
src/tests/test-unit/CMakeLists.txt [new file with mode: 0644]
src/tests/test-unit/config.xml [new file with mode: 0644]
src/tests/test-unit/sample.unit [new file with mode: 0644]
src/tests/test-unit/test-unit.c [new file with mode: 0644]
src/wgt-json.c [new file with mode: 0644]
src/wgt-json.h [new file with mode: 0644]
src/wgt-strings.c
src/wgt-strings.h
src/wgtpkg-mustach.c [new file with mode: 0644]
src/wgtpkg-mustach.h [new file with mode: 0644]
src/wgtpkg-unit.c [new file with mode: 0644]
src/wgtpkg-unit.h [new file with mode: 0644]