-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude cloud providers from driver.
Move logic to Snowflake.Data.Core to only have compile dependencies to cloud providers. Add projects for dependencies nuget generation for each cloud provider.
- Loading branch information
1 parent
14cf8a5
commit b0470f6
Showing
108 changed files
with
216 additions
and
72 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
Snowflake.Data.AWS.Dependencies/Snowflake.Data.AWS.Dependencies.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<Title>Snowflake.Data.AWS.Dependencies</Title> | ||
<PackageId>Snowflake.Data.AWS.Dependencies</PackageId> | ||
<Description>Snowflake Connector AWS dependencies for .NET</Description> | ||
<PackageLicenseUrl>https://github.com/snowflakedb/snowflake-connector-net/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/snowflakedb/snowflake-connector-net</PackageProjectUrl> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageIconUrl>https://raw.githubusercontent.com/snowflakedb/snowflake-connector-net/master/Snowflake.Data/snowflake.ico</PackageIconUrl> | ||
<Company>Snowflake Computing, Inc</Company> | ||
<Product>Snowflake Connector for .NET</Product> | ||
<Authors>Snowflake</Authors> | ||
<Copyright>Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.</Copyright> | ||
<Version>3.1.1</Version> | ||
<DebugType>Full</DebugType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="AWSSDK.S3" Version="3.7.0.4" /> | ||
</ItemGroup> | ||
|
||
</Project> |
25 changes: 25 additions & 0 deletions
25
Snowflake.Data.Azure.Dependencies/Snowflake.Data.Azure.Dependencies.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<Title>Snowflake.Data.Azure.Dependencies</Title> | ||
<PackageId>Snowflake.Data.Azure.Dependencies</PackageId> | ||
<Description>Snowflake Connector Azure dependencies for .NET</Description> | ||
<PackageLicenseUrl>https://github.com/snowflakedb/snowflake-connector-net/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/snowflakedb/snowflake-connector-net</PackageProjectUrl> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageIconUrl>https://raw.githubusercontent.com/snowflakedb/snowflake-connector-net/master/Snowflake.Data/snowflake.ico</PackageIconUrl> | ||
<Company>Snowflake Computing, Inc</Company> | ||
<Product>Snowflake Connector for .NET</Product> | ||
<Authors>Snowflake</Authors> | ||
<Copyright>Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.</Copyright> | ||
<Version>3.1.1</Version> | ||
<DebugType>Full</DebugType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Azure.Storage.Blobs" Version="12.13.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net471;net472</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0</TargetFrameworks> | ||
<Title>Snowflake.Data.Core</Title> | ||
<PackageId>Snowflake.Data.Core</PackageId> | ||
<Description>Snowflake Connector Core for .NET</Description> | ||
<PackageLicenseUrl>https://github.com/snowflakedb/snowflake-connector-net/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/snowflakedb/snowflake-connector-net</PackageProjectUrl> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageIconUrl>https://raw.githubusercontent.com/snowflakedb/snowflake-connector-net/master/Snowflake.Data/snowflake.ico</PackageIconUrl> | ||
<Description>Snowflake Connector Core for .NET</Description> | ||
<Company>Snowflake Computing, Inc</Company> | ||
<Product>Snowflake Connector for .NET</Product> | ||
<Authors>howryu, tchen</Authors> | ||
<Copyright>Copyright (c) 2012-2023 Snowflake Computing Inc. All rights reserved.</Copyright> | ||
<Version>3.1.1</Version> | ||
<DebugType>Full</DebugType> | ||
<LangVersion>7.3</LangVersion> | ||
<RootNamespace>Snowflake.Data</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
|
||
<PackageReference Include="AWSSDK.S3" Version="3.7.0.4" > | ||
<ExcludeAssets>Runtime,Build,Native,Analyzers,BuildTransitive</ExcludeAssets> | ||
<IncludeAssets>compile</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Google.Cloud.Storage.V1" Version="4.6.0"> | ||
<ExcludeAssets>Runtime,Build,Native,Analyzers,BuildTransitive</ExcludeAssets> | ||
<IncludeAssets>compile</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Azure.Storage.Blobs" Version="12.13.0" > | ||
<ExcludeAssets>Runtime,Build,Native,Analyzers,BuildTransitive</ExcludeAssets> | ||
<IncludeAssets>compile</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Apache.Arrow" Version="14.0.2" /> | ||
<PackageReference Include="Mono.Unix" Version="7.1.0-final.1.21458.1" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageReference Include="log4net" Version="2.0.12" /> | ||
<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" /> | ||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.34.0" /> | ||
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'net471' Or '$(TargetFramework)' == 'net472'"> | ||
<Reference Include="System.Net.Http" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(Configuration)' != 'Release'"> | ||
<InternalsVisibleTo Include="Snowflake.Data.Tests" /> | ||
<!--needed by Moq to be able to mock internal interfaces--> | ||
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DebugType>full</DebugType> | ||
<DebugSymbols>True</DebugSymbols> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<DebugType>full</DebugType> | ||
<DebugSymbols>True</DebugSymbols> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> | ||
<AssemblyVersion>$(Version)</AssemblyVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="Properties\" /> | ||
</ItemGroup> | ||
</Project> |
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
Snowflake.Data.GCP.Dependencies/Snowflake.Data.GCP.Dependencies.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<Title>Snowflake.Data.GCP.Dependencies</Title> | ||
<PackageId>Snowflake.Data.GCP.Dependencies</PackageId> | ||
<Description>Snowflake Connector GCP dependencies for .NET</Description> | ||
<PackageLicenseUrl>https://github.com/snowflakedb/snowflake-connector-net/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/snowflakedb/snowflake-connector-net</PackageProjectUrl> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageIconUrl>https://raw.githubusercontent.com/snowflakedb/snowflake-connector-net/master/Snowflake.Data/snowflake.ico</PackageIconUrl> | ||
<Company>Snowflake Computing, Inc</Company> | ||
<Product>Snowflake Connector for .NET</Product> | ||
<Authors>Snowflake</Authors> | ||
<Copyright>Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.</Copyright> | ||
<Version>3.1.1</Version> | ||
<DebugType>Full</DebugType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Google.Cloud.Storage.V1" Version="4.6.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,31 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net471;net472</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0</TargetFrameworks> | ||
<Title>Snowflake.Data</Title> | ||
<PackageId>Snowflake.Data</PackageId> | ||
<PackageLicenseUrl>https://github.com/snowflakedb/snowflake-connector-net/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/snowflakedb/snowflake-connector-net</PackageProjectUrl> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageIconUrl>https://raw.githubusercontent.com/snowflakedb/snowflake-connector-net/master/Snowflake.Data/snowflake.ico</PackageIconUrl> | ||
<Description>Snowflake Connector for .NET</Description> | ||
<Company>Snowflake Computing, Inc</Company> | ||
<Product>Snowflake Connector for .NET</Product> | ||
<Authors>howryu, tchen</Authors> | ||
<Copyright>Copyright (c) 2012-2023 Snowflake Computing Inc. All rights reserved.</Copyright> | ||
<Version>3.1.0</Version> | ||
<DebugType>Full</DebugType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Apache.Arrow" Version="14.0.2" /> | ||
<PackageReference Include="AWSSDK.S3" Version="3.7.0.4" /> | ||
<PackageReference Include="Google.Cloud.Storage.V1" Version="4.6.0" /> | ||
<PackageReference Include="Azure.Storage.Blobs" Version="12.13.0" /> | ||
<PackageReference Include="Azure.Storage.Common" Version="12.12.0" /> | ||
<PackageReference Include="Mono.Unix" Version="7.1.0-final.1.21458.1" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageReference Include="log4net" Version="2.0.12" /> | ||
<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" /> | ||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.34.0" /> | ||
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'net471' Or '$(TargetFramework)' == 'net472'"> | ||
<Reference Include="System.Net.Http" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(Configuration)' != 'Release'"> | ||
<InternalsVisibleTo Include="Snowflake.Data.Tests" /> | ||
<!--needed by Moq to be able to mock internal interfaces--> | ||
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DebugType>full</DebugType> | ||
<DebugSymbols>True</DebugSymbols> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<DebugType>full</DebugType> | ||
<DebugSymbols>True</DebugSymbols> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> | ||
<AssemblyVersion>$(Version)</AssemblyVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="Properties\" /> | ||
</ItemGroup> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net471;net472</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">net6.0</TargetFrameworks> | ||
<Title>Snowflake.Data</Title> | ||
<PackageId>Snowflake.Data</PackageId> | ||
<Description>Snowflake Connector for .NET</Description> | ||
<PackageLicenseUrl>https://github.com/snowflakedb/snowflake-connector-net/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/snowflakedb/snowflake-connector-net</PackageProjectUrl> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageIconUrl>https://raw.githubusercontent.com/snowflakedb/snowflake-connector-net/master/Snowflake.Data/snowflake.ico</PackageIconUrl> | ||
<Description>Snowflake Connector for .NET</Description> | ||
<Company>Snowflake Computing, Inc</Company> | ||
<Product>Snowflake Connector for .NET</Product> | ||
<Authors>howryu, tchen</Authors> | ||
<Copyright>Copyright (c) 2012-2023 Snowflake Computing Inc. All rights reserved.</Copyright> | ||
<Version>3.1.1</Version> | ||
<DebugType>Full</DebugType> | ||
<LangVersion>7.3</LangVersion> | ||
<RootNamespace>Snowflake.Data</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Snowflake.Data.AWS.Dependencies\Snowflake.Data.AWS.Dependencies.csproj" /> | ||
<ProjectReference Include="..\Snowflake.Data.Azure.Dependencies\Snowflake.Data.Azure.Dependencies.csproj" /> | ||
<ProjectReference Include="..\Snowflake.Data.Core\Snowflake.Data.Core.csproj" /> | ||
<ProjectReference Include="..\Snowflake.Data.GCP.Dependencies\Snowflake.Data.GCP.Dependencies.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters