Commit Graph

72 Commits

Author SHA1 Message Date
Cheena Malhotra
6c6464e772 Part 2 - Make Model view components disposable + dispose all emitters (#24097) 2023-08-23 12:46:09 -07:00
Aasim Khan
752c33c960 Vbumping vscodetestcover (#24133) 2023-08-15 17:22:30 +00:00
dependabot[bot]
6c9fc05ab1 Bump semver from 7.3.2 to 7.5.2 in /extensions/azcli (#23467)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.2 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.2...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 10:26:56 -07:00
Cory Rivera
97eb69477e Remove unused files in sql and extensions folders (#22444) 2023-03-27 16:40:32 -07:00
Cheena Malhotra
8539b63a5c Upgrade http(s)-proxy-agent dependent npm packages (#22306) 2023-03-13 11:05:59 -07:00
Charles Gagnon
bd797ea6e1 Update extension privacy statements (#22120)
* Update extension privacy statements

* one more
2023-03-02 16:39:29 -08:00
Candice Ye
5b3279065b Bumped versions up to 1.8.0 (#21725)
Co-authored-by: Candice Ye <canye@microsoft.com>
2023-01-25 13:38:34 -08:00
dependabot[bot]
306c328d02 Bump json5 from 2.1.3 to 2.2.3 in /extensions/azcli (#21543)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:05:27 -08:00
Aasim Khan
813fa6b2ef Updating qs lib across ads (#21323) 2022-11-29 11:40:22 -08:00
Candice Ye
6ab25a6a56 Bump to 1.7.0 for nov release (#21107)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-11-04 12:58:34 -07:00
Candice Ye
f6dbe7539c Change primaryEndpoints to primary (#21079)
* Status update for miaa structure

* Added examples in comments

* Changed primaryEndpoint to primary

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-11-02 14:06:56 -07:00
Candice Ye
3ecea1af34 Status dictionary update for MIAA (#21050)
* Status update for miaa structure

* Added examples in comments

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-11-01 14:58:27 -07:00
Karl Burtram
350e94abfe Revert "Update packages to fix CG alerts (#20922)" (#20927)
This reverts commit 97c070be13.
2022-10-22 01:26:33 -07:00
Sakshi Sharma
97c070be13 Update packages to fix CG alerts (#20922)
* Update packages to fix CG alerts

* Reverting version bump for vscode-universal-bundler because of build break
2022-10-21 18:03:49 -07:00
Karl Burtram
8a3d08f0de Merge vscode 1.67 (#20883)
* Fix initial build breaks from 1.67 merge (#2514)

* Update yarn lock files

* Update build scripts

* Fix tsconfig

* Build breaks

* WIP

* Update yarn lock files

* Misc breaks

* Updates to package.json

* Breaks

* Update yarn

* Fix breaks

* Breaks

* Build breaks

* Breaks

* Breaks

* Breaks

* Breaks

* Breaks

* Missing file

* Breaks

* Breaks

* Breaks

* Breaks

* Breaks

* Fix several runtime breaks (#2515)

* Missing files

* Runtime breaks

* Fix proxy ordering issue

* Remove commented code

* Fix breaks with opening query editor

* Fix post merge break

* Updates related to setup build and other breaks (#2516)

* Fix bundle build issues

* Update distro

* Fix distro merge and update build JS files

* Disable pipeline steps

* Remove stats call

* Update license name

* Make new RPM dependencies a warning

* Fix extension manager version checks

* Update JS file

* Fix a few runtime breaks

* Fixes

* Fix runtime issues

* Fix build breaks

* Update notebook tests (part 1)

* Fix broken tests

* Linting errors

* Fix hygiene

* Disable lint rules

* Bump distro

* Turn off smoke tests

* Disable integration tests

* Remove failing "activate" test

* Remove failed test assertion

* Disable other broken test

* Disable query history tests

* Disable extension unit tests

* Disable failing tasks
2022-10-19 19:13:18 -07:00
Alan Ren
54c2fe6899 remove duplicate code (#20664)
* remove dupe code

* fix step name

* fix errors

* comment out arc

* fix timeout issue

* fix typo

* update name
2022-09-26 17:48:59 -07:00
Candice Ye
46cf166c8c Small bug fix + version bump to 1.6.0 (#20595)
* Removed Node Configuration text

* Bump to 1.6.0

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-09-12 17:17:49 -07:00
Candice Ye
b9cb3de85b Bug bash fixes to Azure Arc PostgreSQL (#20568)
* Added username field to PG and removed defaultvalue for port

* Disabled system username for miaa. Added username to pg create notebook.

* Block system for pg username

* Remove sql username from pg create

* Add service type

* bump version for preview

* Add dev use label

* Changed postgres icon

* Fixed PG create page not displaying. Wrong type

* Fixed service type

* changed naming for admin usernames sql and pg

* sql and pg dev use fix

* Move port under service type and make storage class not required

* Fixed regex to include things like sa1 system1

* Made storage class params optional

* Added placeholder text and changed PG admin username label

* Remove backups

* Removed postgres hardcoded username in connectionstring

* Remove more postgres username hardcoded

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-09-09 11:49:27 -07:00
Candice Ye
96b7335cdd Fixed PG update (#20484)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-08-28 17:00:32 -07:00
Candice Ye
bd0c4cdb51 Changing Postgres Hyperscale to Postgres Azure Arc in ADS (#20445)
* Hard code enginer ver to 14 and remove extension from wizard field and notebook

* Removed hyperscale text from everywhere but links

* Made PostgreSQL into PostgreSQL server and other text changes. Removed worker nodes

* Removed coordinator node text

* Removed worker nodes from compute + storage. Changed az arc-server to server-arc. postgresParameters.ts may need

* Removed tabs for extensions, coord nodes, worker nodes, resource health, diagnose and solve

* Removed node configuation and pg version from overview and properties. Edited arialabels

* Change server group nodes to server

* Removed type from overview table and aded Preview tags

* Removed info bubble and added padding to top of title

* Removed checkbox from PG create wizard. Added link and text

* Remove engine version

* Changed naming conventions

* Removed coord and server group from variables

* Removed properties

* Removed Server table, admin username, reset password

* Removed function from notebook

* Change wording

* bump version

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-08-26 13:24:48 -07:00
Candice Ye
4d91a32bed SQL MIAA list now accounts for new text output from Azure CLI (#20305)
* SQL MIAA list now accounts for new text output in line 1

* Version bump

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-08-10 22:46:55 -07:00
Candice Ye
7a6168d9e6 Fixes to SQL MIAA Compute + Storage page (#20272)
* Max for syncsecondary. Fix syncsecondary update.

* Update the value not the placeholder for SQL MIAA

* Disable save toolbar icon after save/update complete

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-08-08 18:24:09 -07:00
Candice Ye
7564aee5b6 Bumped azure cli and arc ext to 1.5.0 in package.json (#20263)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-08-08 13:20:41 -07:00
Candice Ye
baf52a55ff Bump version for bugbash (#20231)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-08-03 14:06:34 -07:00
Candice Ye
5d23627165 Converting all SQL MIAA commands to use K8s API commands (#20203)
* refresh does not differentiate direct vs indirect

* For direct mode MIAA commands, always use --use-k8s

* Changed comment language to use ARM instead of direct and K8S API instead of indirect

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-08-02 11:12:25 -07:00
Candice Ye
79ba314953 Prompt for arcdata install upon extension activation (fix) (#20167)
* Made prompt when no arcdata upon startup

* Changed to NoAzureCLIArcExtError

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-07-26 16:45:30 -07:00
Candice Ye
00bacee1da Bump to 1.4.2 for bugbash (#20164)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-07-25 16:51:27 -07:00
Candice Ye
ada87478a7 Auto-update arcdata extension and update SQL MIAA create (#20045)
* Auto update arcdata

* Create SQL MIAA uses --use-k8s and --namespace now

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-07-14 18:55:50 -07:00
Candice Ye
84df25400a Bump to 1.4.1 for hotfix (#20030)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-07-14 11:02:11 -07:00
Candice Ye
fa0fcef303 Bumped to version 1.4.0 (#19989)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-07-11 13:36:07 -07:00
dependabot[bot]
5049bf8173 Bump path-parse from 1.0.6 to 1.0.7 in /extensions/azcli (#19835)
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-07-06 13:44:22 -07:00
Candice Ye
744a009bac Version bump for preview (#19919)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-07-05 12:14:30 -07:00
Candice Ye
5acdca2b70 Add readable secondaries and sync secondary to commit to SQL MIAA create (#19740)
* Added syncSecondaryToCommit to SQL update and create, as well as notebook, wizard, and compute+storage interfaces

* Added readable secondaries and syncSecondaryToCommit to cost and SQL MI create

* Added readable secondaries to notebook

* removed resource-deployment changes

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-06-16 15:04:03 -07:00
Charles Gagnon
6ae380b65d Remove unnecessary awaits from extensions (#19571)
* Remove unnecessary awaits

* fix ignore

* revert eslintignore

* try

* increase size

* Increase sql lint size
2022-05-31 15:36:44 -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
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
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
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
Candice Ye
adf6f253f0 Add SQL MIAA Upgrade Management tab (#19238)
* Added sql upgrade management page and fixed icon for dc and sql upgrade

* Added logic for figuring out MIAA version, loading proper entries for table.

* Added PR comment changes

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-05-09 14:35:42 -07:00
Candice Ye
4e849f0d60 Add 'az sql mi-arc upgrade' command to azcli api (#19219)
* Added sqlmiaa upgrade command and params to azcli api

* Put params under args

* Removed an extra comma

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-04-26 16:16:57 -07:00
Candice Ye
c4d0754954 Updating version numbers in package.jsons (#19216)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-04-26 13:07:04 -07:00
Charles Gagnon
72a43854f8 Add explicit return type linting to some extensions (#19199) 2022-04-25 11:24:23 -07:00
Candice Ye
0718876300 Bug fixes for DC upgrade in arc extension (#19161)
* Removed configure retention policy link. Log errors for upgrade instead of blocking the upgrade. Changed text of version log link.

* Addressing comments on PR

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-04-20 16:20:52 -07:00
Candice Ye
a8f2039fb6 Enabled Azure Arc data controller upgrade for direct and indirect mode (#19060)
* Fixed a connect to Server typo

* Added upgrade tab with description and title. Table is still stuck loading.

* Renamed backups to upgrades.

* Removed loading icon

* Table appearing and not stuck loading

* Saving for now to upgrade arc and azcli versions

* Added upgrade confirmation dialog, populated dummy data and added upgrade apis.

* Added parsing of versions and current version from listupgrades

* Upgrade itself not working, but added upgrade as a part of azure cli api.

* Table now populating with release dates and version numbers. Upgrade button only shows for appropriate cells. Upgrade done but no release version column.

* Changed text using PM advice

* Removed comments from controllerUpgrades.ts

* Replaced code in upgradecontroller.ts and made refresh work

* Removed one call to handleTablesUpdated

* Removed some code in upgradeControllers.ts and it still works

* removing more code for pitr refresh from upgradeController.ts

* Created and used UpgradeModel even though it is empty

* Added upgrademodel

* PR comments addressed

Co-authored-by: Candice Ye <canye@microsoft.com>
2022-04-18 17:52:43 -07:00
Candice Ye
e6773dd842 Change version numbers of arc and azcli (#18957)
Co-authored-by: Candice Ye <canye@microsoft.com>
2022-04-06 15:07:09 -07:00
dependabot[bot]
7392ce7e31 Bump ansi-regex from 3.0.0 to 3.0.1 in /extensions/azcli (#18900)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 09:40:45 -07:00
Candice Ye
a786e63445 Arc bug fix: ADS Create DC wizard should prompt for Log Analytics workspace ID and access token similar to portal (#18742)
* Added monitor log-analytics workspace list to az api

* Made resource group and subscription optional for logs analytics workspace list

* Added dynamic fields for workspace names, id, primary key, based on value of auto-logs checkbox

* Hooked up the newly created source provider for log analytics workspaces. Dropdown now populates all workspace names.

* Added workspaceUtils.ts for a valueprovider. Now workspace name maps to id automatically.

* Replaced promise.all with promise.resolve

* Added workspace id and primary key as env variables in the notebook

* Removed extra space in package.json

* Made getOptions more concise and put azApi definition in function.

* Changed notebook to handle new Azure CLI command with param --clustername
2022-03-17 20:57:16 -07:00