[ 
https://issues.apache.org/jira/browse/BROOKLYN-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15292063#comment-15292063
 ] 

Jose Carrasco commented on BROOKLYN-271:
----------------------------------------

[~aled.sage] Following, you can find the entities that whose toString() method 
should be modified in order to avoid hashCodes in the catalog:

{code}
    
org.apache.brooklyn.entity.software.base.SoftwareProcessDriverLifecycleEffectorTasks@5cf5321e
    EntitySpec{type=interface 
org.apache.brooklyn.entity.nosql.mongodb.sharding.MongoDBConfigServer}@169ade40
    
org.apache.brooklyn.entity.group.zoneaware.ProportionalZoneFailureDetector@2ea39ce6
    
org.apache.brooklyn.entity.group.zoneaware.BalancingNodePlacementStrategy@1fbdb5e
    org.apache.brooklyn.entity.proxy.nginx.NginxDefaultConfigGenerator@a84ba7f
    EntitySpec{type=interface 
org.apache.brooklyn.entity.machine.MachineEntity}@19524b9a
    org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy$4@49c27fe2
    
org.apache.brooklyn.location.jclouds.BrooklynImageChooser$ImageChooserFromOrdering@4389c577
    org.apache.brooklyn.location.jclouds.ComputeServiceRegistryImpl@2099a9b6
{code}

If you agree I will close 
[brooklyn-docs#68|https://github.com/apache/brooklyn-docs/pull/68] and I will 
open the necessary PR to fix this issue. Looking forward to hearing from you

> ConfigKey card shows object hashCode of default values
> ------------------------------------------------------
>
>                 Key: BROOKLYN-271
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-271
>             Project: Brooklyn
>          Issue Type: Documentation
>            Reporter: Jose Carrasco
>            Priority: Minor
>
> ConfigKey cards of Entities show the object references in Brooklyn Catalog 
> when a default value is a object. Take a look to the following screenshot:
> !https://www.dropbox.com/s/rav70zzleyhnd4q/objectId.png?dl=1!
> As you can see the default value is composed by: 
> {code}
>     getClass().getName() + '@' + Integer.toHexString(hashCode())
> {code}
> Probably just class name should be shown here. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to