-
Notifications
You must be signed in to change notification settings - Fork 7
Add fauxqs AWS engine #400
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
673284b
Switch to fauxqs
kibertoad f35c7fd
Bump dependency
kibertoad 881082c
Bump version
kibertoad e4d4a33
Remove localstack
kibertoad 177a765
remove logs
kibertoad c476457
Update fauxqs
kibertoad f7f754d
Merge branch 'main' of https://github.com/kibertoad/message-queue-too…
kibertoad de7431b
Version bump
kibertoad 562b2bf
Merge branch 'main' of https://github.com/kibertoad/message-queue-too…
kibertoad d2a4013
version bump
kibertoad 1ca432f
bump dependencies
kibertoad 69ea7dd
Version bump
kibertoad 9669996
Bump version
kibertoad 7c6a8fd
Execute both localstack and fauxqs
kibertoad f80bbb3
Migrate to helpers
kibertoad 9d241f4
Add logs
kibertoad af11f19
more logs
kibertoad 7b0198f
fix formatting
kibertoad 12b486e
Enable global env param
kibertoad b4bff42
Avoid cascading test run
kibertoad ed43dbc
Test not using helpers
kibertoad f5fa071
Improve helpers
kibertoad 3e91292
Fix region handling
kibertoad dfe884a
Adjust helpers
kibertoad d0b34bd
Cleanup
kibertoad 808073e
add missing file
kibertoad 0c787f9
Update deps
kibertoad 03126bc
Merge branch 'main' of https://github.com/kibertoad/message-queue-too…
kibertoad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,11 @@ | ||
| import { startFauxqs } from 'fauxqs' | ||
|
|
||
| let server: Awaited<ReturnType<typeof startFauxqs>> | ||
|
|
||
| export async function setup() { | ||
| server = await startFauxqs({ port: 4566, logger: false, host: 'localstack' }) | ||
| } | ||
|
|
||
| export async function teardown() { | ||
| await server.stop() | ||
| } |
This file contains hidden or 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,10 +1,12 @@ | ||
| import type { S3ClientConfig } from '@aws-sdk/client-s3' | ||
| import { createLocalhostHandler } from 'fauxqs' | ||
|
|
||
| export const TEST_AWS_CONFIG: S3ClientConfig = { | ||
| endpoint: 'http://s3.localhost.localstack.cloud:4566', | ||
| endpoint: 'http://s3.localhost:4566', | ||
| region: 'eu-west-1', | ||
| credentials: { | ||
| accessKeyId: 'access', | ||
| secretAccessKey: 'secret', | ||
| }, | ||
| requestHandler: createLocalhostHandler(), | ||
| } |
This file contains hidden or 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 hidden or 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
22 changes: 6 additions & 16 deletions
22
packages/sns/test/consumers/CreateLocateConfigMixConsumer.spec.ts
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also add here s3-payload-store
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do it in a separate PR, currently it only uses fauxqs, but probably should use dual setup as well