aboutsummaryrefslogtreecommitdiffstats
path: root/test/monitoring
AgeCommit message (Collapse)AuthorFilesLines
2020-01-08Update copyright datesJosé Bollo6-6/+6
Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: I01a566a693b8ec6239209c9323ae4ff15a07f737
2020-01-03AFB.js: pass event nameJosé Bollo1-3/+3
The event name is given at second position, preserving existing code and making its use optionnal. Bug-AGL: SPEC-3069 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: Ieeed1762977b990c139d56c4d78e2b539d6927c6
2019-11-25afb-hreq: Handle access_token query parameterJosé Bollo1-5/+8
As specified by OAuth2 protocols, the access token can be passed as a POST/GET parameter of name 'access_token'. Bug-AGL: SPEC-2968 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: I0e02e6fd0d53dad6de994d4482350fe42ecfce48
2019-11-20monitoring: Fix display on connection errorJose Bollo1-1/+1
When the connection can't occur, the output is not correct. Bug-AGL: SPEC-2975 Change-Id: I9cc185329ddccb00f2544dd7b17841b108cc2c81 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-02-06Update copyright datehalibut_7.90.0halibut/7.90.07.90.0José Bollo6-6/+6
Change-Id: I3aaa92b2bfb01699ee8ae609272e93032b6f1a9d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-22monitoring: Fix naming of apisJose Bollo2-8/+8
The introduction of API v3 changed the API of monitoring/tracing. This introduced a regression of the monitoring: it wass not more possible to filter api by name. This fix that issue. Bug-AGL: SPEC-1828 Change-Id: Ic7f614f6c696119c7fd313e3cd252095f578c64c Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-08-23Send error replies on disconnectionJose Bollo1-4/+12
The pending calls receive an error notification when the server hang up. Bug-AGL: SPEC-1668 Change-Id: I052dca5e338a7650d7630856e21f1d3a81c6f265 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-06-15api-v3: First draftJosé Bollo1-2/+2
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>
2018-02-27Update date of copyright noticesJosé Bollo6-6/+6
Change-Id: If9d7e7728df086fbb7214f1de5cbec35cd2f1d9b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-12monitoring: Set default token to HELLOJosé Bollo2-2/+2
Change-Id: I3c158598da70089b9646233c632f14f62f1baa15 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-06AFB.js: make HELLO the default tokenJosé Bollo1-1/+1
Change-Id: I76ae307672e1268b9cc4a9194e61f884a3f7455b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-26monitoring: Improve readability of pastel styleJosé Bollo1-1/+1
Change-Id: Ic2e8963ad9754b349064e535ed17fc768c0d8063 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-26AFB.js: Allows use of client's callIDsJosé Bollo1-8/+12
Change-Id: I4eaa768446abb875f9c030a58ff919b117c0bfe5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-09monitoring: Add CSS/style/theme switch dynamicallyJosé Bollo2-1/+53
This can be useful when presenting the monitoring to switch from a dark theme to a light theme dynamically. Change-Id: I25beffe2071e7a71d7ad493099ab3bb674de8461 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05sig-monitor: Dump stack atomicallyJosé Bollo2-0/+2
Emitting the stack as a single string avoids its accidental split and is better when receiving monitoring events. Change-Id: I74c16f36f026b4af4a42064f694ac1f4a342cc1f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05AFB.js: fix bug (minor)José Bollo1-3/+3
Change-Id: I37ee5f599cf49a6a1c6b1e27cf3fcdd29b280c4a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-31verbosity: fixes split verbosity level 1 in 2 levelsJosé Bollo2-25/+30
The names wasn't correctly reported by monitor Change-Id: Id382d7fdc3bb56c8c11c865439e7e18c257df3a2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29monitor-base.css: fix overflowJosé Bollo1-0/+1
Change-Id: I075be34d5f29c12c3306d16b3c14ccd40b9a98ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29hooking: Add hook at global scopeJosé Bollo5-2/+9
Actually the global scope only allows to trace log messages. Change-Id: Ib73edf2e3168311b2ad694d857e6647e34884313 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29hook+trace: adds hookid and typeJosé Bollo1-1/+1
The hookid is a unic identifier for a hook event. Its purpose is to distinguish events that could match different filters: a same event has a same id. Also integrate the field "type" (of the event) in the trace event. Change-Id: I90b0b2d3a0846b673b993110d2752cc54db75bd8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-27monitoring: add default page index.htmlJosé Bollo1-0/+1
This allows to acces monitoring interface using url HOST/monitoring/ when option --monitoring is set. Change-Id: If7dfc89e4c4db0d87ec5c8e74f9243691a3ec0e8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-27monitoring: improvementsJosé Bollo8-227/+230
- use flex/css for correct layout - handles disconnection nicely - handles initial token - fix typo in afb-api-so Change-Id: I386b98f9d6a2182029d39a373a9820478f97cfa6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-26monitoring: add copyrightsJosé Bollo6-6/+102
Also still improve colours Change-Id: I2afc2dc7bf22ef65e39c18c9397ae6c7cd2df1d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-26monitoring: fix colorJosé Bollo1-2/+2
Change-Id: I73481b5a7d509c7f6640fc8b0c21c502667a657e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-25monitoring: improve user interfaceJosé Bollo5-11/+114
- fix buttons - manage scrolling - added separators Change-Id: I327a74d004ec33c41bb5e0dbc913bb02d9848878 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-25monitoring: updated demo with dark themeJosé Bollo6-127/+469
Change-Id: Ibb77655cd614553bf0090bf5ffa64180d1279f8b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-24monitor: Test page for monitoringJosé Bollo10-0/+1152
This is a test page for showing basic monitoring use. Signed-off-by: José Bollo <jose.bollo@iot.bzh>