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

add test for uploading file #22

Closed
dlamoris opened this issue Dec 13, 2023 · 0 comments · Fixed by #26
Closed

add test for uploading file #22

dlamoris opened this issue Dec 13, 2023 · 0 comments · Fixed by #26
Assignees

Comments

@dlamoris
Copy link
Contributor

try using minio testcontainers https://testcontainers.com/modules/minio/ to spin up a minio container to test with

ktor test example
https://ktor.io/docs/testing.html#test-post-put

the docker-compose file here https://github.com/Open-MBEE/flexo-mms-deployment/tree/develop/docker-compose has an example of the parameters to configure for minio and store service

the api to test is https://github.com/Open-MBEE/flexo-mms-store-service/blob/develop/src/main/kotlin/org/openmbee/flexo/mms/plugins/Storage.kt#L39

@dlamoris dlamoris added this to Flexo Dec 13, 2023
@github-project-automation github-project-automation bot moved this to New in Flexo Dec 13, 2023
@karicordes karicordes self-assigned this Dec 23, 2023
@karicordes karicordes moved this from New to In Progress in Flexo Dec 23, 2023
@dlamoris dlamoris linked a pull request Dec 4, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in Flexo Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants