Age | Commit message (Collapse) | Author | Files | Lines |
|
Needed for test of bindings v2.
Change-Id: I33f8b497428bf03f8f80ad26bcdec773d269f41d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The request was released without any need.
It came from migration from v2 to v3.
Change-Id: If2558ca247f0db912ce5705fa1fd98f3771dcb1f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This bug returned a wrong OpenAPI description
and produced a memory leaak.
It it could be good to rewrite this part using
wrap_json_pack.
Change-Id: Ie0cf03e4434f8674273e9fac3c49a0f9c8196eac
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1badca46d9e829c9b9443fce0a1e7d6a5ffad595
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I047f6a1946ba523776abf9f252a3938e945c8028
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I42bdaff39ac5f91c21bee4e4f9ff089ee3040a5b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
It is not valuable at the end to continue to have this
fake job implementation. So removing it is good.
Change-Id: I930ade3e3a511f0ebfb91292e5725ac3be884d44
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I439e891d92fb34087755e68102fda97c43b5b786
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Exclude from the binder the part related to the supervision
when the supervisor is excluded from the build.
Change-Id: I41193122d63e47b9f0db7f113f88d2d63b783027
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Allows to compile all files even if it isn't
required to simplify the build process.
Change-Id: Ie09e99794aa9f57b179c7e4cfa882859958beb7a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This has become an error since a gcc update
Change-Id: Ib49bd8c46091efdfe9483bb29a023a4e97c8db2f
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
The utility wrap-json distinguishes o from O, the latest
increment the reference count, as expected.
Bug-AGL: SPEC-1563
Change-Id: I4490ac894059e47abf1e2474aab07249b862e985
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Latest change that added script compatibility
(see 1f9e60c) introduced a regression that made
afb-client-demo not useable interactively.
Bug-AGL: SPEC-1562
Change-Id: I1e0ca5caa23ee9838ba8691f384db3d0b13bd488
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The newer version of afb_req_verbose was self recursive
leading the crashes.
Bug-AGL: SPEC-1561
Change-Id: I40959e5b72ca850712c27a505e77efea43aadabd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
My memory has hole and thought that saha was
hello in arabian but it is thank you.
To avoid misplaced suceptibility, i also adde shalom.
Change-Id: I493d91fe79c9ce1a2b1a0318883e2cb26a43eb87
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3e8b0cbbe925d9536722962ed1ddc8a63cdbc08a
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The use of symbolic links can be helpful in
some cases. That modification takes care of
allowing symbolic links in the exploration
of directories.
Change-Id: I54d9004187ba5942410aca37b890cd4f6925177d
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The files weren't included due to git and gitignore.
Also add a README.md to reproduce the test.
Change-Id: Ifcdffaca32c369b2ff5fb82e246fa0cad87813f5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This is a first version of the coverage tests.
Change-Id: Iec2feaba12c369b2ff5fb82e246fa0cad87813f5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This version allows to pipe from a script shell.
Change-Id: Ia2bb3e059b8a5a1b097178d2883ef385e7efcdca
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I325d768b3bdfcb313b57e1752cbc156b3735b55a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iaa1719ee2891d470f8229c6f1b98dd34265593a6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1ef90b0f889767d04f84c8c7eb27d19c04390b15
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Add the following verb for testing purpose:
- close: close the session
- set-loa: set the LOA of the session
- setctx: set the contextual data of a session
- setctxif: set the contextual data of a session if not already set
- getctx: get the contextual data of a session
- info: returns the info of the session
Change-Id: Ie2ceb897ecdff01f6efd0a3b174b5794913726d9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0abea1aa62d86372f07f61b7c5dc2e854137f99a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This option allows to keep the client running
even when its input is closed. This will be used for
tests and for reporting because it allows to write:
echo 'monitor trace {"add":{"api":"*","request":"*","event":"*","session":"*","global":"*"}}' |
afb-client -k $WSURL > logfile
to capture all events.
Change-Id: If1c7804556190fd8ec9388260fe014c50b498b1d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The documentation is improved to reflect the new version.
Tune the options
Change-Id: I894c3db3bc0c10e89db66a9a51a9ad049bb8c0c4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia9b047bf01543f7cc1c794d91bf479d9848509d3
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
- sort files by packaging type
Change-Id: Ic914b5eedffce04356bb59db36be30ba81a8a20d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
The use of the same buffer as input and output of readlink
leads to warnings due to restrict use in new versions of
GLIBC
Change-Id: Ifbf1277b88bd18a9df1e18211d4248e94c16d6da
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The library json-c now returns size_t instead of
int when querying length of arrays.
Change-Id: Id52bb8e77da12cb01e61e1a7c7f4ae2fcbe4634e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Makes the data posted as application/json directly
available through json.
The previous processing made content transmitted
with the content-type application/json available as
a string in the field of name "" of the returned
json object.
Change-Id: I11615b9b147ee4daa1b1358c2bd36fd839d8a7a9
Signed-off-by: jobol <jose.bollo@iot.bzh>
|
|
This commit introduces the bindings v3 API for bindings.
The documentation has still to be improved and will come
very soon.
Change-Id: I8f9007370e29f671fdfd1da87fff7372a17db7af
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I8c9de83d857844b1c5d0d2d26385dbf19fcae228
Signed-off-by: jobol <jose.bollo@iot.bzh>
|
|
This allow to use accurately float 64 bits for times
from 1970 to 2112.
Change-Id: I8f57a57edbf5469f827c0eeb80191de934d9841e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ic89f9dde8111a20e8dfc5f536ec0e731b2b49df7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id7c183face3179a3b9cec7ed128e3a2561d9f3ad
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Having a 'real' raw output allows to pipe output with useful tools like jq.
For example:
afb-client-demo 'localhost:5555/api?token=HELLO&uuid=c' hello ping | \
jq .request.status
Change-Id: Ib871a257375bec26f315cdcdbb590033b645ac9d
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: Ia529be2bf17d9bce3adfc5cb052afd724ae7bbdf
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Change-Id: I3c5e0e875cc5f16c8d366694b4a131768ab8ccd8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This option prints the command sent in the same way that it prints
the received actions.
Change-Id: I55d74f7b8645185f93e3b163cb772c8eb515fad0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I9026f3498a4860851a41a0d5d56d1880ece75306
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The pattern matching actually use fnmatch but this
could be changed in the futur to some lighter version.
Change-Id: I4f3617cd4a5bdf95988428cb184cef9e9543771d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If8b4a2b8773e5e7ce3ae62839193c611eefcb811
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iebcab280123d1f954eda3b1260d0b984ae3a98b5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I78aeb16fb1cf5b029fb24704d16c42152f9cc909
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I832f09f44f00152bf2f1bbfc1f82bc4b7c9585e7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Idc3360e7b96d5d9dd3fbb39ef97b3dc5d50c54bb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1c8e68b248e768b9a6f3cae712035c85b68572f9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I4ba49719a4776511d7f5448cd7fbf84caf7474e8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|