mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 17:22:20 -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:
@@ -66,7 +66,8 @@ export class SqlMigrationServiceDetailsDialog {
|
||||
migrationContext.subscription,
|
||||
migrationContext.controller.properties.resourceGroup,
|
||||
migrationContext.controller.location,
|
||||
migrationContext.controller.name
|
||||
migrationContext.controller.name,
|
||||
this.migrationContext.sessionId!
|
||||
));
|
||||
const serviceNodeName = serviceNode.nodes?.map(node => node.nodeName).join(', ')
|
||||
|| constants.SQL_MIGRATION_SERVICE_DETAILS_STATUS_UNAVAILABLE;
|
||||
@@ -209,7 +210,8 @@ export class SqlMigrationServiceDetailsDialog {
|
||||
migrationContext.controller.properties.resourceGroup,
|
||||
migrationContext.controller.location.toUpperCase(),
|
||||
migrationContext.controller.name,
|
||||
keyName);
|
||||
keyName,
|
||||
migrationContext.sessionId!);
|
||||
|
||||
if (keys?.authKey1 && keyName === AUTH_KEY1) {
|
||||
await this._updateTableCell(this._migrationServiceAuthKeyTable, 0, 1, keys.authKey1, constants.SERVICE_KEY1_LABEL);
|
||||
@@ -233,7 +235,8 @@ export class SqlMigrationServiceDetailsDialog {
|
||||
migrationContext.subscription,
|
||||
migrationContext.controller.properties.resourceGroup,
|
||||
migrationContext.controller.location.toUpperCase(),
|
||||
migrationContext.controller.name);
|
||||
migrationContext.controller.name,
|
||||
migrationContext.sessionId!);
|
||||
|
||||
const copyKey1Button = view.modelBuilder
|
||||
.button()
|
||||
|
||||
Reference in New Issue
Block a user