diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-29 19:42:56 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-07-10 17:12:14 +0200 |
commit | dc63d731f884da11cb0fc2d3b98eef5e2c2c07bc (patch) | |
tree | 09b095334b9e0b57574e8d31df033c61ed53c735 /conf.d/project/etc | |
parent | 06e96704868d7b13c1e8e296ce1b262069ca9b4a (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')
-rw-r--r-- | conf.d/project/etc/aft-mapis.json (renamed from conf.d/project/etc/test-fapi.json) | 6 | ||||
-rw-r--r-- | conf.d/project/etc/aft-test.json (renamed from conf.d/project/etc/test-config.json) | 0 |
2 files changed, 3 insertions, 3 deletions
diff --git a/conf.d/project/etc/test-fapi.json b/conf.d/project/etc/aft-mapis.json index 283bceb..4ecfbbb 100644 --- a/conf.d/project/etc/test-fapi.json +++ b/conf.d/project/etc/aft-mapis.json @@ -16,13 +16,13 @@ "action": "lua://AFT#_launch_test", "args": { "trace": "low-can", - "files": "fapi.lua" + "files": "mapi_tests.lua" } }, - "fapis": [{ + "mapis": [{ "uid": "low-can", "info": "Faked low-can API", - "libs": "low-can_fapi.lua", + "libs": "mapi_low-can.lua", "verbs": [ { "uid": "subscribe", diff --git a/conf.d/project/etc/test-config.json b/conf.d/project/etc/aft-test.json index fa26c5f..fa26c5f 100644 --- a/conf.d/project/etc/test-config.json +++ b/conf.d/project/etc/aft-test.json |