mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 17:22:59 -05:00
Adding support for sending request headers in azure core rest request API (#16443)
* Adding support for sending additional headers in azure http requests * Added session ids in all azure rest calls * Fixed param name * Adding default parameter value for request headers
This commit is contained in:
@@ -27,13 +27,15 @@ export class MigrationCutoverDialogModel {
|
||||
this.migrationOpStatus = (await getMigrationAsyncOperationDetails(
|
||||
this._migration.azureAccount,
|
||||
this._migration.subscription,
|
||||
this._migration.asyncUrl
|
||||
this._migration.asyncUrl,
|
||||
this._migration.sessionId!
|
||||
));
|
||||
}
|
||||
this.migrationStatus = (await getMigrationStatus(
|
||||
this._migration.azureAccount,
|
||||
this._migration.subscription,
|
||||
this._migration.migrationContext
|
||||
this._migration.migrationContext,
|
||||
this._migration.sessionId!,
|
||||
));
|
||||
|
||||
sendSqlMigrationActionEvent(
|
||||
@@ -55,7 +57,8 @@ export class MigrationCutoverDialogModel {
|
||||
const cutover = await startMigrationCutover(
|
||||
this._migration.azureAccount,
|
||||
this._migration.subscription,
|
||||
this.migrationStatus
|
||||
this.migrationStatus,
|
||||
this._migration.sessionId!
|
||||
);
|
||||
sendSqlMigrationActionEvent(
|
||||
TelemetryViews.MigrationCutoverDialog,
|
||||
@@ -81,7 +84,8 @@ export class MigrationCutoverDialogModel {
|
||||
await stopMigration(
|
||||
this._migration.azureAccount,
|
||||
this._migration.subscription,
|
||||
this.migrationStatus
|
||||
this.migrationStatus,
|
||||
this._migration.sessionId!
|
||||
);
|
||||
sendSqlMigrationActionEvent(
|
||||
TelemetryViews.MigrationCutoverDialog,
|
||||
|
||||
Reference in New Issue
Block a user