Bug 1875599

Summary: OpenShift Dev ConsoleODC-3710 EventListener Details page needs to represent "Trigger" groupings
Product: OpenShift Container Platform Reporter: Debsmita Santra <dsantra>
Component: Dev ConsoleAssignee: Debsmita Santra <dsantra>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:37:51 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:
Attachments:
Description Flags
EventListener Details page represents "Trigger" groupings none

Description Debsmita Santra 2020-09-03 20:39:39 UTC
Description of problem:
In the EventListener spec there is a property called "triggers" which can have 1 to n TriggerBindings and a single TriggerTemplate associated to it. Currently we do not have a good way to represent this.

We flatten the content today, and it's a bit misleading. We need to be able to nest / group these resources together better.

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

How reproducible:
Always

Steps to Reproduce:
1. Create Event Listener


apiVersion: triggers.tekton.dev/v1alpha1
kind: EventListener
metadata:
  name: event-listener-test
spec:
  serviceAccountName: pipeline
  triggers:
    - bindings:
        - kind: ClusterTriggerBinding
          name: github-pullreq
      template:
        name: trigger-template-nodejs-rest-http-chz9v1
    - bindings:
        - kind: ClusterTriggerBinding
          name: bitbucket-pullreq
        - kind: ClusterTriggerBinding
          name: bitbucket-commit
      template:
        name: trigger-template-nodejs-rest-http-abc123

2. Goto Event Listener Details page.

Actual results:
Trigger Templates & Trigger Bindings/ClusterTriggerBindings are listed separately

Expected results:
The resources should be nested

Additional info:

Comment 2 spathak@redhat.com 2020-09-23 21:02:23 UTC
Created attachment 1716144 [details]
EventListener Details page represents "Trigger" groupings

Comment 3 spathak@redhat.com 2020-09-23 21:03:25 UTC
Verify on build version: 4.6.0-0.nightly-2020-09-22-130743
Browser version: Chrome 84

Comment 6 errata-xmlrpc 2020-10-27 16:37:51 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196