-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat(workflow_engine): Add DataConditions #77448
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
a7c1f80
WIP
saponifi3d 4295967
created the DataCondition model
saponifi3d cd01766
create relationships for the data condition model
saponifi3d 2f93ff3
manual updates for the fixtures / comparators / factories
saponifi3d 051e9be
Fix merge conflict issue where return type was removed
saponifi3d de21f49
move the link to detectors / workflows off of the data condition, cre…
saponifi3d 83673df
Updates to the models based on discussions throughout the week.
saponifi3d 0b1ef48
export new classes in init file
saponifi3d 4955902
Add data_condition_group_actions
saponifi3d 45d17ce
dont need a relationship here, using a lookup table instead
saponifi3d cfae497
-s on file name
saponifi3d de0d3d5
fix typo in import
saponifi3d 885919e
shakes fist at copilot
saponifi3d 01f25e2
remaining model changes to get sql to generate corretly
saponifi3d 057382b
Fix the repr a little
saponifi3d e4ca853
update factories
saponifi3d 2cce1ab
update comprators
saponifi3d 2a6c8ee
Updated the backups, i think that's a complete model of a simple inte…
saponifi3d 6180db9
update backups to work
saponifi3d 10e9c17
update the data condition to have 'comparison' field as well, for str…
saponifi3d 90fae81
Re-introduce the workflow_action model to get CI green, will remove i…
saponifi3d d3e07f4
re-add the model to the import so makemigrations doesnt delete the model
saponifi3d 4a66f37
make sure the data condition group action is set correctly
saponifi3d 5d8375d
add the workflowaction to the org relocation scope to avoid test fail…
saponifi3d 129a197
that one time, at band camp... i forgot **kwargs.
saponifi3d f85718b
Add a comment about what required actions are, they're basically syst…
saponifi3d 857f070
Add comments about each field in the data_condition class
saponifi3d 6b4dbd5
SQL Changes - Update the name of the condition groups on workflows an…
saponifi3d 0484597
rebase - comparators
saponifi3d 3d8a4e7
Improve the comment a bit more for action.required
saponifi3d 2000631
update condition_group to be workflow_condition_group when creating t…
saponifi3d 6de4826
simple json schema validation
saponifi3d f2d954d
remove threshold, change comparison to json
saponifi3d b24b5e8
Add more database constraints
saponifi3d 9389c1d
Add organization to the data condition group to improve exports here
saponifi3d 1d7d18a
Exclude the actions from the relocation scope for now, we may want th…
saponifi3d 0079516
GENERATED - SQL Migration
saponifi3d 9ae7890
GENERATED - Fixture updates
saponifi3d e8c240b
GENERATED - Update snapshots
saponifi3d 67d065d
Generated - Fixture Updates... again?
saponifi3d File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to add all the new models here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 thanks - yeah, i was avoiding doing all those changes initially just cause of all the things. updated! (hopefully the tests are green now too 🤞)