Jean-Baptiste Barth
558b84fb6a
Add checks for *DecisionAttributes within RespondDecisionTaskCompleted
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
507351612e
Fix missing space in decision validation error
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
0749b30fb4
Add some basic checks on SWF decisions, more to come later
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
381eb5eb0f
Implement CompleteWorkflowExecution decision
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
d97c770849
Add first version of SWF endpoint RespondDecisionTaskCompleted
...
There's just the structure for now, for now the workflow execution
doesn't know how to handle any decision type.
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
c72c198208
Fix WorkflowExecution event ids not increasing
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
a137e5c5c9
Add SWF endpoint CountPendingDecisionTasks
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
4e223d2318
Fix PollForDecisionTask not respecting requested task list
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
1ccadb169f
Simplify WorkflowExecution model since it always has a task list
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
c310a04c74
Remove obsolete command about DefaultUndefinedFault
...
(already implemented a few commits ago)
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
aa4adbb76e
Implement reverseOrder option for GetWorkflowExecutionHistory and PollForDecisionTask
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
c16da9da2d
Add SWF endpoint PollForDecisionTask and associated DecisionTask model
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
464aef293c
Add SWF endpoint GetWorkflowExecutionHistory and associated HistoryEvent model
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
3ce5b29356
Handle WorkflowExecution/WorkflowType options inheritance
...
... and potential resulting DefaultUndefinedFault errors.
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
1026fb819f
Split SWF models into their own file
...
Given the docs[1] we will implement a hundred models or so if we want to
have a full implementation of the SWF API, so better not have a 3k lines
long models.py file, too hard to manipulate.
[1] http://docs.aws.amazon.com/amazonswf/latest/apireference/API_DecisionTask.html
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
2878252816
Add SWF endpoint: DescribeWorkflowExecution
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
a589dc08b5
Make workflow_id a required property of WorkflowExecution
...
Given the response of DescribeWorkflowExecution endpoint, the
WorkflowExecution has to know about its own workflowId.
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
c08c20d197
Move SWF Domain full dict representation to model
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
92cf64c2ad
Add SWF endpoint: StartWorkflowExecution
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
fbcdd5f2bd
Use dict[] to document required keys in SWF responses
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
168f61c6a8
Remove useless usage of templating in SWF responses implementation
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
036ab194ba
Add 'status' to SWF *Type string representation
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
8b02c0b85e
Move *Type __repr__ to GenericType
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
080b79338d
Simplify how we store SWF types inside a SWF domain
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
5c02fcd94b
Abstract away SWF *Type models logic into a GenericType class
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
9483355584
Prepare SWF objects representations directly via json.dumps()
...
... instead of jinja2 templates that are absolutely not suited for this
purpose, and hard to test.
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
6e6b325225
Deduplicate logic between ActivityType's and WorkflowType's
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
c4e903706c
Add SWF endpoints: RegisterWorkflowType, DeprecateWorkflowType, ListWorkflowTypes, DescribeWorkflowType
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
b680b2ec3c
Add SWF endpoints: RegisterActivityType, DeprecateActivityType, ListActivityType, DescribeActivityType
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
cb46eac513
Implement naive reverseOrder option for SWF's ListDomains endpoint
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
3e2c7dec83
Fix json template for listing SWF domains
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
2c3b286b6b
Improve SWF Domain representation
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
49bbd7399e
Add some TODO comments in SWF mocks
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
5392978eaf
Check parameters are strings on SWF endpoints
...
SWF endpoints raise a 400 Bad Request for non-string types, and boto
doesn't enforce it as of today, so better have some safety nets in moto
to avoid this common mistake.
Example exception raised by Boto:
SWFResponseError: SWFResponseError: 400 Bad Request
{u'Message': u'class java.lang.Short can not be converted to an String',
u'__type': u'com.amazon.coral.service#SerializationException'}
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
8e3fd6c7de
Add SWF endpoints: RegisterDomain, DeprecateDomain, ListDomains, DescribeDomain
2015-11-19 11:45:20 +01:00
Steve Pulec
32dd72f6b7
Change BaseResponse action parsing to be a bit more generic.
...
Some service like SWF have action headers like
com.amazonaws.swf.service.model.SimpleWorkflowService.<action>. By using
-1 instead of 1, we can accomodate both scenarios.
2015-11-14 13:42:22 -05:00
mfranke
f93b9a86e9
add put_records API
...
fix create_stream API to get right response in case of stream already exists
2015-11-12 10:05:02 +01:00
Steve Pulec
4aa14960d2
Add support for partial updates and SS in dynamodb.
2015-11-11 21:59:55 -05:00
Steve Pulec
c38731ecbb
Add ACL support for S3 buckets.
2015-11-11 20:26:29 -05:00
Ian Dees
27e7767883
Remove stuff that doesn't need to change
2015-11-09 20:19:51 -05:00
Ian Dees
97b7781c13
Include XML response template
2015-11-09 20:09:08 -05:00
Ian Dees
f8cbcfc098
How about in the SQSResponse object
2015-11-09 20:03:52 -05:00
Ian Dees
b732e116a4
Try the length of the body
2015-11-09 19:53:14 -05:00
Ian Dees
540ee79ad9
Put the size check in the queue
2015-11-09 19:51:17 -05:00
Ian Dees
5b2a724219
Check SQS message size
2015-11-09 19:29:08 -05:00
Steve Pulec
ab3682a55c
py3 fix.
2015-11-07 16:58:39 -05:00
Steve Pulec
8d41d0019b
Add basic support for AttributeUpdates in Dynamo update_item. Closes #449 .
2015-11-07 16:45:24 -05:00
Steve Pulec
18d63a6cfe
Add basics of S# website configuration. Closes #442 .
2015-11-04 18:55:41 -05:00
Steve Pulec
0061eb77d7
0.4.18
2015-11-03 14:01:09 -05:00
Steve Pulec
cddf139bbc
Add ability to create EBS volumes from snapshots. Closes #447 .
2015-11-03 09:37:02 -05:00
Steve Pulec
d3e4c2c4b5
Add ability for specific backends to enable template escaping. Closes #441 .
2015-11-03 09:25:47 -05:00
Steve Pulec
73452c79f7
Add milliseconds to EC2 launch time. Closes #445 .
2015-11-02 23:33:39 -05:00
Steve Pulec
d9faab3e5e
Fix error for describing kinesis stream that has not been created.
2015-11-02 13:25:31 -05:00
Steve Pulec
99a4bcf98f
0.4.17
2015-11-02 10:11:14 -05:00
Steve Pulec
fcaa8fbce7
0.4.16
2015-11-02 10:09:17 -05:00
Steve Pulec
1d58aae42a
Merge pull request #438 from ZuluPro/instancetypes
...
Added describe instance types
2015-11-01 14:30:32 -05:00
Steve Pulec
976c470fa3
Merge pull request #443 from gvlproject/master
...
When adding security group rules, allow a source group only to be spe…
2015-11-01 14:25:42 -05:00
Steve Pulec
1b1cf40af8
handle optional compression format.
2015-10-30 14:18:29 -04:00
Steve Pulec
1c95de421d
Merge pull request #446 from spulec/firehose
...
firest draft of firehose support.
2015-10-30 10:55:25 -04:00
Steve Pulec
7fcf84b32a
easier fallback.
2015-10-30 10:13:57 -04:00
Steve Pulec
127625bdc3
fix typo.
2015-10-30 10:10:49 -04:00
Steve Pulec
015e7ea9a2
py3 fix.
2015-10-30 10:05:53 -04:00
Steve Pulec
ac1bb336c8
firest draft of firehose support.
2015-10-30 09:59:57 -04:00
Enis Afgan
e07894c6e4
When adding security group rules, allow a source group only to be specified - as per boto docs & functionality
2015-10-29 07:27:35 +01:00
Yoriyasu Yano
f0cc561aa7
Use correct kwarg when creating database
2015-10-20 09:12:59 -07:00
Steve Pulec
3622fd172e
Merge pull request #437 from gvlproject/master
...
Set snapshots to be in a completed state after being created and added
2015-10-17 23:10:14 -04:00
nuwan_ag
0b3ad166c0
Set snapshots to be in a completed state after being created and added
...
test case
2015-10-14 02:34:36 +11:00
Mike Kaplinskiy
131d44f0ad
Add S3 ACL supprt.
2015-10-07 00:14:37 -07:00
Steve Pulec
96cf5eabc4
Merge pull request #434 from milesoc/master
...
Add tag support on create/read for autoscaling groups
2015-10-06 20:29:05 -04:00
Steve Pulec
11cb2fba16
0.4.15
2015-10-06 15:20:21 -04:00
milesoc
b3096af098
Set tags in response, fix tests for tags
2015-10-06 18:07:58 +00:00
Miles O'Connell
3c38a551b2
Adding tags to AutoScalingGroups
2015-10-06 09:21:26 -07:00
Steve Pulec
123d1e3965
Merge pull request #431 from araines/master
...
Fixes #430 : MD5 hashing should be done to the real body, not an escaped one
2015-10-05 18:28:34 -04:00
Steve Pulec
37f86626cc
Merge pull request #425 from ZuluPro/random_key_pair
...
Remade ec2.utils.random_key_pair for be really random
2015-10-05 18:25:17 -04:00
Steve Pulec
507c03a0c7
Merge pull request #424 from ZuluPro/keypairs
...
Implemented import key pair
2015-10-05 18:24:21 -04:00
Hugo Lopes Tavares
e5675e9533
Change CloudFormationResponse.get_template() to return GetTemplateResponse/GetTemplateResult/TemplateBody
2015-10-05 15:21:30 -04:00
Andy Raines
76bce7954a
Fixes #430 : MD5 hashing should be done to the real body, not an escaped one
2015-10-05 14:14:56 +01:00
ZuluPro
b85b415977
Implemented import key pair
2015-09-24 17:34:08 +02:00
Anthony Monthe
0999a49b5b
Added describe instance types
2015-09-23 14:50:47 +02:00
Steve Pulec
f72613cc47
Fix queue urls for other regions. Closes #411 .
2015-09-19 09:18:16 -04:00
Steve Pulec
bee2b5a891
Merge pull request #414 from 2mf/master
...
DynamoDB2 is overwriting the table instead of returning an error
2015-09-19 09:05:08 -04:00
Steve Pulec
5a8f3bd616
Merge pull request #412 from ybastide/master
...
Tweak ResponseObject to let bucket.delete_keys work with s3bucket_path.
2015-09-19 09:04:17 -04:00
Steve Pulec
d58afc13fd
Merge pull request #413 from jszwedko/master
...
Add support for latency based route53 records
2015-09-19 09:03:38 -04:00
Steve Pulec
967c778390
0.4.14
2015-09-17 17:21:57 -04:00
Hugo Lopes Tavares
dafddb094b
Implement CloudFormation's physical_resource_id for Data Pipeline
2015-09-17 15:29:14 -04:00
Hugo Lopes Tavares
8623483c0f
Change data pipeline responses to start with lowercase characters
2015-09-17 15:26:35 -04:00
Steve Pulec
65dd7f7639
Change fields to be start with lower case based on examing of real AWS calls.
2015-09-16 18:13:44 -04:00
Hugo Lopes Tavares
25f9e8b588
Change CloudFormation to support Data Pipelines
2015-09-16 17:49:13 -04:00
Hugo Lopes Tavares
0cef332840
Add support to ListPipelines
2015-09-16 15:49:15 -04:00
Steve Pulec
1b811e6949
0.4.13
2015-09-16 11:29:03 -04:00
Steve Pulec
db23b7d24c
Fix state to start as PENDING and only become SCHEDULED on activation.
2015-09-16 11:22:52 -04:00
Steve Pulec
b0ea9f2859
Fix tests for server mode.
2015-09-16 10:11:43 -04:00
Steve Pulec
95169c6011
First version of datapipelines.
2015-09-16 10:00:38 -04:00
ZuluPro
23c2e7835e
Remade ec2.utils.random_key_pair for be really random
2015-09-15 20:09:35 -04:00
Michael
31d30c8ea4
return the correct response tryin to re-create a table
2015-09-10 11:31:46 +02:00
Jesse Szwedko
14ec3531ff
Add support for latency based route53 records
...
Store and marshal the region field of records
Signed-off-by: Kevin Donnelly <kevin.donnelly@getbraintree.com>
2015-09-08 21:36:32 +00:00
zeb
b59a77d5bb
Tweak bucket.delete_keys for s3bucket_path.
2015-09-04 19:02:26 +02:00
Steve Pulec
8b0f42afed
0.4.12
2015-08-31 16:56:07 -04:00
Steve Pulec
1dcfcbca57
Add cloudformation tags.
2015-08-31 16:48:36 -04:00
Dustin J. Mitchell
00e40c487e
Return messages once they are gathered
...
If one or more messages are available, stop waiting and return them.
2015-08-31 11:27:42 -04:00