* Added Server Group Nodes status table to Overview page (#14194)
* Add podstatus to spec
* Added image to table and fixed spacing.
* Added pod status to spec
* PR fixes
* Edited so that when page is closed and reopened, does not have empty server group node table
* Bump azdata version
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
* Search function does looks at all uppercase
* Add toUpperCase call only in filterParameters function
(cherry picked from commit 7a0ac71b98)
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
* highlight current range in the marked html
* find ranges on textContent not innerHtml
* add comment
* highlight all and mark the specific in orange
* register highlights in color themes
* fix the closure on the last style
* undo delete locproj file
* add comment
* undo format on locProj file
* Exposing azure HTTP request in azurecore
Moving migration specific request from azurecore to migration
Created a migrations typing file
* Deleting the typings file in sql migration
* Fixed typos in comments
* Adding default host for azure https requests
* Fixed operator in service url modification
* Changed path and host logic
* Made chagned requested in the PR
* Fixed variable names
* Adding / check for path.
* Changing error code check
* Fixed status logic in azure rest request
Fixed comment logic
Converting error array to string while throwing
* Fixed status check
* Fixed typos and cleaning up
* start work on ui
* Move notebooks complete
* Simplify version handling
* fix issues with add section method
* fix issues with the edit experience and add the quick pick for editing
* add version handler for re-writing tocs
* fix book toc manager tests
* add notebook test
* fix localize constant
* normalize paths on windows
* check that a section has sections before attempting to mve files
* Implement method for renaming duplicated files
* moving last notebook from section converts the section into notebook
* Add recovery method restore original state of file system
* Add clean up, for files that are copied instead of renamed
* remove dir complexity
* divide edit book in methods for easier testing and remove promise chain
* Keep structure of toc
* normalize paths on windows
* fix external link
* Add other fields for versions
* fix paths in uri of findSection
* add section to section test
* Add error messages
* address pr comments and add tests
* check that the new path of a notebook is different from the original path before deleting
* Initial commit for dSTS Auth
* Removed getDstsToken from accountManagementService. Renamed azureAccount to token.
* Renamed dstsToken to _token in connectionWidget
* Code Review Feedback. Renamed token to authToken in onFetchDatabases.
* Removed dsts options from Kusto package.json
* Added publish and schema compare telemetry
* Adding telemetry points for add/exclude/delete
* telemetry for validation
* Adding telemetry from project roundtrip updates, editing sqlproj, and db refs
* Changed method for obtaining extension ID during registration
* Fixing test failures, updating ads telemetry package dependency
* replacing action strings with enums
* change database project string actions to enums
* Changed action name to better match dialog
* PR feedback
* Addition: properties page with link to dashboard
* Include new page
* Initial Parameter page start
* Include new changes from merged PRs
* Including new constants
* Git errors
* Add parameter commands and help
* Reset command
* Added chart
* git fix
* Fixed string issues
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Initial start to adding connect to sql for postgres instance
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* Messy dialog showing from button
* removed this._completionPromise.reject
* Cleaning up code
* Set connectSqlDialog to be an abstract class. Separated out Miaa and Postgres. (#13532)
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* removed this._completionPromise.reject
* Connect button clean up
* Format
* Format doc
* Fixed compile errors
* Cleaning up page
* Clean up
* clean up refresh
* Format doc
* Removed ellipse
* Cleaning up problems
* Updating localized constants
* Missing username update
* Get connection profile added to Resource model, abstract method created for calling connection dialog
* Added createConnectionProfile
* took out import
* Pulled in new changes, fixed usercancellederror
* Getting engine settings
* Git errors
* Git errors
* Git errors fix
* Fixing Css
* Freezes, Search function working, 20 parameters
* Fixed re
* Git errors
* Save and reset commands working
* Discard works, updated how engine settings refresh with model
* Updated search, add back loading for when trying to connect
* Cleaning up comments left in code
* Git error
* Corrected names of icons and constants, Fixed Miaa dialog title
* Removed using any on page, added void return types, took out commented code
* Changed gear svg, made postgres extension a loc constant, fixed formatting
* Fixed controller model name
* Put connection profile and id in resource model, changed back controller model in base class
* Fixed a comment
* Added loading component for waiting for postgres extension to be installed
* Fix parameters page to show parameters if engine settings are already loaded (#13996)
* Added progress message for installing postgres extension
* Minor styling updates
* Making sure search box and rest buttons are enabled when opening page with loaded data. Update refresh
* Git errors
* change name
* Code review updates: Combined create parameters and refresh table.
* Update sql-assessment to use latest ads-extension-telemetry npm package (#14003)
* Change configure Jupyter server steps from async to sync (#13937)
* change config steps to sync
* fix tests
* use pathexistsSync
* remove pathExistsSync call
* address PR comments
* Use a minimum cell height to prevent whitespace markdown cells from becoming invisible. (#14008)
* Fix validation errors (#14009)
* Fix validation errors
* fix compile
* update return type
* Cleanup model component wrapper event handlers (#14012)
* Clean up button component disposables (#14011)
* Clean up button component disposables
* consolidate logic
* Adding Dacpac extension telemetry and core wizard/page telemetry updates(#13859)
* Dacpac telmetry code changes
* Removed added spaces
* Generate deployScript accessibility changed back to public
* code review suggessions updates
* dacpac extension tests fixes
* Updated time and filesize methods allowing general return values
* Telemetry code updates
* Dacpac Telemetry potential data loss capture and PII error excluded
* Dacpac telemetry code updates for comments
* Wizard pages navigation telemetry event capture moved to the core
* DacpacTelemetry code updates
* Extension wizard cancel telemetry for data loss
* Dacpac telemetry pagename and small code updates
* final Dacpac telemetry code updates...
* migrated loc files (#14015)
* Took out some info bubbles and addingitems
* Update search function
* Handle special value occasions
* Undo change
* Undo change
Co-authored-by: chgagnon <chgagnon@microsoft.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Sai Avishkar Sreerama <74571829+ssreerama@users.noreply.github.com>
Co-authored-by: khoiph1 <khoiph@microsoft.com>
* Adding minimum height to text cell element so whether empty or occupied with a single line of content, the container is the same height.
* Added styles to remove top padding/margin from first child element and set top-padding of container.
* Switch top padding to px value
* Removed line-height and min-height as these are no longer necessary to maintain text-cell height.
* Made azure arc as resourcesubtype
Added new azure arc resource type
Added support for different eula statement for different subtypes
Consolidated getSelectedOption
* Fixed some PR based comments
* Fixed more pr comments
* Fixed the error in unit test by deep copying extension resourceTypes (to keep the original one intact)
* Fixed property name 'agreement' to 'agreements'
* Cloning subresourceTypes
* add check for if there are projects that haven't been added to the workspace
* add check when workspace folders change
* add comment
* update wording
* filter for multiple file extensions at the same time
* add test
* addressing comments
* updates to variablesand subscription
previous notebook was not taking Subscription into account. Here, I'm setting to use the az context explicitly with the $Subscription variable
* Converted appendix to nb, wording
* remove whitespace, add clarity
* - Fixed GetMigrationController
- Added createMigrationController and getControllerAuthKeys API in azure core.
- Added typings for Migration Controller
- Fixed database backup page validation logic
- Added IR page with create controller
* Fixing all the comments from the PR
* Fixed typings
* - Adding null checks for onValueChanged
- Adding new event for radiobuttons onDIdChangeCheckedState
* Adding get MigrationController API to azure core.
* string templating
fixed typings
* Fixed typing and sorting logic
* Made the undefined check logic concise.
* Fixing radioButton checked status
* Fixed all kinds of event bugs in radio buttons
* removing uneeded checks
* Fixing the logic for radiobutton onChange event generation for all possible scenarios.
* Made small changes in radioButton logic.
* add md preview line height settings
* remove if condition
* listen for configuration change
* change setting description
* only change line height outside of edit mode
* set minimum line height to 1
* combine ondidchangeconfiguration callbacks
* Enable Parameterization via Notebook URI
* Add Parameterization and Move notebookModel tests
* minor typos
* parameter typo
* Multiple parameters through uri fix
* Address PR comments and tests fix
* add new injected parameters after original injected parameters
* Add new test to verify notebookURi parameter is injected after both parameter and injected cell
* fix tests
* Fixing the checked variable in radio buttons
* Emitting the checked state of radio button.
* Adding onChanged event to radioButtons (exposing it)
Deprecating onClick event for radioButtons
Fixing radio button stubs
* Made some type fixes
* Firing event in checked event setter
* updating azdata-test to 1.1 in arc extension
* Some logic fixes in checked setter
* added proper typings and updated package version for azdata-data
* Renamed the event to onDidChangeCheckedState
* Fixed deprecation message
* Fixed broken Schema compare stubs
* Addition: properties page with link to dashboard
* Include new page
* Initial Parameter page start
* Include new changes from merged PRs
* Including new constants
* Git errors
* Add parameter commands and help
* Reset command
* Added chart
* git fix
* Fixed string issues
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Initial start to adding connect to sql for postgres instance
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* Messy dialog showing from button
* removed this._completionPromise.reject
* Cleaning up code
* Set connectSqlDialog to be an abstract class. Separated out Miaa and Postgres. (#13532)
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* removed this._completionPromise.reject
* Connect button clean up
* Format
* Format doc
* Fixed compile errors
* Cleaning up page
* Clean up
* clean up refresh
* Format doc
* Removed ellipse
* Cleaning up problems
* Updating localized constants
* Missing username update
* Get connection profile added to Resource model, abstract method created for calling connection dialog
* Added createConnectionProfile
* took out import
* Pulled in new changes, fixed usercancellederror
* Getting engine settings
* Git errors
* Corrected names of icons and constants, Fixed Miaa dialog title
* Changed gear svg, made postgres extension a loc constant, fixed formatting
* Fixed controller model name
* Put connection profile and id in resource model, changed back controller model in base class
* Fixed a few await issues
* Introduced ModelView as a class member in schemaCompareMainWindow
* Added a few button tests
* Fixed tests
* Add a missing await
* check untrusted notebook behavior
* remove skips
* check for elements after trusted nb is reopened
* move trusted element checks to notebook method
* make selector more specific
* Add notebook editor
Introduce notebook editor component to allow for separate notebook displays in order to accomodate notebook views
* Localize notebook views configuration title
* Refactor view mode and remove the views configuration while it is unused
* Only fire view mode changed event when the value has been changed
* Remove notebook views contribution
* Add metadata capabilities
* Notebook views definitions
* Add notebook views models
* Views test
* Rename type arguments
* Additional tests
* Fix unused import
* Update resize cell test
* Add notebook editor
Introduce notebook editor component to allow for separate notebook displays in order to accomodate notebook views
* Localize notebook views configuration title
* Refactor view mode and remove the views configuration while it is unused
* Only fire view mode changed event when the value has been changed
* Remove notebook views contribution
* update create project from database dialog to have editable new workspace
* add validation
* add test
* add error message
* Remove test for now
* cleanup
* add periods
* throw errors
* change return type to void
* Added fixed for the infinite loop in resource Deployment tools page
Generating events for select boxes only when the select box value is changed.
* Fixed the check logic in select method
* Reverted to old code and fixed some bugs
* Fixed event generation check logic
* stub file existing validation
* add error message
* change back to calling dialog.validate()
* move tests to separate dialogbase file and add more error message validation
* fix for start and stop xevent sessions
* vscode.open for help URL
* setup info messages for localization
@kburtram - I could use an assist on updating the v# and publishing the vsix, but there's no rush this can wait until after the holidays
* allow new workspace location to be editable
* fix workspace inputbox not showing up after toggling open workspace radio buttons
* add a few tests
* cleanup
* fix errors
* addressing comments
* fix filter for windows
* add error message if existing workspace file is selected and change picker to be folder only
* address comments
* fix typos and update tests
* Added localized strings
Created a db backup page
added radio buttons
* created components for database backup page
* Added account selection page
* Added accounts page
* Some more work done
- Added page validations
- Almost done with db backup except for a few api calls.
* Some more progress
added graph api for storage account
* Finished hooking up all the endpoints on db page.
* Some code fixed and refactoring
* Fixed a ton of validation bugs
* Added common localized strings to the constants file
* some code cleanup
* changed method name to makeHttpGetRequest
* change http result class name
* Added return types and return values to the functions
* removed void returns
* Added more return types and values
* Storing accounts in the map with ids as key
Fixed a bug in case of no subscriptions found
* cleaning up the code
* Fixed localized strings
* Added comments to get request api
Added validation logic to database backup page
removed unnecessary page validations.
* Added some get resource functions in azure core
* Changed thenable to promise
* Added arm calls for file shares and blob storage
* Added field specific validation error message
* Added examples in validation error message.
* Fixed some typings and localized string
* Added live validations to dropdowns
* Fixed method name to getSQLVMservers
* Using older storage package
* Update typings/namings (#13767)
* Update typings
* more typings fixes
* switched fileshares and blobcontainers api to http requests
* removed the extra line
* Adding resource graph documentation link as a comment
* remove makeHttpRequest api from azurecore
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* adding telemetry dependencies for data-workspaces and sql-database-projects
* Adding telemetry dependencies for dacpac extension
* Adding telemetry base to data workspaces and projects
* Adding telemetry base code to the dacpac extension
Co-authored-by: Benjin Dubishar <benjin@Largo.local>
Co-authored-by: Sai Avishkar Sreerama <ssreerama@microsoft.com>
* change server group look
* remove dead code
* add top padding
* add bot padding as well
* fix heights to account for padding
* fix arrow alignment
* fix ellipses and node length parity
* fix alignment
* Added localized strings
Created a db backup page
added radio buttons
* created components for database backup page
* Added account selection page
* Added accounts page
* Some more work done
- Added page validations
- Almost done with db backup except for a few api calls.
* Some more progress
added graph api for storage account
* Finished hooking up all the endpoints on db page.
* Some code fixed and refactoring
* Fixed a ton of validation bugs
* Added common localized strings to the constants file
* some code cleanup
* changed method name to makeHttpGetRequest
* change http result class name
* Added return types and return values to the functions
* removed void returns
* Added more return types and values
* Storing accounts in the map with ids as key
Fixed a bug in case of no subscriptions found
* cleaning up the code
* Fixed localized strings
* Added comments to get request api
Added validation logic to database backup page
removed unnecessary page validations.
* Added some get resource functions in azure core
* Changed thenable to promise
* Added arm calls for file shares and blob storage
* Added field specific validation error message
* Added examples in validation error message.
* Fixed some typings and localized string
* Added live validations to dropdowns
* Fixed method name to getSQLVMservers
* Add dependent field provider to resource deployment
* Change name to value provider service
* Add error handling
* providerId -> id
* Set dropdown value correctly
* missed id
* back to providerId
* fix updating missed id
* Make resource deployment providers disposable
* Add dependent field provider to resource deployment
* Change name to value provider service
* Add error handling
* providerId -> id
* Set dropdown value correctly
* missed id
* back to providerId
* fix updating missed id
* remove placeholder
* Added engine version argument to edit command. Neccessary for not using pg12
* Included for changing password in overview page
* Updated fakeazdataapi test
* draft commit
* few changes
* Changes to copy query with results in plain and html formatting
* undo changes
* undo unintended change
* remove comments
* Addressed comments
* Some clean up
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* UI hook up
* Add tests
* Add back the missing statement for opening project
* Fix failures
* Add a few more tests
* Fix test failure
* Addressed comments
* Update UI to match the mocks
* Update UI to match updated mockups
* Addressed comments to match UI with mockup
* Updated all import strings to be called as Create Project From Database strings
* Fix a couple of test failures and one comment addressed
* Update one missed import string
* Skipping a failing test for now
* Fix failures. Fix alignment of icons
* Addressed PR comments
* Addressed couple more PR comments
* saving wip to merge main
* temp fixes for textValidation* removal
* save wip to switch tasks
* save wip to switch tasks
* save wip to switch tasks
* code complete - with known bugs
* missed test file
* fix extHostModelView changes
* validation module
* missed test changes
* missed change
* pr feedback
* pr feedback
* revert inadvertent change
* remove unneeded change
* merge from bug/12082-2
* pr feedback
* pr feedback
* bdd -> tdd for validation tests
* bdd -> tdd for validation tests
* pr feedback
* remove unneeded file
* pr feedback
* EOL instead of '\n'
* pr feedback
* pr feedback
* minor fixes.
* pr feedback
* fix comment
* comments and var renames
* test fixes
* working version after validation simplification
* working version after validation simplification
* remove inadvertent change
* simplified validations
* undo uneeded change
* cleanup
* working version after latest merge
* comments and whitespace fixes
* remove is_integer checks
* sentence case field validation messages
* Use generic strings in sample fields
* minor fixes to sample extension strings
* spaces to tabs for indentation
* request fields before limit fields
* reaarange request/limit fields
* is_integer checks for PG Server Group number fields
* Thenable to Promise
* InputBoxInfo
* pr feedback
* pr feedback
* isUndefinedOrEmpty to utils
* include asde package.json
* use ValidationValueType
* ValidationValueType -> InputValueType
* Add support for dynamic enablement of resource deployment components
* use instanceof function
* getValue returns InputValueType
Co-authored-by: Arvind Ranasaria <ranasaria@outlook.com>
* Fix project context menu actions (#12541)
* delete works again
* make fewer changes
* update all sql db project commands
* cleanup
* Remove old projects view (#12563)
* remove old projects view from file explorer view
* fix tests failing
* remove projects in open folder opening up in old view
* Update db reference dialog to show projects in the workspace (#12580)
* update database reference dialog to show projects in the workspace in the project dropdown
* remove workspace stuff from sql projects extension
* undo change
* add class that implements IExtension
* undo a change
* update DataWorkspaceExtension to take workspaceService as a parameter
* add type
* Update sql database project commands (#12595)
* remove sql proj's open and create new project from comman palette
* hook up create project from database to data workspace
* rename the remaining import databases to create project from database
* remove open, new, and close commands
* expose addProjectsToWorkspace() in IExtension instead of calling command
* Addressing comments
* fix failing sql project tests (#12651)
* update SSDT projects opened in projects viewlet (#12669)
* fix action not refreshing the tree issue (#12692)
* fix adding project references in new projects viewlet (#12688)
* Remove old projects tree provider (#12702)
* Remove old projects tree provider and fix tests
* formatting
* update refreshProjectsTree() to accept workspaceTreeItem()
* Cleanup ProjectsController (#12718)
* remove openProject from ProjectController and some cleanup
* rename
* add project and open project dialogs (#12729)
* empty dialogs
* wip
* new project dialog implementation
* revert gitattributes
* open project dialog
* implement add project
* remove icon helper
* refactor
* revert script change
* adjust views
* more updates
* make data-workspace a builtin extension
* show the view only when project provider is detected (#12819)
* only show the view when proj provider is available
* update
* fix sql project tests after merge (#12793)
* Update dialogs to be closer to mockups (#12879)
* small UI changes to dialogs
* center radio card group text
* Create workspace if needed when opening/new project (#12930)
* empty dialogs
* wip
* new project dialog implementation
* revert gitattributes
* open project dialog
* implement add project
* remove icon helper
* refactor
* revert script change
* create workspace
* initial changes
* create new workspace working
* fix tests
* cleanup
* remove showWorkspaceRequiredNotification()
* Add test for no workspace open
* update blue buttons
* move loading temp project to activate() instead of workspaceService constructor
* move workspace creation warning message to before project is created
* pass uri to createWorkspace
* add tests
Co-authored-by: Alan Ren <alanren@microsoft.com>
* Additional create workspace changes (#13004)
* Dialogs workspace updates (#13010)
* adding workspace text boxes
* match new project dialog to mockups
* Add validation error message for workspace file
* add enterWorkspace api
* add warning message for opening workspace
* cleanup
* update commands to remove project so they're more generic
* remove 'empty' from string
* Move default project location setting to data workspace extension (#13022)
* remove project location setting and notification from sql database projects extension
* add default project location setting to data workspace extension
* fix typo
* Add back project name incrementing
* other merge fixes
* fix strings from other PR
* default to last opened directory instead of home directory if no specified default location
* A few small updates (#13092)
* fix build error
* update title for inputboxes
* add missing file
* Add tests for data workspace dialogs (#13324)
* add tests for dialogs
* create helper functions
* New project dialog workspace inputbox fixes (#13407)
* workspace inputbox fixes
* fix folder icons
* Update package.jsons and readme (#13451)
* update package.jsons
* update readme
* add workspace information to open existing dialog (#13455)
Co-authored-by: Alan Ren <alanren@microsoft.com>
* Fixed the generate script logic for notebook wizards.
* -reverted previous changes
-added last page check to the page validation change logic.
* checking if the page is valid when entering it.
* removing unnecessary index variable in forEach loop
* added comments for generate script button enabling on notebookwizard page.
* Added azurehybridtoolkit to list of external extensions
* Added updated book
* added to recommended extensions
* extensions.js updated for build
* added small changes to extension
* small changes to extension
* tsconfig change
* gitignore and vscode changes
* changed package display name
* save connection info in notebook metadata
* update attachTo dropdown based on saved alias
* add setting for saving connection (default=false)
* save/read cell connection name to/from metadata
* get started on toggling multi connection mode
* add activeConnection property to cell model
* add changeContext method for cell
* add comments
* add unit test for reading connection name
* save connection mode in metadata
* clean up code
* address PR comments
* Add archive logs step to linux build
* right file
* try
* try this
* correct order
* build artifact
* export
* log
* use tmp
* zip up all
* Remove extra publish
* other scripts
* add test name to dir
* Push the latest update for WYSIWYG bug
* Improvements to nested lists
* OL tests and PR feedback
* Fixed all toolbar options for tags
* Address PR comments
* Ensure style is kept and not escaped
* Add all markdown toolbar action tests
* Style text edge case fix
* Address repeat function and type comment
* add more clarifying test
* SQL VM wizard migration to ResourceType Wizard
* Revert "SQL VM wizard migration to ResourceType Wizard"
This reverts commit e58cd47707a7e2812be20d915f1fe638b96b035f.
* migrated notebook wizard
* SQL VM wizard migration to ResourceType Wizard
* Fixed some imports on SQL VM wizard
* migrated sqldb wizard to generic ResourceTypeWizard
* Added missing import
Solving errors from the merge
* Moved some common functionality into ResourceTypeWizard
* Changed logic of start deployment
* fixed some import after changing files.
* added pagelss model and tools and Eula Page
* Hacky solution to fix wizard update bugs
* Removed tools and Eula components from resourceTypePickerDialog
* Removing changes in ext host
* reverting every change in ext host dialog
* Fixed setting the first provider for resourceTypeWizard.
* Some PR related changes
-Fixed typo in localized constants
-made some code logic concise
-Removed unnecessary check in tools&Eula
* Added some fixes for compilation error
* some refactoring for PRs
* moved comment
* cleaning up some code to make it more readable
* fixed comment typo
* Some additional cleaning up of code.
* Adding a public getter for model
* -Adding error message for failed EULA validation
-Removed unnecessary check for selected resource.
* Added comment to explain model variable behavior
* Added additional comments
* Fixed a comment to make it accurate
* Better phrasing for a comment
* added arialable for check all checkboxes and added some missing roles for the table elements
* removed duplicate attribute
* Moved column header aria label logic to a function.
* fixed typos in declarative table
* Changed the aria label text to something that is more intuiive.
* fixed typo in localized string identifier
* adding focus outline styling for checkboxes
* Merge pull request #110038 from aasimkhan30/aasim/fix/checkboxOutline
Added outline offset to checkbox to make focus visible.
* Revert "adding focus outline styling for checkboxes"
This reverts commit 1f9de7a00f7e947725e9e935d0be5bca2d662600.
Co-authored-by: Miguel Solorio <miguel.solorio@microsoft.com>
* Added new warning icon for model input mapping view. Adjusted padding between it and the input field beside it.
* Added new warning icon for model input mapping view. Adjusted padding between it and the input field beside it.
* Modified icon fill colors for better presentation in dark/HC themes. Modified font sizes and padding in various places. Increased input field widths. Removed unnecessary width properties.
* Revised styles and added elements to view models stage of the View and import models.
* Implemented Leilas DataInfoComponent, replacing my use of icon and title, description fields. Corrected some styles.
* Fixed the issue with icon title and description
* Fixed severla issues
* Added method to output localized text for number of models shown. Added component to display models shown text.
* Fixed the issues with order of components
* Fixed showing number of models
Co-authored-by: llali <llali@microsoft.com>
* Added Tools Service call for ValidateStreamingJob
* Partial addition of ESJ
* adding test mocks
* Validation working
* Modifying command visibility logic to submatch ESJs in addition to files
* Changed string literal to constant, corrected attribute order
* Added tests
* correcting casing that's causing test failures on linux
* Swapping Thenable for Promise
* excluded validate from command palette
* Add interface for modifying the table of contents of books
* Add logic for creating toc
* Fix issue with toc
* Add test for creating toc
* Delete bookTocManager.test.ts
* update allowed extensions
* Fix failing tests and add test
* Add tests for creating books
* Remove unused methods
* add section to section
* Created a function to disable the upgrade existing databases radio button if no databases exist.
* Created helper functions for the upgrade database radio button and new database radio button and abstracted the code accordingly.
* Made changes to helper function names and signatures, and added the enableUpgradeRadioButton() helper function.
* Made some changes to the enableUpgradeRadioButton helper function.
* Made changes to helper functions to ensure the radio buttons enable accordingly when a server is changed from the server dropdown.
* Made changes to helper functions and checks.
* Made additional checks to the populateDatabaseDropdown function.
* Added the logic to select the new radio button when upgrade radio button is disabled.
* Hiding dacpac from search for SQLOD
* Removing Schema compare from search bar for SQL OD
* Updating STS version for removing ServerRoles folder change for SQL OD
* save connection info in notebook metadata
* update attachTo dropdown based on saved alias
* add setting for saving connection (default=false)
* dont show saved conn if seting off + added test
* show conn dialog if save conn name setting off
* address PR comments and fix unit test
* change connectionName to connection_name
* SQL VM wizard migration to ResourceType Wizard
* Revert "SQL VM wizard migration to ResourceType Wizard"
This reverts commit e58cd47707a7e2812be20d915f1fe638b96b035f.
* migrated notebook wizard
* SQL VM wizard migration to ResourceType Wizard
* Fixed some imports on SQL VM wizard
* migrated sqldb wizard to generic ResourceTypeWizard
* Added missing import
Solving errors from the merge
* Moved some common functionality into ResourceTypeWizard
* Changed logic of start deployment
* fixed some import after changing files.
* fixed some easy typos on sql db wizard.
* Fixed some instructions in the notebook
* - Added option to enable or disable firewall rules
* converted toggle firewall dropdown to checkbox
* Add support for "More Actions" column in resource viewer
* update provider
* remove import
* Use menu contribution and make actions column always show
* cleanup
* move context menu anchor
* Comments
* Vores and memory had needed request/limit commands switched
* If saving returns an error, leave discard button enable
* Check if workers is undefined
* refactor grid streaming (convert to data first)
* change convertRowsToHtml method to return value
* remove griddataconversioncomplete checks
* send row data from STS to gridoutput component
* clean up code
* send data updates to cell model
* serialize cell output at the end of cell execution
* remove unused parameters
* update output contents instead of output reference
* remove unnecessary promise
* move azdata changes to proposed
* update comment
* add search box
* switch back to the traditional azure tree
* Revert "switch back to the traditional azure tree"
This reverts commit 7904b9cd599591e94412ec79da23590068de46b6.
* flat account tree node and filtering
* add comment
* context menu
* fix test
* handle disposable
* add logging
* Backend work for Parameterization + Tests
* address comments
* Add Parameters Tag upon state change
* Edit CSS Styling for accessibility
* more generic tag names
* Set python path in kernel specs when running on SAW devices.
* Use tab spacer for kernel json.
* Update path to jupyter kernelspec.
* removing the kernelspec write
* Changed powershell kernel.json to use appdata folder
* Addressed PR and added try catches around the code.
* removed redundant try catch
* removed redundant try catch
* removed another try catch
* removed space
* Fix for multiple powershell notebook failing issue
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* Set python path in kernel specs when running on SAW devices.
* Use tab spacer for kernel json.
* Update path to jupyter kernelspec.
* removing the kernelspec write
* Changed powershell kernel.json to use appdata folder
* Addressed PR and added try catches around the code.
* removed redundant try catch
* removed redundant try catch
* removed another try catch
* removed space
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* fix for removed links in untrusted notebooks
* replace whitespaces on link for %20
* remove dot from hyperlinks
* Address PR comments
* Change name of variable
* processwhenclause added
* processWhenClause explanation added
* changed comment to be more generic.
* changed expected comparison
* test and space fix added
* fixed tests
* resourceTypeService now uses forloop
* promote api to official
* add comments
* disposable
* move getConnection out
* comment for connection namespace
* remove extra line
* also fix registerQueryInfoHandler
* added filtering to the resource type along with a new component.
* -Added caching of cards
-Removed unused component props
-localized tags
-limited the scope of list items
* Made some changes in the PR
* - Added Iot Category to SQL edge
- Moved category names to constants
- Moved localization strings to localized constants
- Made filtering logic more concise
- Changed how category list is generated
--Category list can now be ordered
-Added back event generation for selectedCard
* Fixed bugs, and some additional changes
-Fixed radiogroup height to avoid the movement of options below it
-Restoring the focus back to the search and listview components
- Added focus behaviour for listview
- Fixed a typo in comment
* Made categories an Enum
* Added localized string
* localized category string
converted categories to enum.
* made the filtering logic more concise.
* returning string if no localized string formed
removed unnecessary returns
* fixed the filtering tag logic
resetting search when category is changed
* removing the iot tag from sql edge deployment
* made filtering logic more concise
made enum const
* added vscode list
* some cleanup
* Some PR changes
- Made PR camelcase
- added comments to SQL
- removed unnecessary export
* -Some PR related changes
-Removing unsupported style property
-scoping down css and removing unused ones.
* Fixed a comment text
* Fixed typings for listview event
* fix search for pinned notebooks
* fix filtering when verifying that a search folder is not a subdirectory from the current folder queries path
* Show book node on pinned notebooks search results
* fix parent node on pinned notebooks search results
* fix search for pinned notebook and modify how pinned notebooks are stored in workspace
* update format of pinned notebooks for users that used the september release version
* removed unused functions
* Address PR comments
* fix parent node for legacy version of jupyter books
* remove cast from book path
* Getting the proper attribute during column modification
Exposing errors of change column settings and stopping import if they occur
* removing extra space
* Added a comment for error handling
* Fixed a test error that was caused due to insufficient null checks.
* removing unnecessary return
* Add quick pick to select target platform for a project
* add test
* show current target platform and info message for new target platform
* fix test failing
* 3644 Added RequestSecurityTokenParams, RequestSecurityTokenResponse, and SecurityTokenRequest to Kusto/contracts.ts. Added AccountFeature to features.ts. Registered feature in kustoServer.ts
* 3644 Removed TryCatch in kusto features > getToken
* 3644 Added AccountId to Kusto > RequestSecurityTokenParams. Refactored kusto features getToken to use the accountId for the query window.
* 3644 Removed unused AccountQuickPickItem
* 3707 Changed getIconpath in serverTreeRenderer to always set iconPath if iconId is undefined. Changed renderConnection to always renderServerIcon
* 3707 Added default flag to KustoIcon in package.json
* fix caching issue
* 3707 Changed default to optional variable. Updated asyncServerTreeRenderer > getIconPath to check for default
* 3707 Changed logic for setting iconPath in getIconPath
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* dashboardWidget to use updated button component - added an enum for buttonType.
* Code fixes.
* Casting ButtonType to string
* Leaving default description value as empty string. Testing logic for buttonType.
* Moved ifFile check into buttonType getter. Hard coded button type returns to test on the front end.
* revised buttonType getter to return Normal by default if not specified in properties.
* Extended sql Button as InfoButton for use in dashboardWidget.
* Added InfoButton to ngAfterViewInit
* Upadted how infoButton element is built. Exposed properties for use in button.component.
* Experiment: Added interface and imported iconUtils for getting iconClass.
* infoButton updates
* Some modifications
* Defined HTMLElements and populated each with properties from dashboardWidget.
* Rewrote elements and passed in properties from dashboardWidget to define button contents and layout.
* Added missing delineator.
* Correctd width getter.
* Code cleanup
* Styled header and button copy. Corrected button and header dimensions.
* Button and welcome page background style adjustments.
* infoButton: Added element reference for container coming in via super so I could apply styles to it. Corrected how button renders.
* Addressed PR feedback - removed async functionality where not needed. Modified syntax that is being deprecated. Made extended IButtonOptions all optional.
* Formatted azdata.proposed. Hygiene check flagged it.
* Removing ? and undefined from button properties as all are being passed from dashboard Widget
* Initialized private vars representing options from custom interface IInfoButtonOptions.
* Addressed PR feedback - added stylesheet for infoButton. Removed iconPath from infoButton context. Cleaned up overall implementation.
* Simplified linear-gradient behind main image so it works across all three themes.
* Style cleanup.
* Removed block notation from element creation in constructor.
* Fixed type signature of IInfoButtonOptions.
* Removed comments. Shifted infoButton style properties into stylesheet.
* Set background color for infoButton when active. This fixes issue where is becomes invisible while selected.
* Corrected styles. Removed hard-coded font-colors. Removed unnecessary styles.
* CSS - added hover styles to side panel items per Figma comps. Cleaned up CSS and removed code comments.
* remove unused splash screen and fix issue reporter path (#12218)
* data workspace extension batch 2 (#12208)
* work in progress
* load projects in view and test cases
* update scope
* make the sql proj menu available in workspace view
* add extension unit test
* address comments
* fix errors
* Add reference to another sql project (#12186)
* add projects to add database reference dialog
* able to add project references
* check for circular dependency
* only allow adding reference to project in the same workspace
* fix location dropdown when project reference is enabled
* add tests
* more tests
* cleanup
* fix flakey test
* addressing comments
* fix focus order (#12233)
* Notebook Text Cell Highlight Improvements (#12197)
* 1st iteration
* works but multiple highlights
* remove comment
* Works but multiple selects
* wip
* cleanup
* cleanup
* Update TPN
* Add mark.js to remote + web
* PR feedback
* Tweak workbench html files
* Add vcore limit support (#12212)
* Quick tweaks to resource viewer (v1) (#12210)
* Hackathon - Better Markdown Editor (#11540)
* Hackathon - better markdown editor - modified Bold to wrap selection in HTML. Split Image button into two new options: embed and link. Made preview container contentEditable.
* Removed the new dropdown from Image button -- it is not necessary since we are adding a context panel instead.
* Modified preview icons
* Set code-component dimensions so it is not visible. It is still being used to pass markdown changes to however.
* add turndown and save markdown
* update model on UI when source changes
* Added conditional that sets element attribute contentEditable when it is in edit mode.
* Added textView component that can be used for editing.
* update source on MD view not on every keystroke
* Added markdown editor buttons that allow user to swap editor, preview views.
* Cleaning up implementation
* Setting base value of _showPreview to false.
* don't allow html edit on split view
* Update editor automagically
* Add an image picking dialog to notebook toolbar.
* Await transformText()
* revert pushEditOperations to fix cursor issue
* Implemented radio buttons for three view toggles.
* Added new, optional properties to radioButton: name, icon class and tooltip. This allows for display as toggleable icon. Updated styles and theme accordingly.
* Style tweaks.
* Added new ViewAction file where the RadioButton action will reside.
* Removed radio button implementation in exchange for native button instantiation. Adjusted CSS and theme accordingly.
* Styles, component and template changes to handle view toggle between text, markdownn an splitview. Includes reverting of radioButton as this is no longer used.
* WYSIWYG 3 Modes
* Ensure one action active at a time
* Setting Text View button active by default. Cleaned up styles. Moved toolbar element to prevent code cell layout overflow.
* Ensure we respect editMode, add showMarkdown
* hiding overflow on code-cell
* Empty text container needs 100% width. Eliminates weird selection border too.
* Initialize _previewMode
* Actions Compatibility
* Further toolbar enhancements
* Update yarn lock after merge
* Slim down changes
* Remove commented out code
* Added margins around notebook-preview container for more visual space for text
* Add turndown to workbench html
* Tweak import
* Add types/turndown
* Remove workbench.html fix
* Import cjs modules directly for turndown
* Leverage solution from github
* browser umd
* non browser umd
* welp dependency
* Modified updatePreview to insert a p tag only when text cell is empty.
* add listener for undo
* add turndown to remote and web
* Fix workbench, check in plugin
* PR comment
Co-authored-by: maddydev <makoripa@microsoft.com>
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
* Update external repo links (#12226)
* Update external repo links
* Update yarn files
* make schema compare test unstable (#12234)
* make schema compare test unstable
* also make Standalone database context menu test unstable
* Fix missing package update (#12235)
* Resource Deployment UX Refresh (#12173)
* adding new card to styles
* renamed property, removed unnecessary css
* Fixed to match new props
* added horizontal class
* merged from master
* Make SandDance work generically for Kusto (#12229)
* Make SandDance work generically for Kusto and Postgres
* Addressed comments
* removed param
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Set items in cell model (#12237)
* Change tables to make them work for our scenario (#12193)
* Change tables to make them work for our scenario
* Comments & deprecate API
* Disable selections by default
* Have default values in add database dialog input boxes (#12155)
* show default values in text boxes
* add sqlcmd formatting
* add tests
* Add some sqlcmd variable name validation
* Addressing comments
* fixes after merge
* fix test
* don't localize OtherServer
* fix for windows
* one more fix
* fix test
* fix bug that doesn't register double click enabled on new notebook contexts (#12239)
* Notebooks: Hide link and image buttons in text cell toolbar in WYSIWYG mode (#12240)
* hide link and image buttons in WYSIWYG mode
* defined taskbar actions
* rename arrays
* Notebooks: Add setting for default text cell edit behavior (#12245)
* Add setting for default text cell edit behavior
* string updates
* Fix pinned notebooks navigator (#12246)
* Added loading to dropdowns (#12214)
* Added loading prop to dropdowns
* Added property for setting loading text message
* removed unnecessary sets
* changed code to match new changes
* Changed the dropdown loader to use select component instead of edit.
Added missing props in dropdown loader
* Address comments jupyter create book notebook (#12250)
* Remove toc file link and add warning for windows users
* Bump node-fetch from 2.6.0 to 2.6.1 in /build/actions (#12219)
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>
* Bump node-fetch from 2.6.0 to 2.6.1 in /build (#12220)
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>
* Fix Notebook Kusto Kernel Consistency (#12256)
* fix kusto notebook consistency
* Address undefined
* add existing project to workspace feature (#12249)
* add existing project to workspace feature
* update file name
* new test and use URI
* handle workspace with no folder
* add more validation
* and more tests
* use forward slash
* Use correct resource name (#12288)
* Add heasdingStyle atx option (#12286)
* Disable resource viewer (#12291)
* Disable resource viewer
* comment
* Remove unused
* adding icon for add new and open project (#12265)
* remove project feature (#12297)
* remove project feature
* update test
* Fix notebook cancel query bug (#12300)
* fix undefined query runner error
* store connection id
* revert sqlSessionManager change
* Update PG Deployment with new fields (#12187)
* Added 5 missing field options
* Missing apostrophe
* Change extensions label
* Update volume size descriptions
* Change volume size labels
* Reorder required tools
* Reorder required tools
* Argument fixes
* Removed tabs
* Rearrange option order
* Rearrange option order
* Rearrange option order VS
* Added validation to fields. VS accepts only integer and appends Gi
* Changed Dusky deployment title
* Removed text validation for VS and Mem. Changed to Number field type
* Min set to 1 for VS and Mem
* Min set to 1 for Cores
* Memory limit must be at least 256Mi
* the casing of 'preview' should remain consistent
* Removed empty line
* Portal links for main branch (#12319)
* first commit
* json field added
* message genericized
* order changed
* removed summary page text
* fixed url
* controller dropdown field to SQL MIAA and Postgres deployment. (#12217)
* saving first draft
* throw if no controllers
* cleanup
* bug fixes
* bug fixes and caching controller access
* pr comments and bug fixes.
* fixes
* fixes
* comment fix
* remove debug prints
* comment fixes
* remove debug logs
* inputValueTransformer returns string|Promise
* PR feedback
* pr fixes
* remove _ from protected fields
* anonymous to full methods
* small fixes
* new postgres model (#12305)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Nasc/delete instance code removal (#12307)
* Formatted page
* Removed ResourceHealthPage from the dashboard
* Deleted files that no longer applies to the public preview backend
* shouldn't be able to open the postgres dashboard
* Add new deployment options for MIAA (#12325)
* Use custom dialog for prompting MIAA connection info (#12316)
* Use custom dialog for prompting MIAA connection info
* disable inputs
* Update strings
* remove data-workspace dependency (#12321)
* Arc public preview updates (#12329)
* Arc public preview updates
* disable PG dashboards again
* Stop watching for sqlproj updates after the file is closed (#12311)
* stop watching for sqlproj updates after the file is closed
* remove watcher if project is closed
* Fix component items in declarative table not showing (#12330)
* fix maximize bug (#12334)
* 12284 Removed custom CSS that positioned editor text beneath overlapping layers. Text is now selectable. (#12312)
* Add newline after caption (#12276)
* Watch for on load event (#12309)
* Update deletion strings to refer to instances instead of resources (#12332)
* Update deletion strings to refer to instances instead of resources
* one more
* Remove unused
* More
* Fix DT linting issues (#12290)
* vbump sql-db-proj extension (#12336)
* update sqlproj dependency version (#12359)
* Fix highlight issue (#12278)
* Fix highlight issue
* Address PR comments
* remove a import unit test (#12358)
* SQL VM deployments (#12144)
* Added sql vm deployment option
* Added more fields for sql vm deployments
* created basic sqlvm deployment. Mostly hardcoded
* added string to package.nls
* added poc deployments for sql vm
* Made some changes in the notebook that was mentioned in PR
* Added scaffolding for azure sql vm wizard.
* code cleanups
* added some async logic
* added loading component
* fixed loader code
* completed page2 of wizard
* added some more required fields.
* added some more fields
* added network settings page
* added sql server settings page
* added azure signin support and sql server settings page
* added some helper methods in wizard code
* added some fixes
* fixed azure and vm setting page
added validation in azure setting page
* added changes for the notebook variable
* validations and other bug fixes
* commenting sql storage optimization dropdown
* cleanedup wizard base page
* reversing vm image list to display newer images first
* cleaning model code
* added validations for network setting
* Completed summary page
fixed the code poisition
some additional field validations
* fixed networking page
* - fixed an error with vm size model variable
- removed byol images because it was not working with az sql vm
- Fixed vm size display names in dropdown
* added double quotes to some localized strings
* added some space inside strings
* -Added live validations
-Restyled network component
-Added required to regions
-Some bug fixes
* -redesigned summary page
-localized some strings
* Fixed summary page section titles
* -Fixed validations on sql server settings page
-Fixed some fields on Summary Page
* corrected onleave validation
using array for error messages
using Promises.all
* Fixed bug on network settings dropdowns when user does not have existing resource to populate them
* Change resource deployment display name
Added Ninar's iteration of the notebook
Changed RDP check box label
Surfacing API errors to user
Filtering regions based on Azure VM regions and user's subscription region
Made form validation async
Displaying new checkbox on network page when dropdowns empty
Fixed a small bug in SQL auth form validation
Made summary single item per row and fixed the gaps in spacing
Fixed validations in vm page
Checking if vm name already exists on azure
* Fixed sql vm eula
Fixed sql vm description
Added hyperlink for more info on vm sizes
* Replaced loading component with dropdown loaders.
* localized string
Fixed a bug in network settings page
* Added additonal filtering
* added reverse to image images
* Fixing some merge related issues
* Update arc regions for public preview (#12366)
* Fix duplicate arc instance nodes (#12381)
* Add "No instances available" node for empty arc controllers (#12374)
* Remove MIAA Port Deploy Option (#12388)
* fix option sources (#12387)
* Fix manage action for arc view (#12389)
* 12360 Notebook UI - Mac/Win fix for Select all. (#12383)
* 12360 Notebook UI - Mac/Win fix for Select all.
* Fix for ctrl key selecting all in windows
* Fix undo as well
* preventDefault to prevent confusing behavior
Co-authored-by: chlafreniere <hichise@gmail.com>
* Fix notebook table rendering with multiple code cells (#12363)
* create unique query runner for each cell
* use cellUri instead of cellId to identify runner
* disconnect each query runner connection
* remove queryrunners size check
* Remove azdata eula acceptance from arc deployments (#12292)
* saving to switch tasks
* activate to exports in extApi
* working version - cleanup pending
* improve messages
* apply pr feedback from a different review
* remove unneeded strings
* redo apiService
* remove async from getVersionFromOutput
* remove _ prefix from protected fields
* error message fix
* throw specif errors from azdata extension
* arrow methods to regular methods
* pr feedback
* expand azdata extension api
* pr feedback
* remove unused var
* pr feedback
* Notebooks: Fast update WYSIWYG support for source update (#12289)
* Fast update WYSIWYG support for source update
* Do bracket matching over hardcoding line offsets
* Update Windows command and minor update to installation cell (#12361)
* Fix windows command and minor update to installation cell
* Add expand_section field on the first section of the book
* marking intermittent test failure as unstable (#12402)
* Fix connection dialog indentation (#12401)
* fix connection dialog indentation
* indent tab body
* Remove container registry from arc control deploy (#12392)
* Fix error when clicking on header for tables with no rows (#12408)
* Change default Select query label to "Take 10" for Kusto tables (#12396)
* Change default label to "Take 10" for Kusto tables
* Addressed comments
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Fix resource deployment text field validation (#12421)
* Fix arc deployment regions and remove docker summary (#12430)
* start with eulaCheckButton hidden (#12427)
* start with eulaCheckButton hidden
* reset buttons on card select
* remove testcode
* fix the legacy card style issue (#12428)
* fix the legacy card style issue
* replace the card class
* Fix Spark kernel connections and switch from Kusto to Spark kernels (#12436)
* Fix connection dialog for Spark and issue when switching from Kusto to Spark
* Address comments
* Add Arc MIAA username configuration (#12429)
* Add Arc MIAA username configuration
* username -> userName
* fix postgres product name (#12443)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* vBump azdata extension (#12452)
* Arc - Enable Postgres dashboard (#12439)
* get overview, conn strings, properties pages working
* hook up password reset, azure link, scale configuration
* fix comments
* enable opening postgres dashboard from controller dashboard
* minor fixes
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Remove ItemGroup from sqlproj if node being removed is the last one (#12398)
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* fix the extension dependency issue (#12347)
* Bump arc/azdata extension versions (#12463)
* Add preview to Arc controller deployment (#12465)
* Update azdata extension icon (#12469)
* small optimization for select (#12419)
* Revert BDC deployment back to using old azdata check (#12470)
* remove/use unused strings (#12460)
* Activate arc extension with resource deployment command (#12472)
* change to allow refresh and delete correctly (#12477)
* update resultSet in data provider (#12478)
* Add SQL instance name validation (#12480)
* Add SQL instance name validation
* Move -
* Update PG validation
* Fix regex
* simplify
* add table name to models that are imported (#12445)
* add table name to models
* adding null check for safety
* As per PR comment
* Arc/Azdata string updates (#12485)
* Arc/Azdata string updates
* more updates
(cherry picked from commit 2c6f7ac4472e0197650be299ec899388bb495fd8)
* couple more fixes
* more
* update sql database projects readme (#12481)
* remove option to add reference to same database (#12495)
* Update default values and example text when dropdown value changes (#12493)
* Fix PySpark kernel connection change (#12494)
* Notebooks: Fix Grids Not Rendering when Unsaved Notebook Reloaded (#12483)
* Clear Output and fix output change
* Fix tests after forced clear + append output
* Add warning message for users using the new version of jupyter book (#12496)
* Add warning message for users
* Address pr comments
* Arc Postgres - Add Azure params to overview page, update notebook (#12482)
* add azure params to pg overview page, update troubelshooting notebook, string changes
* no default pg version for notebook
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Arc good ARC bad (#12499)
* default to 0 workers (#12506)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Add progress indicator for arc instance deletion (#12510)
* Fix core and memory request MIAA deploy (#12505)
* Fix core and memory request MIAA deploy
* Memory request/limit as 2Gi for MIAA
* In-Viewlet Notebooks Search (#12455)
* fix search
* Add sql carbon tags to vs files
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: abist <adbist@microsoft.com>
* Replace vCores property with state for arc controller dashboard (#12512)
* Bump extensions (#12516)
* fix the reference error due to extra $ in default variable (#12523)
* use GB instead of MB for postgres memory (#12528)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* data workspace review feedback implementation (#12489)
* add a view to handle no workspace scenario
* text update
* project type filter improvement
* fix the project level context menu issue
* update strings
* Add timestamps to azdata output channel output (#12530)
* Fix arc controller ns/name validation (#12525)
* Fix arc controller ns/name validation
* Rename control plane references
* Fix validation
* new download location of azdata.msi (#12466)
* new download location of azdata.msi
* refactor
* Disable tests
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* move eula prompt post azdata discovery (#12532)
* new download location of azdata.msi
* move eula prompt post azdata discovery
* unacceptEula - test change
* Revert "unacceptEula - test change"
This reverts commit f84a3f5e41797de25b38f87143d66f7041b5c4ec.
* Remove Direct connectivity mode option (#12533)
* Remove Direct connectivity mode option
* remove option completely
* fix string
* Arc - Update Postgres deployment field labels and descriptions (#12537)
* update help text strings
* update field descriptions to match help text
* update cpu/memory field descriptions
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Add troubleshoot button to arc controller/MIAA dashboard (#12534)
* Add troubleshoot button to arc controller dashboard
* Add MIAA button
* Fix links
* Change azdata output channel to Azure Data CLI (#12545)
(cherry picked from commit cdd80c66764bddb2f5ed79045fbd8a0606d1d084)
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Fix windows azdata install (#12542)
* Fix windows azdata install
* skip failing tests
* Update/release docs (#12544)
* update changelog for 1.22
* update fwlinks
* fix format
* escape the value for display (#12547)
* Add new profile (#12556)
* Add new profile
* version
* move
* fix readonly summary page field widths (#12558)
* Arc - Enable Postgres support request link (#12560)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Add test for notebook result grid streaming (#12539)
* start testing convertAllData
* add test for convertAllData method
* clean up code
* bump ads and extensions (#12550)
* bump ads and extensions
* bump azdata
* bump asde deploy
* Remove command link from deployment error (#12573)
* [Kusto extension] Updated links (#12569)
* Add CodeQL Analysis workflow (#10195)
* Add CodeQL Analysis workflow
* Fix path
* updated links
* edit line 31
* edit lines 11 and 31
* edit line 11 again
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* Don't use deprecated param (#12574)
* add event.preventDefault() (#12564)
* strict compile for sql/workbench/contrib/queryHistory (#12579)
* clone the object to be modified (#12583)
* Strict compile for sql/workbench/services/dialog (#12578)
* Strict compile for sql/workbench/services/dialog
* fix errors
* strict compile for queryResultsView (#12581)
* Add telemetry for ModelView wizards (#12596)
* Add telemetry for ModelView wizards
* Remove unnecessary params
* Fix compile error
* Improved behavior for accepting EULA. (#12453)
* working version of overloading "select" button
* promptForEula to use showErrorMessage
* make parameter optional in promptForEula
* remove test code
* PR feedback
* eula to EULA
* minor fix
* Remove arc deployment extension check (#12598)
* add role for history tab (#12608)
* add title and tab-index for X button (#12605)
* set aria-hidden for a non-visible control (#12607)
* Convert MIAA and Postgres deploy from Dialog to NotebookWizard (#12609)
* dialog to NotebookWizard
* move fields
* fix 12599
* pr feedback
* add missing page titles
* Fix undefined error in server tree data source (#12616)
* Fix undefined error in server tree data source
* Add comment
* Add ModelViewEditorOpened event (#12597)
* Add ModelViewEditorOpened event
* fix
* Fix compile
* Update sqltoolservice release for kusto extension (#12622)
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Delete database reference (#12531)
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* add delete for db references
* fix failing tests
* add test
* cleanup
* Addressing comments and fixing a string
* simplify the preview information feature (#12606)
* dashboardWidget to use updated button component - added an enum for buttonType.
* Code fixes.
* Leaving default description value as empty string. Testing logic for buttonType.
* revised buttonType getter to return Normal by default if not specified in properties.
* Extended sql Button as InfoButton for use in dashboardWidget.
* Some modifications
* Rewrote elements and passed in properties from dashboardWidget to define button contents and layout.
* Styled header and button copy. Corrected button and header dimensions.
* Merged latest from main. Resolve conflicts.
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
Co-authored-by: Aditya Bist <adbist@microsoft.com>
Co-authored-by: Alan Ren <alanren@microsoft.com>
Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
Co-authored-by: maddydev <makoripa@microsoft.com>
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
Co-authored-by: Karl Burtram <karlb@microsoft.com>
Co-authored-by: Aasim Khan <aasimkhan30@gmail.com>
Co-authored-by: Monica Gupta <scorpio90m@gmail.com>
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
Co-authored-by: Kartik Arora <33497301+ktech99@users.noreply.github.com>
Co-authored-by: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Udeesha Gautam <46980425+udeeshagautam@users.noreply.github.com>
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
Co-authored-by: Alex Ma <alma1@microsoft.com>
Co-authored-by: Arvind Ranasaria <ranasaria@outlook.com>
Co-authored-by: Brian Bergeron <brian.e.bergeron@gmail.com>
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* add delete for db references
* fix failing tests
* add test
* cleanup
* Addressing comments and fixing a string
* working version of overloading "select" button
* promptForEula to use showErrorMessage
* make parameter optional in promptForEula
* remove test code
* PR feedback
* eula to EULA
* minor fix
* update help text strings
* update field descriptions to match help text
* update cpu/memory field descriptions
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* new download location of azdata.msi
* move eula prompt post azdata discovery
* unacceptEula - test change
* Revert "unacceptEula - test change"
This reverts commit f84a3f5e41797de25b38f87143d66f7041b5c4ec.
* add a view to handle no workspace scenario
* text update
* project type filter improvement
* fix the project level context menu issue
* update strings
* add azure params to pg overview page, update troubelshooting notebook, string changes
* no default pg version for notebook
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* create unique query runner for each cell
* use cellUri instead of cellId to identify runner
* disconnect each query runner connection
* remove queryrunners size check
* 12360 Notebook UI - Mac/Win fix for Select all.
* Fix for ctrl key selecting all in windows
* Fix undo as well
* preventDefault to prevent confusing behavior
Co-authored-by: chlafreniere <hichise@gmail.com>
* Added sql vm deployment option
* Added more fields for sql vm deployments
* created basic sqlvm deployment. Mostly hardcoded
* added string to package.nls
* added poc deployments for sql vm
* Made some changes in the notebook that was mentioned in PR
* Added scaffolding for azure sql vm wizard.
* code cleanups
* added some async logic
* added loading component
* fixed loader code
* completed page2 of wizard
* added some more required fields.
* added some more fields
* added network settings page
* added sql server settings page
* added azure signin support and sql server settings page
* added some helper methods in wizard code
* added some fixes
* fixed azure and vm setting page
added validation in azure setting page
* added changes for the notebook variable
* validations and other bug fixes
* commenting sql storage optimization dropdown
* cleanedup wizard base page
* reversing vm image list to display newer images first
* cleaning model code
* added validations for network setting
* Completed summary page
fixed the code poisition
some additional field validations
* fixed networking page
* - fixed an error with vm size model variable
- removed byol images because it was not working with az sql vm
- Fixed vm size display names in dropdown
* added double quotes to some localized strings
* added some space inside strings
* -Added live validations
-Restyled network component
-Added required to regions
-Some bug fixes
* -redesigned summary page
-localized some strings
* Fixed summary page section titles
* -Fixed validations on sql server settings page
-Fixed some fields on Summary Page
* corrected onleave validation
using array for error messages
using Promises.all
* Fixed bug on network settings dropdowns when user does not have existing resource to populate them
* Change resource deployment display name
Added Ninar's iteration of the notebook
Changed RDP check box label
Surfacing API errors to user
Filtering regions based on Azure VM regions and user's subscription region
Made form validation async
Displaying new checkbox on network page when dropdowns empty
Fixed a small bug in SQL auth form validation
Made summary single item per row and fixed the gaps in spacing
Fixed validations in vm page
Checking if vm name already exists on azure
* Fixed sql vm eula
Fixed sql vm description
Added hyperlink for more info on vm sizes
* Replaced loading component with dropdown loaders.
* localized string
Fixed a bug in network settings page
* Added additonal filtering
* added reverse to image images
* Fixing some merge related issues
* Formatted page
* Removed ResourceHealthPage from the dashboard
* Deleted files that no longer applies to the public preview backend
* shouldn't be able to open the postgres dashboard
* Added 5 missing field options
* Missing apostrophe
* Change extensions label
* Update volume size descriptions
* Change volume size labels
* Reorder required tools
* Reorder required tools
* Argument fixes
* Removed tabs
* Rearrange option order
* Rearrange option order
* Rearrange option order VS
* Added validation to fields. VS accepts only integer and appends Gi
* Changed Dusky deployment title
* Removed text validation for VS and Mem. Changed to Number field type
* Min set to 1 for VS and Mem
* Min set to 1 for Cores
* Memory limit must be at least 256Mi
* the casing of 'preview' should remain consistent
* Removed empty line
* add existing project to workspace feature
* update file name
* new test and use URI
* handle workspace with no folder
* add more validation
* and more tests
* use forward slash
# Each line is a file pattern followed by one or more owners.
# Syntax can be found here: https://docs.github.com/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
comment:"We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.
There are two types of logs to collect:
**Console Logs**
- Open Developer Tools (Help -> Toggle Developer Tools)
- Click the **Console** tab
- Click in the log area and select all text (CTRL+A)
- Save this text into a file named console.log and attach it to this issue.
**Application Logs**
- Open command palette (Click **View** -> **Command Palette**)
- Run the command: **`Developer: Open Logs Folder`**
- This will open the log folder locally. Please zip up this folder and attach it to the issue."
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks\n\n// current milestone name\n$milestone=milestone:\"August 2020\"",
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks\n\n// current milestone name\n$milestone=milestone:\"September 2020\"",
* Supports brand new text cell editing experience based on rich text formatting and seamless conversion to markdown, also known as WYSIWYG toolbar (What You See Is What You Get)
* Supports Kusto kernel
* Supports pinning of notebooks
* Added support for new version of Jupyter Books
* Improved Jupyter Shortcuts
* Introduced perf loading improvements
* Added Azure Arc extension - Users can try out Azure Arc public preview through Azure Data Studio. This includes:
* Deploy data controller
* Deploy Postgres
* Deploy Managed Instance for Azure Arc
* Connect to data controller
* Access data service dashboards
* Azure Arc Jupyter Book
* Added new deployment options
* Azure SQL Database Edge
* (Edge will require Azure SQL Edge Deployment Extension)
* Added SQL Database Projects extension - The SQL Database Projects extension brings project-based database development to Azure Data Studio. In this preview release, SQL projects can be created and published from Azure Data Studio.
* Added Kusto (KQL) extension - Brings native Kusto experiences in Azure Data Studio for data exploration and data analytics against massive amount of real-time streaming data stored in Azure Data Explorer. This preview release supports connecting and browsing Azure Data Explorer clusters, writing KQL queries as well as authoring notebooks with Kusto kernel.
* SQL Server Import extension GA - Announcing the GA of the SQL Server Import extension, features no longer in preview. This extension facilitates importing csv/txt files. Learn more about the extension in [this article](sql-server-import-extension.md).
* Resolved [bugs and issues](https://github.com/microsoft/azuredatastudio/issues?q=is%3Aissue+milestone%3A%22September+2020+Release%22+is%3Aclosed).
"|kubectl | Command-line tool for monitoring the underlying Kubernetes cluster | [Installation](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-using-native-package-management) |\n",
"|azdata | Command-line tool for installing and managing resources in an Azure Arc cluster |[Installation](https://github.com/microsoft/Azure-data-services-on-Azure-Arc/blob/master/scenarios/001-install-client-tools.md) |"
"|Azure Data CLI (azdata) | Command-line tool for installing and managing resources in an Azure Arc cluster |[Installation](https://docs.microsoft.com/sql/azdata/install/deploy-install-azdata) |"
"if not (pandas_major > 0 or (pandas_major == 0 and pandas_minor > 24) or (pandas_major == 0 and pandas_minor == 24 and pandas_patch >= 2)):\n",
" sys.exit('Please upgrade the Notebook dependency before you can proceed, you can do it by running the \"Reinstall Notebook dependencies\" command in command palette (View menu -> Command Palette…).')\n",
" print(f'If you don\\'t see output produced by azdata, you can run the following command in a terminal window to check the deployment status:\\n\\t {os.environ[\"AZDATA_NB_VAR_KUBECTL\"]} get pods -n {arc_data_controller_namespace}')\n",
"## Deploy a PostgreSQL server group on an existing Azure Arc data cluster\n",
"## Create a PostgreSQL Hyperscale - Azure Arc on an existing Azure Arc Data Controller\n",
" \n",
"This notebook walks through the process of deploying a PostgreSQL server group on an existing Azure Arc data cluster.\n",
"This notebook walks through the process of creating a PostgreSQL Hyperscale - Azure Arc on an existing Azure Arc Data Controller.\n",
" \n",
"* Follow the instructions in the **Prerequisites** cell to install the tools if not already installed.\n",
"* Make sure you have the target Azure Arc data cluster already created.\n",
"* Make sure you have the target Azure Arc Data Controller already created.\n",
"\n",
"<span style=\"color:red\"><font size=\"3\">Please press the \"Run All\" button to run the notebook</font></span>"
],
@@ -41,7 +42,21 @@
{
"cell_type": "markdown",
"source": [
"### **Check prerequisites**"
"### **Prerequisites** \n",
"Ensure the following tools are installed and added to PATH before proceeding.\n",
" \n",
"|Tools|Description|Installation|\n",
"|---|---|---|\n",
"|Azure Data CLI (azdata) | Command-line tool for installing and managing resources in an Azure Arc cluster |[Installation](https://docs.microsoft.com/sql/azdata/install/deploy-install-azdata) |"
"## Deploy Azure SQL managed instance on an existing Azure Arc data cluster\n",
"## Create SQL managed instance - Azure Arc on an existing Azure Arc Data Controller\n",
" \n",
"This notebook walks through the process of deploying a <a href=\"https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance\">Azure SQL managed instance</a> on an existing Azure Arc data cluster.\n",
"This notebook walks through the process of creating a <a href=\"https://docs.microsoft.com/azure/sql-database/sql-database-managed-instance\">SQL managed instance - Azure Arc</a> on an existing Azure Arc Data Controller.\n",
" \n",
"* Follow the instructions in the **Prerequisites** cell to install the tools if not already installed.\n",
"* Make sure you have the target Azure Arc data cluster already created.\n",
"* Make sure you have the target Azure Arc Data Controller already created.\n",
"\n",
"<span style=\"color:red\"><font size=\"3\">Please press the \"Run All\" button to run the notebook</font></span>"
],
@@ -41,7 +42,21 @@
{
"cell_type": "markdown",
"source": [
"### **Check prerequisites**"
"### **Prerequisites** \n",
"Ensure the following tools are installed and added to PATH before proceeding.\n",
" \n",
"|Tools|Description|Installation|\n",
"|---|---|---|\n",
"|Azure Data CLI (azdata) | Command-line tool for installing and managing resources in an Azure Arc cluster |[Installation](https://docs.microsoft.com/sql/azdata/install/deploy-install-azdata) |"
"arc.control.plane.project.details.description":"Select the subscription to manage deployed resources and costs. Use resource groups like folders to organize and manage all your resources.",
"arc.control.plane.data.controller.details.description":"Provide an Azure region and a name for your Azure Arc data controller. This name will be used to identify your Arc location for remote management and monitoring.",
"arc.control.plane.summary.terms.description":"By clicking 'Script to notebook', I (a) agree to the legal terms and privacy statement(s) associated with the Marketplace offering(s) listed above; (b) authorize Microsoft to bill my current payment method for the fees associated with the offering(s), with the same billing frequency as my Azure subscription; and (c) agree that Microsoft may share my contact, usage and transactional information with the provider(s) of the offering(s) for support, billing and other transactional activities. Microsoft does not provide rights for third-party offerings. For additional details see {0}.",
"arc.data.controller.project.details.description":"Select the subscription to manage deployed resources and costs. Use resource groups like folders to organize and manage all your resources.",
"arc.data.controller.details.description":"Provide a namespace, name and storage class for your Azure Arc data controller. This name will be used to identify your Arc instance for remote management and monitoring.",
"arc.data.controller.namespace.validation.description":"Namespace must consist of lower case alphanumeric characters or '-', start/end with an alphanumeric character, and be 63 characters or fewer in length.",
"arc.data.controller.name.validation.description":"Name must consist of lower case alphanumeric characters, '-' or '.', start/end with an alphanumeric character and be 253 characters or less in length.",
"arc.data.controller.serviceprincipal.description":"When deploying a controller in direct connected mode a Service Principal is required for connecting to Azure. {0} about how to create this Service Principal and assign it the correct roles.",
"arc.data.controller.spclientid":"Service Principal Client ID",
"arc.data.controller.spclientid.description":"The Client (application) ID of the created Service Principal",
"arc.data.controller.spclientid.validation.description":"The Client ID must be a GUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"arc.data.controller.spclientsecret":"Service Principal Client Secret",
"arc.data.controller.spclientsecret.description":"The secret (password) of the Service Principal",
"arc.data.controller.sptenantid":"Service Principal Tenant ID",
"arc.data.controller.sptenantid.description":"The Tenant ID of the Service Principal. This must be the same as the Tenant ID of the subscription selected to create this controller for.",
"arc.data.controller.sptenantid.validation.description":"The tenant ID must be a GUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"arc.data.controller.create.summary.title":"Review your configuration",
"arc.data.controller.summary.arc.data.controller":"Azure Arc data controller",
"arc.data.controller.summary.estimated.cost.per.month":"Estimated cost per month",
"arc.data.controller.summary.terms.description":"By clicking 'Script to notebook', I (a) agree to the legal terms and privacy statement(s) associated with the Marketplace offering(s) listed above; (b) authorize Microsoft to bill my current payment method for the fees associated with the offering(s), with the same billing frequency as my Azure subscription; and (c) agree that Microsoft may share my contact, usage and transactional information with the provider(s) of the offering(s) for support, billing and other transactional activities. Microsoft does not provide rights for third-party offerings. For additional details see {0}.",
"arc.sql.instance.name":"Instance name (lower case letters and digits only)",
"arc.sql.instance.name":"Instance name",
"arc.sql.username":"Username",
"arc.sql.invalid.username":"sa username is disabled, please choose another username",
"arc.sql.invalid.instance.name":"Instance name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, and be 13 characters or fewer in length.",
"arc.storage-class.dc.label":"Storage Class",
"arc.sql.storage-class.dc.description":"The storage class to be used for all data and logs persistent volumes for all data controller pods that require them.",
"arc.storage-class.data.label":"Storage Class (Data)",
@@ -90,6 +104,14 @@
"arc.sql.storage-class.logs.description":"The storage class to be used for logs (/var/log)",
"arc.postgres.storage-class.logs.description":"The storage class to be used for logs persistent volumes",
"arc.storage-class.backups.label":"Storage Class (Backups)",
"arc.cores-limit.label":"Cores Limit",
"arc.sql.cores-limit.description":"The cores limit of the managed instance as an integer.",
"arc.cores-request.label":"Cores Request",
"arc.sql.cores-request.description":"The request for cores of the managed instance as an integer.",
"arc.memory-limit.label":"Memory Limit",
"arc.sql.memory-limit.description":"The limit of the capacity of the managed instance as an integer.",
"arc.memory-request.label":"Memory Request",
"arc.sql.memory-request.description":"The request for the capacity of the managed instance as an integer amount of memory in GBs.",
"arc.postgres.storage-class.backups.description":"The storage class to be used for backup persistent volumes",
"arc.postgres.server.group.name":"Server group name",
"arc.postgres.server.group.name.validation.description":"Server group name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, and be 10 characters or fewer in length.",
"arc.postgres.server.group.workers":"Number of workers",
"arc.postgres.server.group.name.validation.description":"Server group name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, and be 11 characters or fewer in length.",
"arc.postgres.server.group.workers.label":"Number of workers",
"arc.postgres.server.group.workers.description":"The number of worker nodes to provision in a sharded cluster, or zero (the default) for single-node Postgres.",
"arc.postgres.server.group.port":"Port",
"arc.postgres.server.group.cores.request":"Min CPU cores (per node) to reserve",
"arc.postgres.server.group.cores.limit":"Max CPU cores (per node) to allow",
"arc.postgres.server.group.memory.request":"Min memory MB (per node) to reserve",
"arc.postgres.server.group.memory.limit":"Max memory MB (per node) to allow",
"arc.agreement":"I accept {0}, {1} and {2}.",
"arc.agreement.sql.terms.conditions":"Azure SQL managed instance - Azure Arc terms and conditions",
"arc.agreement.postgres.terms.conditions":"PostgreSQL server groups - Azure Arc terms and conditions",
"arc.postgres.server.group.extensions.description":"A comma-separated list of the Postgres extensions that should be loaded on startup. Please refer to the postgres documentation for supported values.",
"arc.postgres.server.group.volume.size.backups.description":"The size of the storage volume to be used for backups in GB.",
"arc.postgres.server.group.cores.request.label":"CPU request (cores per node)",
"arc.postgres.server.group.cores.request.description":"The minimum number of CPU cores that must be available per node to schedule the service. Fractional cores are supported.",
"arc.postgres.server.group.cores.limit.label":"CPU limit (cores per node)",
"arc.postgres.server.group.cores.limit.description":"The maximum number of CPU cores for the Postgres instance that can be used per node. Fractional cores are supported.",
"arc.postgres.server.group.memory.request.label":"Memory request (GB per node)",
"arc.postgres.server.group.memory.request.description":"The memory request of the Postgres instance per node in GB.",
"arc.postgres.server.group.memory.limit.label":"Memory limit (GB per node)",
"arc.postgres.server.group.memory.limit.description":"The memory limit of the Postgres instance per node in GB.",
"arc.agreement":"I accept {0} and {1}.",
"arc.agreement.sql.terms.conditions":"Azure SQL managed instance - Azure Arc terms and conditions",
"arc.agreement.postgres.terms.conditions":"Azure Arc enabled PostgreSQL Hyperscale terms and conditions",
"should.be.integer":"Value must be an integer",
"requested.cores.less.than.or.equal.to.cores.limit":"Requested cores must be less than or equal to cores limit",
"cores.limit.greater.than.or.equal.to.requested.cores":"Cores limit must be greater than or equal to requested cores",
"requested.memory.less.than.or.equal.to.memory.limit":"Requested memory must be less than or equal to memory limit",
"memory.limit.greater.than.or.equal.to.requested.memory":"Memory limit must be greater than or equal to requested memory",
"arc.agreement.sql.help.text":"Azure Arc enabled Managed Instance provides SQL Server access and feature compatibility that can be deployed on the infrastructure of your choice. While this service is in preview, it has some feature limitations compared to SQL Managed Instance on Azure. {0}",
* searches for {@see previousClusterContext} in the array of {@see clusterContexts}.
* if {@see previousClusterContext} was truthy and it was found in {@see clusterContexts}
* then it returns {@see previousClusterContext}
* else it returns the current cluster context from {@see clusterContexts} unless throwIfNotFound was set on input in which case an error is thrown instead.
* else it returns the current cluster context from {@see clusterContexts}
@@ -8,13 +8,13 @@ import { getErrorMessage } from './common/utils';
constlocalize=nls.loadMessageBundle();
exportconstarcDeploymentDeprecation=localize('arc.arcDeploymentDeprecation',"The Arc Deployment extension has been replaced by the Arc extension and has been uninstalled.");
exportconstworkerNodesDescription=localize('arc.workerNodesDescription',"Expand your server group and scale your database by adding worker nodes.");
exportconstpostgresConfigurationInformation=localize('arc.postgres.configurationInformation',"You can configure the number of CPU cores and storage size that will apply to both worker nodes and coordinator node. Each worker node will have the same configuration. Adjust the number of CPU cores and memory settings for your server group.");
exportconstworkerNodesInformation=localize('arc.workerNodeInformation',"In preview it is not possible to reduce the number of worker nodes. Please refer to documentation linked above for more information.");
exportconstclickTheNewSupportRequestButton=localize('arc.clickTheNewSupportRequestButton',"Click the new support request button to file a support request in the Azure Portal.");
exportconstenterNewPassword=localize('arc.enterNewPassword',"Enter a new password");
exportconstconfirmNewPassword=localize('arc.confirmNewPassword',"Confirm the new password");
exportconstlearnAboutPostgresClients=localize('arc.learnAboutPostgresClients',"Learn more about Azure PostgreSQL Hyperscale client interfaces");
exportconstnodeParametersDescription=localize('arc.nodeParametersDescription'," These server parameters of the Coordinator node and the Worker nodes can be set to custom (non-default) values. Search to find parameters.");
exportconstlearnAboutNodeParameters=localize('arc.learnAboutNodeParameters',"Learn more about database engine settings for Azure Arc enabled PostgreSQL Hyperscale");
exportconstnoNodeParametersFound=localize('arc.noNodeParametersFound',"No worker server parameters found...");
exportconstsearchToFilter=localize('arc.searchToFilter',"Search to filter items...");
exportconstscalingCompute=localize('arc.scalingCompute',"scaling compute vCores and memory.");
exportconstpostgresComputeAndStorageDescriptionPartOne=localize('arc.postgresComputeAndStorageDescriptionPartOne',"You can scale your Azure Arc enabled");
exportconstmiaaComputeAndStorageDescriptionPartOne=localize('arc.miaaComputeAndStorageDescriptionPartOne',"You can scale your Azure SQL managed instance - Azure Arc by");
exportconstpostgresComputeAndStorageDescriptionPartTwo=localize('arc.postgres.computeAndStorageDescriptionPartTwo',"PostgreSQL Hyperscale server group by");
exportconstcomputeAndStorageDescriptionPartThree=localize('arc.computeAndStorageDescriptionPartThree',"without downtime and by");
exportconstcomputeAndStorageDescriptionPartFour=localize('arc.computeAndStorageDescriptionPartFour',"Before doing so, you need to ensure");
exportconstcomputeAndStorageDescriptionPartFive=localize('arc.computeAndStorageDescriptionPartFive',"there are sufficient resources available");
exportconstcomputeAndStorageDescriptionPartSix=localize('arc.computeAndStorageDescriptionPartSix',"in your Kubernetes cluster to honor this configuration.");
exportconstconnectToPostgresDescription=localize('arc.connectToPostgresDescription',"A connection to the server is required to show and set database engine settings, which will require the PostgreSQL Extension to be installed.");
exportfunctionrangeSetting(min: string,max: string):string{returnlocalize('arc.rangeSetting',"Value is expected to be in the range {0} - {1}",min,max);}
exportfunctionallowedValue(value: string):string{returnlocalize('arc.allowedValue',"Value is expected to be {0}",value);}
exportfunctioncopiedToClipboard(name: string):string{returnlocalize('arc.copiedToClipboard',"{0} copied to clipboard",name);}
exportfunctionclickTheTroubleshootButton(resourceType: string):string{returnlocalize('arc.clickTheTroubleshootButton',"Click the troubleshoot button to open the Azure Arc {0} troubleshooting notebook.",resourceType);}
exportfunctionvalidationMin(min: number):string{returnlocalize('arc.validationMin',"Value must be greater than or equal to {0}.",min);}
// Errors
exportconstconnectionRequired=localize('arc.connectionRequired',"A connection is required to show all properties. Click refresh to re-enter connection information");
exportconstpgConnectionRequired=localize('arc.pgConnectionRequired',"A connection is required to show and set database engine settings.");
exportconstmiaaConnectionRequired=localize('arc.miaaConnectionRequired',"A connection is required to list the databases on this instance.");
exportconstcouldNotFindControllerRegistration=localize('arc.couldNotFindControllerRegistration',"Could not find controller registration.");
exportfunctionoutOfRange(min: string,max: string):string{returnlocalize('arc.outOfRange',"The number must be in range {0} - {1}",min,max);}
exportfunctionresourceDeletionFailed(name: string,error: any):string{returnlocalize('arc.resourceDeletionFailed',"Failed to delete resource {0}. {1}",name,getErrorMessage(error));}
exportfunctioninstanceDeletionFailed(name: string,error: any):string{returnlocalize('arc.instanceDeletionFailed',"Failed to delete instance {0}. {1}",name,getErrorMessage(error));}
exportfunctioninstanceUpdateFailed(name: string,error: any):string{returnlocalize('arc.instanceUpdateFailed',"Failed to update instance {0}. {1}",name,getErrorMessage(error));}
exportfunctionpageDiscardFailed(error: any):string{returnlocalize('arc.pageDiscardFailed',"Failed to discard user input. {0}",getErrorMessage(error));}
exportfunctiondatabaseCreationFailed(name: string,error: any):string{returnlocalize('arc.databaseCreationFailed',"Failed to create database {0}. {1}",name,getErrorMessage(error));}
exportfunctionconnectToControllerFailed(url: string,error: any):string{returnlocalize('arc.connectToControllerFailed',"Could not connect to controller {0}. {1}",url,getErrorMessage(error));}
exportfunctionconnectToMSSqlFailed(serverName: string,error: any):string{returnlocalize('arc.connectToMSSqlFailed',"Could not connect to SQL managed instance - Azure Arc Instance {0}. {1}",serverName,getErrorMessage(error));}
exportfunctionconnectToPGSqlFailed(serverName: string,error: any):string{returnlocalize('arc.connectToPGSqlFailed',"Could not connect to PostgreSQL Hyperscale - Azure Arc Instance {0}. {1}",serverName,getErrorMessage(error));}
exportfunctionmissingExtension(extensionName: string):string{returnlocalize('arc.missingExtension',"The {0} extension is required to view engine settings. Do you wish to install it now?",extensionName);}
exportfunctionextensionInstallationFailed(extensionName: string):string{returnlocalize('arc.extensionInstallationFailed',"Failed to install extension {0}.",extensionName);}
exportfunctionfetchConfigFailed(name: string,error: any):string{returnlocalize('arc.fetchConfigFailed',"An unexpected error occurred retrieving the config for '{0}'. {1}",name,getErrorMessage(error));}
exportfunctionfetchEndpointsFailed(name: string,error: any):string{returnlocalize('arc.fetchEndpointsFailed',"An unexpected error occurred retrieving the endpoints for '{0}'. {1}",name,getErrorMessage(error));}
exportfunctionfetchRegistrationsFailed(name: string,error: any):string{returnlocalize('arc.fetchRegistrationsFailed',"An unexpected error occurred retrieving the registrations for '{0}'. {1}",name,getErrorMessage(error));}
exportfunctionfetchDatabasesFailed(name: string,error: any):string{returnlocalize('arc.fetchDatabasesFailed',"An unexpected error occurred retrieving the databases for '{0}'. {1}",name,getErrorMessage(error));}
exportfunctionresourceDeletionWarning(name: string):string{returnlocalize('arc.resourceDeletionWarning',"Warning! Deleting a resource is permanent and cannot be undone. To delete the resource '{0}' type the name '{0}' below to proceed.",name);}
exportfunctioninvalidResourceDeletionName(name: string):string{returnlocalize('arc.invalidResourceDeletionName',"The value '{0}' does not match the instance name. Try again or press escape to exit",name);}
exportfunctionfetchEngineSettingsFailed(name: string,error: any):string{returnlocalize('arc.fetchEngineSettingsFailed',"An unexpected error occurred retrieving the engine settings for '{0}'. {1}",name,getErrorMessage(error));}
exportfunctioninstanceDeletionWarning(name: string):string{returnlocalize('arc.instanceDeletionWarning',"Warning! Deleting an instance is permanent and cannot be undone. To delete the instance '{0}' type the name '{0}' below to proceed.",name);}
exportfunctioninvalidInstanceDeletionName(name: string):string{returnlocalize('arc.invalidInstanceDeletionName',"The value '{0}' does not match the instance name. Try again or press escape to exit",name);}
exportfunctioncouldNotFindAzureResource(name: string):string{returnlocalize('arc.couldNotFindAzureResource',"Could not find Azure resource for {0}",name);}
exportfunctionpasswordResetFailed(error: any):string{returnlocalize('arc.passwordResetFailed',"Failed to reset password. {0}",getErrorMessage(error));}
exportfunctionerrorConnectingToController(error: any):string{returnlocalize('arc.errorConnectingToController',"Error connecting to controller. {0}",getErrorMessage(error));}
exportfunctionerrorConnectingToController(error: any):string{returnlocalize('arc.errorConnectingToController',"Error connecting to controller. {0}",getErrorMessage(error,true));}
exportfunctionpasswordAcquisitionFailed(error: any):string{returnlocalize('arc.passwordAcquisitionFailed',"Failed to acquire password. {0}",getErrorMessage(error));}
exportconstloginFailed=localize('arc.loginFailed',"Error logging into controller - wrong username or password");
exportfunctionerrorVerifyingPassword(error: any):string{returnlocalize('arc.errorVerifyingPassword',"Error encountered while verifying password. {0}",getErrorMessage(error));}
exportconstnoControllersConnected=localize('noControllersConnected',"No Azure Arc controllers are currently connected. Please run the command: 'Connect to Existing Azure Arc Controller' and then try again");
exportconstvariableValueFetchForUnsupportedVariable=(variableName: string)=>localize('getVariableValue.unknownVariableName',"Attempt to get variable value for unknown variable:{0}",variableName);
exportconstisPasswordFetchForUnsupportedVariable=(variableName: string)=>localize('getIsPassword.unknownVariableName',"Attempt to get isPassword for unknown variable:{0}",variableName);
exportconstnoControllerInfoFound=(name: string)=>localize('noControllerInfoFound',"Controller Info could not be found with name: {0}",name);
exportconstnoPasswordFound=(controllerName: string)=>localize('noPasswordFound',"Password could not be retrieved for controller: {0} and user did not provide a password. Please retry later.",controllerName);
exportconstclusterContextNotFound=(clusterContext: string)=>localize('clusterContextNotFound',"Cluster Context with name: {0} not found in the Kube config file",clusterContext);
exportconstnoCurrentClusterContext=localize('noCurrentClusterContext',"No current cluster context was found in the kube config file");
exportconstnoContextFound=(configFile: string)=>localize('noContextFound',"No 'contexts' found in the config file: {0}",configFile);
exportconstnoCurrentContextFound=(configFile: string)=>localize('noCurrentContextFound',"No context is marked as 'current-context' in the config file: {0}",configFile);
exportconstnoNameInContext=(configFile: string)=>localize('noNameInContext',"No name field was found in a cluster context in the config file: {0}",configFile);
exportconstuserCancelledError=localize('arc.userCancelledError',"User cancelled the dialog");
exportconstclusterContextConfigNoLongerValid=(configFile: string,clusterContext: string,error: any)=>localize('clusterContextConfigNoLongerValid',"The cluster context information specified by config file: {0} and cluster context: {1} is no longer valid. Error is:\n\t{2}\n Do you want to update this information?",configFile,clusterContext,getErrorMessage(error));
if(!promptReconnect){//throw unless we are required to prompt for reconnect anyways
throwerror;
}
}
}
// We haven't gotten our password yet or we want to prompt for a reconnect or we want to prompt to reacquire valid cluster context or any and all of these.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.