Steve Pulec
595259a99d
0.4.20
2016-01-17 18:11:00 -05:00
Steve Pulec
a53a97d136
Cleanup SWF to use HTTP exceptions so that the standalone server will work. Closes #495 .
2016-01-17 18:00:57 -05:00
Steve Pulec
075d008509
Change s3 urls to ordereddict to fix python3 issues.
2016-01-17 17:19:53 -05:00
Steve Pulec
fe090d7bb5
Merge pull request #487 from a1exsh/bugfix/include-load-balancer-name-in-describe-tags-response
...
Fix ELB.describe_tags with multiple LoadBalancerNames.
2016-01-17 16:34:20 -05:00
Steve Pulec
0535f445be
Merge pull request #471 from spulec/combined-s3
...
Combined s3
2016-01-17 16:32:08 -05:00
Steve Pulec
ea097791cb
Merge pull request #512 from kevgliss/sgEgressPermissions
...
Adds support for authorizing and revoking egress permissions
2016-01-17 15:46:53 -05:00
Steve Pulec
9596772546
Merge pull request #510 from pcraciunoiu/feature/dynamodb-add-value
...
Add value and UPDATE fixes
2016-01-17 15:40:07 -05:00
kevgliss
093a64c1c8
adding error checking on cidrs
2016-01-15 12:57:43 -08:00
kevgliss
6bc4a8b38a
Adds support for authorizing and revoking egress permissions
2016-01-15 12:36:11 -08:00
Paul Craciunoiu
aacdde7adc
When hash/range key overlap, fix query logic.
2016-01-15 11:53:45 -07:00
Paul Craciunoiu
4e9f4bfbbf
Fix for ReturnValues.
2016-01-15 11:53:45 -07:00
Paul Craciunoiu
bdd4ae824b
Support ADD for numeric values
2016-01-15 11:53:43 -07:00
Paul Craciunoiu
88cd009c4d
Return Item even when item is not found.
2016-01-14 16:20:33 -07:00
Ian Auld
9400cc3ba4
Added LocalSecondaryIndexes to describe property
2016-01-14 11:30:18 -08:00
Ian Auld
5c7f01ab29
Merge branch 'master' into Bug-Fix-Secondary-Indexes-Ignored
2016-01-13 15:29:59 -08:00
Ian Auld
3cbaed9734
Added support for local senondary indexes in DynamoDB2
2016-01-13 15:27:02 -08:00
Steve Pulec
defd106523
Merge pull request #506 from DenverJ/volume_snapshot_filters
...
Add filters for describeVolumes and describeSnapshots.
2016-01-11 13:30:56 -05:00
Paul Craciunoiu
f3c1e21391
Delete missing attribute results in KeyError.
2016-01-11 11:16:15 -07:00
Denver Janke
82b0b12e45
Add filters for describeVolumes and describeSnapshots.
2016-01-11 15:46:30 +10:00
Steve Pulec
35478f3a44
Fix AZs for run_instances. Closes #490 .
2016-01-10 00:54:53 -05:00
Steve Pulec
96479bf1dc
Merge pull request #505 from joshink/master
...
Reverse before limit
2016-01-10 00:31:13 -05:00
Joshua Inkenbrandt
33f31652ea
Reverse before limit
2016-01-09 17:58:06 -08:00
Paul Craciunoiu
c9f43c885a
Support Select=COUNT when querying.
2016-01-08 17:35:14 -07:00
Paul Craciunoiu
f5406ad212
Handle delete updates.
2016-01-08 17:34:53 -07:00
Paul Craciunoiu
f1099dd006
Support update_item with map and numeric types.
2016-01-08 17:33:14 -07:00
Steve Pulec
9b0bce93dc
Merge pull request #499 from im-auld/partial-save-support-with-range-key
...
Partial save support with range key
2016-01-08 17:23:04 -05:00
Steve Pulec
f7c775d7ab
Revert this solution in favor of fc0fb0d40e
.
2016-01-08 17:03:54 -05:00
Steve Pulec
3a2eedc03c
Merge pull request #494 from jbencook/BasicECS
...
Basic ECS support
2016-01-08 17:02:40 -05:00
Steve Pulec
fc0fb0d40e
Fix default ASG health check period.
2016-01-08 16:56:10 -05:00
Steve Pulec
d2302bae21
Add Customer Gateway Support. Closes #465
2016-01-08 16:48:01 -05:00
Steve Pulec
d6d6ff56af
Merge pull request #486 from pcraciunoiu/feature/dynamodb-query-index
...
Add query index support for boto3 via dynamodb2
2016-01-08 16:41:55 -05:00
Ian Auld
33f023fdaf
Added comments for clarity
2015-12-31 10:46:54 -08:00
Ian Auld
a0ed89c92d
Added support for partial_save on tables with a hash and range key; Issue #498
2015-12-31 10:28:06 -08:00
Steve Pulec
6a13e0e226
Merge pull request #489 from gilzellner/master
...
fix issue 488
2015-12-21 15:19:57 -05:00
Steve Pulec
42423f47e7
Merge pull request #466 from EarthmanT/support_get_all_dhcp_options_set
...
Adding Support for Get All DHCP Options
2015-12-21 15:18:41 -05:00
Steve Pulec
39fef4d367
Merge pull request #468 from EarthmanT/add_support_for_vpn_connections
...
Adding Support for VPN Connections
2015-12-21 15:18:05 -05:00
jbencook
3d6d3bfa27
python3 fixes
2015-12-17 17:43:16 +00:00
jbencook
3737b39e15
create, list, delete for cluster, task and service
2015-12-17 17:13:00 +00:00
jbencook
5aca483849
Fix default HealthCheckGracePeriod
2015-12-15 18:58:53 +00:00
Paul Craciunoiu
2cea05bd19
More support for GSI
...
* Support query via multiple KeyConditionExpressions
* Support GSI updates via table.update()
2015-12-14 15:42:18 -07:00
gilzellner
d273fa15f3
fix issue 488
2015-12-14 15:38:40 +02:00
Oleksandr Shulgin
1ed5f50d56
Fix ELB.describe_tags with multiple LoadBalancerNames.
2015-12-14 12:38:10 +01:00
Paul Craciunoiu
4fa7d6283d
Add query index support.
2015-12-13 23:16:25 -07:00
Steve Pulec
5d421dc343
Cleanup querying missing ELB error.
2015-12-13 22:41:17 -05:00
Steve Pulec
cac88cf3e3
Merge pull request #482 from silveregg/master
...
Add new endpoints to ELB (fix #479 )
2015-12-13 21:50:26 -05:00
mfranke
73467e3b71
fix format
2015-12-10 18:22:03 +01:00
mfranke
faee9e2d72
fix
2015-12-09 23:04:34 +01:00
mfranke
bc89e7eedc
compatibility fix for python 2.6.9
2015-12-09 22:25:59 +01:00
Marco Rucci
c8b7511341
Manage instances of ELBs attached to autoscaling group.
2015-12-09 21:40:48 +01:00
mfranke
5d47aa8c84
add AddTags, RemoveTags and DescribeTags endpoints to ELB
2015-12-09 21:30:40 +01:00
Marco Rucci
284641e8cf
Add support for default VPCs and subnets.
...
The first VPC created will be elected as default.
All subnets of the default VPC are considered default for their availability zone.
2015-12-06 20:58:54 +01:00
Steve Pulec
be3291b758
Merge pull request #475 from silveregg/master
...
Add Kinesis API and fix some typo
2015-12-05 21:04:41 -05:00
root
89e46d87bd
fix unicode encoding
2015-12-05 12:42:57 +00:00
root
b2af81eab5
use six.string_types instead of basestring
2015-12-05 12:39:03 +00:00
root
6eaea9aa6e
fix integer division for Py3
2015-12-05 12:31:58 +00:00
root
480a30e922
fix for python 3 compatibility
2015-12-05 11:27:16 +00:00
root
80688ea2b2
- implement basic sharding scheme
...
- add API for merge_shards and split_shard
- add some parater typ checking for put_record(s)
2015-12-05 11:13:34 +00:00
root
fca96c935d
exception must be raise instead returning a response
2015-12-04 08:56:49 +00:00
Steve Pulec
587893f0c7
Duplicate user needs to be EntityAlreadyExists error code.
2015-12-03 21:59:55 -05:00
Steve Pulec
3a38a2a1a7
Cleanup IAM exceptions. Closes #476 .
2015-12-03 20:56:28 -05:00
Chris Henry
e59a0b7fa9
Remove debug print statements
2015-12-03 11:24:55 -05:00
root
70171e8ef9
Merge https://github.com/spulec/moto
2015-12-03 11:57:34 +00:00
root
03cd1e47c1
add kinesis API:
...
- AddTagsToStream
- ListTagsForStream
- RemoveTagsFromStream
2015-12-03 11:53:57 +00:00
earthmant
c5bf9d8c94
replacing the usage
...
of dhcp_opt_ids_from_querystring with sequence_from_querystring
2015-12-03 13:49:08 +02:00
earthmant
76a939cee6
making requested fix
...
used sequence_from_querystring and removed added functon vpn_connection_ids_from_query_string
added tests
2015-12-03 13:35:48 +02:00
Chris Henry
6017a481cf
Initial implementation of elb scheme
2015-12-02 17:46:24 -05:00
Steve Pulec
1bca6f2849
Merge pull request #473 from jszwedko/add-kms-policy-actions
...
Add KMS policy actions
2015-11-30 13:31:45 -05:00
Steve Pulec
44f0377cc4
Fix root volume to show up in other EC2 volume API calls. Closes 470
2015-11-28 09:19:45 -05:00
Akira Chiku
0c910864d3
Use requests.header instead of plain dict
2015-11-28 19:26:17 +09:00
Akira Chiku
9b3fa83730
Use content-type for detecting client
2015-11-28 19:25:10 +09:00
Akira Chiku
d6af1b9ae5
Merge remote-tracking branch 'upstream/master'
2015-11-28 18:50:32 +09:00
Steve Pulec
704110d9c7
0.4.19
2015-11-27 14:46:50 -05:00
Steve Pulec
0df03ba409
cleanup code.
2015-11-27 14:43:03 -05:00
Steve Pulec
1df454a632
first working version of s3 refactor.
2015-11-27 14:14:59 -05:00
Steve Pulec
705ec314a3
Cleanup different places using unix_time()
2015-11-27 14:14:40 -05:00
Steve Pulec
eabcb3d39c
Merge pull request #451 from botify-labs/feature/add-swf
...
[wip] Add SWF support
2015-11-26 09:50:01 -05:00
Steve Pulec
025445d23e
Merge pull request #467 from EarthmanT/support_default_filter_network_acl
...
Support Associate NetworkACL and Filtering in Describe
2015-11-26 09:41:13 -05:00
Andrew Garrett
136f622b3b
Add KMS policy actions
...
Adds the following to the KMS service
* PutKeyPolicy
* GetKeyPolicy
* ListKeyPolicies
Signed-off-by: Jesse Szwedko <jesse.szwedko@getbraintree.com>
2015-11-25 19:50:55 +00:00
earthmant
39c3c5c8aa
Adding Support for VPN Connections
...
support create, delete, describe
2015-11-25 16:38:02 +02:00
earthmant
41873b59f7
Adding Support for Get All DHCP Options
...
add DescribeDhcpOptionsResponse
support filtering describe_dhcp_options
add get_all_dhcp_options
2015-11-25 11:50:58 +02:00
Andrew Garrett
f1566cecf4
Add support for KMS key rotation operations
...
This adds support for the following KMS endpoints:
* EnableKeyRotation
* DisableKeyRotation
* GetKeyRotationStatus
Signed-off-by: Jesse Szwedko <jesse.szwedko@getbraintree.com>
2015-11-24 23:44:55 +00:00
earthmant
18fe3e41e9
Support default ACL in a VPC
...
a vpc usually has a default acl
this makes sure that moto flags it
and that the describe response has it in there
2015-11-23 18:07:51 +02:00
Jean-Baptiste Barth
566a90800e
Make SWF events formatting more generic
...
(suggested in @spulec review)
2015-11-23 14:52:16 +01:00
earthmant
4b59c6b907
Support Associate Network ACL
...
add the new_association_id property to NetworkACL object so that the template render for replace adds the ID and the associate_network_acl receives a response
2015-11-23 15:16:46 +02:00
Jean-Baptiste Barth
a06f8b15f5
Add moto.core.utils.underscores_to_camelcase()
2015-11-23 14:09:31 +01:00
Jean-Baptiste Barth
45437368b2
Move SWF type checks to response object
...
(suggested in @spulec review)
2015-11-23 12:41:44 +01:00
Jean-Baptiste Barth
78ea7967ad
Remove overriden SWFResponse.call_action() thanks to 32dd72f
...
Not necessary anymore: 32dd72f6b7
2015-11-19 11:46:54 +01:00
Jean-Baptiste Barth
26980f41a6
Replace globals() call with a static mapping
...
(suggested in @spulec review)
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
6b581edb55
Use datetime.utcnow() instead of datetime.now()
...
(suggested in @spulec review)
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
5f0684fca5
Use dict.values() instead of dict.items() where possible
...
(suggested in @spulec review)
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
de646cf7ac
Fix python 3 compatibility: filter() returns an iterator now
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
248975d4e6
Improve SWF timeouts processing: now processed in order, one by one
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
7f2cbb79b0
Refactor SWF workflow execution to ease next timeout change
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
6027bf15c1
Move some timeout conditionals to concerned models
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
d007dfe3ff
Remove process_timeouts() method in favor of timeout(<Timeout>) and a helper for tests
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
65c35bfa69
Make timeout events appear at the right time in workflow history
2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
d618585790
Refactor timeouts processing so it will be easier to compute them in order
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
61bb550052
Ensure activity and decision tasks cannot progress on a closed workflow
...
This is a second barrier because I'm a little nervous about this and I
don't want moto/swf to make any activity progress while in the real
world service, it's strictly impossible once the execution is closed.
Python doesn't seem to have any nice way of freezing an object so here
we go with a manual boundary...
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
65c95ab5bc
Ensure activity and decision tasks cannot timeout on a closed workflow
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
9c3996ff58
Add WorkflowExecution.open to clarify code in some places
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
f38d23e483
Implement start to close timeout on SWF workflow executions
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
86973f2b87
Implement start to close timeout on SWF decision tasks
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
b386495520
Use list comprehensions instead of filter() for easier moto/swf python 3.x compatibility
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
3a5f679783
Fix python 3.3 compatibility in moto/swf regarging string types detection
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
c0b4aadd92
Fix python 3.x compatibility regarding json loading
...
Error on travis-ci was:
TypeError: can't use a string pattern on a bytes-like object
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
2cd3d5fb45
Fix python 3.x compatibility regarding iterations on a dict
...
Error on travis-ci was:
AttributeError: 'dict' object has no attribute 'iteritems'
And actually it's been removed in python 3.x in favor of dict.items()
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
e9732140e5
Fix python 2.6 compatibility for moto/swf
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
90c8797abd
Implement heartbeat timeout on SWF activity tasks
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
f576f3765c
Add SWF endpoint RecordActivityTaskHeartbeat
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
804d2e91b5
Improve workflow selection before raising a WorkflowExecutionAlreadyStartedFault
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
96d6bb056b
Add SWF endpoint TerminateWorkflowExecution
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
98948a01c8
Add missing attributes in DescribeWorkflowExecution responses
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
fd12e317f8
Add SWF endpoint RespondActivityTaskFailed
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
c9e8ad03f8
Add SWF endpoint RespondActivityTaskCompleted
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
08643945df
Add SWF endpoint CountPendingActivityTasks
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
761ab816f9
Add SWF endpoint PollForActivityTask
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
d650f71d9c
Simplify decision task handling in SWF backend
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
be71909a8c
Rework task lists for activity/decision tasks
2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
83c08b7655
Remove unused import
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
a713005882
Simplify implementation of ScheduleActivityTask decision
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
5e086223c2
Implement ScheduleActivityTask decision
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
53630dc061
Add a Domain to WorkflowExecution objects
...
This will be needed later for finding an activity type for instance.
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
fa4608be98
Add basic ActivityTask model
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
49e44c8ee6
Fix openDecisionTasks counter not updated when we complete a DecisionTask
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
918cf8a4e3
Fix decision parameters: attributes are in foo*Decision*Attributes
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
417f732b53
Implement FailWorkflowExecution decision
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
6810973b76
Update obsolete comment about SWF decisions completion
2015-11-19 11:45:24 +01:00
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
mfranke
7220969feb
typo
2015-11-17 18:18:02 +01:00
Akira Chiku
7a11500171
Implement JSON responses for EMR (for Boto3)
2015-11-15 17:24:36 +09: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
Steve Pulec
b55600ce42
0.4.11
2015-08-26 22:58:34 -04:00
Steve Pulec
984e221cab
Merge pull request #408 from pitluga/elb_boto3_support
...
Make all existing ELB endpoints compatible with boto3
2015-08-26 22:55:29 -04:00
Tony Pitluga
1d8252feea
Make all existing ELB endpoints compatible with boto3
2015-08-24 15:07:14 +00:00
Pior Bastida
43ceb8b06a
Fix incorrect dynamodb2 delete_item response
...
Attribute field must be a mapping (not a list)
2015-08-20 17:06:10 -04:00
Pior Bastida
2650eab295
Implement XML responses for SNS (for Boto3)
2015-08-20 14:57:17 -04:00
Jot
178d1c3a93
Added support for WaitTimeSeconds in SQS #392
2015-08-13 02:58:14 +02:00
Steve Pulec
73f03d1ccf
Add redshift support for cloudformation.
2015-08-08 13:29:37 -04:00
Steve Pulec
323f720cb5
Fix S3 bucket policy delete. Closes #396 .
2015-08-07 22:43:24 -04:00
Steve Pulec
6b2f54604e
0.4.10
2015-08-03 22:17:19 -04:00
Steve Pulec
df6ff57d24
Fix ASG instance_type.
2015-08-03 21:52:43 -04:00
Steve Pulec
1814db3dfb
Fix launch configuration instance types.
2015-08-03 21:48:17 -04:00
Steve Pulec
92c96b6788
Fix bug in creating SecurityGroups for nics. Closes #391 .
2015-08-03 20:56:05 -04:00
Steve Pulec
ed38a296db
Merge pull request #390 from jotes/iam_sns_server
...
Added server backends with tests for IAM and SNS services.
2015-08-03 18:58:53 -04:00
Jot
930ac58a4d
Added sns backend to servers, added some tests to check backend
2015-08-04 00:20:04 +02:00
Ilya Sukhanov
9904193d66
Merge branch 'master' into sns_regions
2015-08-03 10:22:55 -04:00
Ilya Sukhanov
e08796bcf4
Keep current region when creating SNS ARN topic
2015-08-03 10:19:04 -04:00
Jot
42b95023f5
Added iam backend to servers, added some tests to check backend
2015-08-03 00:31:36 +02:00
Steve Pulec
84c9dd03d2
Merge pull request #387 from jotes/server_cloudformation
...
Enabled cloudformation in server mode, added some tests
2015-08-02 11:34:46 -04:00
Steve Pulec
4576f2873e
Allow passing of region name to s3bucket_path url for eu-central-1. cc ##348.
2015-08-02 11:26:29 -04:00
Jot
b2570d901e
Enabled cloudformation in server mode with some tests
2015-08-02 16:31:16 +02:00
Steve Pulec
8573333932
0.4.8
2015-08-02 10:04:13 -04:00
Steve Pulec
519726a70a
Cleaning up SQS for boto3. Closes #385 .
2015-08-02 09:45:40 -04:00
Steve Pulec
ac4aef87a1
Unused exception.
2015-08-01 19:44:37 -04:00
Steve Pulec
4543db567c
Merge pull request #384 from rocky4570/volmods
...
volmods
2015-08-01 19:37:25 -04:00
Steve Pulec
e4408152d1
Add KeyConditionExpression to dynamo.
2015-08-01 19:32:33 -04:00
Rob Walker
e33777b60c
tidy up imports.
2015-07-26 09:51:37 +10:00
Rob Walker
2bb79824ce
Volume attachments to show in instance.
...
Volumes and Snapshots to be searchable by their id
Placement of instance to match region connection
Times for creation and attachment to show based on api call
2015-07-26 09:37:20 +10:00
Steve Pulec
9c81b7340c
Merge pull request #383 from spg/s3_policy
...
S3: Bucket policy
2015-07-25 17:09:00 -04:00
Steve Pulec
1e195d0e7a
Merge pull request #381 from spg/kms/alias
...
KMS: aliases
2015-07-25 17:06:05 -04:00
Simon-Pierre Gingras
dc0557205d
S3: Bucket policy
2015-07-23 17:33:52 -04:00
Simon-Pierre Gingras
6b501a39a7
KMS: aliases
2015-07-23 10:56:33 -04:00
Steve Pulec
3a81982cce
0.4.7
2015-07-22 22:01:11 -04:00
Ilya Sukhanov
9bf5c2e706
CloudWatch DescribeAlarm filters.
...
Adds support for filtering by:
action_prefix
alarm_name_prefix
alarm_names
And throw NotImplementedError when filtering by:
state_value
2015-07-22 21:08:39 -04:00
Steve Pulec
9f02da4c56
Update ELBs to use newer querystring querying methods.
2015-07-18 09:08:27 -04:00
Andrew Harris
ea2fe6f290
change usages of long conversion to int for python3
2015-07-16 18:23:13 -07:00
Steve Pulec
a611010f86
Revert "Move RRSet parsing inside models so that cloudformation works better."
...
This reverts commit c7090a2b54
.
2015-07-16 15:33:00 -07:00
Steve Pulec
e47147510b
Move RRSet parsing inside models so that cloudformation works better.
2015-07-16 15:33:00 -07:00
Steve Pulec
c8bf862826
Fix for dynamodb2 attribute response. Closes #374 .
2015-07-16 15:33:00 -07:00
Steve Pulec
b67e02cceb
Better value error
2015-07-16 15:33:00 -07:00
Steve Pulec
75461cb110
Fix dynamo item not found.
2015-07-16 15:33:00 -07:00
Andrew Harris
bbb021d06d
implement mocking for lb policies
2015-07-16 15:32:51 -07:00
Steve Pulec
7f2abc41a5
0.4.6
2015-07-13 19:31:23 -04:00
Steve Pulec
4020141478
Fix cloudformation subnet tagging.
2015-07-13 19:27:00 -04:00
Steve Pulec
de29762a65
Cleanup parsing.
2015-07-13 15:28:29 -04:00
Steve Pulec
53fff2eb84
Add UpdateStack functionality for Cloudformation.
2015-07-13 13:56:46 -04:00
Steve Pulec
7f73d7e26d
Add cloudformation list_stack_resources.
2015-07-13 11:05:36 -04:00
Steve Pulec
8b41af84a8
0.4.5
2015-07-13 10:51:56 -04:00
Steve Pulec
c45968b79f
Template in the ASG instance lifecycle states.
2015-07-13 10:47:45 -04:00
Akira Chiku
91edbb21bf
Make EMR multi-region
2015-07-12 19:32:16 +09:00
Steve Pulec
af45424b9e
Merge pull request #371 from apjaffe/master
...
Adds the ConditionalCheckFailedException to put_item
2015-07-08 20:54:53 -04:00
Shulman Evgeny
e498c95807
feature emr: set_termination_protection call implementation
...
feature emr: support for instance_groups param in run_jobflow
2015-07-08 10:26:58 +03:00
Alan Jaffe
690402ccb3
Python 3 compatibility
2015-07-07 15:38:08 -04:00
Alan Jaffe
e3c859868c
Adds the ConditionalCheckFailedException to put_item
...
If the Item‘s original data is inconsistent with what's in DynamoDB,
the request should fail (unless overwrite is set to True).
http://boto.readthedocs.org/en/latest/ref/dynamodb2.html#boto.dynamodb2.table.Table.put_item
2015-07-07 15:07:32 -04:00
Steve Pulec
abb3357925
Merge pull request #369 from MurphyMarkW/byteranges
...
Improves range request support.
2015-07-06 21:27:43 -04:00
Steve Pulec
ff5161ebf9
Fix for py26.
2015-06-30 05:55:43 -04:00
Steve Pulec
70aafc1fd3
Add basic KMS key endpoints.
2015-06-30 05:44:39 -04:00
MurphyMarkW
b82d0264dc
Fixes suffix range requests to truncate ranges.
2015-06-30 02:04:30 -05:00
MurphyMarkW
723b743381
Modifies check for last-byte-pos.
2015-06-30 00:26:42 -05:00
MurphyMarkW
2cdab4cab9
Fixes last-byte-pos interpretation.
2015-06-29 20:25:22 -05:00
Steve Pulec
0ec6f87268
0.4.4
2015-06-29 21:03:09 -04:00
Steve Pulec
a3d5c771ef
Merge pull request #367 from spg/fix/iam_get_role
...
IAM: unnecessary check for role
2015-06-29 21:00:48 -04:00
Simon-Pierre Gingras
9a2e7ad8b0
IAM: unnecessary check for role
2015-06-29 11:04:40 -04:00
Steve Pulec
185b49ad66
Merge pull request #366 from spg/fix/iam_get_role
...
IAM: get_role should thrown when role is unexisting
2015-06-29 10:51:47 -04:00
Simon-Pierre Gingras
db7d7a9330
IAM: get_role should thrown when role is unexisting
2015-06-29 10:46:05 -04:00
Marco Rucci
6e97bec006
Add support for alias records in Route53.
2015-06-28 17:27:24 +02:00
Steve Pulec
3ed9428cb0
Cleanup class decorator. Closes #363 .
2015-06-27 19:01:01 -04:00
Steve Pulec
5ee1525cd8
Fix S3 missing key error. Closes #364 .
2015-06-27 17:56:37 -04:00
Steve Pulec
20306c9b24
Set more default datetimes.
2015-06-22 17:02:10 -04:00
Steve Pulec
640cd2ce44
Better EC2 NIC Attachment datetimes.
2015-06-22 16:52:12 -04:00
Daniel O'Connell
5cc8f9ed21
S3_BUCKET_VERSIONING and S3_BUCKET_GET_VERSIONING were generating invalid XML, as the '<?xml version="1.0" encoding="UTF-8"?>' bit must be on the first line.
2015-06-12 08:56:14 +02:00
Steve Pulec
77af26987f
0.4.3
2015-06-09 22:03:50 -04:00
Steve Pulec
62f82cea03
Python3 fix.
2015-06-05 21:37:47 -04:00
Steve Pulec
57f1199b35
Fix route53 multiple values bug. Closes #358 .
2015-06-05 21:29:20 -04:00
Steve Pulec
1177985e19
Python 3 fixes.
2015-06-05 19:56:43 -04:00
Steve Pulec
625b1d2ac6
Add basics of Glacier.
2015-06-05 19:36:43 -04:00
Steve Pulec
7156df1a63
Add vault operations.
2015-06-03 22:55:07 -04:00
Steve Pulec
91fffbb83b
Add basics for S3 bucket lifecycles.
2015-06-02 23:11:23 -04:00
Steve Pulec
72dbd349ac
Merge pull request #355 from deuxpi/cloudwatch-put-metric-data
...
Add put_metric_data and list_metrics
2015-05-29 23:36:23 -04:00
Steve Pulec
6a0e8df189
Merge pull request #354 from silveregg/0.4.1-threadsafe
...
threadsafe fix
2015-05-29 23:34:55 -04:00
Steve Pulec
8fa80b87e2
Add version to moto.__init__ Closes #353 .
2015-05-29 23:32:29 -04:00
Steve Pulec
0195e04053
Allow deleting of SQS invisible messages. Closes #352 .
2015-05-29 23:26:43 -04:00
Steve Pulec
6b44e41249
Add SQS purge_queue action. Closes #349 .
2015-05-29 23:21:14 -04:00
Philippe Gauthier
d5d9c13975
Add put_metric_data and list_metrics
2015-05-29 17:34:36 -04:00
Jeffrey Gelens
450d14b4eb
Fix ValueError for Python 2.6
2015-05-29 11:43:24 +02:00
Jeffrey Gelens
e722b67f36
Merge branch 'master' of https://github.com/spulec/moto into 0.4.1-threadsafe
...
* 'master' of https://github.com/spulec/moto : (25 commits)
Add @zkourouma to authors.
0.4.2
Fix bug where listener certificate was not being saved correctly when creating an elb. Added test to cover that case.
[dynamodb2] adds lookup method to Table class
Add IAM list_groups and list_groups_for_user. Closes #343 .
Fix for deleting Route53 record sets with set identifiers. Closes #342 .
Use dummy date instead of an invalid date
Adding support for comments on hosted zones.
Add availability zone support to Subnets created via CloudFormation
Make availability zone dynamic in Subnet Response templates
Add filter "availabilityZone" to DescribeSubnets and add availability zone support too
allow starting without reseting
Fix bug with empty string for instance vpc_id. Closes #337 .
Fix default security group description.
Update responses.py
Add @mrucci to authors.
Fix merge conflicts.
Add support for ELB attributes.
cast to int when doing math.
General cleanup.
...
2015-05-29 11:35:14 +02:00
Jeffrey Gelens
f5c4ac0b44
Merge branch 'master' of https://github.com/silveregg/moto into 0.4.1-threadsafe
...
* 'master' of https://github.com/silveregg/moto : (22 commits)
filtering the items is needed because of defaultdict is not threadsafe and returns an empty dict which results in an exception here
add tests for list_endpoints_by_platform_application
add mock for list_endpoints_by_platform_application method
[S3]Only add multipart part_id to partlist if it is not already in there. Closes #324 .
Fix etag for reduced min part size.
Add test_multipart_duplicate_upload
Fix reduced_min_part_size so that tests run
Fix authors
Add @mikegrima to authors
Fixed how parameters are passed in following clarification on GitHub comments.
Added in test for the boto IAM method: list_instance_profiles_for_role()
Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both
Add support to AWS::EC2::SecurityGroupIngress creation
Add @aaltepet to authors.
Add publish command.
Add support to tag filtering to Security Groups
slight change in formatting
fix test for ec2 instance type filter
Update minimum support boto version.
support 'instance_type' filter
...
2015-05-29 11:34:23 +02:00
Kevin Donnelly
3c75e0ef2e
Fix bug where listener certificate was not being saved correctly when
...
creating an elb. Added test to cover that case.
Paired with @jszwedko
2015-05-20 19:42:58 +00:00
Zack Kourouma
f03ded7e90
[dynamodb2] adds lookup method to Table class
...
includes additional test coverage
2015-05-20 11:20:16 -04:00
Michael
5da5c571a9
filtering the items is needed because of defaultdict is not threadsafe and returns an empty dict which results in an exception here
2015-05-20 09:36:40 +02:00
Steve Pulec
be5f041416
Add IAM list_groups and list_groups_for_user. Closes #343 .
2015-04-30 19:32:53 -04:00
Steve Pulec
d1c823e0d8
Fix for deleting Route53 record sets with set identifiers. Closes #342 .
2015-04-30 18:51:01 -04:00
Francisco De Freitas
e320190b42
Use dummy date instead of an invalid date
2015-04-28 13:39:48 +02:00
Philip Corliss
b27f3c3d9f
Adding support for comments on hosted zones.
...
Paired with @kpdonn
2015-04-23 19:01:20 +00:00
Steve Pulec
7382201dd7
Merge pull request #339 from porterjamesj/allow-start-without-reset
...
allow starting without reseting
2015-04-09 23:04:44 -04:00
Hugo Lopes Tavares
5160fac9b7
Add availability zone support to Subnets created via CloudFormation
2015-04-08 16:48:02 -04:00
Hugo Lopes Tavares
65d51a5844
Make availability zone dynamic in Subnet Response templates
2015-04-08 16:47:43 -04:00
Hugo Lopes Tavares
56cb06041c
Add filter "availabilityZone" to DescribeSubnets and add availability zone support too
2015-04-08 15:07:29 -04:00
James Porter
fae22fd872
allow starting without reseting
2015-04-02 22:47:11 -05:00
Steve Pulec
82214d2bc2
Fix bug with empty string for instance vpc_id. Closes #337 .
2015-03-28 14:30:30 -04:00
Steve Pulec
bdfbdd8b1c
Fix default security group description.
2015-03-28 14:13:28 -04:00
Tin Tvrtković
8327055239
Update responses.py
...
Add a dummy NextToken to sns.list_platform_applications. Ideally the library would actually paginate, but this should be an alright change in the mean time.
2015-03-26 16:24:48 +01:00
Steve Pulec
a97beb0598
Fix merge conflicts.
2015-03-22 16:00:16 -04:00
Steve Pulec
f2bfcfb803
Merge pull request #335 from mrucci/elb-attributes-support
...
Add support for ELB attributes.
2015-03-22 15:55:26 -04:00
Marco Rucci
08468e5f73
Add support for ELB attributes.
2015-03-22 15:35:27 +01:00
Chris Henry
4626fc0fea
cast to int when doing math.
2015-03-21 21:54:25 -04:00
Jeffrey Gelens
c2f2c16892
Fixed non threadsafe code
2015-03-16 13:13:40 +01:00
Steve Pulec
c0d19ab178
General cleanup.
2015-03-14 18:55:44 -04:00
Steve Pulec
6c9bba2ca1
Cleanup EC2 classic default security group.
2015-03-14 18:50:41 -04:00
Steve Pulec
82f19952dd
Add Dynamodb2 global indexes. Closes #329 .
2015-03-14 15:02:43 -04:00
Steve Pulec
ca39591ef2
Fix error string formatting for py26.
2015-03-14 09:19:36 -04:00
Steve Pulec
e2d75cba2c
Remove dict comprehension for py2.6
2015-03-14 09:13:58 -04:00
Steve Pulec
706c60175b
Add SNS applications and endpoints.
2015-03-14 09:06:31 -04:00
Jair Henrique
e23edaa47f
add mock for list_endpoints_by_platform_application method
2015-03-06 14:10:47 -03:00
Steve Pulec
07dd6e554e
[S3]Only add multipart part_id to partlist if it is not already in there. Closes #324 .
2015-03-05 19:32:02 -05:00
Steve Pulec
2cd633e27d
Merge pull request #323 from mikegrima/mgrima-add-boto-test-list_instance_profiles_for_role
...
Added in test for the boto IAM method: list_instance_profiles_for_role()
2015-02-27 15:32:16 -05:00
Mike Grima
70315fd67c
Fixed how parameters are passed in following clarification on GitHub comments.
2015-02-27 12:22:31 -08:00
Mike Grima
3a357c0fe3
Added in test for the boto IAM method: list_instance_profiles_for_role()
2015-02-26 21:28:15 -08:00
Hugo Lopes Tavares
4beda26007
Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both
2015-02-25 18:11:00 -05:00
Hugo Lopes Tavares
dc351dfc9e
Add support to AWS::EC2::SecurityGroupIngress creation
2015-02-25 12:20:25 -05:00
Steve Pulec
c0e80de4d3
Merge pull request #317 from spulec/ec2-security-group-tag-filtering
...
Add support to tag filtering to Security Groups
2015-02-24 18:00:51 -05:00
Hugo Lopes Tavares
20d8318997
Add support to tag filtering to Security Groups
2015-02-24 17:56:26 -05:00
Andy Altepeter
e17c7bbd7a
support 'instance_type' filter
2015-02-23 11:03:59 -06:00
Andy Altepeter
53ec30e3ba
support 'tag-key' instance type
2015-02-23 10:45:16 -06:00
John Lynn
0496d4669e
Fix bucket versioning when running under moto_server
2015-02-22 22:22:41 +07:00
Konstantinos Koukopoulos
f46c2508c0
allow running mock_s3 and mock_s3bucket_path one after the other
2015-02-20 21:50:49 +02:00
Steve Pulec
747563e4ff
Cleanup tag escape testing.
2015-02-17 22:18:40 -05:00
Steve Pulec
f7bd9f9f68
Merge pull request #307 from dbrandenburg/master
...
Escaping tags individually for building the describe_tags template
2015-02-17 22:17:07 -05:00
Hugo Lopes Tavares
8d25aa2529
Add support to create AWS::EC2::VPCPeeringConnection through the CloudFormation interface
2015-02-17 14:40:48 -05:00
Dennis Brandenburg
3bd1a62fe3
Escaping tags individually for building the describe_tags template to support get_all_tags
2015-02-17 10:23:15 +01:00
Mike Fuller
95e48336d9
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-02-17 07:04:33 +11:00
Chris Henry
af41f69da0
fix: put db name in quotes, if present.
2015-02-15 18:51:34 -05:00
Steve Pulec
136873d49e
Cleanup public IPs for EC2 classic instances and fix some default ENI things.
2015-02-14 14:42:20 -05:00
Steve Pulec
95b1fa42b2
Add EMR clusters and tagging.
2015-02-14 12:00:14 -05:00
Steve Pulec
5ededbb297
Fix security group tags. Closes #301 .
2015-02-14 08:57:14 -05:00
Steve Pulec
31bf84b363
Fix six import. Closes #299 .
2015-02-14 08:43:17 -05:00
Steve Pulec
53a6d2466b
Merge pull request #298 from kouk/ranged_get
...
support ranged get in S3
2015-02-14 08:35:23 -05:00
Steve Pulec
4d4cb39769
Merge pull request #297 from kouk/multipart_errors
...
Support for client supplied part order in multipart uploads
2015-02-14 08:30:10 -05:00
Steve Pulec
2bc771349a
Merge pull request #302 from spulec/fix-cloudformation-vpc-gateway-attachment-creation
...
Attach internet gateway to VPC when it is created through CloudFormation
2015-02-11 18:26:00 -05:00
Hugo Lopes Tavares
1546635fcd
Attach internet gateway to VPC when it is created through CloudFormation
2015-02-11 18:19:40 -05:00
Konstantinos Koukopoulos
e1163e5223
fix some boundary conditions
2015-02-10 19:43:24 +02:00
Konstantinos Koukopoulos
261328d449
set content-range header so boto knows this is a ranged response
2015-02-10 19:15:10 +02:00
Konstantinos Koukopoulos
418a6a118e
return proper status codes in range get, fix suffix range
2015-02-10 19:14:47 +02:00
Konstantinos Koukopoulos
9efd12c43c
support more range specifiers in ranged gets
2015-02-10 17:55:44 +02:00
Konstantinos Koukopoulos
dbf1e64d44
support ranged get in S3
2015-02-10 17:28:18 +02:00
Konstantinos Koukopoulos
2dd174b577
use request body in complete upload, improve exception handling
2015-02-10 16:56:56 +02:00
Konstantinos Koukopoulos
7250186c26
support multipart uploads when parts are uploaded out of order
2015-02-10 16:45:31 +02:00
Konstantinos Koukopoulos
1460a5a3c7
refactor S3 exceptions to inherit from RESTError
2015-02-10 15:33:18 +02:00
Konstantinos Koukopoulos
7c719269be
create a base RESTError exception
2015-02-10 15:31:28 +02:00
Mike Fuller
abae19d273
fixing up base64 encoding for python 3 back to using base64 module
2015-02-05 17:07:08 +11:00
Mike Fuller
d0a60d8702
fixing up base64 encoding for python 3
2015-02-05 17:03:11 +11:00
Mike Fuller
d1f82b83ec
Merge remote-tracking branch 'upstream/master' into adding_iam_credentials_report
2015-02-04 12:40:36 +11:00
Mike Fuller
ffff67692c
encode credential_report to ascii to help the base64 encoding work.
2015-02-04 12:39:28 +11:00
Steve Pulec
ea07dd1cc7
Merge pull request #292 from mfulleratlassian/adding_rds2_support
...
Adding rds2 support
2015-02-03 20:26:25 -05:00
Hugo Lopes Tavares
c40437398f
Add StorageType and Iops elements to DBInstance XML response
2015-02-03 16:50:14 -05:00
Mike Fuller
96e5f2875d
Merge remote-tracking branch 'upstream/master' into adding_iam_credentials_report
2015-02-03 09:43:55 +11:00
Mike Fuller
5eab1901e4
added get/generate credential report to mock_iam
2015-02-03 09:42:57 +11:00
Hugo Lopes Tavares
c0cbd59167
Make RDS interface work with us-east-1 region
2015-02-02 16:37:57 -05:00
Mike Fuller
41507e4baa
Fixes for tests run on python 2.6.9
2015-01-30 19:54:43 +11:00
Mike Fuller
cff5238929
Fixed up use of format using {} instead of {0} which seams to break python 2.6.x
2015-01-30 17:28:41 +11:00
Mike Fuller
d350ac438e
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-30 17:14:13 +11:00
Mike Fuller
0d958e9b1c
Added read replica support
2015-01-30 17:12:51 +11:00
Steve Pulec
06476ccb3a
Merge pull request #291 from jbalogh/delimiter
...
Folder results should include the delimiter.
2015-01-29 22:49:09 -05:00
Mike Fuller
42ab9312bb
Added db_subnet_group support
2015-01-30 08:18:15 +11:00
Jeff Balogh
c7bf6ffc91
Folder results should include the delimiter.
2015-01-29 09:20:40 -08:00
Josh Palmer
7e3516f997
Added support for listing multipart uploads with prefix.
2015-01-29 17:24:23 +01:00
Mike Fuller
8614b50898
Added DB Security Group Create/List/Delete/Authorize
2015-01-29 17:25:39 +11:00
Mike Fuller
3d431664f7
Added some TODOs for my memory.
2015-01-29 07:31:11 +11:00
Mike Fuller
884bd51604
Added tests add/remove/list tags on option groups
2015-01-29 07:24:03 +11:00
Mike Fuller
e42046aeda
extended the list/add/delete tags functions to support more resource types.
2015-01-29 07:15:03 +11:00
Mike Fuller
15fcec9c33
Returning dymanic response for add_tags_to_resource
2015-01-28 10:24:11 +11:00
Mike Fuller
10c0ffc2f2
Added remove_tags_from_resource for rds db and add_tags_to_resource for rds db.
2015-01-28 10:17:55 +11:00
Chris Henry
f78d3b79df
Fix json templates to include DBInstance element.
2015-01-27 01:53:42 -05:00
Chris Henry
df036fe207
rds2 model fixes.
...
* Add the endpoint data to the to_json function.
* Remove the DBInstance key from the to_json template.
2015-01-27 01:28:38 -05:00
Mike Fuller
2dde94c9be
Storing tags on create db instance and getting tags back in list_tags_for_resource
2015-01-27 09:04:39 +11:00
Mike Fuller
6559d11dd5
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-27 08:24:54 +11:00
Mike Fuller
6232abfe2d
Added reboot instance and list_tags_for_resource. Still need to get the tags populated.
2015-01-27 08:21:48 +11:00
Chris Henry
bba08f05b1
Change the describe subnet groups over to json.
2015-01-26 15:38:56 -05:00
Chris Henry
1ccf1191cd
Instead of a regex, add a second url pattern
2015-01-26 13:54:40 -05:00
Chris Henry
2352e27c3e
Remove todo.
2015-01-26 13:35:28 -05:00
Chris Henry
25d0c0926d
Change CREATE_SUBNET_GROUP_TEMPLATE to json.
2015-01-26 13:34:21 -05:00
Chris Henry
850b15d849
Add a to_json method to SubnetGroup.
2015-01-26 13:33:46 -05:00
Chris Henry
4f822f58e8
Loosen the url pattern a bit. I was seeing boto send requests to rds.amazonaws.com
2015-01-26 13:33:11 -05:00
dreadpirateshawn
d631f869c1
ModifyImageAttribute: Added support for user permissions.
2015-01-23 09:43:54 -08:00
Steve Pulec
dd5cab8c63
Return random IP addresses for instances.
2015-01-21 21:58:38 -05:00
Mike Fuller
8671f1e29f
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-22 07:22:50 +11:00
Mike Fuller
242e29a7c1
rds2 modify_db_instance, small code tidy ups
2015-01-22 07:21:49 +11:00
Mike Fuller
4b838f6114
Added some TODOs to ensure I dont forget.
2015-01-21 07:18:56 +11:00
Mike Fuller
6fad81aabf
I have delete options for the modify_option_group method but for the life of me. I cannot work out how to use this function to add options to an option_group.
2015-01-21 07:15:47 +11:00
Mike Fuller
dfb33aaad3
Started implementing modify_option_group.
2015-01-20 21:01:34 +11:00
Mike Fuller
a43b002c3a
Added describe_option_group_options.
2015-01-20 07:18:52 +11:00
Steve Pulec
b1c41820f7
Cleanup EC2 launch time code a bit.
2015-01-19 13:44:15 -05:00
Mike Fuller
503d46d36a
Added decribe_option_groups and delete_option_group support
2015-01-19 20:29:32 +11:00
Mike Fuller
40db44f2cd
Added Exceptions on create_option_group
2015-01-19 17:03:14 +11:00
Chris Henry
6743a41b26
Fix merge conflict,
2015-01-18 16:37:56 -05:00
Chris Henry
1f2a913d3a
Merge branch 'master' of github.com:behanceops/moto into feature-instance-launch-time
...
Conflicts:
moto/ec2/models.py
2015-01-18 16:37:27 -05:00
Mike Fuller
e2ed5ed733
Merge remote-tracking branch 'upstream/master' into adding_rds2_support
2015-01-19 08:22:27 +11:00
Chris Henry
19a1b74c5b
Change timestamp format to ISO 8601, as per http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html
2015-01-18 16:20:59 -05:00
Chris Henry
77185f9bee
Change timestamp format to ISO 8601, as per http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html
2015-01-18 16:18:34 -05:00
Mike Fuller
c6437930de
fixed up tests for create_option_group, fixed return json to have major_version correct
2015-01-19 08:06:37 +11:00
Chris Henry
062256ada3
Use the current time when launching an instance.
2015-01-18 15:53:59 -05:00
Mike Fuller
8c16517f10
building out new RDS2 Mock.
...
completed:
* create_db_instance()
* create_option_group()
2015-01-19 07:38:10 +11:00
Steve Pulec
c22ea3014b
Add SNS topics to cloudformation.
2015-01-17 19:48:08 -05:00
Steve Pulec
f19fdc9802
Cleaner code.
2015-01-17 19:10:19 -05:00
Steve Pulec
585ef7b768
Add route53 health checks.
2015-01-17 19:06:43 -05:00
Steve Pulec
adb26986eb
Add route53 ResourceSet to Cloudformation.
2015-01-17 15:37:46 -05:00
Steve Pulec
42cd333d51
Refactor Route53 record sets.
2015-01-17 14:50:19 -05:00
Steve Pulec
5d5f241b99
Add route53 support to cloudformation.
2015-01-17 10:17:25 -05:00
Steve Pulec
4c40f39a68
Fix for py26.
2015-01-11 16:27:02 -05:00
Steve Pulec
166f4893ba
Add cloudformation for RDS.
2015-01-11 16:15:08 -05:00
Steve Pulec
12118374bd
Add database replicas.
2015-01-10 13:50:37 -05:00
Steve Pulec
7559fbe0d1
Add RDS Subnet groups
2015-01-09 00:17:20 -05:00
Steve Pulec
809046e00e
Add RDS security groups.
2015-01-08 23:44:05 -05:00
Steve Pulec
dbe3eb5459
Add database CRUD.
2015-01-08 22:18:06 -05:00
Steve Pulec
e05a061993
Add support for Cloudformation Mappings.
2015-01-07 22:32:51 -05:00
Steve Pulec
b8a11b7b8d
Python 3 fixes.
2015-01-07 21:40:03 -05:00
Steve Pulec
8da6437689
Add some support for Cloudformation Conditions. Closes #285 .
2015-01-07 21:37:12 -05:00
Steve Pulec
1e4df18c42
Allow actual use of cloudformation input parameters.
2014-12-31 14:21:47 -05:00
Steve Pulec
56007660d8
Cleanup parameter parsing.
2014-12-31 13:23:08 -05:00
Steve Pulec
fceeed0c9f
PY3 fixes.
2014-12-29 22:17:50 -05:00
Steve Pulec
186ee6a5a4
Add cloudformation stack parsing for S3 keys.
2014-12-29 22:12:23 -05:00
dreadpirateshawn
aff5dd408c
Performance: Leverage jinja2's Environment to cache compiled Templates. (fixed merge)
2014-12-12 13:05:46 -08:00
dreadpirateshawn
7ce83082ca
Merge remote-tracking branch 'origin/master' into ImproveTemplatePerformance
...
Conflicts:
moto/s3/responses.py
2014-12-12 12:51:29 -08:00
dreadpirateshawn
9affa7753d
Performance: Leverage jinja2's Environment to cache compiled Templates.
2014-12-12 12:46:07 -08:00
Steve Pulec
4ab3b318eb
Add S3 location response. Closes #279 .
2014-12-10 20:44:00 -05:00
Steve Pulec
a2e56afef8
Add special S3 bucket create logic for us-east-1. Closes #273 .
2014-12-10 20:20:51 -05:00
Steve Pulec
845c468f32
Merge pull request #278 from cameron-r/master
...
Add filtering of instances by security group id
2014-12-10 20:11:25 -05:00
Cameron Rowshanbin
573a73aa01
With @ethome, add filtering of instances by security group id
2014-12-10 11:53:40 -06:00
Tyler Sanders
b513d69313
Add support for route table routes to target virtual private gateways.
2014-12-09 12:07:14 -06:00
Steve Pulec
3a82f089a2
Cleanup metadata setting and add fix for multipart uploads. Closes #274 .
2014-12-07 12:43:14 -05:00
Steve Pulec
6331c2e1f1
IAM py3 fix.
2014-12-06 19:42:42 -05:00
Steve Pulec
20dda251f8
Updates for IAM changes.
2014-12-06 19:37:10 -05:00
Steve Pulec
7b81a0cb95
Merge branch 'enhancedIamRoleSupport' of https://github.com/kevgliss/moto into kevgliss-enhancedIamRoleSupport
2014-12-06 19:31:18 -05:00
Tyler Sanders
db7757347a
Detach virtual private gateway support
2014-12-02 10:40:05 -06:00
Tyler Sanders
166fd69515
Virtual Private Gateway functionality
2014-12-02 10:28:09 -06:00
Kevin Glisson
3e45758663
Removing duplicate import
2014-11-30 20:23:56 -08:00
Kevin Glisson
cc312d29fc
Adding put_role_policy, get_role_policy, and list_role_policies, update_assume_role_policy
2014-11-30 20:11:13 -08:00
Kevin Glisson
7f6af025f3
Create role does not allow for document policies to be passed to it
2014-11-30 11:16:29 -08:00
Steve Pulec
1a015d0e39
Cleanup some incorrect date formats.
2014-11-29 23:34:40 -05:00
Steve Pulec
c5487a4464
Add compat file for Py26 OrderedDict.
2014-11-29 22:43:30 -05:00
Steve Pulec
d24099c401
Add proper SNS paging. Closes #144 , #145 .
2014-11-29 22:37:48 -05:00
Steve Pulec
e66916d5f1
Start to add basic support for dynamodb2 item updating. Closes #16 .
2014-11-29 22:03:29 -05:00
Tyler Sanders
7476c63119
Update upstream branch 'master' into instance_modify_security_groups
2014-11-27 11:14:46 -06:00
Tyler Sanders
9cbe8d57f4
Support instance security group/groupSet attribute modification and description
2014-11-27 11:05:39 -06:00
Steve Pulec
e88e3d5372
S3 Fixes for special metadata headers.
2014-11-27 10:43:10 -05:00
Kyohei Akiyama
1a61b973e4
The filter condition was added to VPC and RouteTable class.
2014-11-27 03:54:42 +00:00
Steve Pulec
45de4a46ec
Better sequence start and end numbers.
2014-11-26 21:55:01 -05:00
Steve Pulec
c63b00b8ba
Fixes for other python versions.
2014-11-26 21:04:44 -05:00
Steve Pulec
57d45aa4b8
Add more shard iterator types.
2014-11-26 20:49:21 -05:00
Steve Pulec
38a4734f95
Fixes for py26 and py33.
2014-11-26 11:13:43 -05:00
Steve Pulec
da15fb711d
Basic Kinesis Stream CRUD.
2014-11-26 10:55:58 -05:00
Steve Pulec
5bbcc4505f
Add cluster parameter groups.
2014-11-23 23:03:10 -05:00
Steve Pulec
2418c83252
Fixes for VPC security groups.
2014-11-23 22:33:53 -05:00
Steve Pulec
2e484a895b
Fix for default security group.
2014-11-23 22:21:29 -05:00
Steve Pulec
25a31ee88a
Add cluster security groups.
2014-11-23 22:17:36 -05:00
Steve Pulec
ef3e5448ea
Add cluster subnet group CRUD.
2014-11-23 21:36:19 -05:00
Steve Pulec
72a7946126
Cleanup default parameters.
2014-11-23 18:16:22 -05:00
Steve Pulec
aceb30e530
Add basic CRUD.
2014-11-22 14:03:09 -05:00
Steve Pulec
9024066957
Fixes for some S3 Unicode issues. Closes #158 .
2014-11-22 10:19:56 -05:00
Tyler Sanders
1fc32fa5cb
Add support for Route Table tagging
2014-11-20 14:08:38 -06:00
Tyler Sanders
d511fd829b
Add support for Network ACL tagging
2014-11-20 12:04:34 -06:00
Steve Pulec
8d6868f9d3
For S3 Key Head requests, just return the real body for now so that key length works. Closes #131 .
2014-11-19 21:06:23 -05:00
Steve Pulec
8954242086
Better is_public support for AMIs including filtering. Closes #263 .
2014-11-19 20:09:46 -05:00
Tyler Sanders
2a6c4c89bf
Fix conflict with subnet/network ACL association during subnet creation.
2014-11-17 09:37:38 -06:00
Tyler Sanders
d89dce2583
Use items() instead of iteritems() for Python 3 compatibility
2014-11-17 08:54:06 -06:00
Steve Pulec
828ed13bde
Allow for class-based decorator. Closes #157
2014-11-16 19:05:28 -05:00
Steve Pulec
16660ab72b
Allow message passing to SQS queues in different regions from SNS.
2014-11-16 18:42:53 -05:00
Steve Pulec
53acdf6c76
Make SNS multi-region.
2014-11-16 18:35:11 -05:00
Steve Pulec
aa7233a2db
Fixes for multi-region SQS.
2014-11-16 17:57:46 -05:00
Steve Pulec
1f8253a1a1
Cleanup the default region backends.
2014-11-15 14:21:58 -05:00
Steve Pulec
bd847bd941
Cleanup multi-region support for ELB, SQS, Cloudformation, EC2, Autoscaling.
2014-11-15 13:34:52 -05:00
Steve Pulec
c77207a8b8
More flake8.
2014-11-15 09:53:45 -05:00