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

feat(filemanager): add database mocking to local API server #418

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

mmalenic
Copy link
Member

Closes #417

Changes

  • Add database loading and mocking command line options to the filemanager-api-server.

This is basically is just re-using the data generation component I had for testing here, except with a bit of a tidy of the function API/interface.

@mmalenic mmalenic requested a review from brainstorm July 19, 2024 06:42
@mmalenic mmalenic self-assigned this Jul 19, 2024
@mmalenic mmalenic added filemanager an issue relating to the filemanager feature New feature labels Jul 19, 2024
@mmalenic
Copy link
Member Author

@williamputraintan you should be able to load an .sql dump using cargo run -p filemanager-api-server -- --load-sql-file <path_to_dump>

@mmalenic mmalenic requested a review from victorskl July 22, 2024 04:16
@mmalenic mmalenic merged commit 9e1011d into main Jul 23, 2024
5 checks passed
@mmalenic mmalenic deleted the feat/mock-data branch July 23, 2024 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature filemanager an issue relating to the filemanager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

filemanager: mock data for local server
2 participants