Commit Graph

  • 60e6953b94 Add a get many attr/s and join helper functions. Joshua Harlow 2013-05-28 22:40:06 -07:00
  • 2e8b2a59e7 Reduce test noise. Joshua Harlow 2013-05-28 17:53:54 -07:00
  • 77e998032e Fix a few unit tests due to changes. Joshua Harlow 2013-05-28 17:44:57 -07:00
  • f528d4bd81 Ensure we handle functor names and resetting correctly. Joshua Harlow 2013-05-28 17:39:20 -07:00
  • e51a263955 Merge pull request #21 from harlowja/use-call Joshua Harlow 2013-05-28 15:10:28 -07:00
  • 238d3e2231 Remove safe_attr Joshua Harlow 2013-05-28 15:10:08 -07:00
  • e7eba4fc07 Merge pull request #22 from kchenweijie/master Jessica Lucci 2013-05-28 14:34:06 -07:00
  • 8cff9ee86b Modifying db tests Kevin Chen 2013-05-28 16:23:32 -05:00
  • f19623b426 Removing .pyc Kevin Chen 2013-05-28 16:14:52 -05:00
  • 855a3bbab3 Fixing .py in .gitignore Kevin Chen 2013-05-28 16:13:39 -05:00
  • 4a6c0eaeb0 Update db api test Kevin Chen 2013-05-28 16:11:46 -05:00
  • 29fe032a1c DB api test cases and revisions Kevin Chen 2013-05-28 15:45:11 -05:00
  • 1910db8623 Allow for turning off auto-extract and add a test. Joshua Harlow 2013-05-28 11:18:15 -07:00
  • 58b0d6d17b Use a function to filter args and add comments. Joshua Harlow 2013-05-27 19:58:01 -07:00
  • 740d4141bd Use update instead of overwrite. Joshua Harlow 2013-05-27 17:24:13 -07:00
  • 99d4a03b5a Move decorators to new file and update to use better wraps() Joshua Harlow 2013-05-27 17:23:27 -07:00
  • af52fd62b1 Continue work with decorator usage. Joshua Harlow 2013-05-26 20:33:11 -07:00
  • 995b70f00b Update with adding a provides and requires decorator for standalone function usage. Joshua Harlow 2013-05-26 17:57:34 -07:00
  • f60ee1db6b Instead of apply use __call__ Joshua Harlow 2013-05-26 12:10:04 -07:00
  • de1af74125 Add comment to why we accumulate before notifying task listeners. Joshua Harlow 2013-05-25 15:30:15 -06:00
  • 96125ed405 Use a default sqlite backing using a taskflow file. Joshua Harlow 2013-05-24 17:41:22 -07:00
  • 2e18b548bb Add a basic rollback accumlator test. Joshua Harlow 2013-05-24 17:40:37 -07:00
  • dd9d5c157e Use rollback accumulator and remove requires()/provides() from being functions Joshua Harlow 2013-05-23 16:44:31 -07:00
  • b4f592c524 Allow (or disallow) multiple providers of items. Joshua Harlow 2013-05-22 21:06:37 -07:00
  • da68d64b91 Clean the lines in a seperate function. Joshua Harlow 2013-05-22 18:47:56 -07:00
  • 41f1940e49 Resync with oslo-incubator. Joshua Harlow 2013-05-22 18:36:35 -07:00
  • aa29ab484e Remove uuid since we are now using uuidutils. Joshua Harlow 2013-05-22 18:20:02 -07:00
  • a20df73c87 Remove error code not found in strict version of pylint. Joshua Harlow 2013-05-22 18:19:45 -07:00
  • 5218b676fc Include more dev testing packages + matching versions. Joshua Harlow 2013-05-22 18:17:13 -07:00
  • 61158ebdc3 Update dependencies for new db/distributed backends Joshua Harlow 2013-05-22 18:12:37 -07:00
  • 16e18e876e Move some of the functions to use there openstack/common counterparts. Joshua Harlow 2013-05-22 18:08:24 -07:00
  • 7908a81632 More import fixups. Joshua Harlow 2013-05-22 18:04:08 -07:00
  • ad23ee6fb1 Patch up the imports. Joshua Harlow 2013-05-22 18:03:33 -07:00
  • 4aabe763ca Fix syntax error. Joshua Harlow 2013-05-22 18:01:04 -07:00
  • db20fad9e3 Merge pull request #20 from jessicalucci/sql Joshua Harlow 2013-05-22 17:42:59 -07:00
  • f06d4f3806 Merge pull request #19 from harlowja/cleanups-lint Joshua Harlow 2013-05-22 17:42:30 -07:00
  • c52ea9b15b Rename cause -> exception and make exception optional. Joshua Harlow 2013-05-22 16:22:07 -07:00
  • afea4f0732 Allow any of the previous tasks to satisfy requirements. Joshua Harlow 2013-05-22 14:51:03 -07:00
  • d4f74720cb Ensure we change the self and parents states correctly. Joshua Harlow 2013-05-22 14:25:11 -07:00
  • 2962ecb9ab Always have a name provided. Joshua Harlow 2013-05-22 14:23:52 -07:00
  • 343f565f88 Cleaning up files/extraneous files/fixing relations Jessica Lucci 2013-05-22 15:40:00 -05:00
  • 6793bec492 More pylint cleanups Joshua Harlow 2013-05-22 12:31:29 -07:00
  • 11c7c92e01 Make more tests for linear and shuffle test utils to common file. Joshua Harlow 2013-05-22 12:27:03 -07:00
  • 3aaa2d3a98 Only do differences on set objects. Joshua Harlow 2013-05-22 12:26:43 -07:00
  • 53c69b6271 Ensure we fetch the appropriate inputs for the running task. Joshua Harlow 2013-05-21 23:28:45 -07:00
  • 45701e8fe3 Have the linear workflow verify the tasks inputs. Joshua Harlow 2013-05-21 22:49:53 -07:00
  • e4149ab91d Specify that task provides/requires must be an immutable set. Joshua Harlow 2013-05-21 22:49:03 -07:00
  • ad3b863150 Clean Up for DB changes Jessica Lucci 2013-05-21 23:41:05 -05:00
  • e5aa8769ac db api defined Jessica Lucci 2013-05-21 23:23:33 -05:00
  • f47bae8692 Fleshing out sqlalchemy api Jessica Lucci 2013-05-21 23:09:40 -05:00
  • 941a48d58b Almost done with sqlalchemy api Jessica Lucci 2013-05-21 22:52:59 -05:00
  • 422b5a8497 Fix state check Joshua Harlow 2013-05-21 18:47:18 -07:00
  • 90a92c32af Fix flow exception wording Joshua Harlow 2013-05-21 18:46:51 -07:00
  • 033e55fd12 Ensure job is pending before we associate and run. Joshua Harlow 2013-05-21 18:45:13 -07:00
  • 288d6a0d0d More pylint cleanups Joshua Harlow 2013-05-21 18:40:40 -07:00
  • 36d5c1a150 Ensure we associate with parent flows as well. Joshua Harlow 2013-05-21 18:35:48 -07:00
  • d23a13ae67 Merge pull request #18 from harlowja/graph-tests Joshua Harlow 2013-05-21 18:19:19 -07:00
  • a3c6040384 Add a nice run() method to the job class that will run a flow. Joshua Harlow 2013-05-21 18:17:34 -07:00
  • 406d72a23e Massive pylint cleanup Joshua Harlow 2013-05-21 16:53:12 -07:00
  • 229855aa1a deleting .swp files Jessica Lucci 2013-05-21 16:37:15 -05:00
  • 96c152e2af deleting .swp files Jessica Lucci 2013-05-21 16:36:54 -05:00
  • 2d8fbceae9 cleaning for initial pull request Jessica Lucci 2013-05-21 16:34:49 -05:00
  • b5401c0ef8 Merge branch 'master' of github.com:yahoo/TaskFlow into sql Jessica Lucci 2013-05-21 16:25:04 -05:00
  • daf341ad81 Add a few more graph ordering test cases. Joshua Harlow 2013-05-21 13:51:13 -07:00
  • b08c5f3876 Update automatic naming and arg checks. Joshua Harlow 2013-05-21 13:50:56 -07:00
  • 6296a96e80 Update order calls and connect call. Joshua Harlow 2013-05-21 13:49:53 -07:00
  • af5932ddf1 Move flow failure to flow file and correctly catch ordering failure. Joshua Harlow 2013-05-21 13:48:26 -07:00
  • ad12cf70d4 Just kidding - really fixing relations this time Jessica Lucci 2013-05-21 15:32:10 -05:00
  • 549c5a3909 Fixing table relations Jessica Lucci 2013-05-21 15:28:17 -05:00
  • 790e508f69 Allow job id to be passed in. Joshua Harlow 2013-05-20 20:23:10 -07:00
  • de91397e10 Merge pull request #17 from harlowja/small-cleanups Joshua Harlow 2013-05-20 20:00:48 -07:00
  • a016505d72 Merge pull request #16 from harlowja/graph Joshua Harlow 2013-05-20 19:59:37 -07:00
  • a8b83e1e2c Check who is being connected to and ensure > 0 connectors. Joshua Harlow 2013-05-20 19:58:48 -07:00
  • a827775564 Move the await function to utils. Joshua Harlow 2013-05-20 15:40:01 -07:00
  • e543bc3ea7 Graph tests and adjustments releated to. Joshua Harlow 2013-05-20 15:03:41 -07:00
  • a8d2826519 Add graph flow tests. Joshua Harlow 2013-05-20 14:59:31 -07:00
  • bbb9f732c6 Fix name changes missed. Joshua Harlow 2013-05-20 14:59:15 -07:00
  • 486ceb4be9 Enable extraction of what a functor requires from its args. Joshua Harlow 2013-05-20 14:56:07 -07:00
  • eff8d58e3d Called flow now, not workflow. Joshua Harlow 2013-05-20 14:55:32 -07:00
  • 0abc7f8811 Second pass at models Jessica Lucci 2013-05-20 15:08:46 -05:00
  • 3c706d1ec6 More tests Joshua Harlow 2013-05-20 11:12:10 -07:00
  • 7defe6cc7d Merge pull request #15 from harlowja/flows Joshua Harlow 2013-05-20 11:46:17 -07:00
  • 7fa37fd3c7 Simplify existence checks Joshua Harlow 2013-05-20 11:40:49 -07:00
  • 93b12023e2 More pythonic functions and workflow -> flow renaming. Joshua Harlow 2013-05-20 11:39:02 -07:00
  • 16b3cefc66 Added more utils, added model for workflow Jessica Lucci 2013-05-20 11:56:26 -05:00
  • b14d0ba100 Spelling errors and stuff Jessica Lucci 2013-05-20 09:51:02 -05:00
  • 8956c75510 adding parentheses to read method Jessica Lucci 2013-05-19 19:01:51 -05:00
  • 1ac0150ac5 Merge branch 'master' of github.com:yahoo/TaskFlow Jessica Lucci 2013-05-19 18:57:56 -05:00
  • 3a481bbf2e Implemented basic sqlalchemy session class Jessica Lucci 2013-05-19 18:51:40 -05:00
  • a2a014614e Setting up Configs and SQLAlchemy/DB backend Jessica Lucci 2013-05-17 15:54:37 -05:00
  • b247bc6031 Fix the import. Joshua Harlow 2013-05-17 13:32:59 -07:00
  • be0ca7b605 Use a different logger method if tolerant vs not tolerant. Joshua Harlow 2013-05-17 13:25:18 -07:00
  • 9447887ccf More function comments. Joshua Harlow 2013-05-17 13:24:27 -07:00
  • 7c84a835f7 Add a bunch of linear workflow tests. Joshua Harlow 2013-05-17 12:53:02 -07:00
  • c4c03f8ca3 Allow resuming stage to be interrupted. Joshua Harlow 2013-05-17 12:07:44 -07:00
  • 3bc9183ee9 Fix the missing context variable. Joshua Harlow 2013-05-17 12:05:19 -07:00
  • 32f7523a99 Merge pull request #14 from harlowja/reconcile-patterns Joshua Harlow 2013-05-17 11:52:52 -07:00
  • dfe1e1b2b7 Moving over celery/distributed workflows Jessica Lucci 2013-05-17 10:55:05 -05:00
  • 2c74aef837 Update description wording. Joshua Harlow 2013-05-17 01:22:31 -06:00
  • ce6ae602c3 Pep fix. Joshua Harlow 2013-05-17 01:07:19 -06:00