Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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: CLOSED CURRENTRELEASE
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: 2024-03-14 12:45 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: 2024-03-14 12:45:20 UTC
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.

Comment 10 Adam Ruzicka 2024-03-14 12:45:20 UTC
Per #8 this was verified in 6.14.0 which was released some time ago. Closing.


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