Feature/schemacompare Exclude-Include and Options enhancement (#799)

* Initial code for Including/Excluding individual changes (no tests added yet)

* Adding Exclude include tests. Default options call and additional options tests.

* Taking PR comments

* Retry in test for reliability
This commit is contained in:
udeeshagautam
2019-04-25 22:07:00 -07:00
committed by GitHub
parent 85f34b65f1
commit f8cd355e61
14 changed files with 545 additions and 89 deletions

View File

@@ -0,0 +1,37 @@
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlTools.Hosting.Protocol.Contracts;
using Microsoft.SqlTools.ServiceLayer.Utility;
namespace Microsoft.SqlTools.ServiceLayer.SchemaCompare.Contracts
{
/// <summary>
/// Defines paramaters for Get default options call
/// No parameters required so far
/// </summary>
public class SchemaCompareGetOptionsParams
{
}
/// <summary>
/// Gets or sets the result of get default options call
/// </summary>
public class SchemaCompareOptionsResult : ResultStatus
{
public DeploymentOptions DefaultDeploymentOptions { get; set; }
}
/// <summary>
/// Defines the Schema Compare request type
/// </summary>
class SchemaCompareGetDefaultOptionsRequest
{
public static readonly RequestType<SchemaCompareGetOptionsParams, SchemaCompareOptionsResult> Type =
RequestType<SchemaCompareGetOptionsParams, SchemaCompareOptionsResult>.Create("schemaCompare/getDefaultOptions");
}
}