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

Cu 86c11rv16 automated tests #8

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

brett-onions
Copy link
Collaborator

  • allows for the listening to multiple buckets
  • updated GitHub action to use docker compose file for testing
  • merging with s3 data insertion

src/index.ts Outdated Show resolved Hide resolved
src/utils/minio.ts Outdated Show resolved Hide resolved
src/config/config.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@marvinIsSacul marvinIsSacul left a comment

Choose a reason for hiding this comment

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

Looks good. Just a couple of suggestions.

src/utils/minio.ts Outdated Show resolved Hide resolved
src/utils/minio.ts Outdated Show resolved Hide resolved
tests/services/table-creation.test.ts Show resolved Hide resolved
src/utils/minio.ts Outdated Show resolved Hide resolved
@drizzentic drizzentic marked this pull request as ready for review November 22, 2024 12:29
Copy link
Collaborator

@marvinIsSacul marvinIsSacul left a comment

Choose a reason for hiding this comment

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

Looks good. Just one suggestion.


try {
//@ts-ignore
minioClient.fGetObject(bucket, file, `tmp/${file}`, async (err) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

see if you can use Promises consistently. Instead of using this callback intertwined with other promises.

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.

4 participants