Age | Commit message (Collapse) | Author | Files | Lines |
|
As per: https://docs.influxdata.com/influxdb/v1.7/write_protocols/
separator should be a comma between metric name and metadatas (tags).
Bug-AGL: SPEC-2416
Change-Id: Iedfa21ec8e61aa406600711b38e5ac2b0e87d776
Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
|
|
key is now managed internally, using a copy.
add_elt() / add_key() now provide a 'suffix' parameter.
If suffix is given, it is appended to the key.
If NULL, or empty string ("") is given, nothing is appended.
NOTE : value is still owned by json object.
Bug-AGL: SPEC-2416
Change-Id: I624a2dd211801c2d24b2c6739f2c7536a047ea32
Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
|
|
When the verb 'write' is called with a set of multiple values, the request
sent to to influxdb will include the first value N times.
Also cleaned/factorized a bit the code...
Bug-AGL: SPEC-2416
Change-Id: Iafee9b472e8ef451bb048aaf487c94f3b0ae1c57
Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
|
|
And remove old directory about submodules which has been migrated.
Change-Id: I473942f8fc87eea7563feef8d8a7b0a7d5b69600
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Even empty if the directories exists in the git cache then it remembers
that they were submodule and try to initialize them...
Bug-AGL: SPEC-2139
Change-Id: Ie2ea03498e9453d26442f32d83c2d604966855e4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
- 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>
|
|
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>
|
|
Bug-AGL: SPEC-495
Change-Id: Id3899e764538fb3e27bb69fb5cb1169b3446697c
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
Remove app-template in .gitmodules
Change-Id: I52e1b9df7b91331916c7732726cf0b823d2e1f8e
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
Bug-AGL SPEC-1682
Change-Id: Ic1996161f183c79db34d1da1b75bbfcdd28c9222
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Bug-AGL: SPEC-1790
Change-Id: I904ba9e18db6a260d3042ae014670f40039c89c8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I9655872c8d2803649266ac01cc0e751db760e0f9
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Idb485fd1618b1a9bd8f7a94024a9aadbfd52a682
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I5add16da1851262268eca5f71ee793cbb6ef62dc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I8c60e047e94a5388f75cc6273f09dd68f4014379
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Change-Id: I586b9c1d37e28d41f163cb8f25c161645787835c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Change-Id: Ifbd3c5d89904581f2bf2cfbd55b29a71109788ed
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Reader is WIP and should not be used for the moment.
Change-Id: Ic106dbe9382f0611ab8c05c6bb4ca61e4153eb39
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Changes of app-controller-submodule:
(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.
(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
Change-Id: I25e46f4bf84f988035faaeb35fac7904d0231429
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Ib6b5101a6b105f0f024777ee52d9266f34e88f46
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I22724b547033b40b3160c3bbe1b2141349a1ead2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Changes of afb-helpers:
(9a1f7ea - jobol) wrap-json: new helper functions for comparison
(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
Change-Id: Icae6afd7ac766b1e12e9d2bad22fd5df15c81841
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Ie4a3798d3b3bad3cd2c36154c2b989938e4114b4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
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>
|
|
See https://docs.influxdata.com/influxdb/v1.5/write_protocols/line_protocol_reference/#special-characters
for more info.
Change-Id: Iad2f7d00b7d6c42dbea33df03a75353e9cac97a9
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
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>
|
|
Change-Id: If682e464346078b7254fbc10123e82787e089011
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Iac523214e776b8f3e7bf7479a3774c46c84df398
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I75097671a20e20817a95ec6b857f78c91f93d3b1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I7aaaa4c544428899d7e383b3bbd2ae29312ca15b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Make to sure to allocate enough space to store a NULL
pointer at the termination of the pointer array. Then
it could be browsed correctly
Change-Id: I6d13ba63715e688cd8fdc634ceabb9d3ec84eb87
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I9cc4e031947f5f8c161f8732fc049762b738d994
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ib86c621d717292be639233130940c8d19c1eda46
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ifc1d5bd7c2aedda4ebddb789cc96133167d2e8d3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
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>
|
|
Change-Id: I5e5ff813474a7dd1eb82d033b1164786bafa4cdb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Ib0bcba9daad456f63c0ea704e1fa87f44b6acc98
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I1ed97e152b009191ace02fd4805258557b7f4820
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Memory Issue
Change-Id: Iedec08f6f070df369b761f38724b3e11a29df7dc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I9d114d61e785449d438e1455ac3e64c69aba30fe
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I5b29a90c9233cae0bc96bb24bf10eaade87c44a2
|
|
Change-Id: I1ed97e152b009191ace02fd4805258557b7f4820
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I50a4c6f440730a8776f7bb5c58c756c35bca5db8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
2 debug mode:
- One first run which clean any trace of timestamp record on disk
- the other which keep timestamp file
Cleaning
Change-Id: I80f1d8e4ad574c14b3312da0e8691c49ed17e9fb
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I50a4c6f440730a8776f7bb5c58c756c35bca5db8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: Idb05592f1deca3db9017c2717a5cc77d8880da2d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Always handle arguments as an array even if we receive
a simple JSON object. This imply using an intermediary
variable
Change-Id: I0af8fdcd87e4d3f94d88d64ff7195f6c78002635
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I682744080325335c1228ca84486f07725636729a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|