Skip to content

Commit 1b01ad7

Browse files
committed
Upgrade the Microsoft.DataTransfer.Gateway.Encryption nuget package to version 1.2.1
1 parent 0f2508b commit 1b01ad7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<HintPath>..\..\..\packages\Microsoft.DataFactories.Runtime.0.11.1-preview\lib\net45\Microsoft.DataFactories.Runtime.dll</HintPath>
5656
</Reference>
5757
<Reference Include="Microsoft.DataTransfer.Gateway.Encryption">
58-
<HintPath>..\..\..\packages\Microsoft.DataTransfer.Gateway.Encryption.1.2.0-preview\lib\net45\Microsoft.DataTransfer.Gateway.Encryption.dll</HintPath>
58+
<HintPath>..\..\..\packages\Microsoft.DataTransfer.Gateway.Encryption.1.2.1-preview\lib\net45\Microsoft.DataTransfer.Gateway.Encryption.dll</HintPath>
5959
</Reference>
6060
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
6161
<SpecificVersion>False</SpecificVersion>

src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Encrypt.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public virtual string OnPremisesEncryptString(SecureString value, string resourc
4040
throw new ArgumentNullException("value");
4141
}
4242

43-
LinkedServiceType likedServiceType = type == null ? LinkedServiceType.OnPremisesSqlLinkedService : (LinkedServiceType) Enum.Parse(typeof(LinkedServiceType), type, true);
43+
LinkedServiceType linkedServiceType = type == null ? LinkedServiceType.OnPremisesSqlLinkedService : (LinkedServiceType) Enum.Parse(typeof(LinkedServiceType), type, true);
4444

4545
var response = DataPipelineManagementClient.Gateways.RetrieveConnectionInfo(resourceGroupName, dataFactoryName, gatewayName);
4646
var gatewayEncryptionInfos = new[]
@@ -56,7 +56,7 @@ public virtual string OnPremisesEncryptString(SecureString value, string resourc
5656

5757
string userName = credential != null ? credential.UserName : null;
5858
SecureString password = credential != null ? credential.Password : null;
59-
UserInputConnectionString connectionString = new UserInputConnectionString(value, userName, password, likedServiceType);
59+
UserInputConnectionString connectionString = new UserInputConnectionString(value, userName, password, linkedServiceType);
6060
return GatewayEncryptionClient.Encrypt(connectionString, gatewayEncryptionInfos);
6161
}
6262
}

src/ResourceManager/DataFactories/Commands.DataFactories/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
66
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
77
<package id="Microsoft.DataFactories.Runtime" version="0.11.1-preview" targetFramework="net45" />
8-
<package id="Microsoft.DataTransfer.Gateway.Encryption" version="1.2.0-preview" targetFramework="net45" />
8+
<package id="Microsoft.DataTransfer.Gateway.Encryption" version="1.2.1-preview" targetFramework="net45" />
99
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
1010
<package id="Microsoft.WindowsAzure.Common" version="1.4.1" targetFramework="net45" />
1111
<package id="Microsoft.WindowsAzure.Common.Dependencies" version="1.1.1" targetFramework="net45" />

0 commit comments

Comments
 (0)