From 14d5946321302c5df972d18f149d7a0cccdf7727 Mon Sep 17 00:00:00 2001 From: lijzha Date: Wed, 20 Feb 2019 14:37:32 -0800 Subject: [PATCH 1/4] Support create pipeline run with recovery mode --- .../stable/2018-06-01/datafactory.json | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 28fe62879613..20cfdec76ae4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -2268,6 +2268,22 @@ "type": "string", "x-ms-parameter-location": "method" }, + { + "name": "isRecovery", + "description": "Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and the new run will be grouped under the same groupId.", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method" + }, + { + "name": "startActivityName", + "description": "In recovery mode, the specified startActivityName will be the first activity in the pipeline to be run. If not specified, all activities will run", + "in": "query", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, { "name": "parameters", "description": "Parameters of the pipeline run. These parameters will be used only if the runId is not specified.", @@ -4093,7 +4109,9 @@ "ActivityRunEnd", "ActivityType", "TriggerName", - "TriggerRunTimestamp" + "TriggerRunTimestamp", + "RunGroupId", + "LatestOnly" ], "x-ms-enum": { "name": "RunQueryFilterOperand", @@ -4198,6 +4216,16 @@ "type": "string", "readOnly": true }, + "runGroupId": { + "description": "Identifier that correlates all the recovery runs of a pipeline run.", + "type": "string", + "readOnly": true + }, + "isLatest": { + "description": "True for the last recovered pipeline run.", + "type": "boolean", + "readOnly": true + }, "pipelineName": { "description": "The pipeline name.", "type": "string", From 95542bda23eb445e0223d9153476ebea1d28b1cd Mon Sep 17 00:00:00 2001 From: lijzha Date: Wed, 20 Feb 2019 14:47:47 -0800 Subject: [PATCH 2/4] Update description of isLatest --- .../Microsoft.DataFactory/stable/2018-06-01/datafactory.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 20cfdec76ae4..5c5706222c0c 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -4222,7 +4222,7 @@ "readOnly": true }, "isLatest": { - "description": "True for the last recovered pipeline run.", + "description": "Indicates if the recovered pipeline run is the latest.", "type": "boolean", "readOnly": true }, From 7743758a7254ce040494885e5e3484a4ec581736 Mon Sep 17 00:00:00 2001 From: lijzha Date: Wed, 20 Feb 2019 15:29:16 -0800 Subject: [PATCH 3/4] Update descriptions --- .../Microsoft.DataFactory/stable/2018-06-01/datafactory.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 5c5706222c0c..3ed43c0ab79b 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -2278,7 +2278,7 @@ }, { "name": "startActivityName", - "description": "In recovery mode, the specified startActivityName will be the first activity in the pipeline to be run. If not specified, all activities will run", + "description": "In recovery mode, the rerun will start from this activity. If not specified, all activities will run.", "in": "query", "required": false, "type": "string", @@ -4222,7 +4222,7 @@ "readOnly": true }, "isLatest": { - "description": "Indicates if the recovered pipeline run is the latest.", + "description": "Indicates if the recovered pipeline run is the latest in its group.", "type": "boolean", "readOnly": true }, From bf4597694803152430d2e8e8ac962dd2201e9878 Mon Sep 17 00:00:00 2001 From: Joel Hendrix Date: Wed, 20 Feb 2019 18:03:17 -0800 Subject: [PATCH 4/4] update autorest version to fix CI --- scripts/momentOfTruth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/momentOfTruth.js b/scripts/momentOfTruth.js index 9eb086c3f9c1..3b4d1dfd1b4e 100644 --- a/scripts/momentOfTruth.js +++ b/scripts/momentOfTruth.js @@ -10,7 +10,7 @@ const exec = require('child_process').exec, let configsToProcess = utils.getConfigFilesChangedInPR(); let pullRequestNumber = utils.getPullRequestNumber(); -let linterCmd = `npx autorest@2.0.4152 --validation --azure-validator --message-format=json `; +let linterCmd = `npx autorest@2.0.4302 --validation --azure-validator --message-format=json `; var filename = `${pullRequestNumber}.json`; var logFilepath = path.join(getLogDir(), filename); var finalResult = {};