Commit Graph

3394 Commits

Author SHA1 Message Date
dependabot[bot]
0687d61170 Bump path-parse from 1.0.6 to 1.0.7 in /extensions/data-workspace (#19493)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 17:50:30 -07:00
Vasu Bhog
146b27f511 SQL Bindings Readme Instructions (#19487)
* add readme entry points

* use scenarios

* fix link

* address comments
2022-05-23 18:04:37 -05:00
Vasu Bhog
e1fc230273 remove password for connection string non sql auth types (#19484)
* remove password for connection string non sql auth types

* add comment

* fix test
2022-05-23 18:01:55 -05:00
Aasim Khan
8bb6b5fc1a Redoing Execution Plan Comparison Editor (#19375)
* Adding code for execution plan comparison editor

* Handling floating promises and fixing a loc string

* Fixing some polygon stuff

* Fixing azdatagraph null check bug

* Adding progress notification for similar areas

* Removing some floating promises

* Fixing button enabled state
2022-05-23 14:33:18 -07:00
Leila Lali
39f5ad9e16 Adding firewall rule prompt when publishing to existing server (#19474) 2022-05-23 08:33:53 -07:00
Vasu Bhog
1959736078 fix loop for cancelling out databases (#19460)
* fix loop for cancelling out databases

* remove loop and comments
2022-05-20 13:47:53 -07:00
brian-harris
529296110b fix resource group parameter, name (#19471) 2022-05-20 13:07:22 -07:00
dependabot[bot]
a241b511c6 Bump path-parse from 1.0.6 to 1.0.7 in /extensions/machine-learning (#19464)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 11:21:58 -07:00
dependabot[bot]
f77adcaa4a Bump path-parse from 1.0.6 to 1.0.7 in /extensions/mssql (#19465)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 11:21:38 -07:00
Alan Ren
70a5f0702e bump minimist (#19466) 2022-05-20 11:09:45 -07:00
Aasim Khan
6dbaa7e6f6 Updating sts (#19462) 2022-05-20 10:49:46 -07:00
Alan Ren
f3e7337196 Upgrade packages to remove dependency on the vulnerable package minimist 0.0.8 (#19455)
* new mocha version

* test fix

* test

* new vscodetestcov version

* use rc1

* use 1.2.1

* remove all 0.0.8 of minimist

* a few more
2022-05-20 10:06:13 -07:00
Candice Ye
6188c218ee Canye/fix refresh (#19424)
* Bump version of arc and azcli to 1.3.0

* Fixed refresh to do dc config show and endpoint list first, then check the connectionmode

* Await calls to refresh indirect and direct

* Made sql mi-arc delete also handle direct mode. Made customlocation for sql mi create work again, regex problem.

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-19 18:22:33 -07:00
Leila Lali
30fb6b25b1 Fixed the formatting issues in SQL project readme file (#19445) 2022-05-19 15:51:56 -07:00
Charles Gagnon
887d218342 Add default name to promptAddItem (#19439)
* Add default name to promptAddItem

* Change to addItemPrompt
2022-05-19 15:10:34 -07:00
Charles Gagnon
4c008059df Add createAzureFunction to extension API (#19438) 2022-05-19 13:02:49 -07:00
Vasu Bhog
79875c0b95 fix await (#19437) 2022-05-19 12:20:36 -07:00
Charles Gagnon
f2b623b3b2 Move promptAddItem to extension API (#19423)
* Move addItem to extension API

* add noneDeployScripts
2022-05-19 11:25:10 -07:00
Laurent Nguyen
97a4ecdfbb Add support for CosmosDB - Mongo API (#19386)
* Display cdb nodes to browse azure tree

* Update icons

* Update node label

* Remove console logs

* Fix i18n in cosmosDbMongoTreeDataProvider

* Disable Mongo provider in azure tree for now

* Revert "Disable Mongo provider in azure tree for now"

This reverts commit 8b2d2079f43624596a41b82a71a5e40eef1ad4b1.

* Fix build issues related to merge

* Add COSMOSDB_MONGO in provider extension map

* Define providerId string as constant. Rename constants to follow azurecore/ naming conventions (all caps)
2022-05-19 11:12:53 -07:00
Vasu Bhog
9cefed840e SQL Bindings refactor password prompting (#19371)
* remove password enter manually - since we prompt user to include it prior

* go back to connection profile prompt

* add manual entry if connection info password is not saved

* add tests that verify all password prompt scenarios

* nit
2022-05-19 10:41:11 -07:00
Alan Ren
77006cee86 fix a dependent bot issue (#19418) 2022-05-18 16:40:07 -07:00
Vasu Bhog
8967ec36f4 Add Table Menu for SQL Bindings promptForObjectName (#19358)
* first wip for table menu prompt

* fix up some table prompts

* use simpleExecuteRequest

* fix table prompt scenario for sql binding also

* fix/add more testing and address comments

* add brackets to selected database

* add manually entered option
2022-05-18 14:51:45 -07:00
Candice Ye
1210bceded Bump version of arc and azcli to 1.3.0 (#19420)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-18 14:48:20 -07:00
Candice Ye
a891ef4784 Make refresh handle direct mode (#19408)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-18 11:17:03 -07:00
Charles Gagnon
7fc8b1c849 Add UUID dependency to sql-bindings (#19406) 2022-05-17 23:44:52 -07:00
Charles Gagnon
27ee9527bb Quote paths in add package command (#19407) 2022-05-17 23:44:00 -07:00
brian-harris
08d717dff7 fix invalid targetServerName (#19409) 2022-05-17 19:34:50 -07:00
Barbara Valdez
132d22bfe7 add open api project method to api (#19401) 2022-05-17 15:09:16 -07:00
brian-harris
c3c2d83da1 update DMSV2 API and listMonitoringData to latest (#19394) 2022-05-16 18:53:41 -07:00
Candice Ye
e2a675ef58 Added DC Status (#19393)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-16 16:49:11 -07:00
Karl Burtram
701f656c55 Fix connection issue with wrong resource endpoint (#19387)
* Fix connection bug accessing PBI resource

* Address CR feedback

* Fix null check
2022-05-16 15:23:23 -07:00
Candice Ye
d641988161 Added optional metadata to fix bug (#19389)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-16 14:49:21 -07:00
Candice Ye
801f797440 Fixed az sql mi-arc show for indirect scenario (#19378)
* Addressed sql mi show for indirect and direct

* Throw error when output is not JSON

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-16 10:51:23 -07:00
Vasu Bhog
265f59ae94 SQL Bindings fix preview flag and constants file (#19370)
* fix preview flag and constants file

* address comment
2022-05-13 17:09:00 -07:00
Benjin Dubishar
2b1c8fe77a Change Azure icon in azurecore extension (#19055) 2022-05-13 17:05:00 -07:00
Barbara Valdez
f551cfb835 exit infite loop after closing error message (#19376) 2022-05-13 15:14:48 -07:00
Alan Ren
b8858f011d support for connect with connection string (#19355)
* wip

* WIP

* radio button

* handle connection string

* fix test

* fix test

* fix test cases

* remember password

* pr comments

* pr comments
2022-05-13 14:48:12 -07:00
Christopher Suh
8352c7631c vbump and typo fix (#19374) 2022-05-13 13:18:57 -07:00
Christopher Suh
86e0c6963f Refreshes token for intellisense (#19214)
* wip

* wip

* wip

* working refresh token for intellisense

* pr review comments

* pr review comments

* add link

* pr comments

* change authority -> tenantId

* refactor tenant

* fix build

* add js doc comments, other pr changes

* fix error messaging

* add log

* added logs

* remove expiresOn

* fix error messaging

* pr comments

* remove localized strings from logs
2022-05-13 09:33:14 -05:00
Charles Gagnon
88ce98b2e1 Bump STS to .250 (#19364) 2022-05-12 16:51:11 -07:00
Vasu Bhog
f53f4fc522 remove logic now that we have fix in vscode-azurefunctions (#19353) 2022-05-12 15:48:59 -07:00
Candice Ye
63c6c0631e Take SQL MI billing Business Critical out of preview (#19361)
* Added values for business critical price per core

* Remove Preview tag for business critical

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-12 15:38:24 -07:00
Kim Santiago
7b4181dd13 add docker image with telemetry for publish to container (#19360)
* add docker info image to telemetry for publish to container

* change name
2022-05-12 14:03:17 -07:00
Barbara Valdez
9f69139dea add description to quick pick item (#19356) 2022-05-12 11:25:48 -07:00
Charles Gagnon
fffe8cc17b Bump STS to .249 (#19352) 2022-05-11 16:45:44 -07:00
Barbara Valdez
e69bd2c01f Show function name when prompting user for sql binding type (#19336) 2022-05-11 13:51:15 -07:00
Leila Lali
e10b1eb5a9 SQL Project Deploy to docker container - Adding a UI for user to select docker image tag (#19297) 2022-05-11 11:29:11 -07:00
Nemanja Milovančević
65ef41d53d UI for the Backup/Restore Managed Instance Feature (#19244)
* Rebase from main branch

* Made mssql a module

* remove rpc specific stuff

* Added create sas RPC call

* Backup to url works now

* Moved createSas RPC to the BlobService

* Relocated createSas RPC from sql-dataprotocolclient to the mssql

* After rebase

* Removed duplicate symbol

* Renamed Blob to AzureBlob and relocated CreateSasResponse to mssql extension

* Removed AzureBlobProvider, removed AzureBlobService feature

* renamed blob to azureblob, converted thenable to promise

* Simplify API

* fixes

* docs update, blob to azureblob update

* UI design first commit

* Detected Managed Instance, trying to script backup to url

* azure subscription api added, but ADS crashes

* Created url dialog component and added link account

* Changed backup component UI logic

* Changed b/r UI, added restore from URL, detected MI from restore component

* Removed mocked and added real Azure API, changed RestoreDialog UI

* Added file fetching API

* added create sas RPC call

* Backup to url works now

* Fixed some bugs

* Moved createSas RPC to the BlobService

* Relocated createSas RPC from sql-dataprotocolclient to the mssql

* Rebase createSas changed to the backupRestoreManagedInstance

* PR comments fix

* Enabled backup to url for gov clouds

* Replaced anchor element with Link class

* Fixed pick azure account logic

* Removed duplicates from eslintrc

* Fixed url browser dialog

* Fixed restore UI, disabled url empty url browser dropdowns, fixed backup OK button

* bumped sts version

* bumped sts version

* Fix config

* Fixed URL browser dialog UX

* Backup and restore dialog fix

* Referencing azure resource types directly

* Scoped url browser dialog css classes

* Made the url browser dialog field a local variable

* moved url browser files from fileBrowser to the urlBrowser folder

* Changed deviceType from number to enum

* Added all device type options

* Moved mssql

* Added MI backup button comment

* Removed unhelpful comment

* Revert differential copy only backup mistake

* Renamed azurebrowser to urlBrowserDialog

* Localize create sas button label

* Removed unnecessary spinner

* Use UTC date instead of locale date

* Removed * and added required flag

* Use async instead of nested thens

* Added target database tooltip

* Using deferred promise instead of event emitter

* Added error handling to the url browser dialog

* Registered backup component elements

* Register backup component listeners

* Removed redundant setDefaultBackupPaths call

* Added setBackupPathList docs

* Add return types

* Remove code from comment

* Register restore dialog elements

* Register restore dialog listeners

* Pass engine edition enum instead of boolean

* Capitalize enum values

* DatabaseEngineEdition fix

* Use DeviceType instead of number

* Use deferred pointer

* Add new ModalDialogName

* Use constructor fields

* Register URL browser dialog components

* Remove unnecessary helper function

* nextYear function doc and move

* split registerListeners method

* showDialog returns promise

* Backup device type comment

* Pass aria label through constructor

* Fix backup button

* Remove comment

* Comment unsupported MI backup options

* Remove one liner helper function

* Restore dialog methods return types

* Remove comment

* JS doc format

* Renamed UrlBrowserDialog to BackupRestoreUrlBrowserDialog

* Moved MediaDeviceType, added PhisicalDeviceType

* Reorder and rename physical device type

* remove extra spaces

Co-authored-by: chgagnon <chgagnon@microsoft.com>
2022-05-11 11:01:06 -07:00
Charles Gagnon
346bf0e81e Bump STS to .247 (#19321) 2022-05-10 10:16:01 -07:00
Candice Ye
2312bed4ad Fixed SqlMiShowResult to be up to date (#19319)
* Fixed SqlMiShowResult to be up to date

* Bumped versions of azcli and arc up to 1.2.1 for bug bash

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-09 18:38:44 -07:00