Skip to content

Commit

Permalink
Implement new 'points' job
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-4645

In [Start importing licence version points to 'water'](#1009) we added a step to the **licence-import** job to start importing licence points to a new table we'd created: `water.licence_version_purpose_points`.

However, we've since encountered two issues with that original approach.

- We've found the legacy UI also display details about sources, which are connected to points. Our original solution didn't cater for this which means we cannot switch wholly to it
- Updating the `licence_version_purpose_points` table happens as the last step of the **licence-import** job. But we've found it is often failing because of bad licence data, which means our new step is never getting called

So, in this change we are creating a whole new job to handle points. Part of the change is NALD points will now sit in their own table. `return_requirement_points` and `licence_version_purpose_points` will link to it rather than holding their own copies of the licence. The job job will be responsible for updating all three.
  • Loading branch information
Cruikshanks committed Sep 24, 2024
1 parent c112a2d commit 27f2dc0
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 27f2dc0

Please sign in to comment.