Commit Graph

61 Commits

Author SHA1 Message Date
dependabot[bot]
3256af7454
Bump actions/checkout from 3 to 4 (#6773) 2023-09-05 17:33:10 +00:00
dependabot[bot]
d6ab0ac98b
Bump peter-evans/create-or-update-comment from 2 to 3 (#6200) 2023-04-11 18:22:21 +00:00
Bert Blommers
84ea0252f9
Admin: Skip long-running tests for small Java-updates (#6160) 2023-04-02 11:51:55 +00:00
Bert Blommers
98b02fc1a3
Admin: DotNet example project (#6110) 2023-03-24 09:46:37 -01:00
Bert Blommers
0fb00eda5f
Admin: Enable pushes to GHCR registry (#6080) 2023-03-16 20:22:02 -01:00
Bert Blommers
0e24b281eb
Admin: Introduce reusable CI workflows (#6004) 2023-03-03 13:12:16 -01:00
Bert Blommers
d525423f94
Admin: Add tests for Java SDK (#6002) 2023-03-02 13:28:21 -01:00
dependabot[bot]
67197cb8a5
Bump docker/build-push-action from 3 to 4 (#5884) 2023-01-31 10:14:04 -01:00
Bert Blommers
90150d30c6
Enable Apple M1 support for Docker-builds with latest-tag (#5864) 2023-01-22 15:48:46 -01:00
dependabot[bot]
c81bd9a1aa
Bump peter-evans/create-or-update-comment from 1 to 2 (#5859) 2023-01-20 17:38:42 -01:00
dependabot[bot]
76b3e90200
Bump docker/build-push-action from 2 to 3 (#5860) 2023-01-20 17:18:21 -01:00
Bert Blommers
27a2e42d9b
Admin: Update Docs to point to getmoto (#5826) 2023-01-07 10:35:14 -01:00
Bert Blommers
79a0b9070b
Move to pyproject.toml, instead of setup.py (#5821) 2023-01-06 18:43:16 -01:00
Bert Blommers
89fdf9dbcb
Remove Py3.6 support (#5818) 2023-01-06 11:07:20 -01:00
Bert Blommers
d551a4dffd
Admin: CI: Downgrade Ubuntu to ensure Py3.6 is available (#5744) 2022-12-08 22:05:14 -01:00
Bert Blommers
ecafc89153
TechDebt - Unpin coverage-dependency to speed up Py3.11 (#5629) 2022-11-02 20:00:51 -01:00
Bert Blommers
80db33cb44
Admin: Enable support for Py 3.11 (#5619) 2022-10-30 10:18:06 -01:00
Bert Blommers
bb540f6342
Techdebt: Parallelize more tests (#5464) 2022-09-15 12:27:07 +00:00
Bert Blommers
0c9906c5bb
Admin: Update Github Actions (#5422) 2022-08-25 19:03:30 +00:00
Bert Blommers
720bbe6433
Terraform Tests - update to latest TF branch (#5031) 2022-04-16 10:02:57 +00:00
Bert Blommers
afa34ffd8d
TimestreamWrite - improvements (#4971) 2022-03-26 20:25:56 -01:00
Bert Blommers
47ce689cb7
ELB/ELBv2 improvements (#4956) 2022-03-21 19:55:19 -01:00
Bert Blommers
0fca96cdab
Prep release 3.0.4 (#4871) 2022-02-18 10:54:58 -01:00
Bert Blommers
dce8cc0c04
SSM - Add random ZIP file to make Terraform happy (#4850) 2022-02-10 20:07:54 -01:00
Bert Blommers
2fd6f34060
EC2 - VpcEndpointServiceConfiguration (#4815) 2022-01-30 22:00:26 -01:00
Bert Blommers
d679a73a5f
Enable testing for Py3.10 (#4772) 2022-01-18 20:52:47 -01:00
Bert Blommers
9c8744ff64
Refactor Class-decorator logic to reset per test (#4419) 2022-01-18 16:58:21 -01:00
Bert Blommers
01ae8c01a6
Improve future interoperability with responses-module (#4753) 2022-01-12 20:58:41 -01:00
Bert Blommers
2407e969ac
Fix interoperability with responses 0.17.0 (#4749) 2022-01-12 12:16:02 -01:00
Bert Blommers
2c093abb29
Terraform - Force redownload of cache 2021-12-15 13:25:54 -01:00
Bert Blommers
ecc00606c4
Techdebt: Improve EC2 region handling (#4690) 2021-12-15 08:57:42 -01:00
Bert Blommers
9258316e16
Prep 2.2.17 release (#4642) 2021-11-29 19:35:18 -01:00
Bert Blommers
8526013e61
Parallelize tests - Part 1 (#4368) 2021-10-05 17:11:07 +00:00
Bert Blommers
67ec21eef8
Prep release 2.2.6 (#4238) 2021-08-28 17:13:52 +01:00
Bert Blommers
8f79edba38
Request matching - return known requests first (#3793) 2021-08-28 13:34:32 +01:00
Bert Blommers
9f47c0c7d3
CI config - fix indentation 2021-08-28 11:23:02 +01:00
Bert Blommers
b43dc777fb
Release latest Docker image every dev release (#3747) 2021-08-28 11:05:19 +01:00
Bert Blommers
5c24071f43
Support Python 3.9 (#3848) 2021-08-22 11:33:16 +01:00
Bert Blommers
bac013c15a
Update build.yml 2021-08-18 13:21:19 +01:00
Bert Blommers
c296a9431e
Resolve coverage dependency conflict (#4191) 2021-08-18 09:19:27 +01:00
Bert Blommers
c5b63693b5
Admin - Parallelize TF test runs in CI (#4177) 2021-08-15 12:03:23 +01:00
Bert Blommers
67199d9828
Use upstream TF test repo (#4163) 2021-08-12 16:55:53 +01:00
Mohit Alonja
911d29cc33
Added support for tgw peering attachment (#4115)
* Added required params to run the terraform test
2021-08-03 07:58:25 +01:00
Waldemar Hummer
f4f8527955
Merge LocalStack changes into upstream moto (#4082)
* fix OPTIONS requests on non-existing API GW integrations

* add cloudformation models for API Gateway deployments

* bump version

* add backdoor to return CloudWatch metrics

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* bump version

* minor fixes

* fix Number data_type for SQS message attribute

* fix handling of encoding errors

* bump version

* make CF stack queryable before starting to initialize its resources

* bump version

* fix integration_method for API GW method integrations

* fix undefined status in CF FakeStack

* Fix apigateway issues with terraform v0.12.21
* resource_methods -> add handle for "DELETE" method
* integrations -> fix issue that "httpMethod" wasn't included in body request (this value was set as the value from refer method resource)

* bump version

* Fix setting http method for API gateway integrations (#6)

* bump version

* remove duplicate methods

* add storage class to S3 Key when completing multipart upload (#7)

* fix SQS performance issues; bump version

* add pagination to SecretsManager list-secrets (#9)

* fix default parameter groups in RDS

* fix adding S3 metadata headers with names containing dots (#13)

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* make CF stack queryable before starting to initialize its resources

* bump version

* remove duplicate methods

* fix adding S3 metadata headers with names containing dots (#13)

* Update amis.json to support EKS AMI mocks (#15)

* fix PascalCase for boolean value in ListMultipartUploads response (#17); fix _get_multi_param to parse nested list/dict query params

* determine non-zero container exit code in Batch API

* support filtering by dimensions in CW get_metric_statistics

* fix storing attributes for ELBv2 Route entities; API GW refactorings for TF tests

* add missing fields for API GW resources

* fix error messages for Route53 (TF-compat)

* various fixes for IAM resources (tf-compat)

* minor fixes for API GW models (tf-compat)

* minor fixes for API GW responses (tf-compat)

* add s3 exception for bucket notification filter rule validation

* change the way RESTErrors generate the response body and content-type header

* fix lint errors and disable "black" syntax enforcement

* remove return type hint in RESTError.get_body

* add RESTError XML template for IAM exceptions

* add support for API GW minimumCompressionSize

* fix casing getting PrivateDnsEnabled API GW attribute

* minor fixes for error responses

* fix escaping special chars for IAM role descriptions (tf-compat)

* minor fixes and tagging support for API GW and ELB v2 (tf-compat)

* Merge branch 'master' into localstack

* add "AlarmRule" attribute to enable support for composite CloudWatch metrics

* fix recursive parsing of complex/nested query params

* bump version

* add API to delete S3 website configurations (#18)

* use dict copy to allow parallelism and avoid concurrent modification exceptions in S3

* fix precondition check for etags in S3 (#19)

* minor fix for user filtering in Cognito

* fix API Gateway error response; avoid returning empty response templates (tf-compat)

* support tags and tracingEnabled attribute for API GW stages

* fix boolean value in S3 encryption response (#20)

* fix connection arn structure

* fix api destination arn structure

* black format

* release 2.0.3.37

* fix s3 exception tests

see botocore/parsers.py:1002 where RequestId is removed from parsed

* remove python 2 from build action

* add test failure annotations in build action

* fix events test arn comparisons

* fix s3 encryption response test

* return default value "0" if EC2 availableIpAddressCount is empty

* fix extracting SecurityGroupIds for EC2 VPC endpoints

* support deleting/updating API Gateway DomainNames

* fix(events): Return empty string instead of null when no pattern is specified in EventPattern (tf-compat) (#22)

* fix logic and revert CF changes to get tests running again (#21)

* add support for EC2 customer gateway API (#25)

* add support for EC2 Transit Gateway APIs (#24)

* feat(logs): add `kmsKeyId` into `LogGroup` entity (#23)

* minor change in ELBv2 logic to fix tests

* feat(events): add APIs to describe and delete CloudWatch Events connections (#26)

* add support for EC2 transit gateway route tables (#27)

* pass transit gateway route table ID in Describe API, minor refactoring (#29)

* add support for EC2 Transit Gateway Routes (#28)

* fix region on ACM certificate import (#31)

* add support for EC2 transit gateway attachments (#30)

* add support for EC2 Transit Gateway VPN attachments (#32)

* fix account ID for logs API

* add support for DeleteOrganization API

* feat(events): store raw filter representation for CloudWatch events patterns (tf-compat) (#36)

* feat(events): add support to describe/update/delete CloudWatch API destinations (#35)

* add Cognito UpdateIdentityPool, CW Logs PutResourcePolicy

* feat(events): add support for tags in EventBus API (#38)

* fix parameter validation for Batch compute environments (tf-compat)

* revert merge conflicts in IMPLEMENTATION_COVERAGE.md

* format code using black

* restore original README; re-enable and fix CloudFormation tests

* restore tests and old logic for CF stack parameters from SSM

* parameterize RequestId/RequestID in response messages and revert related test changes

* undo LocalStack-specific adaptations

* minor fix

* Update CodeCov config to reflect removal of Py2

* undo change related to CW metric filtering; add additional test for CW metric statistics with dimensions

* Terraform - Extend whitelist of running tests

Co-authored-by: acsbendi <acsbendi28@gmail.com>
Co-authored-by: Phan Duong <duongpv@outlook.com>
Co-authored-by: Thomas Rausch <thomas@thrau.at>
Co-authored-by: Macwan Nevil <macnev2013@gmail.com>
Co-authored-by: Dominik Schubert <dominik.schubert91@gmail.com>
Co-authored-by: Gonzalo Saad <saad.gonzalo.ale@gmail.com>
Co-authored-by: Mohit Alonja <monty16597@users.noreply.github.com>
Co-authored-by: Miguel Gagliardo <migag9@gmail.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2021-07-26 15:21:17 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Bert Blommers
0aa588f6aa
Pin pip (#4083) 2021-07-26 06:53:10 +01:00
Bert Blommers
e0d3b9145f
Terraform CI integration (#4081)
* CI - Add Terraform tests

* Relative paths

* Install TF cache only once
2021-07-24 14:49:43 +01:00
Bert Blommers
9e3faf7784
Make Moto (tests) compatible with flask/werkzeug 2.x (#3923)
* Dont fail if CodeCov fails - for now

* CI - Force cache rebuild

* Bump werkzeug to latest version

* CI - Enforce cache flush

* ManagedBlockchain - fix error format

* ManagedBlockchain - Fix tests to use pytest.raises paradigm

* Revert "Lock Flask (#3925)"

This reverts commit 8bb0feb956.

* CI - Enforce cache rebuild
2021-05-13 10:36:56 +01:00
Bert Blommers
ede2579836
Unpin LXML, and remove linux deps as they were only required when building lxml from source (#3874) 2021-04-24 09:33:00 +01:00
Bert Blommers
9fa7613c4d
PIP has reached EOL for Py2 - only update it for Py3 (#3838) 2021-04-06 10:02:34 +01:00