GitHub user neykov opened a pull request:
https://github.com/apache/brooklyn-server/pull/208
Serialize complex objects as JSON in shell.env.
Serialize complex objects to JSON instead of calling toString() when
building the shell environment variables for `SoftwareProcess`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/neykov/brooklyn-server json-env
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/208.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 #208
----
commit 05283c8f1502b55060b011ad56b1cc36c9d13e71
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-17T15:04:11Z
Fix instantiating classes loaded from the bootstrap loader
getClassLoader() returns null for those, so use an explicit class loader.
It's not used anyway in the code path, but needs to go through a checkNotNull.
commit 8aa2b75b6f1ece763d1a3bf668950fa0861f4b69
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-17T15:55:45Z
Move jackson serialization configuration to core
Needs to be used by both rest-resource & software-base.
commit b60a029aa41c0debd7cd4f5c52ac7873e2e9c10f
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-20T12:44:48Z
Convert complex objects to JSON before passing them as environment variables
----
---
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.
---