-
Feature
-
Resolution: Done
-
Major
-
1.33.0, 1.34.0, 1.35.0
-
None
-
False
-
-
False
-
OpenShift Servlerless Logic Data Index queries were augmented to support filtering by using the Workflow definition metadata.
-
Feature
-
Proposed
-
-
As discussed in https://issues.redhat.com/browse/SRVLOGIC-178, the Operator will send events to the Data Index for every workflow deployment / undeployment. This information will be used to mark the corresponding workflow definition as available/unavailable by using a "status" field that will be incorporated to the corresponding ProcessDefinition "metadata".
e.g:
{ "metadata" : { "status" : "available" } }
While the registering of the ProcessDefinition metadata is already supported, modifications were done to internally store the metadata as a JSON value, and also to support Data Index queries by using the metadata.
Interested parties can now query the information with example queries like these:
{ ProcessDefinitions ( where:{metadata: {status:{equal: "available"}}} ) { id metadata } } { ProcessDefinitions ( where:{metadata: {status: {equal: "unavailable"}}} ) { id metadata } }