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

Improve initialization of Configure Service Ports dialog

XMLWordPrintable

      When "Add..." is run on page 'Services & Routing Settings, if list of service ports is not empty, dialog is pre-filled with integers. Some errors should be fixed:

      Case #1

      1. ASSERT: have a project in OpenShift
      2. EXEC: in Explorer: choose "Deploy Docker Image..." in context menu of your project
      3. EXEC: in deploy docker image wizard: pick an image (ex. php),
      4. EXEC: confirm the 2nd wizard page ("Deployment Configuration & Scalability") and get to the 3rd wizard page
      5. ASSERT: no ports are defined yet
      6. EXEC: Create service port=65535, pod port=2000
      7. EXEC: Run "Add..." second time.

      Result:
      Service port is filled with 65535 and causes error message.
      Pod port is filled with 65536 also causing error.

      Case #2

      1. ASSERT: no ports are defined yet.
      2. EXEC: Create service port=2000, pod port=2001
      3. EXEC: Run "Add..." second time.

      Result:
      Service port is filled with 2001 - it is ok.
      Pod port is filled with 2001 causing error.

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: