Bug 1992663 - [RFE]: Include example URL on tooltip for "Target URL" on create webhook page
Summary: [RFE]: Include example URL on tooltip for "Target URL" on create webhook page
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hooks and Webhooks
Version: 6.10.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: Unspecified
Assignee: Oleh Fedorenko
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-11 13:55 UTC by Taft Sanders
Modified: 2023-07-25 14:04 UTC (History)
5 users (show)

Fixed In Version: rubygem-foreman_webhooks-3.2.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36155 0 Normal New : Include example URL on tooltip for "Target URL" on create webhook page 2023-03-02 14:12:56 UTC
Red Hat Issue Tracker SAT-4580 0 None None None 2021-08-11 18:31:56 UTC

Description Taft Sanders 2021-08-11 13:55:49 UTC
Description of problem:
To illustrate the needed components of the URI, it would be helpful to a user to see an example in the tooltip.

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

How reproducible:
n/a

Steps to Reproduce:
1.
2.
3.

Actual results:
Tooltip shows:
Target URL that should be called by Satellite

Expected results:
Tooltip should show:
Target URL that should be called by Satellite. 
Example: https://my.webhook.com/1234-5678-90ab-cdef

Additional info:
This will help avoid simple errors or forgetting to add the HTTP schema to the URL.

Comment 1 Brad Buckingham 2022-09-02 20:25:18 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 2 Brad Buckingham 2022-09-05 22:55:19 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 4 Oleh Fedorenko 2023-03-02 14:12:56 UTC
Created redmine issue https://projects.theforeman.org/issues/36155 from this bug

Comment 8 Lukáš Hellebrandt 2023-07-25 14:04:44 UTC
Verified with Sat 6.14.0 snap 8.0.

In WebUI: Administer -> Webhooks -> Create new
The "i" icon next to "Target URL" shows, upon clicking:
"""
Target URL that should be called by Satellite (ERB allowed).
https://host.example.com/inventory/<%= @object.id %>
"""

This correctly shows all the URL components EXCEPT a port. However, for non-standard ports (i.e. other than 80 and 443), the Satellite is not expected to run out of the box - it needs Selinux reconfigured or disabled. Therefore, I think this is the most appropriate tooltip text. It even contains an example of variable usage directly in URL.

Note that using a variable with "Test Webhook" functionality raises an uncaught exception, I will report this as a standalone BZ.


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