Skip to content

Commit 03e8d9d

Browse files
feat: add history for anagrafica (#3640)
Co-authored-by: Pasquale Spica <36746022+pasqualespica@users.noreply.github.com>
1 parent d9ecbe5 commit 03e8d9d

20 files changed

+3843
-18
lines changed

src/domains/observability/04_datafactory_pipeline_smo.tf

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -825,16 +825,30 @@ resource "azurerm_data_factory_pipeline" "pipeline_SMO_IMPORT_ANAGRAFICA" {
825825
name = "SMO_IMPORT_ANAGRAFICA_Pipeline"
826826
data_factory_id = data.azurerm_data_factory.qi_data_factory.id
827827

828+
variables = {
829+
run_id = "",
830+
start_date = ""
831+
}
832+
833+
828834
activities_json = "[${templatefile("datafactory/pipelines/IMPORT_ANAGRAFICA.json", {
829-
inputdataset_PT_PA = "CFG_INTERMEDIARI_PA"
830-
outputdataset_PT_PA = "SMO_INTERMEDIARI_PA_DataSet"
831-
inputdataset_PT_PSP = "CFG_INTERMEDIARI_PSP"
832-
outputdataset_PT_PSP = "SMO_INTERMEDIARI_PSP_DataSet"
833-
inputdataset_PA = "CFG_PA"
834-
outputdataset_PA = "SMO_PA_DataSet"
835-
inputdataset_PSP = "CFG_PSP"
836-
outputdataset_PSP = "SMO_PSP_DataSet"
837-
dataexplorerset = "AzureDataExplorer${var.env_short}LinkService"
835+
inputdataset_PT_PA = "CFG_INTERMEDIARI_PA"
836+
outputdataset_PT_PA = "SMO_INTERMEDIARI_PA_DataSet"
837+
inputdataset_PT_PSP = "CFG_INTERMEDIARI_PSP"
838+
outputdataset_PT_PSP = "SMO_INTERMEDIARI_PSP_DataSet"
839+
inputdataset_PA = "CFG_PA"
840+
outputdataset_PA = "SMO_PA_DataSet"
841+
inputdataset_PSP = "CFG_PSP"
842+
outputdataset_PSP = "SMO_PSP_DataSet"
843+
output_PA_HISTORY = "SMO_PA_HISTORY_DataSet"
844+
output_PSP_HISTORY = "SMO_PSP_HISTORY_DataSet"
845+
output_INTERMEDIARI_PSP_HISTORY = "SMO_INTERMEDIARI_PSP_HISTORY_DataSet"
846+
output_INTERMEDIARI_PA_HISTORY = "SMO_INTERMEDIARI_PA_HISTORY_DataSet"
847+
output_INTERMEDIARI_REL_PA = "SMO_INTERMEDIARI_REL_PA_DataSet"
848+
output_INTERMEDIARI_REL_PSP = "SMO_INTERMEDIARI_REL_PSP_DataSet"
849+
output_INTERMEDIARI_REL_PA_HISTORY = "SMO_INTERMEDIARI_REL_PA_HISTORY_DataSet"
850+
output_INTERMEDIARI_REL_PSP_HISTORY = "SMO_INTERMEDIARI_REL_PSP_HISTORY_DataSet"
851+
dataexplorerset = "AzureDataExplorer${var.env_short}LinkService"
838852
})}]"
839853

840854
depends_on = [
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"name": "INSERTED_TIMESTAMP",
4+
"type": "datetime"
5+
},
6+
{
7+
"name": "UNIQUE_ID",
8+
"type": "guid"
9+
}
10+
]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"name": "CF_INTERMEDIARIO_PA",
4+
"type": "string"
5+
},
6+
{
7+
"name": "RAGIONE_SOCIALE",
8+
"type": "string"
9+
},
10+
{
11+
"name": "ENABLED",
12+
"type": "string"
13+
},
14+
{
15+
"name": "INSERTED_TIMESTAMP",
16+
"type": "datetime"
17+
},
18+
{
19+
"name": "UNIQUE_ID",
20+
"type": "guid"
21+
}
22+
]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"name": "CF_INTERMEDIARIO_PSP",
4+
"type": "string"
5+
},
6+
{
7+
"name": "RAGIONE_SOCIALE",
8+
"type": "string"
9+
},
10+
{
11+
"name": "ENABLED",
12+
"type": "string"
13+
},
14+
{
15+
"name": "INSERTED_TIMESTAMP",
16+
"type": "datetime"
17+
},
18+
{
19+
"name": "UNIQUE_ID",
20+
"type": "guid"
21+
}
22+
]
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
[
2+
{
3+
"name": "ID_INTERMEDIARIO_PA",
4+
"type": "string"
5+
},
6+
{
7+
"name": "DESCRIZIONE_INTERMEDIARIO",
8+
"type": "string"
9+
},
10+
{
11+
"name": "ID_DOMINIO",
12+
"type": "string"
13+
},
14+
{
15+
"name": "DESCRIZIONE_DOMINIO",
16+
"type": "string"
17+
},
18+
{
19+
"name": "RAGIONE_SOCIALE_DOMINIO",
20+
"type": "string"
21+
},
22+
{
23+
"name": "AUX_DIGIT",
24+
"type": "int"
25+
},
26+
{
27+
"name": "SEGREGAZIONE",
28+
"type": "int"
29+
},
30+
{
31+
"name": "BROADCAST",
32+
"type": "string"
33+
},
34+
{
35+
"name": "ACA",
36+
"type": "bool"
37+
},
38+
{
39+
"name": "STANDIN",
40+
"type": "bool"
41+
},
42+
{
43+
"name": "FLAG_ONLINE",
44+
"type": "string"
45+
},
46+
{
47+
"name": "VERSIONE",
48+
"type": "int"
49+
},
50+
{
51+
"name": "VERSIONE_PRIMITIVE",
52+
"type": "int"
53+
},
54+
{
55+
"name": "ID_STAZIONE",
56+
"type": "string"
57+
},
58+
{
59+
"name": "CF_ENABLED",
60+
"type": "string"
61+
},
62+
{
63+
"name": "PA_ENABLED",
64+
"type": "string"
65+
},
66+
{
67+
"name": "STAZIONE_ENABLED",
68+
"type": "string"
69+
},
70+
{
71+
"name": "IP",
72+
"type": "string"
73+
},
74+
{
75+
"name": "PORTA",
76+
"type": "int"
77+
},
78+
{
79+
"name": "PROTOCOLLO",
80+
"type": "string"
81+
},
82+
{
83+
"name": "TARGET_HOST",
84+
"type": "string"
85+
},
86+
{
87+
"name": "TARGET_PORT",
88+
"type": "string"
89+
},
90+
{
91+
"name": "TARGET_PATH",
92+
"type": "string"
93+
},
94+
{
95+
"name": "TARGET_HOST_POF",
96+
"type": "string"
97+
},
98+
{
99+
"name": "TARGET_PORT_POF",
100+
"type": "int"
101+
},
102+
{
103+
"name": "TARGET_PATH_POF",
104+
"type": "string"
105+
},
106+
{
107+
"name": "REDIRECT_PROTOCOLLO",
108+
"type": "string"
109+
},
110+
{
111+
"name": "REDIRECT_IP",
112+
"type": "string"
113+
},
114+
{
115+
"name": "REDIRECT_PORT",
116+
"type": "int"
117+
},
118+
{
119+
"name": "REDIRECT_PATH",
120+
"type": "string"
121+
},
122+
{
123+
"name": "PROXY_ENABLED",
124+
"type": "string"
125+
},
126+
{
127+
"name": "PROXY_HOST",
128+
"type": "string"
129+
},
130+
{
131+
"name": "PROXY_PORT",
132+
"type": "int"
133+
},
134+
{
135+
"name": "TIMEOUT",
136+
"type": "int"
137+
},
138+
{
139+
"name": "NUM_THREAD",
140+
"type": "int"
141+
},
142+
{
143+
"name": "TIMEOUT_A",
144+
"type": "int"
145+
},
146+
{
147+
"name": "TIMEOUT_B",
148+
"type": "int"
149+
},
150+
{
151+
"name": "TIMEOUT_C",
152+
"type": "int"
153+
},
154+
{
155+
"name": "QUARTO_MODELLO",
156+
"type": "string"
157+
},
158+
{
159+
"name": "PAGAMENTO_SPONTANEO",
160+
"type": "string"
161+
},
162+
{
163+
"name": "PROTOCOLLO_4MOD",
164+
"type": "string"
165+
},
166+
{
167+
"name": "IP_4MOD",
168+
"type": "string"
169+
},
170+
{
171+
"name": "PORTA_4MOD",
172+
"type": "int"
173+
},
174+
{
175+
"name": "SERVIZIO_4MOD",
176+
"type": "string"
177+
}
178+
]

0 commit comments

Comments
 (0)