mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -05:00
Adding External Streaming Job I/O validation to DacFxService (#1106)
* checkpoint * Not having cake, nor eating it * Working * Swapping external dll for nupkg * Extracting statement out of full TSQL * Improving error message * Fixing filename capitalization * Reverting csproj changes * Adding updated sr.cs file * VS lost tracking on strings file? * PR feedback * resx additions * More updated string files * Swapped nuget for dll * Revert "Swapped nuget for dll" This reverts commit 6013f3fadf58ebc7e3590a46811d9fd9fc3eaa4a. * Bumped netcore version to pull in support for extern aliasing nugets
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.Utility;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.DacFx.Contracts
|
||||
{
|
||||
/// <summary>
|
||||
/// Parameters for a Validate Streaming Job request.
|
||||
/// </summary>
|
||||
public class ValidateStreamingJobParams
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the package file path
|
||||
/// </summary>
|
||||
public string PackageFilePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the create streaming job TSQL. Should not be used if Statement is set.
|
||||
/// </summary>
|
||||
public string CreateStreamingJobTsql { get; set;}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Parameters returned from a DacFx validate streaming job request.
|
||||
/// </summary>
|
||||
public class ValidateStreamingJobResult : ResultStatus
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Defines the DacFx validate streaming job request type
|
||||
/// </summary>
|
||||
class ValidateStreamingJobRequest
|
||||
{
|
||||
public static readonly RequestType<ValidateStreamingJobParams, ValidateStreamingJobResult> Type =
|
||||
RequestType<ValidateStreamingJobParams, ValidateStreamingJobResult>.Create("dacfx/validateStreamingJob");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user