GitHub user neykov opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/760

    Pluggable YAML parsers

    * Changes brooklyn-core not to depend on camp-base. Instead plugins (in 
this case offered by brooklyn-camp) are responsible for parsing the input and 
creating EntitySpecs from it. The idea is to use the approach for different 
types of inputs, not just camp yaml, while avoiding pulling in dependencies 
into core.
    * Extract all the code that uses PdpMatcher.parseDeploymentPlan + 
AssemblyTemplateSpecInstantiator.createSpec/instantiate pairs in a common place 
- a lot of code repetition
    
    Supersedes #100, #436, #545, #689.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/neykov/incubator-brooklyn 
refactor-camp-dependencies-3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/760.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 #760
    
----
commit 2a7ec8f694ae61c05d6d0d2db6488f7177c33f0d
Author: Svetoslav Neykov <[email protected]>
Date:   2015-07-20T13:02:36Z

    Move all CAMP-related code to a single place - brooklyn-core
    
    EntityManagementUtils and CampCatalogUtils interface to the CAMP parser now.

commit af52c677e4b0bce1db3d4a9bc9d8aff419dcdcfe
Author: Svetoslav Neykov <[email protected]>
Date:   2015-07-20T13:36:32Z

    Move all CAMP-related code to a single place - brooklyn-rest-server
    
    Use existing utils methods wrapping CAMP calls - in EntityManagementUtils.

commit 1212bf228eae15c409f692ae44b2f728e7ce2bca
Author: Svetoslav Neykov <[email protected]>
Date:   2015-07-20T15:55:18Z

    Move all CAMP-related code to a single place - brooklyn-launcher
    
    Use existing utils methods wrapping CAMP calls - in EntityManagementUtils.

commit f97f9a374936c3fbd498ab4f708e4dacf0e26bff
Author: Svetoslav Neykov <[email protected]>
Date:   2015-07-21T10:17:42Z

    Deduplicate code

commit aedce9f7fccbafb1c317155ae5e024d92538f9d2
Author: Svetoslav Neykov <[email protected]>
Date:   2015-07-21T12:01:51Z

    Decrease API surface in CampCatalogUtils

commit 813bcc76b214930a7bd6f9dae8e34ecdfef22243
Author: Svetoslav Neykov <[email protected]>
Date:   2015-07-21T14:25:15Z

    Use plugins to parse yaml plans
    
    Move all CAMP related code to a CAMP implementation of the plugin.

----


---
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.
---

Reply via email to