forked from getmoto/moto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/es_tagging_support
- Loading branch information
Showing
169 changed files
with
75,076 additions
and
27,425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Unit tests in Server Mode | ||
on: [workflow_call] | ||
|
||
jobs: | ||
cdk_start: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Start MotoServer | ||
run: | | ||
pip install build | ||
python -m build | ||
docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e MOTO_EC2_LOAD_DEFAULT_AMIS=false -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:${{ matrix.python-version }}-slim /moto/scripts/ci_moto_server.sh & | ||
python scripts/ci_wait_for_server.py | ||
- name: Install CDK | ||
id: install-cdk | ||
run: | | ||
sudo npm install -g aws-cdk | ||
- name: Init CDK APP | ||
run: | | ||
mkdir ~/.aws && touch ~/.aws/credentials && echo -e "[default]\naws_access_key_id = test\naws_secret_access_key = test" > ~/.aws/credentials | ||
mkdir cdk_example_app | ||
cd cdk_example_app | ||
cdk init app --language python | ||
source .venv/bin/activate | ||
pip install -r requirements.txt | ||
pip install -r requirements-dev.txt | ||
- name: Bootstrap CDK | ||
env: | ||
AWS_ENDPOINT_URL: "http://localhost:5000" | ||
run: | | ||
pwd | ||
ls -la | ||
cd cdk_example_app | ||
source .venv/bin/activate | ||
cdk bootstrap -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. _implementedservice_s3tables: | ||
|
||
.. |start-h3| raw:: html | ||
|
||
<h3> | ||
|
||
.. |end-h3| raw:: html | ||
|
||
</h3> | ||
|
||
======== | ||
s3tables | ||
======== | ||
|
||
.. autoclass:: moto.s3tables.models.S3TablesBackend | ||
|
||
|start-h3| Implemented features for this service |end-h3| | ||
|
||
- [X] create_namespace | ||
- [X] create_table | ||
- [X] create_table_bucket | ||
- [X] delete_namespace | ||
- [X] delete_table | ||
- [X] delete_table_bucket | ||
- [ ] delete_table_bucket_policy | ||
- [ ] delete_table_policy | ||
- [X] get_namespace | ||
- [X] get_table | ||
- [X] get_table_bucket | ||
- [ ] get_table_bucket_maintenance_configuration | ||
- [ ] get_table_bucket_policy | ||
- [ ] get_table_maintenance_configuration | ||
- [ ] get_table_maintenance_job_status | ||
- [ ] get_table_metadata_location | ||
- [ ] get_table_policy | ||
- [X] list_namespaces | ||
- [X] list_table_buckets | ||
- [X] list_tables | ||
- [ ] put_table_bucket_maintenance_configuration | ||
- [ ] put_table_bucket_policy | ||
- [ ] put_table_maintenance_configuration | ||
- [ ] put_table_policy | ||
- [X] rename_table | ||
- [X] update_table_metadata_location | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from moto.core.decorator import mock_aws as mock_aws | ||
|
||
__title__ = "moto" | ||
__version__ = "5.0.28.dev" | ||
__version__ = "5.0.29.dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.