Consolidate context request endpoints into a single request endpoint (#2205)

* Create new endpoint consolidating previous 2

* Clarify comment

* Removes two separate endpoints to get and generate

* Rename classes for get context request

* Update src/Microsoft.SqlTools.ServiceLayer/Metadata/MetadataService.cs

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Update src/Microsoft.SqlTools.ServiceLayer/Metadata/MetadataService.cs

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Code review changes

* Throw exception and localize ex messages

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
Lewis Sanchez
2023-09-05 15:56:35 -07:00
committed by GitHub
parent 42bbfdc418
commit a56cf5a277
8 changed files with 66 additions and 177 deletions

View File

@@ -7259,6 +7259,11 @@ The Query Processor estimates that implementing the following index could improv
<target state="new">Failed to generate server contextualization scripts</target>
<note></note>
</trans-unit>
<trans-unit id="FailedToFindConnectionInfoAboutTheServer">
<source>Failed to find connection info about the server</source>
<target state="new">Failed to find connection info about the server</target>
<note></note>
</trans-unit>
</body>
</file>
</xliff>