summaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-mustach.c
AgeCommit message (Collapse)AuthorFilesLines
2018-12-18afm-unit: Fix http port multi allocationJosé Bollo1-1/+1
When serveral targets were set in the widget file, the framework allocated the same HTTP port to each. This lead to impossibility to run all targets or to a systemd conflict. This should fix the issue by allocating an HTTP port for each target installed by the widget. To achieves that goal, the afm-unit.conf tag for the port is moved from '#metadata.http-port' to '#metatarget.http-port'. Bug-AGL: SPEC-2068 Change-Id: I5376d6f052e0ffc5c77cc80041528637777aed1e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05Fix warnings 'implicit-fallthrough' of gcc 7José Bollo1-4/+4
Change-Id: I32b42fd8db481fcbdce4b934fc990c118293850d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-12Fix lack of error message on mustach issueJosé Bollo1-1/+24
Change-Id: I16139c133d7031e38f4c63ff6369f1d7478fc86f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-21Allows or in mustache instanciationJosé Bollo1-2/+33
This allows to simplify the configuration file afm-unit.conf. Restore the type application/vnd.agl.service Change-Id: Iaadde2c2d96155cea6d1b8bee4d3c78e885cf44a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-02Add commentsJosé Bollo1-0/+9
Change-Id: Icbbdbd4ed51db62c7619c6210842411b8d2e04a4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-02Adds handling of JSON pointers (RFC 6901)José Bollo1-28/+52
Change-Id: Ib2e1c75f81c32d0b6bc50af2ba48bb95a413842a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-26Prepare the Integration with systemdJosé Bollo1-0/+264
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>