Bug 1913075

Summary: Improve the wording and validation of exposed image registry route in UI
Product: Migration Toolkit for Containers Reporter: Dylan Murray <dymurray>
Component: UIAssignee: Ian <ibolton>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 1.4.0CC: ernelson, rjohnson, sregidor
Target Milestone: ---   
Target Release: 1.4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Doc update (adding cluster in UI)
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-15 08:15:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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