Description of problem: The visual connector creates a `connects-to` annotation whose value is a comma separated or JSON array list of `app.kubernetes.io/instance` strings for matching to their target. The problem is that the `instance` is just a name and is not unique amongst resources. The value of the annotation needs to be able to uniquely identify different resources by kind and name. How reproducible: Always Steps to Reproduce: 1. Create different kinds of resources(that are shown in topology) with same name in a project. 2. Try to connect a node with a node whose name is same as some other nodes. 3. Connection is made to other node with the same name as target node. Actual results: Connection is made to other node with the same name as target node. Expected results: Connection should be made to the target node.
Created attachment 1691059 [details] Visual connector can distinguish between nodes of different kinds
https://issues.redhat.com/browse/ODC-2478?focusedCommentId=14110914&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14110914 Verified on build version: 4.5.0-0.ci-2020-05-22-080435 Browser version: Firefox 73
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409