@golemio/ndic 1.2.4-dev.1050232287 → 1.2.4-dev.1157213999
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -107,4 +107,7 @@ $procedure$
|
|
|
107
107
|
create view v_traffic_restrictions_all as
|
|
108
108
|
select * from ndic_traffic_restrictions
|
|
109
109
|
union all
|
|
110
|
-
select * from ndic_traffic_restrictions_regions
|
|
110
|
+
select * from ndic_traffic_restrictions_regions;
|
|
111
|
+
|
|
112
|
+
COMMENT ON TABLE ndic_traffic_restrictions IS 'Obsahuje ndic data z Hlavního města Praha a Středočeského kraje. Historická data se zachovávají.';
|
|
113
|
+
COMMENT ON TABLE ndic_traffic_restrictions_regions IS 'Obsahuje ndic data z krajů: Liberecký, Královehradecký, Pardubický, Vysočina, Jihočeský, Plzeňský, Karlovarský, Ústecký. Integrační engine pouští pravidelnou retenci dat.';
|
|
@@ -116,6 +116,7 @@ Worker slouží pro zpracování příchozích dat NdicTrafficInfo a NdicTraffic
|
|
|
116
116
|
|
|
117
117
|
#### Task *RegionsDataRetention*
|
|
118
118
|
- spouští procedura `regions_data_retention` pro retenci dat v tabulce `ndic_traffic_restrictions_regions`.
|
|
119
|
+
- procedura smaže všechny záznamy, které jsou starší než 48h podle `situation_record_version_time`
|
|
119
120
|
- vstupní rabbitmq fronta
|
|
120
121
|
- `dataplatform.ndic.regionsDataRetention`
|
|
121
122
|
- (volitelně) závislé fronty (do kterých jsou odesílány zprávy z metody workeru)
|