aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/aft-test.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-06-29 19:42:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-10 17:12:14 +0200
commitdc63d731f884da11cb0fc2d3b98eef5e2c2c07bc (patch)
tree09b095334b9e0b57574e8d31df033c61ed53c735 /conf.d/project/etc/aft-test.json
parent06e96704868d7b13c1e8e296ce1b262069ca9b4a (diff)
First draft for mock apis
An m(ock)api is a plugin with its action as verb. About now the event listener is the same then the main api Change-Id: Iadbbb60cfbe9d5ef85801c346e6565ccde92b0c4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc/aft-test.json')
-rw-r--r--conf.d/project/etc/aft-test.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/conf.d/project/etc/aft-test.json b/conf.d/project/etc/aft-test.json
new file mode 100644
index 0000000..fa26c5f
--- /dev/null
+++ b/conf.d/project/etc/aft-test.json
@@ -0,0 +1,22 @@
+{
+ "id": "http://iot.bzh/download/public/schema/json/ctl-schema.json#",
+ "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json#",
+ "metadata": {
+ "uid": "Test",
+ "version": "1.0",
+ "api": "test",
+ "info": "Binding made to tests other bindings",
+ "require": [
+ "hello"
+ ]
+ },
+ "onload": {
+ "uid": "launch_all_tests",
+ "info": "Launch all the tests",
+ "action": "lua://AFT#_launch_test",
+ "args": {
+ "trace": "hello",
+ "files": "helloworld.lua"
+ }
+ }
+}