comparison pkg/imports/dsr.go @ 5560:f2204f91d286

Join the log lines of imports to the log exports to recover data from them. Used in SR export to extract information that where in the meta json but now are only found in the log.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 09 Feb 2022 18:34:40 +0100
parents 7bd9c5161836
children 6270951dda28
comparison
equal deleted inserted replaced
5559:ce9a9a1bf92f 5560:f2204f91d286
28 BottleneckID string `json:"bottleneck-id"` 28 BottleneckID string `json:"bottleneck-id"`
29 Date models.Date `json:"date-info"` 29 Date models.Date `json:"date-info"`
30 } 30 }
31 31
32 // Description gives a short info about relevant facts of this import. 32 // Description gives a short info about relevant facts of this import.
33 func (dsr *DeleteSoundingResult) Description() (string, error) { 33 func (dsr *DeleteSoundingResult) Description([]string) (string, error) {
34 return dsr.BottleneckID + "|" + dsr.Date.Format(common.DateFormat), nil 34 return dsr.BottleneckID + "|" + dsr.Date.Format(common.DateFormat), nil
35 } 35 }
36 36
37 // DSRJobKind is the import queue type identifier. 37 // DSRJobKind is the import queue type identifier.
38 const DSRJobKind JobKind = "dsr" 38 const DSRJobKind JobKind = "dsr"