Age | Commit message (Collapse) | Author | Files | Lines |
|
Because Smack labels and permissions of AGL
all contain the character colon (:), it is better
have a distinct field separator for agent-at.
Bug-AGL: SPEC-2968
Change-Id: I378eefcd7b29e424acccced62abe48b35ad8736e
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
When used command line, the tool cynagora-admin
was terminating with status 0 even when the server
wasn't up and running.
This changes corrctly fix the issue by recording
the status of the last cynagora command and by
treating with it in command line mode.
This change is required to implement a basic ptest
and to submit cynagora for Itchy Icefish.
Bug-AGL: 2844
Also fix a naming in the cache stressing test.
Change-Id: I39ee784bbe8ce7b792e96ef14578baa6f80ef6ac
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie5ea4a42445e7c4df61284164f7dd14b0ca12295
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I30e40521d8f8a2694df00a5c9f55adfe748fbd68
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ibd3601ce97b4bc9e1035642584df0fe7788716db
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Now the rule to apply is given by the laws:
1. The rules that matches exactly more keys
2. If law 1 apply to more than one rule, the select rule is the one
matches more exactly the keys in the following order of priority:
- session
- user
- client
- permission
Change-Id: Ia5ae241a08c5a58f75ca0a0c73fcda0876008cc1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
For some reason, dbus requests many times
the same query. That changes try to avoid that
behaviour.
Also fix asynchronous processing and cache handling.
Change-Id: If91631a1ab51ea8530113d015688978b0cf6467a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3d3770a165f165cd922bab16b0e259e86865d048
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ibdb7454657bcdc0a0874f05e065551de80b9bd4f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Id040ad44f862c212057a854ebaf5798da5b064b9
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iedec0340cb08f9eaa81967fb28a8b0e7f2c44603
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I4f146d792fb646d4d221a80de88aeb6a9372e21e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
It prepares the requests with identifiers.
This avoid a fault when a pending agent ask had its
client disconnecting.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
This will at the end allow unsynchronized clients
to query the server efficiently.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
And prepare to have negative values for no caching values.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Documents the client API
Fixes few bugs
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The flag DIRECT_CYNARA_COMPAT remove the dependency
of libcynara-compat to libcynagora.
Change-Id: Ib8ded68fc799a7cdb53acd4416b255abdf765311
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
fixup! 9d08a0b
|
|
The command target_link_options only appear in
cmake 3.13
Change-Id: Ie66464244a139531dfa8ca4f239c53f9d2f3afaa
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ib4d4a03f79056ae17ba1112657eb7fe37b194527
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Rename everything to match the new name of cynagora
Change-Id: I7e529def486ca5721164b338d2c615996fbc6ca4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The compatibility items of the old cynara
librarie are separated and isolated.
The option WITH_CYNARA_COMPAT activates it or not.
Change-Id: Iba77c97d8df31f5f515b57411487943192451ac6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
In prevision of further developments (like plugins)
the server is splitted in two parts: the server program
itself and the core library.
The client library is also splitted in two parts:
the compatibility part and the real client part.
Change-Id: Iaee93298d52eb825ad9aed5d2b3e74c2975b5950
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Compute correctly if a database is empty or not.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Instead of using callbacks, create the query
to allow processing subqueries in response to
agent queries.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia3e6ca458f27ede690cfc6934dd9a6b320ed5d67
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I275e60cad74074cada35755a464da85c3d821e92
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie1d65068f962335b46bd2ca259a002eb559db83c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The option --cache allows to set the cache size
The option --echo allows to emit the evaluated commands
Change-Id: If57d2a229dd263bf77a61973633d7447441277b0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ieccbd068c032e141c41eb7e2c53969348a959208
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5eec641721ba1a8b5bd489e4438fb0f0ccad40f1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2fa317b494f02c2725886a9874af340337b082cb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2a95154e728bf87976280b52ae0214664b107fd6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1ef85b90f5361af31247f0547376af0e5f08f14d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The client program cynadm gets 2 new commands:
acheck and atest that are intended to use
asynchronous test and check.
The client programs cynadm and test-old-cynara
now read as much a possible input before to
process asynchronous answers. This is made to
simulate congestion on asynchronous client.
Change-Id: I1c9dbfe43f150725d530c155135ead8e758897e5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0d2d1566819dc595e46ab09cdab9b8c1dd5b6537
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|