GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/793
HttpRequestSensor: handling non-json
Previously the `HttpRequestSensor` failed if no `jsonPath: ` is suppiled in
the yaml. I've added a failing test, but not worked specifically on that. It
doesn't pick up the default value of `$`.
Added support for setting `jsonPath` to blank, so that it just takes the
pure-string value (i.e. no json parsing).
Also added a few more (unrelated!) tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server
httpRequest-handling-nonJson
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/793.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #793
----
commit b571592d86dcf8fbf35db0aa6b473ed5cb0e990c
Author: Aled Sage <[email protected]>
Date: 2017-08-04T18:14:57Z
HttpRequestSensor: handling non-json
commit 5d18f57e816d225fecc4c7b902e4c7c63d0f938a
Author: Aled Sage <[email protected]>
Date: 2017-08-04T18:18:47Z
Add testListExcludesBlank for aggregrator
commit 196c40d1fc597fdfe5e0423515cce2bc2396fbe9
Author: Aled Sage <[email protected]>
Date: 2017-08-04T18:19:01Z
Adds PropagatorYamlTest
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---