aboutsummaryrefslogtreecommitdiffstats
path: root/app-controller
AgeCommit message (Collapse)AuthorFilesLines
2019-01-28Migrate app-controller from submodule to libraryJonathan Aillet1-0/+0
Change-Id: I5a3de70994374e9a447fde67eef5925915335863 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-01-23Use latest version of app-controller submodule.Thierry Bultel1-0/+0
Changes of app-controller: (f8531f9 - Thierry Bultel) ctl-action: fixed the calculation of the number of actions (f1c3b6b - Romain Forlot) Message deprecating the submodule usage (2e97ca3 - Frederic Marec) docs: add yaml book Change-Id: Iff9b67f8dc3ddc91090750af4fd5fdada7d167fe Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-12-20Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (48196b8 - Romain Forlot) Reformating lines to be 80 characters long maximum (574c0b3 - Romain Forlot) Detail configuration key and goal of a controller (0e395a6 - Romain Forlot) memleak fixes (f332501 - Romain Forlot) Retrieve by default an int64 instead of int (c3fa161 - Romain Forlot) New function to retrieve Api's name from LUA (8bef6c3 - Romain Forlot) Handle number and boolean to subcall an api's verb (3344fe2 - Romain Forlot) Fix: compiling a controller without LUA support (70e1d98 - Frederic Marec) Fix Parse plugin (309003b - Clément Bénier) AFB:servsync: add string for query argument Change-Id: Idb3793a8d3bd6ea34dc8c0d0209757c3aa231ba1 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-11-02Update version of app-controller submodule.Jonathan Aillet1-0/+0
Use new function of controller to add actions to sections (avoid compilation errors). Changes of app-controller: (33abde5 - Romain Forlot) Reworked pluginConfig function (8094951 - Romain Forlot) Retrieve plugin list from api rather than a global (871bd64 - Romain Forlot) Add setter/getter for user free defined pointer (f543f05 - Romain Forlot) Pass the plugin to action. (ce07538 - Romain Forlot) Abort if one required API is missing Change-Id: Ic19d72776f00cfe5f8b8fcecff3ab46d42376dda Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (625ce77 - Jonathan Aillet) Correct an error when no plugins are defined (0f708ba - Jonathan Aillet) Decrease print level when no onload action Change-Id: I61110a3a0e8a76e22ec86b1ee816f80dbcb74993 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (8d53984 - Jonathan Aillet) Add a 'params' fields for controller plugins Change-Id: I6be8e2d21232c664e30879f7ee063ed4de79ca0f Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (35398f2 - Jonathan Aillet) Call wasn't done correctly in 'CtlConfigExec' Change-Id: I9e99bed2febf033244fa840a351723f1387d19fc Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (bc13eef - Romain Forlot) Add ctlPlugins array to the ctlConfig structure (0176d18 - Romain Forlot) Add an Init step to the plugins load Change-Id: I27a298c010f78956025b97bbc640de19f043475f Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Use latest version of app-controller submodule.Thierry Bultel1-0/+0
Changes of app-controller: (d6eb01e - Romain Forlot) Change loading configuration object behavior (c3a70d7 - CorentinLGS) app-controller-submodule doc: Changed doc to fit new format. (82820f4 - Romain Forlot) Fix: compatibility with binder FF.RC4 (02bbf59 - Romain Forlot) Fix: Wrong variable definition (bdf1a6b - Thierry Bultel) ctl-lua: Fixed memory corruption (4386ec5 - Romain Forlot) Migration to v3 (789a8ae - Romain Forlot) Adds v3 function to get binding settings (3891dcc - Romain Forlot) New function returning the binding root directory (e7132f1 - Romain Forlot) Change the default GLOB pattern (36ed31c - Romain Forlot) Fix wrong computed length (29307ea - Romain Forlot) Add path to the installed widget path. (191292f - CorentinLGS) Controller: Converted README to a gitbook version. (4e30eb1 - Romain Forlot) New defaults useful functions on lua table (61cbc9a - Romain Forlot) More precise log message when loading a Lua file (535df7f - Romain Forlot) Fix: wrong legacy function signature (b79a761 - Romain Forlot) Split loading JSON controller file. (c3d7de2 - Romain Forlot) Release arguments once C function returned. (a58d83b - Romain Forlot) Fix : typo introduced in a previous commit. (86f65bd - 8000ff) Fixed character counting that was shortening paths (e32d98c - Jonathan Aillet) Keep json unmodified during action execution Change-Id: I595f4e3db7dc1b6426875c60e5ba9b493c7651f7 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (88892db - Romain Forlot) Use prefix variable to find controller's plugins Change-Id: I567fa283c1447a2ca332056a5464e55f9bf53921 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Set binding api version directly in top cmakeJonathan Aillet1-0/+0
Bump 'afb-helpers' and 'app-controller' submodules. Set binding api version directly in top cmake of '4a-hal-generic' repository (that became mandatory with submodules updates). Change-Id: I05de046c6435296bc1ea73eba6e12e3b34b4afad Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (67b6d49 - Clément Bénier) ctl-lua: typo fix (bac7d6d - Clément Bénier) asynchronism for test: LockWait added (4a72073 - Romain Forlot) Fix: plugin api assignement order Change-Id: I0499febe1e253b3994460e578d8e705243582ac5 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (e45d063 - Romain Forlot) Execute ConfigExec only if section is existing (2d1c3d2 - Romain Forlot) Always set the api member even if NULL. (9622138 - Romain Forlot) Ability to add a plugin after the initial load Change-Id: Ic7ad650e6d30af71f8ed3760634e2b14c6507f1d Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Loïc Collignon1-0/+0
Changes of app-controller: (0f3063b - Romain Forlot) Be able to dispatch required api at the wanted time (1ff524b - Romain Forlot) Change LUA package path at LUA interpreter load (738ae54 - Romain Forlot) Don't load two times a plugin even for LUA (c04f029 - Sebastien Douheret) Fixed hidden bound variable (apiHandle) (cfe3919 - Sebastien Douheret) Fixed null value when push Lua arguments (69c0585 - José Bollo) Adjust to compile with incoming bindings v3 (d7e260c - José Bollo) Remove declaration to not existing functions (8ac6625 - Romain Forlot) Add 2 lua utilities function (d3504bb - Jonathan Aillet) Update README.md for new metadata keys. Change-Id: Iee42482b7a6834977497c27fe634cee9a5f96e0c Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (690bdee - Jonathan Aillet) Fix a compilation issue due to modif of AFB_ReqSuccess (4063ff0 - Clément Bénier) README:md: update README accordingly to new json scheme. (e9f423a - Sebastien Douheret) Fixed crash due to call to json_object_put (ce3e14c - Sebastien Douheret) Fix segfault when printing long message from lua (6838dff - Sebastien Douheret) Fixed spelling of AFB_ReqSuccess Change-Id: I8b631b0cc7d5dcd2c6e3d2c3ab277b2925174e07 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (5b079d4 - Jonathan Aillet) Remove an unnecessary variable (ddd10be - Jonathan Aillet) Make parsing of action loading non blocking Change-Id: Icac3e4febf216ecda58410830c22485253201f4c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (540522a - Jonathan Aillet) Use an external file for app fw functions link (50feaf0 - Jonathan Aillet) Use macro to test request validity Change-Id: I92b960f5f4d4a2dc107b87880c2195bcc01b9e3b Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update version of app-controller submodule.Jonathan Aillet1-0/+0
Changes of app-controller: (bc3e9be - Jonathan Aillet) Increase lua script max message size (bea75dd - Jonathan Aillet) Prevent lost of config file path when searching (d07474e - Jonathan Aillet) Correct way that api actions are handled in controller (f7d4b1c - Jonathan Aillet) Handle more metadata in controller. (e7377f7 - Jonathan Aillet) Add possibility to set prefix to NULL in CtlConfigScan (4a72302 - Thierry Bultel) Fixed compilation warnings with gcc-7.2.0 Change-Id: Ia2ab9c0157634f1bac82fb0f062f377b1bb137b8 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Corrects version of app-controller submoduleJonathan Aillet1-0/+0
Corrects version of app-controller submodule. Change-Id: I71716e4c82675afe7c01440b29ed61909f2f99fe Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update submodulesJonathan Aillet1-0/+0
Update submodules. Change-Id: Icfaf691f382c76e9e059c7a24b243a633310a2c2 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Add submodules and gitignoreJonathan Aillet1-0/+0
Change-Id: I0562f322f5ce0936349c9cd883344a1e72a58e75 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>