Add webhookUrl field into GitServer form
Closed this issue · 1 comments
callmevladik commented
In the Configuration Section of the Portal (under Configuration, GitServer), we need to implement a field for the Webhook URL that can be defined by the user. This enhancement should also include a comprehensive description clarifying that this field is optional. Our system will attempt to retrieve the webhook URL automatically via our codebase operator from the Ingress object. However, in scenarios where Ingress is not available, this field will enable users to manually specify their webhook URL. Additionally, we need to implement logic in the UI similar to that in the codebase-operator to potentially show users what the webhook URL is, even if it's auto-detected.
Acceptance Criteria:
- A new Webhook URL field is implemented in the GitServer configuration section of the Portal.
- The field includes a detailed description that explains its optional nature and its operational mechanism.
- Logic is implemented in the UI to automatically obtain the webhook URL from the Ingress object, mirroring the functionality present in the codebase-operator.
- The UI should be capable of displaying the detected webhook URL to the user, enhancing transparency and usability.
- In the absence of an Ingress object, the system allows users to manually enter a Webhook URL.
Serg1506 commented