Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25814

Server adapter wizard: should preselected most recently used connection, not simply the 1st in the list

XMLWordPrintable

    • devex #165 April 2019
    • 13

      steps:

      1. ASSERT: have several connections in the OpenShift explorer (ex. CDK, OpenShift online)
      2. EXEC: launch new application wizard via File > New > Other > OpenShift > OpenShift Application
      3. ASSERT: Connection selection page pops up
      4. EXEC: select your 2nd connection, get to the next page. But then, cancel the wizard, dont get any further.
      5. EXEC: launch server adapter wizard via File > New > Other > Server > OpenShift > OpenShift 3 Server adapter
      6. ASSERT: Connection selection page pops up

      Result:
      the connection selection page has the 1st connection selected, not the one that we used most recently.
      (If you use the application wizard again, you'll notice how it is using the 2nd connection, the one that we used most recently)

      Bonus: some wizards even inspect the currently selected element in the OpenShift Explorer and deduce what they need. The server adapter wizard could inspect the resource that's selected and infer the connection from it.

              jkopriva@redhat.com Josef Kopriva
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: