Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dynamodb resource #910

Closed
wants to merge 86 commits into from
Closed
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
2933cb3
initial setup for dynamodb resource in proto and running generate tes…
mikegin May 9, 2023
58a1520
chore: update aws crates
paulotten May 9, 2023
b96908f
fix: remove accidental comment
paulotten May 9, 2023
c3469d2
wip add aws_sdk_dynamodb dependency - no errors
mikegin May 9, 2023
43d2516
Merge remote-tracking branch 'origin/paul/update_aws_crates' into fea…
mikegin May 9, 2023
fd59fd8
wip dynamodb resource - plan in code
mikegin May 11, 2023
2fcc78e
wip creating policy in request_dynamodb
mikegin May 11, 2023
43c9c71
wip dynamodb - working create policy
mikegin May 11, 2023
3a81659
wip dynamodb resource - delete policy working
mikegin May 11, 2023
0066045
wip dynamodb resource - working create and delete test
mikegin May 11, 2023
14b9a80
wip dynamodb resource - handle unwrap for create policy and add delet…
mikegin May 11, 2023
d7bec24
wip dynamo db resource - working on user identity functions
mikegin May 11, 2023
6a15ae5
wip dynamodb resource - create policy, delete policy, attach and deta…
mikegin May 12, 2023
3c68d92
wip dynamodb resource - createiamuser error + cleanup
mikegin May 12, 2023
0b947d7
wip dynamodb resource - add dynamodb resource
mikegin May 15, 2023
6a9cac4
wip dynamodb resource - testing git path for dynamodb resource in exa…
mikegin May 15, 2023
5fa30b0
wip dynamodb resource - add separate get_dynamodb_connection factory …
mikegin May 15, 2023
fe7d074
wip dynamodb resource - fix dynamodb resource output method
mikegin May 15, 2023
024a779
wip dynamodb resource - compiling dynamodb resource lib.rs
mikegin May 16, 2023
6efecbe
wip dynamodb resource - reexport DynamoDbReadyInfo in dynamodb resour…
mikegin May 16, 2023
2f566ce
add shuttle-dynamodb in prepare.sh
mikegin May 17, 2023
4475d9f
wip dynamodb resource - bump deploy temp fix wait time
mikegin May 17, 2023
05faf64
wip dynamodb resource - fix deployer tests
mikegin May 18, 2023
4b03dd4
wip dynamodb resource - update examples subrepo
mikegin May 18, 2023
0e59d45
wip dynamodb resource - add missing claim in get_dynamodb_connection …
mikegin May 18, 2023
059ef97
Merge remote-tracking branch 'upstream/main' into feature/dynamodb-re…
mikegin May 19, 2023
b772c59
wip dynamodb resource - working get_iam_identity_keys
mikegin May 22, 2023
0aeafd2
wip dynamodb resource - commit examples.diff
mikegin May 23, 2023
68ca808
wip dynamodb resource - working save and get access key
mikegin May 23, 2023
d07e9af
wip dynamodb resource - remove accidentally committed test code in li…
mikegin May 25, 2023
ca9b3ba
wip dynamodb resource - add delete_dynamo_db provisioner route + gene…
mikegin May 25, 2023
1022faf
wip dynamodb resource - working delete tables by prefix
mikegin May 25, 2023
a0737d0
wip dynamodb resource - refactor test delete dynamodb tables by prefix
mikegin May 25, 2023
7807d25
wip dynamodb resource - add missing fields in dummy provisioner
mikegin May 25, 2023
c0a5fc2
wip dynamodb resource - add missing field in provisioner mock in depl…
mikegin May 25, 2023
de4bcc1
wip dynamodb resource - commit cargo.lock updates
mikegin May 25, 2023
e4768e1
wip dynamodb resource - add delete saved access key
mikegin May 29, 2023
dae1f62
wip dynamodb resource - working local dynamodb provisioner
mikegin May 29, 2023
8e1e4cb
wip dynamodb resource - add delete dynamodb function to cargo shuttle…
mikegin May 29, 2023
86b6f7d
wip dynamodb resource - refactor common functions
mikegin May 29, 2023
8a189c4
wip dynamodb resource - add sha256 hash to prefix
mikegin May 30, 2023
e31b6e6
wip dynamodb resource - add delete access key and remove unwrap for d…
mikegin May 31, 2023
873e7d8
wip dyanmodb resource - handle unwraps in provisioner
mikegin May 31, 2023
2240a6c
wip dynamodb resource - revert sleep duration increase used for testing
mikegin May 31, 2023
31e328c
wip dynamodb resource - remove DynamoDBOutput struct and simplify Dyn…
mikegin May 31, 2023
6c84c41
wip dynamodb resource - minor comment changes
mikegin Jun 1, 2023
90e7a76
wipd dynamodb resource - run cargo fmt
mikegin Jun 1, 2023
7ddbc7e
wip dynamodb resource - cargo clippy fixes
mikegin Jun 1, 2023
2a01daa
wip dynamodb resource - cargo sort
mikegin Jun 1, 2023
164863f
Merge branch 'main' into feature/dynamodb-resource
mikegin Jun 1, 2023
3cab2cf
wip dynamodb resource - update Cargo.lock conflict (copy over main Ca…
mikegin Jun 1, 2023
8256b47
Merge branch 'main' into feature/dynamodb-resource
mikegin Jun 1, 2023
1fca079
wip dynamodb resource - remove patch.unused by commenting out .cargo …
mikegin Jun 1, 2023
f77c3d3
wip dynamodb resource - add missing method to mock factory in static-…
mikegin Jun 1, 2023
7fc0ed2
wip dynamodb resource - commit examples commit
mikegin Jun 1, 2023
0d0f893
wip dynamodb resource - run `cargo fmt --all --check --manifest-path …
mikegin Jun 1, 2023
4f1c9ce
wip dynamodb resource - cargo clippy provisioner test changes
mikegin Jun 1, 2023
f219360
Update deployer/src/deployment/run.rs
paulotten Jun 8, 2023
abd8b41
Update cargo-shuttle/src/provisioner_server.rs
paulotten Jun 8, 2023
2837e7d
Update runtime/tests/integration/helpers.rs
paulotten Jun 8, 2023
77363de
fix: `ignore` tests that require AWS credentials
paulotten Jun 8, 2023
f11b59d
wip dynamodb resource - refactor provisioner dynamodb stuff into sepa…
mikegin Jun 8, 2023
edc78a8
wip dynamodb resource - clippy + fmt
mikegin Jun 8, 2023
b41630d
wip dynamodb resource - refactor provisioner_server + fmt + clippy
mikegin Jun 8, 2023
bcaeb5f
wip dynamodb resource - removed unecessary clone() on reference
mikegin Jun 8, 2023
273f914
the DynamoDB local test container seems to need a few seconds to actu…
paulotten Jun 8, 2023
7415b4e
check if (local) DynamoDB is listenning on the expected port yet
paulotten Jun 9, 2023
9d59a2e
cargo fmt
paulotten Jun 9, 2023
cb155f2
Merge branch 'main' into feature/dynamodb-resource
paulotten Jun 9, 2023
0ac678d
update Cargo.lock
paulotten Jun 9, 2023
7575ee9
Update resources/dynamodb/Cargo.toml
paulotten Jun 9, 2023
5a112f7
Remove `aws_sdk_dynamodb` from common.
paulotten Jun 13, 2023
8656b30
provisioner: added persistent volume
iulianbarbu Jun 28, 2023
d4db741
dynamo_db: resolved conflicts with main
iulianbarbu Jun 29, 2023
3bfbfc7
cargo fmt
iulianbarbu Jun 29, 2023
d03cc69
turso/mockfactory: add get dynamodb connection
iulianbarbu Jun 29, 2023
4e68749
turso: cargo fmt
iulianbarbu Jun 29, 2023
3f47e37
turso: fix tests
iulianbarbu Jun 29, 2023
f85555d
provisioner: fix tests
iulianbarbu Jun 29, 2023
db79aa9
turso: fix fmt
iulianbarbu Jun 29, 2023
321fc4d
provisioner: fix tests
iulianbarbu Jun 29, 2023
530b254
provisioner: improve access key file path creation
iulianbarbu Jun 29, 2023
e9ae281
cargo-shuttle: fix provisioner server test
iulianbarbu Jun 30, 2023
3a62ea3
provisioner: added top level definition of the volume
iulianbarbu Jun 30, 2023
1cff29f
P review: remove merge conflict left over
iulianbarbu Jul 5, 2023
b2b3d4d
Merge branch 'main' into feature/dynamodb-resource
iulianbarbu Jul 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,5 @@ ttl_cache = "0.5.1"
utoipa = { version = "3.2.1", features = [ "uuid", "chrono" ] }
utoipa-swagger-ui = { version = "3.1.3", features = ["axum"] }
uuid = "1.2.2"
aws-sdk-dynamodb = "0.27.0"
aws-config = "0.55.2"
2 changes: 2 additions & 0 deletions cargo-shuttle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ url = "2.3.1"
uuid = { workspace = true, features = ["v4"] }
webbrowser = "0.8.2"
semver = "1.0.17"
aws-sdk-dynamodb = { workspace = true }
aws-config = { workspace = true }
iulianbarbu marked this conversation as resolved.
Show resolved Hide resolved

[dependencies.shuttle-common]
workspace = true
Expand Down
Loading