Kim Santiago
d34b65ebb7
send telemetry for generate project from OpenApi spec ( #19188 )
2022-04-25 10:20:26 -07:00
Kim Santiago
23f9e37986
Fix create project from db not loading dbs when disconnected ( #19129 )
...
* fix create project from database when launched from disconnected node
* don't open dashboard
* fix tests
* update order so connection dialog opens first if can't connect
2022-04-22 15:28:04 -07:00
Nemanja Milovančević
1cf905a7b8
Create shared access signature RPC ( #18823 )
...
* Rebase from main branch
* Made mssql a module
* remove rpc specific stuff
* Added create sas RPC call
* Backup to url works now
* Moved createSas RPC to the BlobService
* Relocated createSas RPC from sql-dataprotocolclient to the mssql
* After rebase
* Removed duplicate symbol
* Renamed Blob to AzureBlob and relocated CreateSasResponse to mssql extension
* Removed AzureBlobProvider, removed AzureBlobService feature
* renamed blob to azureblob, converted thenable to promise
* Simplify API
* fixes
* docs update, blob to azureblob update
* bumped sts version
* Fix config
Co-authored-by: chgagnon <chgagnon@microsoft.com >
2022-04-21 10:30:46 -07:00
Kim Santiago
bf82204453
add sdk-style option to exposed sql project apis ( #19143 )
2022-04-19 17:28:27 -07:00
Alexander Ivanov
0f598dd30b
Add sqlproj property to trace the origin of the project. ( #18670 )
...
* Add sqlproj property to trace the origin of the project.
As part of the database migration process (schema conversion, in particular) we want to be able to tell when converted schemas are being built/deployed to the actual database server. Given that we rely on the SQL Database Projects ADS extension for the compilation/deployment, we don't have too many options other than updating the said extension.
The suggested approach is to make the following changes:
1) Add new property to the sqlproj file (called `DatabaseSource`), which will maintain the origin(s) of the project. The property can contain multiple values (separated by semicolon), in case same project contains objects produced by multiple sources (extract schema, convert from another database, etc.).
2) During build and deploy actions, send the well-known values from the newly added property to the telemetry. We don't want to send any random value of the property, as it may raise some privacy concerns. Instead we define a list of the well-known values that we know do not carry any personal information and send those, if they are specified.
This change adds all necessary APIs to the SQl Database projects extension which will be consumed by our migration extensions to populate new `DatabaseSource` property.
* Use `undefined` instead of `null`
Co-authored-by: Kim Santiago <kisantia@microsoft.com >
2022-04-18 11:38:10 -07:00
Kim Santiago
794daa3440
add SDK option to create project from db quickpick ( #19100 )
...
* Add SDK option to create project from db quickpick
* cleanup
2022-04-15 09:57:48 -07:00
Udeesha Gautam
02f859ac92
fix for sensitive text in output message ( #19071 )
2022-04-14 09:54:06 -07:00
Benjin Dubishar
6c1b13b8be
updated svg ( #19034 )
2022-04-13 11:20:19 -07:00
Kim Santiago
2d68b2bbce
hide convert to sdk-style from project context menu ( #19002 )
...
* hide convert to sdk-style from project context menu
* bump version since 0.16.0 was released in insiders
2022-04-12 09:45:02 -07:00
Kim Santiago
379b24d78c
Add confirmation before converting to SDK-style project ( #18893 )
...
* Add confirmation before updating to SDK-style project
* update string
* update string
* update other learn more url
2022-04-07 15:48:05 -07:00
Kim Santiago
d6dab3dd18
Remove build and folder includes when converting to SDK-style project ( #18889 )
...
* remove Build and Folder Includes
* add tests
* cleanup
* rollback if there was an error during the conversion
2022-04-01 21:04:18 -04:00
Kim Santiago
b65a6bd741
update DW target platform name in sql projects ( #18843 )
...
* update DW target platform name
* remove Microsoft from target platform names
* fix merge conflict
2022-03-31 15:30:30 -07:00
dependabot[bot]
cffa7c6b49
Bump ansi-regex from 3.0.0 to 3.0.1 in /extensions/sql-database-projects ( #18855 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 17:28:51 -07:00
Kim Santiago
8537a30996
fix project not getting updated after schema cmopare ( #18850 )
2022-03-29 11:55:12 -07:00
Kim Santiago
f002a26fe4
Add convert to SDK style project to context menu ( #18847 )
...
* differentiate between sdk and legacy style projects in tree
* switch to legacy
* add to context menu
* add function call
2022-03-29 10:15:36 -07:00
Leila Lali
459fab256e
Sql Proj: Adding a new sqlproj template for SQL dbs ( #18636 )
2022-03-29 09:06:56 -07:00
Kim Santiago
2f825f8a97
add initial SDK-style project migration ( #18827 )
...
* add initial SDK-style project migration
* addressing comments
2022-03-28 16:29:14 -07:00
Leila Lali
aad20bc338
Chaning the name of server in deploy option if target is Azure ( #18828 )
2022-03-28 15:07:09 -07:00
Nemanja Milovančević
5e68ff1dfe
Make mssql extension a module ( #18804 )
...
* Rebase from main branch
* import from module
* Add mssql module ref
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2022-03-24 11:09:55 -07:00
Kim Santiago
c39b13a93e
cleanup sql database projects package.json ( #18794 )
2022-03-23 10:45:48 -07:00
Kim Santiago
5a87e552bc
move system dbs to bottom of the list in update project from db dialog ( #18791 )
2022-03-22 18:12:19 -07:00
Charles Gagnon
301c6f24fe
Remove tslint from extensions ( #18775 )
2022-03-18 11:19:30 -07:00
Charles Gagnon
a6d442bb3b
Consolidate extension typings files ( #18765 )
...
* Consolidate extension typings files
* fix
2022-03-18 09:24:22 -07:00
Kim Santiago
3071a7b710
Add more telemetry for sql database projects ( #18751 )
...
* add more telemetry for sql database projects
* add publishToContainer events
* send target platform when publishing
* add duration for createProjectFromDb and updateProjectFromDb
2022-03-17 16:44:10 -07:00
Vasu Bhog
80007a72cc
Remove sql-bindings logic from sql-database-projects ( #18754 )
...
* remove sql-bindings logic from sql-database-projects
2022-03-17 11:36:28 -07:00
Kim Santiago
023e10b496
Add preview and bump versions ( #18749 )
2022-03-17 10:47:50 -07:00
Kim Santiago
7181d4c79e
Make SDK-style project a checkbox option instead of separate template ( #18698 )
...
* switch to using a checkbox instead of separate template for new SDK style project
* let project provider provide sdk learn more url
* Reorder
2022-03-11 16:54:53 -08:00
Kim Santiago
5f2d8b2bd5
remove sql server 2005 and 2008 as options for sql database projects ( #18664 )
...
* remove sql server 2005 and 2008 from target platforms
* also remove 2005 and 2008 from SqlTargetPlatform enum
* fix a windows test
2022-03-10 18:11:49 -08:00
Kim Santiago
5bb35d4eed
update Microsoft.Build.Sql version to 0.1.3-preview in templates ( #18659 )
2022-03-07 17:34:30 -08:00
Leila Lali
8e9957adbe
SQLProj: No docker image build needed for deploying a database to docker ( #18629 )
2022-03-04 14:32:43 -08:00
Kim Santiago
9e3d678536
add learn more link for sdk style in create project from db dialog ( #18637 )
2022-03-04 13:00:21 -08:00
Benjin Dubishar
c64655ae71
Benjin/project update bug ( #18532 )
...
* correct result.success
* shifting success message to actually check success
* keying on errorMessage rather than success
2022-02-25 16:59:28 -08:00
Kim Santiago
7b92c9eb65
only show confirmation message for apply all changes, not for view changes in schema compare ( #18520 )
2022-02-22 13:33:24 -08:00
Kim Santiago
b33afe3efb
add back SDK style project template ( #18448 )
2022-02-18 09:54:10 -08:00
Vasu Bhog
0f385b386f
Add SQL Binding Disconnected Scenario ( #18440 )
...
* disconnected scenario
* match parameters in mssql
2022-02-17 14:20:13 -08:00
Kim Santiago
d24a289af5
fix SDK style projects not being able to find system dacpacs ( #18218 )
...
* fix SDK style projects not being able to find system dacpacs
* fix tests
2022-02-16 09:36:01 -08:00
Z Chen
9e574ae602
Database Projects - Add existing file ( #18066 )
...
* Add existing file to sqlproj
* Address PR comments
* Fix failing test
* Add convertSlashesForSqlProj to test failure
2022-02-14 15:04:57 -08:00
Kim Santiago
7078b9ea33
hide sdk style project template ( #18308 )
2022-02-10 15:50:37 -08:00
Kim Santiago
fa4161d9a1
Add SDK style project option to create project from db dialog ( #18243 )
...
* add sdk style project template
* update description and order
* add SDK style project option to create project from db dialog
* fix test
* switch to checkbox
* remove not used string
* fix test
2022-02-10 10:49:46 -08:00
Vasu Bhog
9b3dd4247c
Add SQL Binding Password Prompts ( #18241 )
...
* add password warning
* password prompts
2022-02-09 00:42:27 -08:00
Vasu Bhog
b7fe4c09e2
vBump STS to 1.9.5 & add optional application name parameter for connection string ( #18201 )
...
* include application name optional parameter
* vBump STS to 1.9.5
2022-02-04 17:56:59 -08:00
Kim Santiago
243afc9f54
add confirmation message to update project from db dialog ( #18199 )
2022-02-02 17:04:12 -08:00
Charles Gagnon
8e1e9a95c3
Move to MS vscodetestcover and update lodash ( #18192 )
2022-02-01 14:09:10 -08:00
Charles Gagnon
1c9ba64ee0
check-param-names ( #18189 )
2022-01-31 12:39:22 -08:00
dependabot[bot]
8333a39615
Bump xmldom from 0.3.0 to 0.6.0 in /extensions/sql-database-projects ( #18171 )
...
Bumps [xmldom](https://github.com/xmldom/xmldom ) from 0.3.0 to 0.6.0.
- [Release notes](https://github.com/xmldom/xmldom/releases )
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xmldom/xmldom/compare/0.3.0...0.6.0 )
---
updated-dependencies:
- dependency-name: xmldom
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 13:14:25 -08:00
dependabot[bot]
b12ba843d5
Bump path-parse from 1.0.6 to 1.0.7 in /extensions/sql-database-projects ( #18170 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 13:07:56 -08:00
dependabot[bot]
a13424e35d
Bump lodash from 4.17.15 to 4.17.21 in /extensions/sql-database-projects ( #18169 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21 )
---
updated-dependencies:
- dependency-name: lodash
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 13:04:37 -08:00
Charles Gagnon
aff161b344
Have sql db proj publish command return publishing promise ( #18139 )
2022-01-25 14:11:30 -08:00
Kim Santiago
f0dd31c457
fix excluding pre/post/none deploy scripts in sdk style projects ( #18117 )
2022-01-25 11:49:52 -08:00
Charles Gagnon
7509188764
Fix sql db project string ( #18046 )
...
* Fix string
* Update string
2022-01-21 13:39:55 -08:00