Age | Commit message (Collapse) | Author | Files | Lines |
|
Modify the way to wait for an event. Here we call synchronously a verb of the
test api that will end when a timeout expires or when the reception of the event
ends the request
Useless set up of verbosity to debug for the monitoring API.
"push_after" messages could be caught without setting up this.
Bug-AGL: SPEC-2003
Depends-On: https://gerrit.automotivelinux.org/gerrit/#/c/18583/
Change-Id: I24af6bae6a9aa0f70f3b78304134a65e09f12a58
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bump app-controller-submodule
Fix ctrlConfig following app-controller-submodule modification
Change-Id: Ifd93d20bbff336420f478229f640d8304b502fc4
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
Submodule app-controller-submodule d6eb01e..ce07538:
> Abort if one required API is missing
> Correct an error when no plugins are defined
> Decrease print level when no onload action
> Add a 'params' fields for controller plugins
> Call wasn't done correctly in 'CtlConfigExec'
> Add ctlPlugins array to the ctlConfig structure
> Add an Init step to the plugins load
Submodule conf.d/app-templates 52ae181..e7fd1da:
> Select the test set to run
> Always use wgt when talking about widget
> Minor fixes
> Improved test widget launcher script
> Set default link flags to the target property
> Use a custom test-config.xml file for test widget
> cmake: coverage: disable compiler optimization for COVERAGE build
> Adding warning message to migrate on CMake module
> common.cmake: fixed erroneous search path for os-release
> Fix: missing gcov symbol in compiled binaries
> app-templates doc: Changed doc to fit new format.
> Update Docs
Change-Id: I7b21414e465a8377c031cfd54f6170051d4312de
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Submodule conf.d/app-templates 0f25ab2..:
Change-Id: Ief3ca4ba2e7a4ccf5a3d730a0f1656454e2853df
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Adding objects to events section using the controller function
to create a mock-api.
Change-Id: Ic538c02f08b2f4f3376ffa6e9b9ffcbef1592599
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Binder FF.RC4 provides the missing define afb_service_call[_sync]_legacy
which doesn't fit with define in the controller as the first argument
API is already given by the app framework binder.
Change-Id: I5aa6dbbbf6cad37377d933ff4de8466a6a4d9a34
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
For compatibility between different binding versions
Submodule app-controller-submodule e3f2c45...4386ec5:
> Migration to v3
> Adds v3 function to get binding settings
> New function returning the binding root directory
> Change the default GLOB pattern
> Fix wrong computed length
> Add path to the installed widget path.
> Controller: Converted README to a gitbook version.
Submodule conf.d/app-templates 9c1a0fb..f0b24b0:
> Rollback about TEST build type
> Adding a TEST build type
> Change default compilation options.
> Test widget only if there are test materials
> Handles more test LABELS.
> Missing flag for COVERAGE build type
> Create a test widget
Change-Id: I4f96cc6773ec4da7eba96f243d6bf06170ef0cb0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I09f174c99488ff104aaa7995e1575a5e5aa3a0c0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This resolv the link to the binding aftest library then set
the dir path to the widget installation location.
Depends-On: I5db247fd9925065684e036d8d458c2131006f9db
Change-Id: I4c49b930181a813d0ef3c2d873455a4ac7721206
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Submodule afb-helpers 764c355..f0ce5b6:
> wrap-json: Fix duplicated lines in header file
Submodule app-controller-submodule b79a761..4e30eb1:
> New defaults useful functions on lua table
> More precise log message when loading a Lua file
> Fix: wrong legacy function signature
Submodule conf.d/app-templates f94e45e..9c1a0fb:
> Fix: interpreted '&' character
> More accurate comment about widget template file.
Change-Id: I5d18b1005e797f2297c6766266abcbdbc65816e4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Controller is still using dynapi and preV3 version.
This is a preparation for future controller update to V3
Submodule app-controller-submodule 88892db..b79a761:
> Split loading JSON controller file.
> Release arguments once C function returned.
> Fix : typo introduced in a previous commit.
> Fixed character counting that was shortening paths
> Keep json unmodified during action execution
Change-Id: Iba37b3fbd35e58973b9601a7f91bfdb61abcf76f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This helps finding configuration in several locations by concatenating
environment variables and hardcoded variables. Then it is possible for
the apps to retrieve its files or values in any environment (native,
board, sdk) more easily.
Depends-On: I0ad19242612559d1f4b66b6f9af9e7032d4675a8
Depends-On: Ic448ff017e6158bec05895d63688b8968b5c6434
Change-Id: I26a725c368e8354cfc2531d58de6dc362f7d0618
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Submodule app-controller-submodule 5137a2c...440be09:
< Use binding version to set controller definitions
> Use binding version to set controller definitions
Submodule afb-helpers ee8dd11...52f0478:
> Remove unnecessary 'AFB_DEBUG' redefinition
< Use binding version to handle dynapi
> Use binding version to handle dynapi
Change-Id: Ibd6a2cbed994c9f3f80239e7cb88a55150a25499
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Update config.cmake to follow app-templates update.
Submodule afb-helpers 5811a53..ee8dd11:
> Use binding version to handle dynapi
Submodule app-controller-submodule e45d063..5137a2c:
> Use binding version to set controller definitions
> ctl-lua: typo fix
> asynchronism for test: LockWait added
> Fix: plugin api assignement order
Submodule conf.d/app-templates eec9f07..332f377:
> Be able to overwrite BUILD_TYPE using CLI
> Use CACHE variable for other common CMAKE variable
> Fix:: wrong wgt using RELEASE BUILD TYPE
Change-Id: I098393e537e7bd635ddbbe300c023e239ad25cd2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Submodule afb-helpers 9a1f7ea..5811a53:
> At search, use the prefix parameter as a prefix
> Remove deprecated use of cmake/Qt macro
> Rename method to avoid conflict with Qt's one
> Fix warnings due to json-c evolution
Submodule app-controller-submodule 9622138..e45d063:
> Execute ConfigExec only if section is existing
> Always set the api member even if NULL.
Submodule conf.d/app-templates aa68dbd..eec9f07:
> Fix: SYSROOT location detection... Wrong test.
> Change the default debug compilation options.
> Clearer coverage compilation options configuration
Change-Id: Iec276d139a70b425cab852a41802dc071c6ca3f2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Submodule app-controller-submodule 10c0afa...9622138:
> Ability to add a plugin after the initial load
< Retrieve a section from config by its 'uid'
Change-Id: I7c9ad1cf02c083414950376f581a1fd6e9f0016c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
> Retrieve a section from config by its 'uid'
> Be able to dispatch required api at the wanted time
> Change LUA package path at LUA interpreter load
> Don't load two times a plugin even for LUA
> Fixed hidden bound variable (apiHandle)
> Fixed null value when push Lua arguments
> Adjust to compile with incoming bindings v3
Change-Id: Ie6a448005ffa9d13fdb2238c7abcb99383145554
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Submodule afb-helpers f5f1e25..9a1f7ea:
> wrap-json: new helper functions for comparison
> Removed anonymous function in ScanDir and fixed warnings
> wrap-json: Add clone facility
> Disabled debug code (only used for testing).
> Correction to include dynamic api correctly
> Fixed build warnings with gcc >= 7.3
> Added afb-helpers-utils.h
> Fixed compilation warnings with gcc-7.2.0
> Fixed spelling
Submodule app-controller-submodule 690bdee..d7e260c:
> Remove declaration to not existing functions
> Add 2 lua utilities function
> Update README.md for new metadata keys.
Submodule conf.d/app-templates 6621af0..f65761c:
> 02-variables.cmake: Avoid checking CXX version if not required
> config.cmake.sample: Remove dependency to libsystemd
> config.cmake.sample: Remove dependency to libmicrohttpd
> Added -D_FORTIFY_SOURCE=2 to CFLAGS
> start-on-target: uses RSYNC_PREFIX path for config
> Fixed spelling.
Change-Id: Ic78f99b3737ffb87220e2d11183d3c5554ff2a81
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Changes of afb-helpers:
(c7cd527 - Sebastien Douheret) Removed anonymous function in ScanDir and fixed
warnings
(98c64ea - José Bollo) wrap-json: Add clone facility
(5ae2a7a - Sebastien Douheret) Disabled debug code (only used for testing).
(563bdea - Jonathan Aillet) Correction to include dynamic api correctly
(9685413 - Sebastien Douheret) Fixed build warnings with gcc >= 7.3
(f250572 - Thierry Bultel) Added afb-helpers-utils.h
(f9f7e1e - Thierry Bultel) Fixed compilation warnings with gcc-7.2.0
(c0c40af - Sebastien Douheret) Fixed spelling
Changes of conf.d/app-templates:
(66f7bc8 - Thierry Bultel) start-on-target: uses RSYNC_PREFIX path
for config
(e400fb3 - Sebastien Douheret) Fixed spelling.
Changes of app-controller-submodule:
(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
(5b079d4 - Jonathan Aillet) Remove an unnecessary variable
(ddd10be - Jonathan Aillet) Make parsing of action loading non blocking
(540522a - Jonathan Aillet) Use an external file for app fw functions link
(50feaf0 - Jonathan Aillet) Use macro to test request validity
(bcd9efc - Sebastien Douheret) Fixed build warnings with gcc >= 7.3
(0e30275 - Jonathan Aillet) Increase lua script max message size
(263731b - Jonathan Aillet) Prevent lost of config file path when searching
(8ce6d20 - Jonathan Aillet) Correct way that api actions are handled in controller
(64671ea - Jonathan Aillet) Handle more metadata in the controller.
(53bc4e4 - Jonathan Aillet) Add possibility to set prefix to NULL in CtlConfigScan
(4a72302 - Thierry Bultel) Fixed compilation warnings with gcc-7.2.0
(4b4a05d - Jonathan Aillet) Add an external field to CtlConfigT
(a070489 - Romain Forlot) Make action item from a LUA action mandatory
(dcc27f2 - Romain Forlot) Handle no prefix given
(a68eba9 - Romain Forlot) Good usage of strncat and strncpy
(2acfbf2 - Romain Forlot) Update to the new JSON syntax
(d02408c - Romain Forlot) Detect failure at OnLoad action calls
(fd225dd - Romain Forlot) Improve reliability and function calls
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Ibb680391749e7e2e9569cd669a97bf9a99c4e1e6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Iab4d51428c313bcead8fb8a045ec8aae540ef4dd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Add luaunit as xUnit lua framework
Change-Id: I49627b6554c62d05eca5e367d073b037385e40b1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This is the skeleton, it compile but there isn't tests
implemented for now.
Change-Id: Ie810a9eb23d58797bebd6b64b00682238e4bd732
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|