Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINOR: Use interface schemas for governance workflows #19411

Merged
merged 11 commits into from
Jan 24, 2025

Conversation

sushi30
Copy link
Contributor

@sushi30 sushi30 commented Jan 16, 2025

Describe your changes:

  • Use explicit interface types in governance workflows
  • introduce placeholder for python workflow node
  • Introduce NoOp task
  • simplified trigger type names
  • removed governance workflow root "type"
  • added "deployed" field to governance workflow
  • applied changes to existing gov-workflows
  • migrations

Requires

#19338

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

- added support for apps with event subscriptions.
- added support for custom consumers on event subscriptions.
- use native application methods instead of reflection in ApplicationHandler
- defined types for workflow nodes
- fixed updateEdge method in WorkflowDefinitionRepository
use explicit interface type in json schemas and use annotations to infer the concrete classes when deserializing
Copy link
Contributor

github-actions bot commented Jan 16, 2025

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 64%
64.65% (40875/63221) 40.89% (16420/40153) 44.11% (4969/11266)

- use JsonTypeInfo and JsonSubTypes to infer types in jsonschema for nodes and triggers
- Implemented JsonLogicFilter task
- implemented placeholder noop task
Copy link
Contributor

The Java checkstyle failed.

Please run mvn spotless:apply in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Java code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

- removed governance workflow root "type"
- added "deployed" field to governance workflow
- applied changes to existing gov-workflows
- migrations
@sushi30 sushi30 changed the title MINOR: Streamline governange workflows json schemas MINOR: Use interface schemas for governance workflows Jan 21, 2025
Copy link

Copy link

@sushi30 sushi30 enabled auto-merge (squash) January 23, 2025 14:49
@sushi30 sushi30 merged commit a6670af into main Jan 24, 2025
24 of 28 checks passed
@sushi30 sushi30 deleted the streamline-governange-workflows branch January 24, 2025 08:08
sonika-shah added a commit that referenced this pull request Jan 24, 2025
sonika-shah added a commit that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ingestion safe to test Add this label to run secure Github workflows on PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants