-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DF/095: allow stage to use DKB ES storage as second (backup) source.
If `--es-config FILE` parameter is specified, use DKB ES storage as a backup metadata source in case that in primary source (AMI) information was removed. I am not sure under what curcumstances information can be removed from AMI, so for now we just check if there are empty/missed fields in the data taken from AMI and then, if such firlds found, check ES for (possibly) already known values. The problem is that there are quite a lot of "missed" values, so almost for every record we have to check both AMI and ES. Maybe there is more delicate trigger, like "No data at all", or "if dataset property 'deleted' is set to True", or... Or maybe AMI just doesn't remove data at all?..
- Loading branch information
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters