Bug 1971544

Summary: Event sources in Developer console lists also action and sink kamelets
Product: OpenShift Container Platform Reporter: Lucie Fabrikova <lfabriko>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact: Rishu Mehra <rmehra>
Priority: high    
Version: 4.7CC: aos-bugs, jakumar, msaud, nferraro, nmukherj, spathak, viraj
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously the `kamelets` type sink was also shown in the catalog for event sources along with type source. In the current release, this issue is fixed and the catalog for event sources displays only the `kamelets` of type source. (link:https://bugzilla.redhat.com/show_bug.cgi?id=1971544[*BZ#1971544*])
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:33:59 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:
Bug Depends On:    
Bug Blocks: 1972258    
Attachments:
Description Flags
Event sources in Developer console lists also action and sink kamelets
none
Event sources in Developer console lists also action and sink kamelets none

Description Lucie Fabrikova 2021-06-14 10:10:04 UTC
Description of problem:
In OCP 4.7.7, Camel K CK4 Build (https://issues.redhat.com/browse/ENTESB-16718) kameletbinding can be created also with kamelets of type action and sink, which is not expected (info from Nicola Ferraro).

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


How reproducible:


Steps to Reproduce:
1. Install Camel K operator - Camel K CK4 Build (https://issues.redhat.com/browse/ENTESB-16718) 
2. Choose Developer Console view 
3. Click +Add, select Event sources

Actual results:
Also kamelets of type "sink" and "action" are listed

Expected results:
Only kamelets of type "source" should be listed (camel.apache.org/kamelet.type=source)

Additional info:

Comment 2 Vikram Raj 2021-06-18 14:07:43 UTC
Verified this on 4.9.0-0.nightly-2021-06-18-061022 and only Kamelets of type "source" are listed.

Comment 3 Vikram Raj 2021-06-18 14:08:11 UTC
Verified this on 4.9.0-0.nightly-2021-06-18-061022 and only Kamelets of type "source" are listed.

Comment 4 spathak@redhat.com 2021-06-18 14:15:02 UTC
Created attachment 1792064 [details]
Event sources in Developer console lists also action and sink kamelets

Comment 5 spathak@redhat.com 2021-06-18 14:19:57 UTC
Created attachment 1792067 [details]
Event sources in Developer console lists also action and sink kamelets

Comment 6 spathak@redhat.com 2021-06-18 14:22:30 UTC
Verified on build version: 4.9.0-0.nightly-2021-06-18-061022
Browser: Google Chrome 89

Comment 9 errata-xmlrpc 2021-10-18 17:33:59 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759