summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-11-20 10:46:21 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-11-20 10:48:32 +0100
commitc9e18e6279c3f5190e6b5c26c590e1bf20a470d1 (patch)
treec7b3b272ec8982e7422aca073fc397a98914c173
parentb6abca2edcb36c0c0848d1cd8dc291f23293aa80 (diff)
Also provide HTML user app for testing
This installs at the same time that the service a tiny HTML app for testing it. This should probably not be added in production mode. This also need a true webruntime infrastucture (work in progress). Change-Id: I7f0de3312fef1f1328cfda72e5c271d92cf0b42f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--conf.d/wgt/config.xml.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in
index e1efb32..e6c738b 100644
--- a/conf.d/wgt/config.xml.in
+++ b/conf.d/wgt/config.xml.in
@@ -12,4 +12,19 @@
<feature name="urn:AGL:widget:required-binding">
<param name="@WIDGET_ENTRY_POINT@" value="local" />
</feature>
+
+ <!-- HTML UI FOR TESTING -->
+ <feature name="urn:AGL:widget:provided-unit">
+ <param name="#target" value="test-ui" />
+ <param name="description" value="HTML UI for testing the service" />
+ <param name="content.src" value="index.html" />
+ <param name="content.type" value="text/html" />
+ <param name="icon.src" value="@PROJECT_ICON@" />
+ </feature>
+ <feature name="urn:AGL:widget:required-binding">
+ <param name="#target" value="test-ui" />
+ <param name="windowmanager" value="ws" />
+ <param name="homescreen" value="ws" />
+ <param name="vshl" value="ws" />
+ </feature>
</widget>