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

Feature/tet 812 ingest stova data #5866

Merged
merged 12 commits into from
Dec 23, 2024
Merged

Conversation

DeanElliott96
Copy link
Contributor

@DeanElliott96 DeanElliott96 commented Dec 18, 2024

Description of change

Ingest Stova event data into DataHub StovaEvent model which copies it into a DataHub Event.

This uses the new generic ingest app from here: #5847.

Events require a Service which is not provided by Stova, after speaking with Tom Aldridge and we are going to create a new service "Stova Event Service" which will be applied to all ingested Stova Events.

Each row (stova event) will not be updated but the ingested file will be updated with new events so there is no requirement to update the already ingested Stova Events.

Depending on: uktrade/data-hub-frontend#7422 as the service requires being added to the frontend as well.

Checklist

  • Has this branch been rebased on top of the current main branch?
  • Is the CircleCI build passing?

@DeanElliott96 DeanElliott96 self-assigned this Dec 18, 2024
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.64%. Comparing base (0207e9e) to head (d470f54).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5866   +/-   ##
=======================================
  Coverage   96.64%   96.64%           
=======================================
  Files        1058     1059    +1     
  Lines       25178    25201   +23     
  Branches     1670     1669    -1     
=======================================
+ Hits        24333    24356   +23     
  Misses        689      689           
  Partials      156      156           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DeanElliott96 DeanElliott96 marked this pull request as ready for review December 19, 2024 14:32
@DeanElliott96 DeanElliott96 requested a review from a team as a code owner December 19, 2024 14:33
@DeanElliott96 DeanElliott96 marked this pull request as draft December 19, 2024 14:34
@DeanElliott96 DeanElliott96 marked this pull request as ready for review December 19, 2024 14:58
@DeanElliott96
Copy link
Contributor Author

DeanElliott96 commented Dec 19, 2024

Paused for now, the frontend event expects a "service" and crashes without one. This is not required by the backend.

@DeanElliott96 DeanElliott96 marked this pull request as draft December 19, 2024 15:01
@DeanElliott96
Copy link
Contributor Author

Paused for now, the frontend event expects a "service" and crashes without one. This is not required by the backend.

Spoke with Tom Aldridge and we are going to create a new service "Stova Event Service" which will be applied to all ingested Stova Events.

@DeanElliott96 DeanElliott96 marked this pull request as ready for review December 20, 2024 15:56
If this environment variable is set in dev machines these tests fail as
the test tries to connect to localstack. This prevents this.
@DeanElliott96 DeanElliott96 merged commit 2704b49 into main Dec 23, 2024
7 checks passed
@DeanElliott96 DeanElliott96 deleted the feature/TET-812-ingest-stova-data branch December 23, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants