Commit Graph

147 Commits

Author SHA1 Message Date
csigs
a1c0cea271 LEGO: Merge pull request 1379
LEGO: Merge pull request 1379
2022-02-01 08:34:32 -08:00
Aasim Khan
92a7248455 Adding recommendations to query plan (#1373)
* Adding recommendations

* Adding raw graph type in execution plan graph contracts

* Fixing function name and concising string formatting

* Converting localized string to a function

* Using better names in contract props
Formatting names in a better way

* Getting rid of unnecessary getter, setters and private props

* Fixing localized strings, comments and imports

* Fixing some contracts

* Fixing csproj formatting

* Fixing var names

* Fixing xml comments
2022-01-28 11:35:48 -08:00
Alex Ma
e9b926af75 [Loc] add updated xlfs and resx files to servicelayer. (#1368)
* [Loc] update to servicelayer xlfs

* [Loc] added updated resx and XLFs to ServiceLayer
2022-01-24 10:29:13 -08:00
Alex Ma
b02519de36 Revert XLFs to include resx (#1367) 2022-01-24 10:26:14 -08:00
Alex Ma
a0dee6834d [Loc] update to servicelayer xlfs (#1366) 2022-01-24 10:23:09 -08:00
csigs
3a5df054ae LEGO: Merge pull request 1365
LEGO: Merge pull request 1365
2022-01-21 08:33:44 -08:00
csigs
4d77ecc89a LEGO: Merge pull request 1364
LEGO: Merge pull request 1364
2022-01-20 08:34:05 -08:00
Alan Ren
1cdb2b94ac table designer - support indexes and write operations (#1363)
* support indexes

* column properties
2022-01-18 17:15:22 -08:00
csigs
425f9d002c LEGO: Merge pull request 1355
LEGO: Merge pull request 1355
2022-01-07 08:34:18 -08:00
Alex Ma
740dbe5b02 [Loc] add queryserviceunsupportedsqlvarianttype to XLF (#1353) 2022-01-05 09:56:37 -08:00
Alan Ren
995e9baeab fix decimal datatype handling (#1352)
* Revert "Revert query execution changes (#1341)"

This reverts commit cb290cdbb5.

* fix decimal and money

* timestamp

* fix code and tests

* add sql variant test
2022-01-04 13:56:12 -08:00
Alex Ma
18ca177767 Remove XElite for now (#1349)
* Revert "Revert "Revert "Update to XElite (#1287)" (#1334)" (#1337)"

This reverts commit 196364e81e.

* Add changed sr.xlf
2021-12-22 11:04:45 -08:00
Alex Ma
8d7976dd14 update to resx and xlf files (#1347) 2021-12-21 10:28:19 -08:00
Alex Ma
6266982099 [Loc] remove unnecessary strings from ServiceLayer SR (#1346) 2021-12-20 09:28:12 -08:00
csigs
59f3562063 LEGO: Merge pull request 1345
LEGO: Merge pull request 1345
2021-12-19 08:36:36 -08:00
Alex Ma
196364e81e Revert "Revert "Update to XElite (#1287)" (#1334)" (#1337)
This reverts commit 0d7a3b4168.
2021-12-17 12:33:57 -08:00
csigs
a6a4e6df9a LEGO: Merge pull request 1342
LEGO: Merge pull request 1342
2021-12-17 08:34:07 -08:00
Karl Burtram
cb290cdbb5 Revert query execution changes (#1341)
* Revert "handle sql variable type (#1333)"

This reverts commit 51c801eb33.

* Revert "handle large decimal (#1326)"

This reverts commit fd5b8af0c0.
2021-12-15 11:15:11 -08:00
Alex Ma
c3936a35f8 [Loc] update to resx and xlf files 12-13-2021 (#1338)
* added new XLFs

* update to resx files
2021-12-13 11:42:00 -08:00
csigs
3d857abee4 LEGO: Merge pull request 1336
LEGO: Merge pull request 1336
2021-12-10 08:33:01 -08:00
csigs
026c2349da LEGO: Merge pull request 1335
LEGO: Merge pull request 1335
2021-12-09 08:33:08 -08:00
Alan Ren
0d7a3b4168 Revert "Update to XElite (#1287)" (#1334)
This reverts commit 822a6459ce.
2021-12-08 10:49:23 -08:00
Alan Ren
51c801eb33 handle sql variable type (#1333)
* handle sql variable type

* comments
2021-12-07 19:23:15 -08:00
Alex Ma
822a6459ce Update to XElite (#1287)
* added Xevent.xelite to packages

* WIP on XELite conversion

* added wip changes

* added streaminfo class for preserving streams

* added list for profilerService

* added cancelXelStreamRequest.cs

* added test configuration for profilerservice

* added request handler using startprofilingrequest

* fix start profiling result

* added small connection string

* WIP branch for XElite (not functional)

* added hardcoded string with working stream

* added check for buildconnectionstring

* added back HandleXEvent

* added profilerservice eventsavailable test

* WIP change for profilersessionmonitor

* added more changes to profilersessionmonitor

* changed HandleXEvent

* added more additions to profielrSessionMonitor

* added startmonitoringstream

* added startmonitoringsession

* added startmonitoringstream to IProfilerSessionMonitor

* switch to monitoringStream

* added assignment of connectioninfo

* added conninfo

* added conninfo to iProfilerSessionMonitor.cs

* added isStreaming flag

* added token list

* added XEventSession name.

* removed polling lock

* test adding filters

* removed old profile filter as its incompatible

* added wip cancel feature in removesession

* moved cancellationtoken outside

* added backIsStreaming

* moved isstreaming around

* added  multiple events in list

* added timeout to handleXEvent

* removed timeout

* remove eventList count check

* remove old events filter

* returned eventlist

* remove old events filter

* renamed xelite handle function

* restored sqlclient version

* removed original handlestartprofilingrequest

* added monitoring stream to handlecreatexeventsessionrequest

* removed unnecessary sections from monitor

* Revert "removed unnecessary sections from monitor"

This reverts commit 91cadeebeeedfe99cec2e9c42944ba6716d95a61.

* added xevent actions to profileEvent

* removed polling lock for processStreams

* added filter for oldevents

* removed unused methods

* removed comment

* removed unnecessary class

* removed unnecessary requests

* removed outdated methods

* added work in progress cancellation task

* added profilersessionmonitor changes

* added small changes

* renamed startMonitoringStream

* more changes related to feedback

* made changes to code

* removed more polling code

* fixed tests

* added connectioninfo to testxeventsessions

* changed functions

* added back else

* small formatting fix

* more changes made

* added changes to XEventSession

* update to strings

* added changes to accomodate tests

* more changes

* added profilerservicetest for stopprofiling

* added TestStoppedSessionNotification test

* added session missing details handler

* simplified error message

* restored strings and added changes

* added auto-getter setter for IsStreaming

* added more changes

* removed unnecessary lines from test

* added more debugging messages

* made last changes

* added error message for handlestopprofilingrequest

* added more debug messages

* added back an s

* added verbose
2021-12-07 14:11:42 -08:00
Alex Ma
f9e7b22697 Consolidate Loc Files to one (#1325)
* Added locproject to defaultimpl

* added resourceprovider core

* added more locprojects for rest of projects

* moved LocProject to src

* Added consolidated locproject

* deleted old locprojects

* fix tab to better match ADS

* Revert "fix tab to better match ADS"

This reverts commit e3e3370ac9eb647b94b908e0432fbc52a9874b41.
2021-12-01 09:49:27 -08:00
Alex Ma
d58d51f5a6 [Loc] update to xlfs and resx (#1322) 2021-11-23 09:57:17 -08:00
Alex Ma
1a0e1e1fec Remove resx lcls as they are not needed anymore (#1321) 2021-11-22 11:30:36 -08:00
csigs
ac9ef0b3d9 LEGO: Merge pull request 1320
LEGO: Merge pull request 1320
2021-11-21 08:33:45 -08:00
csigs
e18ae62c97 LEGO: Merge pull request 1319
LEGO: Merge pull request 1319
2021-11-20 08:33:45 -08:00
csigs
c942de3b25 LEGO: Merge pull request 1317
LEGO: Merge pull request 1317
2021-11-19 13:11:33 -08:00
Alan Ren
b131d1738d add foreign keys and constraints (#1316)
* add foreign keys and constraints

* add property name
2021-11-18 15:01:10 -08:00
Alex Ma
8ea1e25233 switch to using XLF as build process uses that. (#1305) 2021-11-17 09:39:02 -08:00
Aasim Khan
2e7bac5659 Sending show plan graph to ADS on Result Set updated event (#1300)
* Sending showplan graph over json rpc in Result updated event
Translating showplan graph into simple objects to be sent over JSON RPC

* Revert "Sending showplan graph over json rpc in Result updated event"

This reverts commit 2d63a625fd200d057bf6093e233f05dea440347c.

* Added string for localization

* Sending showplan graph over json rpc in Result updated event
Translating showplan graph into simple objects to be sent over JSON RPC

* Refactoring class

* Removing test warning

* Removing unused imports
Adding copyright

* Removing unused prop

* removing formatted string out .strings file

* Formatting files
Adding Errors in show plan graph

* Adding a separate event for execution plan

* Now sending mulitple graphs when a batch has more than one query.
2021-11-16 22:33:28 -08:00
csigs
6fe6d51dcf LEGO: check in for main to temporary branch. (#1304) 2021-11-15 11:11:39 -08:00
csigs
42da6215fe LEGO: check in for main to temporary branch. (#1301) 2021-11-12 15:11:42 -08:00
Alan Ren
a3c69f3dd2 use path to identify edit target (#1292)
* use path to identify edit target

* async action

* revert RequestContext change

* comments

* address comments

* fix test
2021-11-10 17:39:48 -08:00
csigs
cc66eaf69b LEGO: check in for main to temporary branch. (#1285) 2021-11-08 19:31:51 -08:00
Aasim Khan
e8c50caea1 Porting showplan code from ssms (#1280)
* Porting showplan code from ssms

* Moving showplans bits to a subfolder

* code cleanup

* Remvoing unnecssary conditional visibility
2021-11-04 14:54:52 -07:00
Alex Ma
faec7e1498 [Loc] Update to resx 10-11-2021 (#1267)
* update to xlfs

* update to resx
2021-10-11 12:37:56 -07:00
csigs
a2a71e771f LEGO: check in for main to temporary branch. (#1266) 2021-10-11 09:50:32 -07:00
csigs
00706130fa LEGO: check in for main to temporary branch. (#1265) 2021-10-11 09:50:14 -07:00
csigs
9fdb9eecd3 LEGO: check in for main to temporary branch. (#1263) 2021-10-11 09:49:40 -07:00
Kim Santiago
0f0df25119 Add error for sql bindings when .net 5 (#1259)
* add error for sql bindings when .net 5

* add test

* cleanup linq stuff and move out common code
2021-10-07 16:13:53 -07:00
Alex Ma
2e08873246 [Loc] update to xlfs and resx (#1261) 2021-10-06 11:07:39 -07:00
csigs
58160d03db LEGO: check in for main to temporary branch. (#1260) 2021-10-06 10:34:13 -07:00
Alex Ma
3442c08012 [Loc] update XLFs and main resx to proper version (for cake build) (#1256) 2021-10-04 11:35:23 -07:00
Alex Ma
93728df53d update for resx with latest changes (#1240) 2021-09-01 11:06:43 -07:00
csigs
71b87055f1 LEGO: check in for main to temporary branch. (#1230) 2021-08-09 11:17:12 -07:00
Kim Santiago
b1653b25e4 Insert sql bindings into Azure Functions (#1224)
* getting table name from a script

* add InsertSqlInputBindingOperation

* cleanup

* move azure functions stuff out of dacfx service

* cleanup

* add tests

* add another test

* cleanup

* add comments and connection string setting

* addressing comments

* change name to use add instead of insert
2021-08-04 13:02:52 -07:00
Alex Ma
993b094db9 Localization added to sqlservicetools (#1216)
* added other languages to ServiceLayer

* fixed travis and appveyor yaml, added other languages for localization

* added spanish and german strings to credentialslocalization, also WIP for coreservices test

* added WIP localization test for CoreServices

* Removed unit test for coreservices, need to work on those later.

* restored travis and appveyor

* added kusto string resource localization test

* added localization test and locale change for SqlToolsCredentials

* added locale command options to ResourceProvider

* revert resourceprovider test

* Localized SqlTools.Credentials

* added hosting localization

* replaced new with translation to be consistent with main service layer

* reverted external changes as it is unnecessary

* Translated ManagedBatchParser

* test culture value

* test culture change

* temporarily comment out service layer command options

* returned sr.cs

* temporarily remove bad tests

* restored tests and allowed for SR culture to change for dependencies (for future testing)

* localization for resourceprovider components added.

* Set LocaleSetter to public and also removed InternalsVisible for Kusto, Credentials and ResourceProvider

* removed unnecessary changes

* Removed CredentialsCommandOptions

* renamed pt-BR to pt-br

* Rename sr.pt-BR.xlf.template to sr.pt-br.xlf.template

* Rename src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-BR/sr.resx.lcl to src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-br/sr.resx.lcl

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* Rename sr.pt-BR.xlf to sr.pt-br.xlf

* Rename sr.pt-BR.resx to sr.pt-br.resx

* restored newlines

* Update sr.pt-br.xlf.template

Removed newline

* removed newline

* fixing newlines for consistency

* removed unnecessary newline
2021-06-10 15:50:53 -07:00