Github user ahgittin commented on the pull request:

    
https://github.com/apache/incubator-brooklyn/pull/1138#issuecomment-171360894
  
    see my improvements to this in #1143 but note i'm still working on that; it 
should merge this PR automatically btw.
    
    @aledsage yes case where we're doing a camp yaml parse of yaml with a 
single service and we don't need an application is ugly as we wrap and unwrap, 
but at least it gives a consistent contract to the camp stuff.  with the type 
registry i think we can expose a better contract where we pass in only the 
content of an entry in the services list (i.e. the map including `type: 
SomeEntity`) and we get back just an entity which should reduce the frequency 
of this ugly case.
    
    for now at least we've got less duplication and it's easy to see where 
things are and aren't wrapped.  however it needs more work as i note in #1143 
... i should have it soon


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