brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbouron <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Adds support for interfaces tag o...
Date Thu, 19 Nov 2015 09:24:45 GMT
Github user tbouron commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1039#discussion_r45317204
  
    --- Diff: usage/rest-api/src/main/java/org/apache/brooklyn/rest/domain/CatalogItemSummary.java
---
    @@ -121,6 +132,20 @@ public String getIconUrl() {
             return iconUrl;
         }
     
    +    public Collection<Object> getTags() {
    +        List<Object> result = new ArrayList<Object>();
    +        for (Object t : tags) {
    +            // TODO if we had access to a mapper we could use it to give better json
    +            result.add(Jsonya.convertToJsonPrimitive(t));
    +        }
    +        return result;
    +    }
    +
    +    @JsonIgnore
    +    public Collection<Object> getRawTags() {
    --- End diff --
    
    Not directly in this project but in [brooklyn-tosca](https://github.com/cloudsoft/brooklyn-tosca/pull/30/files#diff-7bb08b08e5b7ef400557dbcb45441969R157).
Although, it can be removed as per as my previous comment.


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