GitHub user ahgittin opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/1017
Flesh out type creation using the new TypeRegistry
Switch many uses of Catalog to RegisteredType and improve the API around
the TypePlanTransformer. See individual commits for detail.
Next is:
* enable CAMP to use bean creation and register some beans
* swap CAMP to use a new simpler implementation for parsing, enabling
reflection-based doc generation and code completion proposals
* persist RegisteredType instances instead of CatalogItems
Note that this builds on #1016 (which should be quick to review) so ignore
commit 036ba79.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ahgittin/incubator-brooklyn type-registry
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/1017.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 #1017
----
commit 036ba79ae3c63c5fa078f73cc1b77cbb854e7631
Author: Alex Heneveld <[email protected]>
Date: 2015-11-10T14:09:38Z
expand assertions and http assertions for string containment, updating rest
tests
commit 9fd33e4b4f5a4231addd39c666065d6c7d5eaaa6
Author: Alex Heneveld <[email protected]>
Date: 2015-11-02T16:06:44Z
Start to flesh out how types get created.
also move inner classes to top level
commit 8ca99fefdc7e325c14d4b5d827df59963882c7b4
Author: Alex Heneveld <[email protected]>
Date: 2015-11-04T15:47:22Z
Working CampTypePlanTransformer
commit 90a9c23ece9e26fca8a86fe2a64ab1b0deb6af2a
Author: Alex Heneveld <[email protected]>
Date: 2015-11-09T16:09:56Z
Big refactoring of new type registry code
* call the class RegisteredTypeLoadingContext instead of constraint,
improve method names based on better understood semantics
* clean up how plans can be passed directly, without needing an anonymous
RegisteredType
* move BrooklynClassLoadingContext to API project (keeping temporary
sub-interface in core)
commit 2ec76352e469b7765f0a3b558907ea680ee324ef
Author: Alex Heneveld <[email protected]>
Date: 2015-11-09T16:53:17Z
XML-based illustration of new-style XML plan creation
and tidy API and update deprecation
commit 3868344796e2f799baef8429671f473fe672f80f
Author: Alex Heneveld <[email protected]>
Date: 2015-11-09T21:42:02Z
More conversion to new-style TypePlanTransformer, and fixes
----
---
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.
---