Skip to content

DDB - persistence plugin and server rework#7827

Merged
thrau merged 1 commit intomasterfrom
ddb-server
Mar 9, 2023
Merged

DDB - persistence plugin and server rework#7827
thrau merged 1 commit intomasterfrom
ddb-server

Conversation

@giograno
Copy link
Member

@giograno giograno commented Mar 9, 2023

This PR refactors the DynamoDB provider to use the new lifecycle hooks.
In addition, it refactors the singleton instance of the server into the provider itself. Due to these changes, the methods to start the server are not accessible at module level anymore. See related ext PR.

@giograno giograno temporarily deployed to localstack-ext-tests March 9, 2023 16:46 — with GitHub Actions Inactive
@giograno giograno added the aws:dynamodb Amazon DynamoDB label Mar 9, 2023
@github-actions
Copy link

github-actions bot commented Mar 9, 2023

LocalStack integration with Pro

1 771 tests  ±0   1 378 ✔️  - 1   1h 2m 18s ⏱️ - 3m 2s
       1 suites ±0      393 💤 +1 
       1 files   ±0          0 ±0 

Results for commit 17c63eb. ± Comparison against base commit b302f29.

♻️ This comment has been updated with latest results.

        Refactoring of the singleton server
@giograno giograno temporarily deployed to localstack-ext-tests March 9, 2023 18:26 — with GitHub Actions Inactive
@giograno giograno requested review from thrau and whummer March 9, 2023 18:33
@giograno giograno self-assigned this Mar 9, 2023
@giograno giograno marked this pull request as ready for review March 9, 2023 18:34
Copy link
Member

@thrau thrau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! tested manually with the new persistence plugin and works fine

@thrau thrau merged commit 60b3a79 into master Mar 9, 2023
@thrau thrau deleted the ddb-server branch March 9, 2023 21:28
@giograno giograno mentioned this pull request Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws:dynamodb Amazon DynamoDB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants