XEvent Profiler initial event handlers (#456)

* Bump SMO to 140.2.5 to pick-up private XEvent binaries

* Pick up SMO binaries from the build lab

* Add ProfilerService class placeholder

* Update SMO nuget package to include DB Scoped XEvents

* Stage changes

* Stage changes

* Update SMO to use RTM dependencies and remove separate SqlScript package

* Stage changes

* Iterate on profiler service

* Fix post-merge break in localization

* More refactoring

* Continue iterating on profiler

* Add test profiler listener

* Address a couple of the code review feedback

* Fix AppVeyor build break

* Use self-cleaning test file
This commit is contained in:
Karl Burtram
2017-09-12 14:08:50 -07:00
committed by GitHub
parent 2677efb6b8
commit 84ea045572
42 changed files with 1448 additions and 115 deletions

View File

@@ -3517,6 +3517,14 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string ProfilerConnectionNotFound
{
get
{
return Keys.GetString(Keys.ProfilerConnectionNotFound);
}
}
public static string ConnectionServiceListDbErrorNotConnected(string uri)
{
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
@@ -4945,6 +4953,9 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string InvalidPathError = "InvalidPathError";
public const string ProfilerConnectionNotFound = "ProfilerConnectionNotFound";
private Keys()
{ }

View File

@@ -1931,4 +1931,8 @@
<value>Cannot access the specified path on the server: {0}</value>
<comment></comment>
</data>
<data name="ProfilerConnectionNotFound" xml:space="preserve">
<value>Connection not found</value>
<comment></comment>
</data>
</root>

View File

@@ -848,4 +848,8 @@ ScriptTaskName = scripting
############################################################################
# File Browser Validation Errors
InvalidPathError = Cannot access the specified path on the server: {0}
InvalidPathError = Cannot access the specified path on the server: {0}
############################################################################
# Profiler
ProfilerConnectionNotFound = Connection not found

View File

@@ -2250,6 +2250,11 @@
<target state="new">scripting</target>
<note></note>
</trans-unit>
<trans-unit id="ProfilerConnectionNotFound">
<source>Connection not found</source>
<target state="new">Connection not found</target>
<note></note>
</trans-unit>
<trans-unit id="BackupPathIsFolderError">
<source>The provided path specifies a directory but a file path is required: {0}</source>
<target state="new">The file name specified is also a directory name: {0}</target>