[Postgres] register_file
needs the CorrealtionID when updating the file event log
#1229
Labels
register_file
needs the CorrealtionID when updating the file event log
#1229
Please describe the feature
As a developer, I want no hidden bugs so that I don't have to spend time fixing thins that should not need fixing.
When a file i registered in the DB an event is automatically added to the log table, this event doesn't have a CorrelationID, which it should have. This then lead to issues downstream when we try to extract the Correlation ID from the logs table since the
QueryRow
function always will return the first entry. (not always the case if the first row is NULL)Acceptance criteria
register_file
inserts the Correlation ID correctly, bear in mind that this will be different if the function is called fromingest
or from thes3inbox
.OR
register_file
does not update the file event log in this case so we can do that from the outside where the Correlation ID is available.Additional context
Estimation of size
small
Estimation of priority
low
The text was updated successfully, but these errors were encountered: