jianrongzhang89 commented on code in PR #551:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/551#discussion_r1813036573


##########
internal/controller/platform/services/services.go:
##########
@@ -603,6 +603,7 @@ func (d *DataIndexHandler) 
GenerateKnativeResources(platform *operatorapi.Sonata
                d.newTrigger(lbl, brokerName, namespace, serviceName, 
"process-state", "ProcessInstanceStateDataEvent", 
constants.KogitoProcessInstancesEventsPath, platform),
                d.newTrigger(lbl, brokerName, namespace, serviceName, 
"process-variable", "ProcessInstanceVariableDataEvent", 
constants.KogitoProcessInstancesEventsPath, platform),
                d.newTrigger(lbl, brokerName, namespace, serviceName, 
"process-definition", "ProcessDefinitionEvent", 
constants.KogitoProcessDefinitionsEventsPath, platform),
+               d.newTrigger(lbl, brokerName, namespace, serviceName, 
"process-instance-multiple", "MultipleProcessInstanceDataEvent", 
constants.KogitoProcessInstancesMultiEventsPath, platform),

Review Comment:
   @ricardozanini current implementation does not delete the existing triggers 
if it the flag is set from true to false (and they will get deleted if the CR 
is deleted) and when it is to true again - the new trigger gets added.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to