Skip to content

refactor SNS store to facilitate lookups#7803

Merged
thrau merged 2 commits intomasterfrom
sns-refactor-store
Mar 11, 2023
Merged

refactor SNS store to facilitate lookups#7803
thrau merged 2 commits intomasterfrom
sns-refactor-store

Conversation

@bentsku
Copy link
Contributor

@bentsku bentsku commented Mar 4, 2023

As we're currently working on persistence, I'd like to refactor the SNS store to facilitate lookup and have its data structures more aligned with how we are using them in the provider and to how AWS stores them.

Added some validations where I had questions on how AWS would behave.

@bentsku bentsku temporarily deployed to localstack-ext-tests March 4, 2023 19:45 — with GitHub Actions Inactive
@bentsku bentsku requested review from thrau and viren-nadkarni March 4, 2023 19:45
@github-actions
Copy link

github-actions bot commented Mar 4, 2023

LocalStack integration with Pro

       3 files  +    1         3 suites  +1   1h 42m 22s ⏱️ + 8m 9s
1 780 tests +    2  1 401 ✔️ +    5  379 💤  -     3  0 ±0 
2 506 runs  +373  1 777 ✔️ +205  729 💤 +168  0 ±0 

Results for commit 4455a04. ± Comparison against base commit 712c40b.

♻️ This comment has been updated with latest results.

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.

nice cleanup! 🧹 LGTM

but looks like pro tests are failing

@bentsku
Copy link
Contributor Author

bentsku commented Mar 5, 2023

nice cleanup! 🧹 LGTM

but looks like pro tests are failing

Yes, looks like a lot of tests are failing 😅 I changed some logic and think I went a bit too much on some checks, especially if subscription is confirmed, will add some tests and validate this with AWS.

@bentsku bentsku temporarily deployed to localstack-ext-tests March 5, 2023 13:54 — with GitHub Actions Inactive
@bentsku bentsku temporarily deployed to localstack-ext-tests March 5, 2023 15:46 — with GitHub Actions Inactive
@thrau
Copy link
Member

thrau commented Mar 5, 2023

@bentsku are we merging this?

@bentsku
Copy link
Contributor Author

bentsku commented Mar 6, 2023

@thrau Yes, I think so? If we're breaking persistence, now is the time to go. We can also wait a bit to be closer to v2, I don't mind at all. It's just something I wanted to be out before v2 👍

@thrau thrau merged commit 6ab2bbd into master Mar 11, 2023
@thrau thrau deleted the sns-refactor-store branch March 11, 2023 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants