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

Move BC Energy Regulator and associated legislation hardcoded values to the database #1194

Closed
3 tasks
sanjaytkbabu opened this issue Feb 20, 2024 · 0 comments · Fixed by #1196
Closed
3 tasks
Assignees

Comments

@sanjaytkbabu
Copy link
Contributor

sanjaytkbabu commented Feb 20, 2024

Describe the task
Inside NRPTI, there are various hardcoded values for agencies and relevant legislature that is attached to records.
This data should be moved to a collection in the database and the app updated so that it reads these values from the database, rather than the previous hardcoded references.

For this ticket, only the BC Energy Regulator values should be moved to the database.

Purpose
This will create one location where these values are read from, making them easier to update if any future changes are required.

Acceptance Criteria

  • first - All values concerning the BC Energy regulator and associated legislation is stored in a collection in the database.
  • second - These same hardcoded values are removed from the app.
  • third - The app is updated to read these values from the database.

Additional context

  • The database additions should be in mind of adding further agencies and their legislation in the future
  • Future work will also include creating a cronjob that updates these values based on queries to BC Laws API
@sanjaytkbabu sanjaytkbabu changed the title Move 'BC Energy Regulator' Act to DB Move 'Energy Resource Activities Act' Act to DB Feb 20, 2024
@acatchpole acatchpole changed the title Move 'Energy Resource Activities Act' Act to DB Move values associated with Energy Regulator to DB Feb 20, 2024
@acatchpole acatchpole changed the title Move values associated with Energy Regulator to DB Move BC Energy Regulator and associated legislation hardcoded values to the database Feb 20, 2024
@LolandaE LolandaE added the Ready label Feb 22, 2024
@LocalNewsTV LocalNewsTV linked a pull request Mar 11, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants