v0.0.6
Pre-releaseOperational scripts: not to run 0005 and 0006
- 0000_add_government_organization.py
- 0001_add_vehicle_makes.py
- 0002_add_vehicle_classes.py
- 0003_add_vehicle_fuel_types.py
- 0004_add_model_years.py
- 0007_add_organizations.py
Pull Requests
PR #41 Vehicle list filtering
Filter 'NEW' and 'DRAFT' vehicles from ZEV list for government
Update ZEV List page label
Creating vehicles now works sufficiently for demo purposes
Filter list of models by selected make in frontend when creating vehicle
Fixed tests
PR #44 modified vehicle model - model_name CharField -
ZEVA-67 Add new ZEV model
-edited vehicle model so that there is a model text field instead of foreign key/ join table
-updated test vehicles json
-updated vehicle serializer to reflect changes
PR #45 parameterize keycloak realm and client, backend fixes
Frontend now loads KEYCLOAK_CLIENT_ID and KEYCLOAK_REALM_NAME environment vars
Backend fixtures adjusted to account for model changes
requirements.txt updated with missing python-dotenv requirement
PR #46 Cors
Enable CORS headers (permissive for now) on Django
PR #47 Add Organizations
ZEVA-60 Import Suppliers
Added the list of organizations migration
Removed 2017 and 2018 from the model year migration
Added new vehicle makes
Reorganized the code to become more readable
PR #52 increase test coverage
Add coverage python dependency to execute tests with coverage
Provide a sensible .coveragerc as a starting point
Include operational data scripts in testing, since a lot of the issues I've seen thus far locally have been with these scripts and their maintenance will be important.
Test coverage to 80%.
Execute tests with coverage run and see results with coverage report. coverage report will exit with nonzero status if coverage does not meet threshold of 80%. Recommend incorporating this command into the pipeline. The test pod must have a valid POSTGRES test database to run the tests.
PR #53 Fix login, add logout button
Adjust Login frontend component to use Keycloak API
Add Logout button to Navbar
PR #54 Modelupdate
Updated model to be a string
Added edit container that loads form for editing vehicle
Saving form makes changes to that vehicle's info
PR #57 Pipeline release4
Update Openshift templates