Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7842

Refactor ConnectionInfoProvider to work only with ConnectionInfo.id

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Iteration Zephyrosaurus
    • Not Needed
    • Developer Tools

      ConnectionInfoProvider currently expects the entire ConnectionInfo to be passed as the value. This poses a problem for our WorkspacesPlugin which in multiple connections mode would require connections sidebar to pass the entire ConnectionInfo when opening the tab which should not be necessary at all. All we need is the id for the ConnectionInfo that needs to be opened and WorkspacesPlugin should be able to pass it down to ConnectionInfoProvider which should then resolve it automatically using ConnectionRepository.

            Assignee:
            himanshu.singh@mongodb.com Himanshu Singh
            Reporter:
            himanshu.singh@mongodb.com Himanshu Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: