-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vax-data ingestion pipeline (#1)
* Updating pipeline: Ingest Vax Data Updating pipeline: OD 2 SQL Updating pipeline: PCM-DPC 2 SQL Adding pipeline: Data Ingestion * Adding linkedService: DPC GitHub * Adding linkedService: Italia OD GitHub * Updating dataset: GithubDPC Updating dataset: GithubOD * Deleting linkedService: GithubHTTPS * Updating linkedService: DPC GitHub * Updating pipeline: Ingest Pandemic Data Updating pipeline: PCM-DPC 2 SQL * Adding trigger: DBUpdate
- Loading branch information
1 parent
68d341f
commit 6210528
Showing
10 changed files
with
135 additions
and
41 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "DPC GitHub", | ||
"properties": { | ||
"annotations": [], | ||
"type": "HttpServer", | ||
"typeProperties": { | ||
"url": "https://raw.githubusercontent.com/pcm-dpc/COVID-19/master/", | ||
"enableServerCertificateValidation": true, | ||
"authenticationType": "Anonymous" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
linkedService/GithubHTTPS.json → linkedService/Italia OD GitHub.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "GithubHTTPS", | ||
"name": "Italia OD GitHub", | ||
"properties": { | ||
"annotations": [], | ||
"type": "HttpServer", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"name": "Data Ingestion", | ||
"properties": { | ||
"activities": [ | ||
{ | ||
"name": "Ingest Pandemic Data", | ||
"type": "ExecutePipeline", | ||
"dependsOn": [], | ||
"userProperties": [], | ||
"typeProperties": { | ||
"pipeline": { | ||
"referenceName": "Ingest Pandemic Data", | ||
"type": "PipelineReference" | ||
}, | ||
"waitOnCompletion": true | ||
} | ||
}, | ||
{ | ||
"name": "Ingest Vax Data", | ||
"type": "ExecutePipeline", | ||
"dependsOn": [], | ||
"userProperties": [], | ||
"typeProperties": { | ||
"pipeline": { | ||
"referenceName": "Ingest Vax Data", | ||
"type": "PipelineReference" | ||
}, | ||
"waitOnCompletion": true | ||
} | ||
}, | ||
{ | ||
"name": "Wait ingestion", | ||
"type": "Wait", | ||
"dependsOn": [ | ||
{ | ||
"activity": "Ingest Pandemic Data", | ||
"dependencyConditions": [ | ||
"Succeeded" | ||
] | ||
}, | ||
{ | ||
"activity": "Ingest Vax Data", | ||
"dependencyConditions": [ | ||
"Succeeded" | ||
] | ||
} | ||
], | ||
"userProperties": [], | ||
"typeProperties": { | ||
"waitTimeInSeconds": 1 | ||
} | ||
}, | ||
{ | ||
"name": "Transform administrations data", | ||
"type": "SqlServerStoredProcedure", | ||
"dependsOn": [ | ||
{ | ||
"activity": "Wait ingestion", | ||
"dependencyConditions": [ | ||
"Succeeded" | ||
] | ||
} | ||
], | ||
"policy": { | ||
"timeout": "7.00:00:00", | ||
"retry": 0, | ||
"retryIntervalInSeconds": 30, | ||
"secureOutput": false, | ||
"secureInput": false | ||
}, | ||
"userProperties": [], | ||
"typeProperties": { | ||
"storedProcedureName": "[dbo].[UpdateAdminsData]" | ||
}, | ||
"linkedServiceName": { | ||
"referenceName": "AzureSqlDatabase", | ||
"type": "LinkedServiceReference", | ||
"parameters": { | ||
"SchemaName": "dbo", | ||
"TableName": "somministrazioni-vaccini-latest" | ||
} | ||
} | ||
} | ||
], | ||
"annotations": [] | ||
} | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ | |
} | ||
}, | ||
"folder": { | ||
"name": "General Purpose" | ||
"name": "Copy Activities" | ||
}, | ||
"annotations": [] | ||
} | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "DBUpdate", | ||
"properties": { | ||
"annotations": [], | ||
"runtimeState": "Stopped", | ||
"pipeline": { | ||
"pipelineReference": { | ||
"referenceName": "Data Ingestion", | ||
"type": "PipelineReference" | ||
} | ||
}, | ||
"type": "TumblingWindowTrigger", | ||
"typeProperties": { | ||
"frequency": "Hour", | ||
"interval": 24, | ||
"startTime": "2021-10-27T18:45:00Z", | ||
"delay": "00:00:00", | ||
"maxConcurrency": 50, | ||
"retryPolicy": { | ||
"intervalInSeconds": 30 | ||
}, | ||
"dependsOn": [] | ||
} | ||
} | ||
} |