You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automated SurfGuard report imports (using code in the swapsea-report-scraper repo) push data into staging tables that are then processed by a console job.
The mechanism using file upload via the Admin console was developed earlier and is less reliable since it processed synchronously.
Solution
Change the Admin Ui so it just uploads CSV files to the newer staging tables, and calls the code to transfer that to the target tables
StagingAward.transfer
StagingUser.transfer
StagingPatrolMember.transfer
It's also desirable to have these transfer methods do a little more logging to indicate # records processed, and from which Club.
The text was updated successfully, but these errors were encountered:
The automated SurfGuard report imports (using code in the
swapsea-report-scraper
repo) push data into staging tables that are then processed by a console job.The mechanism using file upload via the Admin console was developed earlier and is less reliable since it processed synchronously.
Solution
Change the Admin Ui so it just uploads CSV files to the newer staging tables, and calls the code to transfer that to the target tables
It's also desirable to have these transfer methods do a little more logging to indicate # records processed, and from which Club.
The text was updated successfully, but these errors were encountered: