GitHub user sjcorbett opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/75
Effectors accept form encoded data
A bunch of uncontroversial commits and 85a2b0c which adds FormMapProvider
to marshal an InputStream to a `Map<String, Object>`. It's used in the effector
API to let the invoke method accept form-encoded data.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sjcorbett/incubator-brooklyn effector-http
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/75.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 #75
----
commit 818022e4d6c1943906b9d93eeee13050a4d39c12
Author: Sam Corbett <[email protected]>
Date: 2014-07-09T17:08:44Z
Fix a bunch of log messages and comments
commit 6cd650520709aaf19d0a4d2e4963fe9c383fc0ea
Author: Sam Corbett <[email protected]>
Date: 2014-07-09T17:09:37Z
Catalog and Location resources return representation of newly-created
entities
commit 2983f0632f6182d37e4575122aa01a9eb7d92841
Author: Sam Corbett <[email protected]>
Date: 2014-07-09T17:10:33Z
Adds pathOf javascript util function
e.g. pathOf http://abc.com/d/e/f == /d/e/f
commit bf331182576a748568aca0ec49d14b4c4ef21c69
Author: Sam Corbett <[email protected]>
Date: 2014-07-10T12:26:22Z
Sort sensors/config/effectors in catalog summaries by name
commit 85a2b0c36f16c8cafe96060fdacc6b6d41860ef8
Author: Sam Corbett <[email protected]>
Date: 2014-07-16T17:34:42Z
Adds a Map<String,Object> message body reader and uses it in EffectorApi
* Adds FormMapProvider, which reads an InputStream into a
Map<String, Object>, where the Object values are either a String, a
List<String> or null.
* Uses this in EffectorApi to support form encoded data.
* Changes signature of EffectorApi.invoke parameters argument from
Map<String, String> to Map<String, Object>.
----
---
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.
---