From c9e18e6279c3f5190e6b5c26c590e1bf20a470d1 Mon Sep 17 00:00:00 2001 From: José Bollo <jose.bollo@iot.bzh> Date: Tue, 20 Nov 2018 10:46:21 +0100 Subject: Also provide HTML user app for testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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> --- conf.d/wgt/config.xml.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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> -- cgit