diff options
author | 2017-03-17 23:43:41 +0100 | |
---|---|---|
committer | 2017-03-20 16:07:43 +0100 | |
commit | 2c566e2dc9df934fb3884f9d4a9ad7ffc73a4aab (patch) | |
tree | aca751afe6992e95d99ab43accb1f58bacc517d6 /src/tests/test-unit/config.xml | |
parent | a069be3d476bbdaa56ce4750c8868b4f0682564a (diff) |
Provide unit in config.xml and documentation
This commit remove urn:AGL:widget:provided-application
in favour of urn:AGL:widget:provided-unit.
In the same time, the feature urn:AGL:widget:provided-api
must be attached to a unit. This will enable to export
more than one API for a unit if needed.
Change-Id: I17ade3651db2cd61402875333d063ee05cf57a10
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/tests/test-unit/config.xml')
-rw-r--r-- | src/tests/test-unit/config.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/tests/test-unit/config.xml b/src/tests/test-unit/config.xml index 48a7e3c..65fa43e 100644 --- a/src/tests/test-unit/config.xml +++ b/src/tests/test-unit/config.xml @@ -23,21 +23,30 @@ <param name="urn:AGL:permission::partner:real-time" value="required" /> <param name="urn:AGL:permission::public:applications:read" value="required" /> <param name="urn:AGL:permission::public:display" value="required" /> + <param name="urn:AGL:permission::system:run-by-default" value="required" /> </feature> - <feature name="urn:AGL:widget:provided-api"> + <feature name="urn:AGL:widget:provided-unit"> <param name="#target" value="geoloc" /> <param name="description" value="binding of name geoloc" /> - <param name="content.src" value="libs/binding-geoloc.so" /> + <param name="content.src" value="index.html" /> <param name="content.type" value="application/vnd.agl.service" /> </feature> + <feature name="urn:AGL:widget:provided-api"> + <param name="#target" value="geoloc" /> + <param name="geoloc" value="auto" /> + <param name="moonloc" value="auto" /> + </feature> <feature name="urn:AGL:widget:required-api"> <param name="#target" value="geoloc" /> <param name="identity" value="auto" /> + <param name="lib/binding-geoloc.so" value="local" /> + <param name="lib/binding-moonloc.so" value="local" /> </feature> <feature name="urn:AGL:widget:required-permission"> <param name="#target" value="geoloc" /> <param name="urn:AGL:permission:real-time" value="required" /> <param name="urn:AGL:permission:syscall:*" value="required" /> + <param name="urn:AGL:permission::system:run-by-default" value="required" /> </feature> <feature name="urn:AGL:widget:defined-permission"> <param name="urn:AGL:permission:geoloc:public:settings" value="public" /> |