Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Datafactory] Support create pipeline run with recovery mode #5239

Merged
merged 4 commits into from
Feb 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/momentOfTruth.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2268,6 +2268,22 @@
"type": "string",
"x-ms-parameter-location": "method"
},
{
LijuanZ marked this conversation as resolved.
Show resolved Hide resolved
"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 rerun will start from this activity. 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.",
Expand Down Expand Up @@ -4093,7 +4109,9 @@
"ActivityRunEnd",
"ActivityType",
"TriggerName",
"TriggerRunTimestamp"
"TriggerRunTimestamp",
"RunGroupId",
"LatestOnly"
],
"x-ms-enum": {
"name": "RunQueryFilterOperand",
Expand Down Expand Up @@ -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": "Indicates if the recovered pipeline run is the latest in its group.",
"type": "boolean",
"readOnly": true
},
"pipelineName": {
"description": "The pipeline name.",
"type": "string",
Expand Down