mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-05 08:05:28 +00:00

* feat(apps): support event subscriptions - added support for apps with event subscriptions. - added support for custom consumers on event subscriptions. - use native application methods instead of reflection in ApplicationHandler * removed runMethodFromApplication reflection and use concrete methods from AbstractNativeApplication * format * fix(governance-workflows): defined interface in workflow schema - defined types for workflow nodes - fixed updateEdge method in WorkflowDefinitionRepository * ref(governance-workflows): use explicit types in schema use explicit interface type in json schemas and use annotations to infer the concrete classes when deserializing * - implemented CustomSignal trigger - use JsonTypeInfo and JsonSubTypes to infer types in jsonschema for nodes and triggers - Implemented JsonLogicFilter task - implemented placeholder noop task * - simplified trigger type names - removed governance workflow root "type" - added "deployed" field to governance workflow - applied changes to existing gov-workflows - migrations * fixed migrations
7 lines
330 B
SQL
7 lines
330 B
SQL
UPDATE workflow_definition_entity
|
|
SET json = jsonb_set(json, '{trigger,type}', '"eventBasedEntity"')
|
|
WHERE json->'trigger'->>'type' = 'eventBasedEntityWorkflow';
|
|
|
|
UPDATE workflow_definition_entity
|
|
SET json = jsonb_set(json, '{trigger,type}', '"periodicBatchEntity"')
|
|
WHERE json->'trigger'->>'type' = 'periodicBatchEntityWorkflow'; |