Commit Graph
100 Commits
Author SHA1 Message Date
Aaron Tan 16c0bc29a5 Merge pull request #4094 from jangsutsr/4078_hookup_activity_stream_with_workflow
Hook up activity stream with workflow
2016-11-22 10:29:27 -05:00
Aaron Tan 1c36462b1b Hook up activity stream with workflow. 2016-11-21 16:55:34 -05:00
Aaron Tan 03bb260963 Merge pull request #3947 from jangsutsr/workflow_doc
[workflows] Workflow Acceptance Doc
2016-11-21 15:33:46 -05:00
Aaron Tan 2995ea310f Modify wfjt copy behavior 2016-11-21 15:03:21 -05:00
Aaron Tan 6ce3a71f7d Merge pull request #4081 from jangsutsr/4076_wfjt_access_list
Implement wfjt access list
2016-11-21 13:03:20 -05:00
Aaron Tan b4cc024d50 Implement wfjt access list. 2016-11-21 11:37:59 -05:00
Aaron Tan 220f44bdbc Give updated copy name format 2016-11-21 10:31:52 -05:00
Aaron Tan 35da7215ca Remove 'ancestor_artifacts' 2016-11-21 10:24:48 -05:00
Aaron Tan 3d9a13abfc Fill in the missing pieces 2016-11-17 16:46:15 -05:00
Aaron Tan 16f1828a53 Workflow copy/relaunch added 2016-11-16 16:02:57 -05:00
Aaron Tan 344a522f3e Merge pull request #4028 from jangsutsr/3976_update_workflow_job_foreign_key_related_name
Update workflow job foreign key related_name.
2016-11-16 12:44:21 -05:00
Aaron Tan 1cbeb71843 Merge pull request #4034 from jangsutsr/4023_resume_flake8_E302
Resume flake8 E302.
2016-11-16 10:41:18 -05:00
Aaron Tan 2d1a5425d1 Fix flake8 E302 errors second round. 2016-11-16 09:56:07 -05:00
Aaron Tan 2c9a475d46 Update according to review feedback 2016-11-15 22:29:24 -05:00
Aaron Tan 9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00
Aaron Tan 7dddae1254 Resume flake8 E302. 2016-11-15 17:31:21 -05:00
Aaron Tan 929528b9cc Merge pull request #4031 from jangsutsr/4023_fix_flake8_E305
Fix flake8 E305 errors.
2016-11-15 17:24:19 -05:00
Aaron Tan 8a55c90c2c Remove unnecessary migrations. 2016-11-15 17:19:09 -05:00
Aaron Tan 4ee7d1a136 Catch the missing piece. 2016-11-15 16:50:23 -05:00
Aaron Tan 473ed016de Fix flake8 E305 errors. 2016-11-15 16:32:27 -05:00
Aaron Tan 32fe6ea4fa Test fixture update. 2016-11-15 15:52:55 -05:00
Aaron Tan 3801b4a4e9 Update workflow job foreign key related_name. 2016-11-15 15:17:45 -05:00
Aaron Tan 44cc57afba Merge pull request #4017 from jangsutsr/3976_rename_type_in_wfjt_delete_conflict_message
Rename type in workflow job template delete conflict message
2016-11-15 12:03:28 -05:00
Aaron Tan c32185312b Rename type in wfjt delete conflict message. 2016-11-15 11:27:31 -05:00
Aaron Tan cc7f2c4884 prompt field permutation added 2016-11-14 17:52:43 -05:00
Aaron Tan ede6bef429 Typo correction 2016-11-10 15:01:01 -05:00
Aaron Tan 41e281d233 Test Coverage & Test Notes added 2016-11-10 13:12:50 -05:00
Aaron Tan ece29737ac Merge pull request #3915 from jangsutsr/3516_implement_workflow_notifications
Implement workflow notifications
2016-11-10 11:05:02 -05:00
Aaron Tan 643e294245 Overview and usage manual 2016-11-09 18:25:18 -05:00
Aaron Tan c1419a799d Enhance notification text. 2016-11-09 14:15:29 -05:00
Aaron Tan bb2e84f611 Initial commit. 2016-11-09 10:57:46 -05:00
Aaron Tan de6e25d4aa Custom notification body. 2016-11-08 20:02:43 -05:00
Aaron Tan cdbc5127a6 Workflow notification backend. 2016-11-08 15:55:15 -05:00
Aaron Tan 5c5d1b7748 Enable notification endpoints. 2016-11-08 15:53:37 -05:00
Aaron Tan 05790c5b5c Merge pull request #3848 from jangsutsr/3528_workflow_job_cancel_endpoint
Implement workflow job cancel endpoint
2016-11-08 12:16:39 -05:00
Aaron Tan a8a3835308 Apply immediate reschedule. 2016-11-08 11:54:06 -05:00
Aaron Tan 9e244b640b Simplify internal node job cancel mechanism. 2016-11-08 11:32:33 -05:00
Aaron Tan 3c0d60075c Fix bug by using cancel_flag. 2016-11-08 11:32:33 -05:00
Aaron Tan 3778914aa9 Implement recursive spawned job cancel. 2016-11-08 11:31:06 -05:00
Aaron Tan 1a960229d7 Basic architecture added. 2016-11-08 11:31:06 -05:00
Aaron Tan 428447a22a Merge pull request #3891 from jangsutsr/3517_implement_workflow_schedules
Implement workflow JT schedule
2016-11-07 16:31:03 -05:00
Aaron Tan cd14b62b23 typo fix. 2016-11-07 16:16:13 -05:00
Aaron Tan 581d6c5996 Merge pull request #3892 from jangsutsr/3874_project_update_missing_timeout
Fix project serializer timeout field misplacement
2016-11-07 15:28:46 -05:00
Aaron Tan 91986d904a Fix project serializer timeout field misplacement. 2016-11-07 11:58:56 -05:00
Aaron Tan a80c8077d2 Update _get_unified_job_field_names. 2016-11-07 11:51:35 -05:00
Aaron Tan 45df199703 Implement workflow JT schedule. 2016-11-07 11:37:11 -05:00
Aaron Tan 7348acdcfc Merge pull request #3796 from jangsutsr/3526_prevent_job_deletion_during_workflow_run
Add destory sanity checks to prevent UJ deletion during underlying workflow run
2016-11-04 14:03:34 -04:00
Aaron Tan d7682ed913 Merge pull request #3862 from jangsutsr/workflow_test_typo_fix
Fix typo in workflow functional test
2016-11-04 14:03:11 -04:00
Aaron Tan 4068d4aaeb Change text in workflow functional test to be consistant with the latest version. 2016-11-03 17:55:58 -04:00
Aaron Tan a2adc7f413 Merge pull request #3782 from jangsutsr/3518_graph_topology_validation
Add graph topology validations to workflow JT nodes
2016-11-02 16:14:54 -04:00
Aaron Tan 843c48934e Refactor cycle detector to prevent potential inf loop. 2016-11-02 11:36:08 -04:00
Aaron Tan d1ec44f20a i18n changes. 2016-11-01 16:39:53 -04:00
Aaron Tan ff1fdb4f5b Error message text improvement. 2016-11-01 15:29:03 -04:00
Aaron Tan a85075acea Mutex validator added. 2016-11-01 15:29:03 -04:00
Aaron Tan 53eb198abb Functional test added. 2016-11-01 15:27:30 -04:00
Aaron Tan 7472cf0dc9 Refactor for better performance. 2016-11-01 15:25:50 -04:00
Aaron Tan 02cccf35d3 Delete created resource when it fails the relationship verification. 2016-11-01 15:25:50 -04:00
Aaron Tan ad04015c9f Multi-ancestor detector added. 2016-11-01 15:25:50 -04:00
Aaron Tan 2792555510 Cycle detector added. 2016-11-01 15:25:50 -04:00
Aaron Tan 88025d0733 Basic verification architecture added. 2016-11-01 15:25:50 -04:00
Aaron Tan f52cb02c2f Merge pull request #3814 from jangsutsr/3528_implement_workflow_cancel
Implement workflow node job cancel/failure
2016-11-01 13:23:07 -04:00
Aaron Tan ba1dedf2c3 i18n support added. 2016-10-31 15:09:01 -04:00
Aaron Tan 0a634d7baf Enforce wfj to ignore errored jobs. 2016-10-31 14:44:15 -04:00
Aaron Tan aa119e0102 Enforce wfj to ignore canceled jobs. 2016-10-31 12:09:14 -04:00
Aaron Tan 62e0291f86 Integrate unnecessary queries for better performance. 2016-10-28 15:03:17 -04:00
Aaron Tan 4e89cc8eb4 Merge pull request #3652 from jangsutsr/3484_add_license_validation_to_job_add
Add validate_license to job's can_add
2016-10-27 16:37:55 -04:00
Aaron Tan 31d06ecdc4 flake8 fix. 2016-10-27 16:09:55 -04:00
Aaron Tan 6ecd45681a Use ACTIVE_STATES and change error message text. 2016-10-27 16:00:22 -04:00
Aaron Tan 6717d4f3fa Prevent job can_change from erroneously firing license validation. 2016-10-27 15:24:03 -04:00
Aaron Tan d21de4c99f Add validate_license to job's can_add 2016-10-27 15:14:54 -04:00
Aaron Tan 1da8ed0dd3 Merge pull request #3787 from jangsutsr/3552_ensure_wfjt_being_set_during_node_creation
Ensure workflow_job_template being set during node creation
2016-10-27 14:55:02 -04:00
Aaron Tan 432242bdd2 Null check added. 2016-10-27 11:20:45 -04:00
Aaron Tan 7c9e1c91db Ensure workflow_job_template being set during node creation. 2016-10-26 15:52:49 -04:00
Aaron Tan 813c786dc7 Add destory sanity checks to prevent UJ deletion during underlying workflow run. 2016-10-26 14:53:22 -04:00
Aaron Tan 237587c2e7 Merge pull request #3758 from jangsutsr/3667_always_check_missing_in_bfs
Add missing always_node check in bfs
2016-10-26 12:17:38 -04:00
Aaron Tan ffeb2b22a4 Unit test added. 2016-10-25 19:28:24 -04:00
Aaron Tan 5ca25b924e Add missing always_node check in bfs 2016-10-24 11:06:25 -04:00
Aaron Tan 22329e5b72 Merge pull request #3502 from jangsutsr/2363_implement_job_timeout
Implement job timeout
2016-10-19 23:54:51 -04:00
Aaron Tan 5fdd44c3f4 Fix mutable default argument issue. 2016-10-18 09:48:19 -04:00
Aaron Tan c595492950 Solve rebase conflicts. 2016-10-17 17:08:05 -04:00
Aaron Tan 21feae7c11 Rename default timeout and remove runtime_flag. 2016-10-17 16:56:39 -04:00
Aaron Tan 2362f34d27 Implement pluggable job explanation. 2016-10-17 16:56:39 -04:00
Aaron Tan 701c23171f Remove timeout fields from sys job & adhoc cmd. 2016-10-17 16:56:39 -04:00
Aaron Tan 96e3228c9d Change global settings structure and fix potential celery issue. 2016-10-17 16:56:39 -04:00
Aaron Tan 651a09f5fb Remove stdout indicator. 2016-10-17 16:56:39 -04:00
Aaron Tan 33952808c4 Readability improvement and job explaination added. 2016-10-17 16:56:39 -04:00
Aaron Tan 70481414c6 Migration update. 2016-10-17 16:56:39 -04:00
Aaron Tan 69be94feb9 Implement global job timeout mechanism. 2016-10-17 16:56:39 -04:00
Aaron Tan 2eda6b9528 Implement timeout on other unified jobs/JTs. 2016-10-17 16:56:39 -04:00
Aaron Tan d52e237ea0 Implement timeout on job/job-template. 2016-10-17 16:56:39 -04:00
Aaron Tan 37139301b4 Add job timeout mechanism to tasks. 2016-10-17 16:53:54 -04:00
Aaron Tan f4c93f842d Merge pull request #3715 from jangsutsr/3380_add_corner_case_check_to_user_can_admin
Add corner case check to user can_admin.
2016-10-17 15:32:11 -04:00
Aaron Tan d9ac461bb8 Merge pull request #3696 from jangsutsr/3535_add_rbac_check_to_project_validate
Patch up missing org access checks in access.py
2016-10-14 14:37:52 -04:00
Aaron Tan 3999ffd52a Unit test & project access refactoring to prevent potential issue. 2016-10-14 11:36:20 -04:00
Aaron Tan f301cb0f9b Split unit tests & add access obj org sanity check. 2016-10-13 17:06:37 -04:00
Aaron Tan 189bdd6167 Add corner case check to user can_admin. 2016-10-13 16:48:39 -04:00
Aaron Tan a0ea2337c6 Unit tests added. 2016-10-13 15:35:03 -04:00
Aaron Tan 1d3c890e79 null value check added. 2016-10-13 14:59:57 -04:00
Aaron Tan 4ae11f6557 Patch up missing org access checks in access.py 2016-10-13 11:45:34 -04:00
Aaron Tan 0b3833ced0 Merge pull request #3647 from jangsutsr/3592_enable_jt_assoc_without_extra_deps
Change JT can_change behavior.
2016-10-04 09:51:32 -04:00