summaryrefslogtreecommitdiffstats
path: root/conf.d
AgeCommit message (Collapse)AuthorFilesLines
2019-08-30refactor(config.xml.in):Replace required api with required bindingicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Li Xiaoming1-1/+1
Appfw docs: "required-api local": OBSOLETE SINCE FF (AGL6), PROVIDED FOR COMPATIBILITY.Use the feature urn:AGL:widget:required-binding instead. Bug-AGL: SPEC-2781 Change-Id: I1f0ca3ef30d00c4cfad70738058a16c59b848232 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-01Allow to set host+port using params in config.jsonsandbox/SebD/wipSebastien Douheret1-29/+31
Default influxDB host and port can now be set using params field of plugins section of harvester-config.json file. For example : "plugins": [ { "uid": "influxdb", "info": "Plugins that handle influxdb read and write", "libs": "influxdb.ctlso", "params": { "host": "localhost", "port": 8086 } } ], Change-Id: Iff0fffe1d0883304413d887986991a207b840aa7 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-08-01Add scope-platform permissionSebastien Douheret1-1/+7
Change-Id: I4fead97bb7a1686763a3da80c7ec4f8a7e9a07f8 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-08-01Fix strings quotingSebastien Douheret1-1/+1
Change-Id: If7226a1c4692c262e82bc77b2bb62a5487227ab3 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-08-01Reorder the json configuration fileSebastien Douheret1-4/+4
Change-Id: Ib555a70aa910750fb865c7b25e81f6c20ba6c460 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-08-01Add a config.xmlSebastien Douheret2-4/+20
Add the config.xml file to allow the harvester running on a target. Change-Id: I8446c1e9f3713ee4cd8c8a588ba5ffc86786577e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-08-01Tweak json configuration file.Sebastien Douheret1-1/+0
Remove the spath in the json configuration in order for the controller to search the plugin in the default path. Change-Id: If7e53fe1048117822648ac026fda2f07c8b4cfaa Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-05-15Add LUA dependency for any distro not only debianRomain Forlot1-0/+1
And remove old directory about submodules which has been migrated. Change-Id: I473942f8fc87eea7563feef8d8a7b0a7d5b69600 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-04-01Git submodule migration to separated librariesRomain Forlot1-1/+2
- Replace controller binder functions definition with the binder ones. and remove the last used submodules to use the separated libraries. Bug-AGL: SPEC-2139 Change-Id: I0e354757dec692c13b49f02226fcf891953667f5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2019-03-29Handle Debian-like distro LUA and curl packagesRomain Forlot2-1/+2
Lua is not handle the same way depending on the distribution so we need to adjust the dependency to find it anyway. Adding the libcurl also for the needed package. Change-Id: Ie6cd9b56f829ccb82ebcf0176cb84f8ad15b57c5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-22Move autobuild to top treehalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy/6.99.4guppy/6.99.3guppy/6.99.27.90.06.99.46.99.36.99.2Frederic Marec2-134/+0
Bug-AGL: SPEC-495 Change-Id: Id3899e764538fb3e27bb69fb5cb1169b3446697c Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-4/+8
Bug-AGL SPEC-1682 Change-Id: Ic1996161f183c79db34d1da1b75bbfcdd28c9222 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-23Fix Debian LUA 5.3 package name requiredRomain Forlot3-2/+1
Bug-AGL: SPEC-1790 Change-Id: I904ba9e18db6a260d3042ae014670f40039c89c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Used right INSTALL_PREFIX variableSebastien Douheret1-4/+4
Change-Id: Idb485fd1618b1a9bd8f7a94024a9aadbfd52a682 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Bump SubmodulesRomain Forlot2-2/+2
Submodule afb-helpers 5811a53..52f0478: > Remove unnecessary 'AFB_DEBUG' redefinition > Use binding version to handle dynapi Submodule app-controller-submodule e45d063..440be09: > 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 0880356..332f377: > Be able to overwrite BUILD_TYPE using CLI > Use CACHE variable for other common CMAKE variable Change-Id: I455c7132ccd9266b8e77a5a8c02fd7501f577c11 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Bump submodulesRomain Forlot1-0/+0
Submodule afb-helpers f5f1e25..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 > 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 61c95f1...e45d063: > Execute ConfigExec only if section is existing > Always set the api member even if NULL. > Ability to add a plugin after the initial load > 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 > Remove declaration to not existing functions > Add 2 lua utilities function > Update README.md for new metadata keys. > Fix a compilation issue due to modif of AFB_ReqSuccess > README:md: update README accordingly to new json scheme. > Fixed crash due to call to json_object_put > Fix segfault when printing long message from lua > Fixed spelling of AFB_ReqSuccess > Remove an unnecessary variable > Make parsing of action loading non blocking > Use an external file for app fw functions link > Use macro to test request validity > Fixed build warnings with gcc >= 7.3 > Increase lua script max message size > Prevent lost of config file path when searching > Correct way that api actions are handled in controller > Handle more metadata in the controller. > Add possibility to set prefix to NULL in CtlConfigScan > Fixed compilation warnings with gcc-7.2.0 > Add an external field to CtlConfigT > Make action item from a LUA action mandatory > Handle no prefix given > Good usage of strncat and strncpy > Update to the new JSON syntax > Detect failure at OnLoad action calls > Improve reliability and function calls < Make action item from a LUA action mandatory < Handle no prefix given < Good usage of strncat and strncpy < Update to the new JSON syntax < Detect failure at OnLoad action calls < Improve reliability and function calls Submodule conf.d/app-templates 6621af0..0880356: > Fix:: wrong wgt using RELEASE BUILD TYPE > Fix: SYSROOT location detection... Wrong test. > Change the default debug compilation options. > Clearer coverage compilation options configuration > Don't overwrite the autobuild script if it exists > Disable the in-tree build method. > Detect Yocto as OS distribution > Fix: wrong compile options added > Fallback using zip format if no wgtpkg-pack found > 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: Id30bddbf563f9a8d14d47f9414a1cd4e46bbb0cd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Set reader function unavailable for nowRomain Forlot1-4/+0
Reader is WIP and should not be used for the moment. Change-Id: Ic106dbe9382f0611ab8c05c6bb4ca61e4153eb39 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Escape special characters according to influxDB docSebastien Douheret1-1/+1
Change-Id: I22724b547033b40b3160c3bbe1b2141349a1ead2 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Fixed bug when searching tail of listSebastien Douheret1-1/+1
When searching tail of list, you cannot use directly input parameter (*l) , you should use a local variable instead (here new_elt). Change-Id: I13fc042f85580342ecf33cca2067a37ee55f4799 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Use latest version of submodules and update READMESebastien Douheret2-1/+1
Add "--name=afb-harvester" option to launch command that is now requested to be able to load right config.json file on a native host. Changes of afb-helpers: (f9f7e1e - Thierry Bultel) Fixed compilation warnings with gcc-7.2.0 (c0c40af - Sebastien Douheret) Fixed spelling Changes of conf.d/app-templates: (e400fb3 - Sebastien Douheret) Fixed spelling. Changes of app-controller-submodule: (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 (61c95f1 - Romain Forlot) Make action item from a LUA action mandatory (9e9fb2b - Romain Forlot) Handle no prefix given (eaa3ada - Romain Forlot) Good usage of strncat and strncpy (c973ff0 - Romain Forlot) Update to the new JSON syntax (3d971b4 - Romain Forlot) Detect failure at OnLoad action calls (3899ade - Romain Forlot) Improve reliability and function calls Change-Id: I04f58a0c4263de99d167266c6ca67cddfee3dca4 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-10Update submodulesRomain Forlot1-0/+0
Change-Id: Ib86c621d717292be639233130940c8d19c1eda46 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Convert the binding to use the controllerRomain Forlot7-1/+116
Ease Time series DB abstraction layer by using Dyn API that implemente the API defined by the JSON schema. Change-Id: I67de4fbca10048201fdd2da683732a5f4f5b5368 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Update submoduleRomain Forlot1-0/+0
Change-Id: I1ed97e152b009191ace02fd4805258557b7f4820 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Update submoduleRomain Forlot1-0/+0
Change-Id: I1ed97e152b009191ace02fd4805258557b7f4820 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Externalize Curl dependency within afb-helpersRomain Forlot1-1/+3
Change-Id: I50a4c6f440730a8776f7bb5c58c756c35bca5db8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Add project skeletonRomain Forlot4-0/+335
Change-Id: Ieae59a0c66c9a9f7500f56e33cc0a98d572c0621 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-10Add project skeletonRomain Forlot1-0/+0
Change-Id: Ieae59a0c66c9a9f7500f56e33cc0a98d572c0621 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>