Граф коммитов

58 Коммитов

Автор SHA1 Сообщение Дата
Keith Babinec bf8b6c992c
Updated docs to remove warnings about splatting support (#71) 2020-12-28 14:15:18 +08:00
Dingmeng Xue e066360054
1.0.0 release (#70) 2020-12-25 16:39:16 +08:00
Dingmeng Xue 23f6a390f6
Update spec to support Az 5.2 (#69) 2020-12-24 15:46:43 +08:00
Keith Babinec 69d88f7dca
Add support for detecting and updating splatted parameters (#68)
* Splatted parameter support (part 1)

* Added unit test support for splatted parameter detection

* Fixed failing unit test from missing property

* Added splatted parameter example scripts

* Removed warnings for splatted parameter detection

* Added matched az upgraded sample scripts

* Fixed off-by-one bug and updated unit tests

* Added support for splatting with ordered hashtable
2020-12-14 17:50:15 +08:00
ChenleiYang f0f367f33e
Fix issue #62 to show the correct status of the PowerShell console (#67)
* Add GetVersionHandler to language server

* update .vscodeignore

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
2020-10-16 21:17:26 +08:00
Keith Babinec ad3f142807
Updated Az upgrade target from 4.6.1 to 4.8.0 (#64)
* Updated Az upgrade target to 4.7.0

* Fixed typo

* Updated Az spec to 4.8.0

* Updated spec unit test expected command counts
2020-10-16 16:37:34 +08:00
Yunchi Wang f11067728a
Fixed some issues. (#63)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-23 10:59:05 +08:00
ChenleiYang 06be2b9411
hide ReadyToUpgradeCmdletParameter cause we couldn't auto fix it (#61) 2020-09-22 17:46:59 +08:00
Yunchi Wang b6932226dd
Remove useless files. (#60)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-21 15:54:39 +08:00
ChenleiYang e25621fb14
Add usage to vscode extension's README.md (#59)
* Add some document stuff.

* Remove .github folder.

* add usage to readme

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-21 15:41:43 +08:00
Yunchi Wang 205c820b0f
Remove github folder (#58)
* Add some document stuff.

* Remove .github folder.

Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-21 13:38:08 +08:00
Yunchi Wang 9272fe298f
Add some document stuff. (#56)
Co-authored-by: wyunchi-ms <yunwang@microsoft.com>
2020-09-18 11:51:30 -07:00
dependabot[bot] afe3496ee4
Bump node-fetch from 2.6.0 to 2.6.1 in /vscode-extension (#54)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
2020-09-18 23:21:24 +08:00
Dingmeng Xue 589fbdd7d7
Sign third party assemblies (#55) 2020-09-18 23:19:14 +08:00
Damien Caro 67aaa8fb0e
Added issue template for issues (#53)
Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2020-09-18 17:26:56 +08:00
ChenleiYang ab08460377
Restructure source code folder for release (#48)
* merge extension folder with its parent folder for the following package operation

* change some information prepare for release

* update .gitignore cause now .vscode under vscode-extension folder is neccessary

* add LICENSE

* update changelog, readme and tsconfig

* Add logo

* update log path and project path

* Update CHANGELOG.md

* Update package.json

* Update AnalysisService.cs

Co-authored-by: dingmeng-xue <dixue@microsoft.com>
2020-09-18 17:22:33 +08:00
Dingmeng Xue 3fff599a9c
Sign third party assemblies (#50) 2020-09-16 23:52:01 +08:00
Keith Babinec 516c92a4bf
Add 'save to new files' feature support (#49)
* Added save-to-new-files support

* Implementation bug fix; updated docs

* Updated quickstart to remove Find command and add notes around fileEditMode

* More doc updates for editMode

Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2020-09-15 23:31:48 -07:00
dingmeng-xue 282863d1c5 Rename extension name according to official id 2020-09-15 19:19:49 +08:00
ChenleiYang 8b38ed9460
Add stable path to store temp file and add two new function to manage the temp file (#43)
* add function GetTempFilePath and CleanTempFile to generate and delete temp file

* change temp file path and repalce string opration with Path.Combine

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
2020-09-15 10:54:58 +08:00
ChenleiYang 27b592dfe4
Remove cmdlet specs and useless handlers in VS code extension's language server (#42)
* delete module-spec in extension

* delete useless handlers

* delete some annotated line in extension.ts

* add azureRmVersion and azVersion variables and update azVersion 4.6.1

* delete outdated extension source file

* remove useless command in vscode extension
2020-09-15 09:55:50 +08:00
Mike F. Robbins cd4088ef64
Updated docs for pwsh and markdown standardization (#46)
Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
2020-09-11 13:30:58 -07:00
Mike F. Robbins 27157461fb
Fixes #37 - Updated readme (#45)
* Fixes #37 - Updated readme

Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
2020-09-11 11:54:57 -07:00
Dingmeng Xue ff5be7735b
Update psd1 file for the first preview release (#44)
* Update telemetry

* Update code

* Update code after review

* Update psd1 for 0.1.0 release
2020-09-09 23:39:38 +08:00
Dingmeng Xue 4ac1ea5e67
Update telemetry (#41)
* Update telemetry

* Update code

* Update code after review
2020-09-08 16:39:24 +08:00
Keith Babinec c0e228d981
Az module spec update to 4.6.1 (#40)
* Added Az 4.6.1 spec

* Added Az 4.6.1 spec (2)

* Removed Az 4.4.0 spec

* Doc updates for module spec increment

* Added new instruction document for rolling module specs
2020-09-07 21:25:27 +08:00
Keith Babinec 08030e1c87
Dynamic loading for Newtonsoft.json (#20)
* Added dynamic loading for newtonsoft.json
* Removed duplicated isSuccess telemetry property

Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2020-09-06 21:15:35 -07:00
Dingmeng Xue 44e0211600
Add ApplicationInsight support (#38)
* Add applicationinsight support

* update after review

* update after review
2020-09-03 14:30:23 +08:00
ChenleiYang c81ea6c102
Connect language server with PowerShell Module (#33)
* add language server
2020-09-03 09:58:41 +08:00
Keith Babinec 381843a26d
Pre-load support for module specs (#36)
* Implemented module spec pre-load support for Find-AzUpgradeCommandReference
* Implemented module spec pre-load support for New-AzUpgradeModulePlan
2020-08-28 10:54:28 -07:00
Dingmeng Xue cba9121738
Add pipeline for build and signing (#35)
* Package and sign powershell modules

* Set up CI with Azure Pipelines

[skip ci]

* Update sign-package.yml for Azure Pipelines

* Update sign-package.yml for Azure Pipelines

* Update sign-package.yml for Azure Pipelines

* Package and sign powershell modules

* Set up CI with Azure Pipelines

[skip ci]

* Update sign-package.yml for Azure Pipelines

* Update sign-package.yml for Azure Pipelines

* Update sign-package.yml for Azure Pipelines

* Update code

* Add psd1 file in signing
2020-08-27 10:28:07 +08:00
Keith Babinec d07c31f7af
Unified object output refactor (#31)
* Added module output formatting file

* Removed collection output from Find command

* Find/New cmdlet object integration cleanup

* Unified object output refactor for plan generation (part 1)

* Unified object output refactor for plan generation (part 2)

* Unified object output refactor for plan generation (part 3)

* Unified object output refactor for plan execution (part 1)

* Fixed mysterious null output from Find command

* Updated output formatting to match plan output

* Fixed broken unit tests from output changes (part 1)

* Fixed broken unit tests from output changes (part 2)

* Doc updates for new output

* Doc updates for new output (part 2)

* Added diagnostic severity support
2020-08-26 13:14:26 +08:00
ChenleiYang f02b6c3165
Add extension folder and connect extension with language server (#32)
* add extension folder and connect with language server

* delete the old .vscode folder and move to new .vscode folder
2020-08-24 15:00:02 +08:00
ChenleiYang 7a9c69b279
Add Language server to vscode extension (#30)
* add language server

* add language server
2020-08-22 23:02:28 +08:00
Keith Babinec 3d1d9fec92
Fixed incorrect app insights telemetry key (#26)
* Fixed incorrect app insights telemetry key

* Fixed telemetry Name property to match Az standard

* Schema adjustments to match Az telemetry

Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2020-08-21 09:25:08 +08:00
ChenleiYang 582be6f99c
Remove unnecessary .vscode folder and add rule to .gitignore (#25)
* remove unnecessary .vscode folder and add rule to .gitignore

* Update .gitignore

* Update .gitignore

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
2020-08-20 16:16:41 +08:00
Keith Babinec 8f7530bff3
Fixed unit test bugs across PS Core and Windows PowerShell incompatabilities (#19)
Co-authored-by: Dingmeng Xue <dixue@microsoft.com>
2020-08-10 09:51:22 +08:00
Dingmeng Xue b57d3a042c
Initial commits for vscode extension
* Add placeholder for security pipeline

* Initial project

* Add .vscode configuration

* Add out folder

* change input via textbox to pickbox

* Add displayUnderline

* Rename name of select version command

* Delete ignored files

* Update gitignore and exclude out

* Load cmdlet specs

* modify typo error

* Adjust input parameter.

* read all json files from spec dir

* update extension.ts

* enhance the ability of identify.

* Add a new quick fix method.

* Change the structure and add new diagnostics

* Change the old diagnostic name

* Add placeholder for input

* Fix duplicated info

* Change the structure

* Adjust coding style

* Fix some problem

* Add quick fix for parameters

* Add learn more action to quick fix

* Add 'learn more' for parameter change

* Add more information to peek window.

* Adjust some codes for concise.

* change some behavier of quick fix

* Get more details for PARAMETER_CHANGE situation.

* fix a problem for diagnostics because it analyze comment

* merge three info into one

* adjust the structure of the function to get diagnostics

* remove some confusing variables name and add some comments

* repair url format

* Update pipeline YAML

* Add build.proj and daily build.yml

Co-authored-by: Beisi Zhou <zazbs@qq.com>
Co-authored-by: Chenlei Yang <t-chenly@microsoft.com>
Co-authored-by: ChenleiYang <Radium_1209@outlook.com>
2020-08-10 09:22:51 +08:00
Keith Babinec 428559888f
Added telemetry support (#10)
* Added AppInsights dependency and telemetry client instantiation function

* Updated telemetry/data-collection handling part 1

* Added metrics/data-collection for upgrade plans

* Added metrics/data-collection for plan execution

* Added mock for metrics send during tests

* Implemented unit tests for Send-Metrics command

* Added module preference / data collection settings persistence

* Added support for Enable/Disable data collection settings

* Updating telemetry send to use rest api call (part 1)

* Added more base common telem properties

* Removed unused assembly

* Telemetry bug fixes
2020-08-06 13:19:13 +08:00
Mike F. Robbins 34f31e43ab
Updated example to perform upgrade in steps. (#16) 2020-07-30 12:20:41 -05:00
Damien Caro 691a52fbb4
Added feature request issue template (#15)
* Added feature request issue template

Co-authored-by: Mike F. Robbins <mike.robbins@microsoft.com>

Co-authored-by: Mike F. Robbins <mike.robbins@microsoft.com>
2020-07-30 08:44:49 -07:00
Damien Caro 700de6e994
Added contributing guide (#18) 2020-07-30 08:12:07 -07:00
Mike F. Robbins a992545abb
Updated module manifest (#17)
Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
Co-authored-by: Damien Caro <dcaro@microsoft.com>
2020-07-29 16:36:23 -07:00
Mike F. Robbins 4986d1d89b
Added quickstart (#14)
* Added quickstart
* Updated content based on PR feedback

Co-authored-by: Mike F. Robbins <mikefrobbins@users.noreply.github.com>
Co-authored-by: Damien Caro <dcaro@microsoft.com>
2020-07-29 16:17:04 -07:00
Damien Caro 8b5efcb12b
Added tests for some AzureRM example scripts (#4)
* Added tests for AzureRM example scripts
* Fixed AzureRM samples not related to migration
* Changed folder structure for examples
* Updated test logic and scripts
2020-07-29 16:02:11 -07:00
Dingmeng Xue 4babd9791c
Add component detection task (#11)
* Add credscan task
* Add component detection
2020-07-28 22:12:20 -07:00
Mike F. Robbins 8d6cc42436
Updated readme (#9) 2020-07-28 12:47:05 -05:00
Dingmeng Xue cc97ea29a0
Add credscan tasks to security scan pipeline (#8)
* Add security scan

* Add placeholder pipeline

* Add credscan task

* Add task id to avoid duplicated name

* Add credscan suppressions

* Add credscan suppressions

* Add credscan suppressions

* Add credscan suppressions

* Add credscan suppressions

* Add credscan suppressions

* Add dummy file

* Remove dummy file
2020-07-28 18:14:23 +08:00
Dingmeng Xue c15bfcb55f Update security-scan.yaml for Azure Pipelines 2020-07-28 16:34:19 +08:00
Dingmeng Xue b67c0d56ec
Add security scan (#5)
* Add security scan

* Add placeholder pipeline
2020-07-28 16:24:30 +08:00