Bug 1913075 - Improve the wording and validation of exposed image registry route in UI
Summary: Improve the wording and validation of exposed image registry route in UI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 1.4.2
Assignee: Ian
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-05 21:58 UTC by Dylan Murray
Modified: 2021-03-15 08:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Doc update (adding cluster in UI)
Clone Of:
Environment:
Last Closed: 2021-03-15 08:15:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-ui pull 1129 0 None open Bug 1913075: Strip http(s) from registry path & update validations/copy 2021-03-04 01:44:43 UTC
Red Hat Product Errata RHBA-2021:0814 0 None None None 2021-03-15 08:15:54 UTC

Description Dylan Murray 2021-01-05 21:58:01 UTC
Description of problem:
We currently do not validate the exposed route in the UI, we only validate it from the controller.

We also do not specify that we are interested in a route host rather than a full URL.

We want to change the wording from:
"Exposed route to image registry"
to
"Exposed route host to image registry".

In the helper text bubble we want to also mention that a user can optionally include a port, otherwise port 5000 will be used.

Additionally, we will want to prevent a user from specifying the protocol (http/https) in the URL. The UI should either strip the protocol or warn the user if the protocol is set to remove it.

Version-Release number of selected component (if applicable):
1.4.0

Additional info:

Comment 4 Sergio 2021-03-08 11:10:29 UTC
Verified using MTC 1.4.2

Verified using MTC 1.4.2

openshift-migration-rhel7-operator@sha256:20cb66a4cc32bd51c111afda54461af5c2834fe0fccc93baed6134e8cbafc480
    - name: MIG_UI_REPO
      value: openshift-migration-ui-rhel8@sha256
    - name: MIG_UI_TAG
      value: 87160719e819b9e5b1979b1665d056c704f2a63e024eaf266079c676769321f2


The text is now:
"Exposed route host to image registry"

The helper text now mentions the optional port.

The UI will strip the https/http part of the url.



Moved to VERIFIED status.

Comment 8 errata-xmlrpc 2021-03-15 08:15:36 UTC
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 (Migration Toolkit for Containers (MTC) image release advisory 1.4.2), 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-2021:0814


Note You need to log in before you can comment on or make changes to this bug.