GitHub user nakomis opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/910
Regex replacement dsl
Adds ability to perform a regex replacement in YAML. Either directly as a
string, or returning a `Function<String, String>` for use in (e.g.)
`Transformer.TRANSFORMATION_FROM_VALUE`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nakomis/incubator-brooklyn
regex-replacement-dsl
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/910.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 #910
----
commit 15ba64202941b6ab00bdc715ae9fb9fcf5c9da06
Author: Martin Harris <[email protected]>
Date: 2015-09-18T12:11:37Z
Adds regexReplacement to BrooklynDslCommon
commit 4fe11cf16aa82f3ed29dd8c631d283e7a7996389
Author: Martin Harris <[email protected]>
Date: 2015-09-21T09:31:56Z
Adds BrooklynDslCommon 'Functions', and adds string regexReplacement
----
---
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.
---