-
Notifications
You must be signed in to change notification settings - Fork 18
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
chore: load petstore via profile #4586
Conversation
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.
What is your main motivation? In this PR we would have two pet store schemas and I think that is undesirable.
The PetStoreLoader is meant to also test continuously that programmatic creation of the model works.
However, I don't feel that strongly about that so if you insist, I would expect that you then also want to delete the PetStoreLoader that is used in many test cases as well as init and instead use this everywhere? (for example by making PetStoreLoader use this profile)
Also, the tests will ensure that this profile model and demo data are consistent with what was there previously.
|
||
demoData: _demodata/applications/petstore | ||
|
||
settings: _settings/petstore |
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.
this is a weird place. I would put the settings inside the specific/petstore so things that belong together are close together.
have a 'profile' loaded that does not take more then 5 minutes to load.
that why i left it
i do not I would expect that you then also want to delete the PetStoreLoader that is used in many test cases as well as init and instead use this everywhere? (for example by making PetStoreLoader use this profile) no, what would be the use case ?
|
indeed, I would propose we delete old PetStoreLoader so there can be no confusion on where the pet store is defined. |
i'll have the app init point the profile loader and remove the 'hard coded' pet store loader ( do think its good to keep a simple example of creating schema and data though code ) |
…/load-pet-store-via-profile
…/load-pet-store-via-profile
…s/molgenis-emx2 into chore/load-pet-store-via-profile
Quality Gate failedFailed conditions |
What are the main changes you did
How to test
Checklist