GitHub user mbarrientos opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/48
Adds EntityInitializers for http sensors and suport for full JSONPath
- Adds EntityInitializer for ´HttpRequestSensors´ by defining a
´HttpFeed´ over sensors.
- Full JSONPath support. Now is possible to specify a JSONPath (as defined
here http://goessner.net/articles/JsonPath/ , thanks @ahgittin) by calling
`HttpValueFunctions.jsonContentsFromPath()`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mbarrientos/incubator-brooklyn
http-request-sensors
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/48.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 #48
----
commit 964c7f965c3e4505bc81f5f3be62c18ae16c9ffd
Author: Miguel Barrientos <[email protected]>
Date: 2014-06-30T14:51:55Z
Merge pull request #2 from apache/master
Sync with parent repository
commit ba6722d9815d50c170ec4958de707d9fec4a81c0
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-02T07:33:30Z
Added entity initializers for HttpRequestSensors. Polling over a URI and
retrieving a single JSON value from the response.
commit 1a77123b258168ffd905c96885d6bd9080907cb6
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-02T07:34:35Z
Fix deprecated calls on "chain" to "Functionals.chain"
commit 5c406c962e5c714b919cf095ea7aa7394ae742ed
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-04T15:31:46Z
Fixed commented code and unused imports
commit ee4f15cfc89d6d794dc7389a30978c87f91eb049
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-04T15:38:21Z
Changed asserts to static imports
commit d8cadb6c0072265961106fc6cf24a6b3289695b8
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-05T00:16:17Z
Fixed variable names to fit standard notation
commit 802adfa1a42028b23777839c74a92de5c5aca727
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-05T00:18:07Z
Add support for json-path (https://code.google.com/p/json-path) for full
access to json response
commit 8afb7c47df58e1f6cc1830b7559bb5c5f5039339
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-07T09:23:10Z
Moved test to new package
commit 974da609e1d926150241bb6407aa371d8e286001
Author: Miguel Barrientos <[email protected]>
Date: 2014-07-07T09:55:27Z
Refactoring to avoid removing functionality:
now it supports both full path with JSONPath (through
HttpValueFunctions.jsonContentsFromPath) and 1-level json element only.
----
---
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.
---