-
Notifications
You must be signed in to change notification settings - Fork 899
feat: Add database data generator to make fakedbs easier to populate #5922
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 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
50ea251
feat: Add database data generator to make fakedbs easier to populate
Emyrk 722194b
Add resources and jobS
Emyrk 38eb88e
Support api keys in generator
Emyrk d4fe6b7
Begin refactoring api key tests with generator
Emyrk d423ba2
Refactor api tests to use fake generator
Emyrk fac054a
Refactor workspace apps test
Emyrk 387c1bd
Remove unused function
Emyrk 50cba39
Refactor provsionerdserver tests
Emyrk 396aa4a
Refactor prom metrics test
Emyrk 5648499
Add unit tests for generator
Emyrk 298ca3e
Remove takeFirstTime
Emyrk 3bfd4d6
Add more randomness to names
Emyrk 7fc8ead
Use fatal over panic
Emyrk 5ba3463
Remove use of panics
Emyrk bc88e41
Remove all state from generator
Emyrk 1113d8f
Move generate functions and no more generics
Emyrk 5cd9acd
Move to database gen package
Emyrk e7d2b5f
Fix all refactored tests to use new methods
Emyrk 5e12b78
Remove unused ctx
Emyrk 144ef40
Add comment about unused fields
Emyrk 61ca1ca
rename to dbgen
Emyrk 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
Remove takeFirstTime
- Loading branch information
commit 298ca3e7044306a2bbc07cd4f1dc9314f41559d2
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
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.
Uh oh!
There was an error while loading. Please reload this page.