brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Introduce relationships between b...
Date Tue, 27 Oct 2015 11:06:20 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/987#discussion_r43107795
  
    --- Diff: api/src/main/java/org/apache/brooklyn/api/objs/BrooklynObject.java ---
    @@ -141,4 +149,11 @@
              */
             boolean unsubscribe(SubscriptionHandle handle);
         }
    +    
    +    public interface RelationSupport<T extends BrooklynObject> {
    --- End diff --
    
    Cool -- I hadn't seen that!  Very nice for e.g. `policies()` and `tags()`.
    
    However it's unclear what that should do in the case of *maps* like relations -- and config.
 I note this isn't applied to `ConfigurationSupport`.  Suggest deferring this.  It can always
be added once we know what its semantics should be.  /cc @aledsage


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message