Commit graph

  • e3fff8759b Add jbbarth in authors list Jean-Baptiste Barth 2015-11-19 11:53:47 +01:00
  • 78ea7967ad Remove overriden SWFResponse.call_action() thanks to 32dd72f Jean-Baptiste Barth 2015-11-19 11:46:54 +01:00
  • 26980f41a6 Replace globals() call with a static mapping Jean-Baptiste Barth 2015-11-19 11:44:51 +01:00
  • 6b581edb55 Use datetime.utcnow() instead of datetime.now() Jean-Baptiste Barth 2015-11-18 22:02:58 +01:00
  • 5f0684fca5 Use dict.values() instead of dict.items() where possible Jean-Baptiste Barth 2015-11-18 22:00:57 +01:00
  • de646cf7ac Fix python 3 compatibility: filter() returns an iterator now Jean-Baptiste Barth 2015-11-10 00:22:02 +01:00
  • 248975d4e6 Improve SWF timeouts processing: now processed in order, one by one Jean-Baptiste Barth 2015-11-09 23:44:49 +01:00
  • 7f2cbb79b0 Refactor SWF workflow execution to ease next timeout change Jean-Baptiste Barth 2015-11-09 22:06:03 +01:00
  • 6027bf15c1 Move some timeout conditionals to concerned models Jean-Baptiste Barth 2015-11-05 02:51:55 +01:00
  • d007dfe3ff Remove process_timeouts() method in favor of timeout(<Timeout>) and a helper for tests Jean-Baptiste Barth 2015-11-05 02:47:05 +01:00
  • 65c35bfa69 Make timeout events appear at the right time in workflow history Jean-Baptiste Barth 2015-11-05 02:40:16 +01:00
  • d618585790 Refactor timeouts processing so it will be easier to compute them in order Jean-Baptiste Barth 2015-11-05 02:22:02 +01:00
  • 61bb550052 Ensure activity and decision tasks cannot progress on a closed workflow Jean-Baptiste Barth 2015-11-05 01:12:51 +01:00
  • 65c95ab5bc Ensure activity and decision tasks cannot timeout on a closed workflow Jean-Baptiste Barth 2015-11-04 22:35:45 +01:00
  • 9c3996ff58 Add WorkflowExecution.open to clarify code in some places Jean-Baptiste Barth 2015-11-04 22:25:27 +01:00
  • f38d23e483 Implement start to close timeout on SWF workflow executions Jean-Baptiste Barth 2015-11-04 22:03:58 +01:00
  • 86973f2b87 Implement start to close timeout on SWF decision tasks Jean-Baptiste Barth 2015-11-04 10:12:17 +01:00
  • e32fef50b6 Fix random list ordering bugs on python 3.x in moto/swf tests Jean-Baptiste Barth 2015-11-03 10:56:31 +01:00
  • b386495520 Use list comprehensions instead of filter() for easier moto/swf python 3.x compatibility Jean-Baptiste Barth 2015-11-03 10:45:11 +01:00
  • 3a5f679783 Fix python 3.3 compatibility in moto/swf regarging string types detection Jean-Baptiste Barth 2015-11-03 10:41:23 +01:00
  • c0b4aadd92 Fix python 3.x compatibility regarding json loading Jean-Baptiste Barth 2015-11-03 09:19:03 +01:00
  • 2cd3d5fb45 Fix python 3.x compatibility regarding iterations on a dict Jean-Baptiste Barth 2015-11-03 09:17:56 +01:00
  • f4feec4727 Fix timestamps in tests as Travis builds run on GMT time Jean-Baptiste Barth 2015-11-03 09:09:00 +01:00
  • e9732140e5 Fix python 2.6 compatibility for moto/swf Jean-Baptiste Barth 2015-11-03 08:40:33 +01:00
  • 90c8797abd Implement heartbeat timeout on SWF activity tasks Jean-Baptiste Barth 2015-11-03 00:28:13 +01:00
  • f576f3765c Add SWF endpoint RecordActivityTaskHeartbeat Jean-Baptiste Barth 2015-11-02 10:26:40 +01:00
  • 804d2e91b5 Improve workflow selection before raising a WorkflowExecutionAlreadyStartedFault Jean-Baptiste Barth 2015-11-01 22:23:15 +01:00
  • 96d6bb056b Add SWF endpoint TerminateWorkflowExecution Jean-Baptiste Barth 2015-11-01 21:55:07 +01:00
  • 98948a01c8 Add missing attributes in DescribeWorkflowExecution responses Jean-Baptiste Barth 2015-10-31 21:13:44 +01:00
  • fd12e317f8 Add SWF endpoint RespondActivityTaskFailed Jean-Baptiste Barth 2015-10-28 12:29:57 +01:00
  • c9e8ad03f8 Add SWF endpoint RespondActivityTaskCompleted Jean-Baptiste Barth 2015-10-27 05:17:33 +01:00
  • 08643945df Add SWF endpoint CountPendingActivityTasks Jean-Baptiste Barth 2015-10-26 23:32:36 +01:00
  • 761ab816f9 Add SWF endpoint PollForActivityTask Jean-Baptiste Barth 2015-10-26 23:16:59 +01:00
  • d650f71d9c Simplify decision task handling in SWF backend Jean-Baptiste Barth 2015-10-26 18:06:04 +01:00
  • a0e484fa6d Move setup_workflow() test function in test utils Jean-Baptiste Barth 2015-10-26 18:05:45 +01:00
  • be71909a8c Rework task lists for activity/decision tasks Jean-Baptiste Barth 2015-10-26 10:55:55 +01:00
  • 83c08b7655 Remove unused import Jean-Baptiste Barth 2015-10-26 06:31:58 +01:00
  • eadc07bf61 Reorganize SWF tests so they're shorter and easier to use Jean-Baptiste Barth 2015-10-26 06:31:00 +01:00
  • a713005882 Simplify implementation of ScheduleActivityTask decision Jean-Baptiste Barth 2015-10-26 05:50:15 +01:00
  • 5e086223c2 Implement ScheduleActivityTask decision Jean-Baptiste Barth 2015-10-26 00:43:35 +01:00
  • 53630dc061 Add a Domain to WorkflowExecution objects Jean-Baptiste Barth 2015-10-25 11:30:11 +01:00
  • fa4608be98 Add basic ActivityTask model Jean-Baptiste Barth 2015-10-24 12:57:06 +02:00
  • 49e44c8ee6 Fix openDecisionTasks counter not updated when we complete a DecisionTask Jean-Baptiste Barth 2015-10-24 12:05:42 +02:00
  • 918cf8a4e3 Fix decision parameters: attributes are in foo*Decision*Attributes Jean-Baptiste Barth 2015-10-24 05:10:01 +02:00
  • 417f732b53 Implement FailWorkflowExecution decision Jean-Baptiste Barth 2015-10-24 04:35:21 +02:00
  • 6810973b76 Update obsolete comment about SWF decisions completion Jean-Baptiste Barth 2015-10-23 09:05:52 +02:00
  • 558b84fb6a Add checks for *DecisionAttributes within RespondDecisionTaskCompleted Jean-Baptiste Barth 2015-10-19 09:25:54 +02:00
  • 507351612e Fix missing space in decision validation error Jean-Baptiste Barth 2015-10-19 05:43:58 +02:00
  • 0749b30fb4 Add some basic checks on SWF decisions, more to come later Jean-Baptiste Barth 2015-10-19 00:09:51 +02:00
  • 381eb5eb0f Implement CompleteWorkflowExecution decision Jean-Baptiste Barth 2015-10-12 23:32:11 +02:00
  • d97c770849 Add first version of SWF endpoint RespondDecisionTaskCompleted Jean-Baptiste Barth 2015-10-12 11:08:52 +02:00
  • c72c198208 Fix WorkflowExecution event ids not increasing Jean-Baptiste Barth 2015-10-12 08:38:14 +02:00
  • a137e5c5c9 Add SWF endpoint CountPendingDecisionTasks Jean-Baptiste Barth 2015-10-11 22:14:16 +02:00
  • 4e223d2318 Fix PollForDecisionTask not respecting requested task list Jean-Baptiste Barth 2015-10-11 22:11:07 +02:00
  • 1ccadb169f Simplify WorkflowExecution model since it always has a task list Jean-Baptiste Barth 2015-10-11 22:06:27 +02:00
  • c310a04c74 Remove obsolete command about DefaultUndefinedFault Jean-Baptiste Barth 2015-10-11 19:19:48 +02:00
  • aa4adbb76e Implement reverseOrder option for GetWorkflowExecutionHistory and PollForDecisionTask Jean-Baptiste Barth 2015-10-11 19:14:31 +02:00
  • c16da9da2d Add SWF endpoint PollForDecisionTask and associated DecisionTask model Jean-Baptiste Barth 2015-10-11 14:02:55 +02:00
  • 8d435d8afe Refactor SWF exceptions testing so responses tests get simpler Jean-Baptiste Barth 2015-10-05 10:05:35 +02:00
  • 464aef293c Add SWF endpoint GetWorkflowExecutionHistory and associated HistoryEvent model Jean-Baptiste Barth 2015-10-04 23:37:50 +02:00
  • 3ce5b29356 Handle WorkflowExecution/WorkflowType options inheritance Jean-Baptiste Barth 2015-10-04 11:09:18 +02:00
  • 6a8636ad21 Remove unused import in SWF test Jean-Baptiste Barth 2015-10-04 08:48:42 +02:00
  • 1026fb819f Split SWF models into their own file Jean-Baptiste Barth 2015-10-03 11:24:03 +02:00
  • 2878252816 Add SWF endpoint: DescribeWorkflowExecution Jean-Baptiste Barth 2015-10-02 17:42:28 +02:00
  • a589dc08b5 Make workflow_id a required property of WorkflowExecution Jean-Baptiste Barth 2015-10-02 09:41:29 +02:00
  • c08c20d197 Move SWF Domain full dict representation to model Jean-Baptiste Barth 2015-10-02 09:33:35 +02:00
  • 92cf64c2ad Add SWF endpoint: StartWorkflowExecution Jean-Baptiste Barth 2015-10-02 05:03:10 +02:00
  • fbcdd5f2bd Use dict[] to document required keys in SWF responses Jean-Baptiste Barth 2015-10-02 04:17:52 +02:00
  • 168f61c6a8 Remove useless usage of templating in SWF responses implementation Jean-Baptiste Barth 2015-10-02 03:58:26 +02:00
  • 33c478bc62 Move SWF Domain related tests with other models tests Jean-Baptiste Barth 2015-10-02 03:46:23 +02:00
  • 036ab194ba Add 'status' to SWF *Type string representation Jean-Baptiste Barth 2015-10-02 03:42:40 +02:00
  • 8b02c0b85e Move *Type __repr__ to GenericType Jean-Baptiste Barth 2015-10-02 03:37:14 +02:00
  • 080b79338d Simplify how we store SWF types inside a SWF domain Jean-Baptiste Barth 2015-10-01 21:33:47 +02:00
  • 5c02fcd94b Abstract away SWF *Type models logic into a GenericType class Jean-Baptiste Barth 2015-10-01 21:25:25 +02:00
  • 9483355584 Prepare SWF objects representations directly via json.dumps() Jean-Baptiste Barth 2015-10-01 21:09:39 +02:00
  • 6e6b325225 Deduplicate logic between ActivityType's and WorkflowType's Jean-Baptiste Barth 2015-09-30 21:01:05 +02:00
  • c4e903706c Add SWF endpoints: RegisterWorkflowType, DeprecateWorkflowType, ListWorkflowTypes, DescribeWorkflowType Jean-Baptiste Barth 2015-09-30 19:26:42 +02:00
  • b680b2ec3c Add SWF endpoints: RegisterActivityType, DeprecateActivityType, ListActivityType, DescribeActivityType Jean-Baptiste Barth 2015-09-30 15:24:49 +02:00
  • cb46eac513 Implement naive reverseOrder option for SWF's ListDomains endpoint Jean-Baptiste Barth 2015-09-30 12:54:54 +02:00
  • 3e2c7dec83 Fix json template for listing SWF domains Jean-Baptiste Barth 2015-09-30 12:50:17 +02:00
  • 2c3b286b6b Improve SWF Domain representation Jean-Baptiste Barth 2015-09-30 11:40:33 +02:00
  • 49bbd7399e Add some TODO comments in SWF mocks Jean-Baptiste Barth 2015-09-30 11:28:40 +02:00
  • 9440531d0c Move SWF domain related tests in their own file Jean-Baptiste Barth 2015-09-30 11:26:25 +02:00
  • 5392978eaf Check parameters are strings on SWF endpoints Jean-Baptiste Barth 2015-09-30 11:16:02 +02:00
  • 8e3fd6c7de Add SWF endpoints: RegisterDomain, DeprecateDomain, ListDomains, DescribeDomain Jean-Baptiste Barth 2015-09-30 09:08:24 +02:00
  • 8c122ee793 Merge https://github.com/2mf/moto mfranke 2015-11-18 17:30:41 +01:00
  • 7220969feb typo mfranke 2015-11-17 18:18:02 +01:00
  • 7a11500171 Implement JSON responses for EMR (for Boto3) Akira Chiku 2015-11-15 17:24:36 +09:00
  • 32dd72f6b7 Change BaseResponse action parsing to be a bit more generic. Steve Pulec 2015-11-14 13:42:22 -05:00
  • e8828f9787 Merge pull request #453 from 2mf/master Steve Pulec 2015-11-12 09:32:10 -05:00
  • 0270c68e0d Merge branch 'master' of https://github.com/2mf/moto mfranke 2015-11-12 10:12:54 +01:00
  • f93b9a86e9 add put_records API fix create_stream API to get right response in case of stream already exists mfranke 2015-11-12 10:05:02 +01:00
  • 4aa14960d2 Add support for partial updates and SS in dynamodb. Steve Pulec 2015-11-11 21:59:55 -05:00
  • c38731ecbb Add ACL support for S3 buckets. Steve Pulec 2015-11-11 20:26:29 -05:00
  • a8115a4510 Merge pull request #452 from iandees/add_sqs_max_size Steve Pulec 2015-11-10 18:11:40 -05:00
  • 5115e50bd0 The message has to be bigger Ian Dees 2015-11-10 11:39:00 -05:00
  • a4e86494e1 Add a test for a message that is too long Ian Dees 2015-11-10 11:24:55 -05:00
  • 27e7767883 Remove stuff that doesn't need to change Ian Dees 2015-11-09 20:19:51 -05:00
  • 97b7781c13 Include XML response template Ian Dees 2015-11-09 20:09:08 -05:00
  • f8cbcfc098 How about in the SQSResponse object Ian Dees 2015-11-09 20:03:52 -05:00