|
Ran
|
Jobs
1
|
Files
106
|
Run time
6s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/skydive-project/skydive/commit/<a class=hub.com/skydive-project/skydive/commit/4179f0c9728ddfa9efb1325187f15f5672addf8c">4179f0c97<a href="https://github.com/skydive-project/skydive/commit/4179f0c9728ddfa9efb1325187f15f5672addf8c">">alert: switch condition to JavaScript query The condition can be a pure Gremlin or a block of JavaScript call. The method &#39;Gremlin&#39; is available in JavaScript to execute other Gremlin queries. The condition result is evaluated to true if it returns: - true - a non empty string - a number different from zero - a non empty array - a non empty map This commit also allows the user to specify an action to execute when the alert is triggered, that can be either: - a webhook. A POST request is issued with the JSON message as payload - a local file (prefixed by file://) to execute a script. It receives the JSON message through stdin The &#39;Trigger&#39; attribute of an alert can now be specified whether the alarm should be evaluated when an event occurred on the graph or periodically. Change-Id: I</a><a class="double-link" href="https://github.com/skydive-project/skydive/commit/<a class="double-link" href="https://github.com/skydive-project/skydive/commit/a7e16b60d84818bada2b10e9890d0e678d518a0c">a7e16b60d</a>">a7e16b60d</a><a href="https://github.com/skydive-project/skydive/commit/4179f0c9728ddfa9efb1325187f15f5672addf8c"> Reviewed-on: https://softwarefactory-project.io/r/5887 Reviewed-by: Sylvain Afchain <safchain@gmail.com> Tested-by: Sylvain Afchain <safchain@gmail.com> Workflow: Sylvain Afchain <safchain@gmail.com> Tested-by: Jenkins CI <jenkins@softwarefactory-project.io>
7871 of 15121 relevant lines covered (52.05%)
380.78 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 593.1 | 0 |
52.05 |
Travis Job 593.1 |