bcgov / nr-forests-access-management

Authorization solution for BC natural resource sector
Apache License 2.0
8 stars 2 forks source link

chore: #1326 Data generation script for load testing #1465

Open basilv opened 1 week ago

basilv commented 1 week ago

Generate ~1 year of fake data for load testing. Tested loading into database but haven't tested with running application yet.

ianliuwk1019 commented 1 week ago

Hi @basilv , Not a comment, just FYI. I took your data.sql and placed them into flyway/local_sql folder to run migration. Despite initial warning, it was run successfully. image With fam_user table loaded with: image fam_role: image fam_user_role_xref: image

basilv commented 1 week ago

Sounds like there were no performance issues running locally, so I think this PR is ready for review. Next step after review is likely to load this data into test environment.

MCatherine1994 commented 1 week ago

Hi Basil, added the Docker file for admin management, also added to the docker-compose file. I was running docker-compose up on my local, and get both backend api, and admin management api work fine. If we are still seeing issues with them, I'll take another look. Thanks!

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed for 'nr-forests-access-management_admin'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

basilv commented 1 week ago

Yes, the 'design' of the data generation load allows us to change it in the future and re-run it without affecting manaully-created data.