From 677e846071a2e8fff8f6e451ba11f34c0c0d494a Mon Sep 17 00:00:00 2001 From: Sameer Khan Date: Wed, 25 Oct 2023 16:03:09 +0530 Subject: [PATCH 1/2] Upgraded public packages from public artifactory feed and added new nuget.config file --- .../Relativity.Transfer.Sample.csproj | 1 + Relativity.Transfer.Sample/nuget.config | 21 +++++++++++++++++++ Relativity.Transfer.Sample/packages.config | 20 ++++++++++-------- 3 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 Relativity.Transfer.Sample/nuget.config diff --git a/Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj b/Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj index 560f69a..7ee9daa 100644 --- a/Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj +++ b/Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj @@ -124,6 +124,7 @@ Designer + Always diff --git a/Relativity.Transfer.Sample/nuget.config b/Relativity.Transfer.Sample/nuget.config new file mode 100644 index 0000000..9214c02 --- /dev/null +++ b/Relativity.Transfer.Sample/nuget.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Relativity.Transfer.Sample/packages.config b/Relativity.Transfer.Sample/packages.config index efcb2e6..3e7d24a 100644 --- a/Relativity.Transfer.Sample/packages.config +++ b/Relativity.Transfer.Sample/packages.config @@ -1,12 +1,14 @@  - - - - - - - - - + + + + + + + + + + + \ No newline at end of file From e0fb8e7b75b120c32f0ccac484db74ad09603710 Mon Sep 17 00:00:00 2001 From: Sameer Khan Date: Thu, 26 Oct 2023 16:11:45 +0530 Subject: [PATCH 2/2] I updated namespaces, project name, assembly name and packages as per sample-sdk. --- Relativity.Transfer.Sample/App.config | 26 --- Relativity.Transfer.Sample/packages.config | 14 -- Sample.sln | 54 ++--- Server.Transfer.SDK.Samples/App.config | 39 ++++ .../AutoDeleteDirectory.cs | 202 +++++++++--------- .../ClientConfigurationFactory.cs | 8 +- .../Console2.cs | 14 +- .../ConsolePrinter.cs | 5 +- .../Enums/TransferMode.cs | 2 +- .../ConfigurationValueInvalidException.cs | 2 +- .../LogConfig.xml | 0 .../Program.cs | 5 +- .../Properties/AssemblyInfo.cs | 4 +- ...ativity.Server.Transfer.SDK.Samples.csproj | 58 ++--- .../RelativityTransferLog.cs | 14 +- .../Resources/EDRM-Sample1.jpg | Bin .../Resources/EDRM-Sample2.pdf | Bin .../Resources/EDRM-Sample3.doc | Bin .../Resources/EDRM-Sample4.xlsx | Bin .../Resources/EDRM-Sample5.pptx | Bin .../SampleRunner.cs | 9 +- .../nuget.config | 0 Server.Transfer.SDK.Samples/packages.config | 15 ++ 23 files changed, 246 insertions(+), 225 deletions(-) delete mode 100644 Relativity.Transfer.Sample/App.config delete mode 100644 Relativity.Transfer.Sample/packages.config create mode 100644 Server.Transfer.SDK.Samples/App.config rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/AutoDeleteDirectory.cs (95%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/ClientConfigurationFactory.cs (89%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Console2.cs (98%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/ConsolePrinter.cs (94%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Enums/TransferMode.cs (84%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Exceptions/ConfigurationValueInvalidException.cs (89%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/LogConfig.xml (100%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Program.cs (96%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Properties/AssemblyInfo.cs (93%) rename Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj => Server.Transfer.SDK.Samples/Relativity.Server.Transfer.SDK.Samples.csproj (70%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/RelativityTransferLog.cs (99%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Resources/EDRM-Sample1.jpg (100%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Resources/EDRM-Sample2.pdf (100%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Resources/EDRM-Sample3.doc (100%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Resources/EDRM-Sample4.xlsx (100%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/Resources/EDRM-Sample5.pptx (100%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/SampleRunner.cs (95%) rename {Relativity.Transfer.Sample => Server.Transfer.SDK.Samples}/nuget.config (100%) create mode 100644 Server.Transfer.SDK.Samples/packages.config diff --git a/Relativity.Transfer.Sample/App.config b/Relativity.Transfer.Sample/App.config deleted file mode 100644 index 04e4937..0000000 --- a/Relativity.Transfer.Sample/App.config +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Relativity.Transfer.Sample/packages.config b/Relativity.Transfer.Sample/packages.config deleted file mode 100644 index 3e7d24a..0000000 --- a/Relativity.Transfer.Sample/packages.config +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Sample.sln b/Sample.sln index 63734ff..af38c2a 100644 --- a/Sample.sln +++ b/Sample.sln @@ -1,27 +1,27 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Relativity.Transfer.Sample", "Relativity.Transfer.Sample\Relativity.Transfer.Sample.csproj", "{6909F5D1-18F2-4A5A-B32B-D775D73F4647}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3F5C1A02-919B-4FF9-B764-D5D5226F97BD}" - ProjectSection(SolutionItems) = preProject - README.md = README.md - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.33502.453 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Relativity.Server.Transfer.SDK.Samples", "Server.Transfer.SDK.Samples\Relativity.Server.Transfer.SDK.Samples.csproj", "{6909F5D1-18F2-4A5A-B32B-D775D73F4647}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3F5C1A02-919B-4FF9-B764-D5D5226F97BD}" + ProjectSection(SolutionItems) = preProject + README.md = README.md + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6909F5D1-18F2-4A5A-B32B-D775D73F4647}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Server.Transfer.SDK.Samples/App.config b/Server.Transfer.SDK.Samples/App.config new file mode 100644 index 0000000..0b62f08 --- /dev/null +++ b/Server.Transfer.SDK.Samples/App.config @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Relativity.Transfer.Sample/AutoDeleteDirectory.cs b/Server.Transfer.SDK.Samples/AutoDeleteDirectory.cs similarity index 95% rename from Relativity.Transfer.Sample/AutoDeleteDirectory.cs rename to Server.Transfer.SDK.Samples/AutoDeleteDirectory.cs index 9e91e39..3f79350 100644 --- a/Relativity.Transfer.Sample/AutoDeleteDirectory.cs +++ b/Server.Transfer.SDK.Samples/AutoDeleteDirectory.cs @@ -1,102 +1,102 @@ -// ---------------------------------------------------------------------------- -// -// © Relativity All Rights Reserved. -// -// ---------------------------------------------------------------------------- - -namespace Relativity.Transfer.Sample -{ - using System; - using System.Globalization; - using System.IO; - - /// - /// Represents a class object that creates a sub-directory and automatically deletes it through the method. - /// - public class AutoDeleteDirectory : IDisposable - { - /// - /// The disposed backing. - /// - private bool disposed; - - /// - /// Initializes a new instance of the class. - /// - public AutoDeleteDirectory() - { - string downloadUniqueFolder = string.Format(CultureInfo.InvariantCulture, "Downloads-{0:MM-dd-yyyy-hh-mm-ss}", DateTime.Now); - this.Path = System.IO.Path.Combine(Environment.CurrentDirectory, downloadUniqueFolder); - Directory.CreateDirectory(this.Path); - } - - /// - /// Gets the directory path. - /// - /// - /// The full path. - /// - public string Path - { - get; - } - - /// - /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - /// - public void Dispose() - { - this.Dispose(true); - GC.SuppressFinalize(this); - } - - /// - /// Releases unmanaged and - optionally - managed resources. - /// - /// - /// true to release both managed and unmanaged resources; false to release only unmanaged resources. - /// - private void Dispose(bool disposing) - { - if (this.disposed) - { - return; - } - - if (disposing) - { - if (!string.IsNullOrEmpty(this.Path) && Directory.Exists(this.Path)) - { - try - { - string[] files = Directory.GetFiles(this.Path, "*", SearchOption.AllDirectories); - foreach (string file in files) - { - FileAttributes attributes = File.GetAttributes(file); - File.SetAttributes(file, attributes & ~FileAttributes.ReadOnly); - File.Delete(file); - } - - Directory.Delete(this.Path, true); - } - catch (IOException e) - { - Console2.WriteLine( - ConsoleColor.Red, - $"Failed to tear down the '{this.Path}' temp directory due to an I/O issue. Exception: " - + e); - } - catch (UnauthorizedAccessException e) - { - Console2.WriteLine( - ConsoleColor.Red, - $"Failed to tear down the '{this.Path}' temp directory due to unauthorized access. Exception: " - + e); - } - } - } - - this.disposed = true; - } - } +// ---------------------------------------------------------------------------- +// +// © Relativity All Rights Reserved. +// +// ---------------------------------------------------------------------------- + +namespace Relativity.Server.Transfer.SDK.Samples +{ + using System; + using System.Globalization; + using System.IO; + + /// + /// Represents a class object that creates a sub-directory and automatically deletes it through the method. + /// + public class AutoDeleteDirectory : IDisposable + { + /// + /// The disposed backing. + /// + private bool disposed; + + /// + /// Initializes a new instance of the class. + /// + public AutoDeleteDirectory() + { + string downloadUniqueFolder = string.Format(CultureInfo.InvariantCulture, "Downloads-{0:MM-dd-yyyy-hh-mm-ss}", DateTime.Now); + this.Path = System.IO.Path.Combine(Environment.CurrentDirectory, downloadUniqueFolder); + Directory.CreateDirectory(this.Path); + } + + /// + /// Gets the directory path. + /// + /// + /// The full path. + /// + public string Path + { + get; + } + + /// + /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + /// + public void Dispose() + { + this.Dispose(true); + GC.SuppressFinalize(this); + } + + /// + /// Releases unmanaged and - optionally - managed resources. + /// + /// + /// true to release both managed and unmanaged resources; false to release only unmanaged resources. + /// + private void Dispose(bool disposing) + { + if (this.disposed) + { + return; + } + + if (disposing) + { + if (!string.IsNullOrEmpty(this.Path) && Directory.Exists(this.Path)) + { + try + { + string[] files = Directory.GetFiles(this.Path, "*", SearchOption.AllDirectories); + foreach (string file in files) + { + FileAttributes attributes = File.GetAttributes(file); + File.SetAttributes(file, attributes & ~FileAttributes.ReadOnly); + File.Delete(file); + } + + Directory.Delete(this.Path, true); + } + catch (IOException e) + { + Console2.WriteLine( + ConsoleColor.Red, + $"Failed to tear down the '{this.Path}' temp directory due to an I/O issue. Exception: " + + e); + } + catch (UnauthorizedAccessException e) + { + Console2.WriteLine( + ConsoleColor.Red, + $"Failed to tear down the '{this.Path}' temp directory due to unauthorized access. Exception: " + + e); + } + } + } + + this.disposed = true; + } + } } \ No newline at end of file diff --git a/Relativity.Transfer.Sample/ClientConfigurationFactory.cs b/Server.Transfer.SDK.Samples/ClientConfigurationFactory.cs similarity index 89% rename from Relativity.Transfer.Sample/ClientConfigurationFactory.cs rename to Server.Transfer.SDK.Samples/ClientConfigurationFactory.cs index 238ff5c..9463ea3 100644 --- a/Relativity.Transfer.Sample/ClientConfigurationFactory.cs +++ b/Server.Transfer.SDK.Samples/ClientConfigurationFactory.cs @@ -4,13 +4,13 @@ // // ---------------------------------------------------------------------------- -namespace Relativity.Transfer.Sample +namespace Relativity.Server.Transfer.SDK.Samples { using System.ComponentModel; - - using Relativity.Transfer.Aspera; + using Relativity.Transfer; + using Relativity.Transfer.Aspera; using Relativity.Transfer.FileShare; - using Relativity.Transfer.Sample.Enums; + using Relativity.Server.Transfer.SDK.Samples.Enums; public class ClientConfigurationFactory { diff --git a/Relativity.Transfer.Sample/Console2.cs b/Server.Transfer.SDK.Samples/Console2.cs similarity index 98% rename from Relativity.Transfer.Sample/Console2.cs rename to Server.Transfer.SDK.Samples/Console2.cs index f4f70e8..3be688d 100644 --- a/Relativity.Transfer.Sample/Console2.cs +++ b/Server.Transfer.SDK.Samples/Console2.cs @@ -1,10 +1,10 @@ -// ---------------------------------------------------------------------------- -// -// © Relativity All Rights Reserved. -// -// ---------------------------------------------------------------------------- - -namespace Relativity.Transfer.Sample +// ---------------------------------------------------------------------------- +// +// © Relativity All Rights Reserved. +// +// ---------------------------------------------------------------------------- + +namespace Relativity.Server.Transfer.SDK.Samples { using System; diff --git a/Relativity.Transfer.Sample/ConsolePrinter.cs b/Server.Transfer.SDK.Samples/ConsolePrinter.cs similarity index 94% rename from Relativity.Transfer.Sample/ConsolePrinter.cs rename to Server.Transfer.SDK.Samples/ConsolePrinter.cs index 39272ed..f445839 100644 --- a/Relativity.Transfer.Sample/ConsolePrinter.cs +++ b/Server.Transfer.SDK.Samples/ConsolePrinter.cs @@ -4,14 +4,15 @@ // // ---------------------------------------------------------------------------- -namespace Relativity.Transfer.Sample +namespace Relativity.Server.Transfer.SDK.Samples { using System; using System.Diagnostics; using Relativity.DataTransfer.Nodes; + using Relativity.Transfer; - public class ConsolePrinter + public class ConsolePrinter { public void DisplayFileShare(RelativityFileShare fileShare) { diff --git a/Relativity.Transfer.Sample/Enums/TransferMode.cs b/Server.Transfer.SDK.Samples/Enums/TransferMode.cs similarity index 84% rename from Relativity.Transfer.Sample/Enums/TransferMode.cs rename to Server.Transfer.SDK.Samples/Enums/TransferMode.cs index 2ff5ab5..732cea7 100644 --- a/Relativity.Transfer.Sample/Enums/TransferMode.cs +++ b/Server.Transfer.SDK.Samples/Enums/TransferMode.cs @@ -4,7 +4,7 @@ // // ---------------------------------------------------------------------------- -namespace Relativity.Transfer.Sample.Enums +namespace Relativity.Server.Transfer.SDK.Samples.Enums { public enum TransferMode { diff --git a/Relativity.Transfer.Sample/Exceptions/ConfigurationValueInvalidException.cs b/Server.Transfer.SDK.Samples/Exceptions/ConfigurationValueInvalidException.cs similarity index 89% rename from Relativity.Transfer.Sample/Exceptions/ConfigurationValueInvalidException.cs rename to Server.Transfer.SDK.Samples/Exceptions/ConfigurationValueInvalidException.cs index ef2be34..8cf4372 100644 --- a/Relativity.Transfer.Sample/Exceptions/ConfigurationValueInvalidException.cs +++ b/Server.Transfer.SDK.Samples/Exceptions/ConfigurationValueInvalidException.cs @@ -4,7 +4,7 @@ // // ---------------------------------------------------------------------------- -namespace Relativity.Transfer.Sample.Exceptions +namespace Relativity.Server.Transfer.SDK.Samples.Exceptions { using System; diff --git a/Relativity.Transfer.Sample/LogConfig.xml b/Server.Transfer.SDK.Samples/LogConfig.xml similarity index 100% rename from Relativity.Transfer.Sample/LogConfig.xml rename to Server.Transfer.SDK.Samples/LogConfig.xml diff --git a/Relativity.Transfer.Sample/Program.cs b/Server.Transfer.SDK.Samples/Program.cs similarity index 96% rename from Relativity.Transfer.Sample/Program.cs rename to Server.Transfer.SDK.Samples/Program.cs index 6aad5db..0667920 100644 --- a/Relativity.Transfer.Sample/Program.cs +++ b/Server.Transfer.SDK.Samples/Program.cs @@ -4,7 +4,7 @@ // // ---------------------------------------------------------------------------- -namespace Relativity.Transfer.Sample +namespace Relativity.Server.Transfer.SDK.Samples { using System; using System.Collections.Generic; @@ -12,7 +12,8 @@ namespace Relativity.Transfer.Sample using System.Linq; using System.Threading; using System.Threading.Tasks; - using Relativity.Transfer.Sample.Exceptions; + using Relativity.Transfer; + using Relativity.Server.Transfer.SDK.Samples.Exceptions; public class Program { diff --git a/Relativity.Transfer.Sample/Properties/AssemblyInfo.cs b/Server.Transfer.SDK.Samples/Properties/AssemblyInfo.cs similarity index 93% rename from Relativity.Transfer.Sample/Properties/AssemblyInfo.cs rename to Server.Transfer.SDK.Samples/Properties/AssemblyInfo.cs index 31ef33d..a9dae2b 100644 --- a/Relativity.Transfer.Sample/Properties/AssemblyInfo.cs +++ b/Server.Transfer.SDK.Samples/Properties/AssemblyInfo.cs @@ -10,11 +10,11 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("Relativity.Transfer.Sample")] +[assembly: AssemblyTitle("Server.Transfer.SDK.Samples")] [assembly: AssemblyDescription("A Relativity transfer client API sample console application.")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyCompany("Relativity ODA LLC")] -[assembly: AssemblyProduct("Relativity.Transfer.Sample")] +[assembly: AssemblyProduct("Server.Transfer.SDK.Samples")] [assembly: AssemblyCopyright("© Relativity")] [assembly: AssemblyTrademark("© Relativity")] [assembly: AssemblyCulture("")] diff --git a/Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj b/Server.Transfer.SDK.Samples/Relativity.Server.Transfer.SDK.Samples.csproj similarity index 70% rename from Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj rename to Server.Transfer.SDK.Samples/Relativity.Server.Transfer.SDK.Samples.csproj index 7ee9daa..d411653 100644 --- a/Relativity.Transfer.Sample/Relativity.Transfer.Sample.csproj +++ b/Server.Transfer.SDK.Samples/Relativity.Server.Transfer.SDK.Samples.csproj @@ -7,8 +7,8 @@ {6909F5D1-18F2-4A5A-B32B-D775D73F4647} Exe Properties - Relativity.Transfer.Sample - Relativity.Transfer.Sample + Relativity.Server.Transfer.SDK.Samples + Relativity.Server.Transfer.SDK.Samples v4.6.2 512 true @@ -51,11 +51,11 @@ true - Relativity.Transfer.Sample.Program + Relativity.Server.Transfer.SDK.Samples.Program - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\FaspManager.dll + ..\packages\Relativity.Server.Transfer.SDK.7.7.0\lib\net462\FaspManager.dll ..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll @@ -63,41 +63,44 @@ ..\packages\Polly.5.3.1\lib\net45\Polly.dll - - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\Relativity.DataTransfer.Legacy.SDK.dll + + ..\packages\Relativity.Server.DataTransfer.SDK.0.9.0\lib\net462\Relativity.DataTransfer.Legacy.SDK.dll - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\Relativity.DataTransfer.Nodes.dll + ..\packages\Relativity.Server.Transfer.SDK.7.7.0\lib\net462\Relativity.DataTransfer.Nodes.dll - - ..\packages\Relativity.Kepler.2.15.0\lib\net462\Relativity.Kepler.dll + + ..\packages\Relativity.Server.Kepler.SDK.2.15.6\lib\net462\Relativity.Kepler.dll - - ..\packages\Relativity.Logging.2019.5.1\lib\net462\Relativity.Logging.dll + + ..\packages\Relativity.Server.Logging.SDK.3000.4.4\lib\net462\Relativity.Logging.dll - - ..\packages\Relativity.Logging.Interfaces.3000.1.2\lib\net462\Relativity.Logging.Interfaces.dll + + ..\packages\Relativity.Server.Logging.Interfaces.SDK.3000.4.4\lib\net462\Relativity.Logging.Interfaces.dll - - ..\packages\Relativity.Kepler.Client.SDK.2.14.4\lib\net462\Relativity.Services.ServiceProxy.dll + + ..\packages\Relativity.Server.Services.Interfaces.SDK.13.6.1\lib\net462\Relativity.Services.Interfaces.dll - - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\Relativity.Transfer.Client.dll + + ..\packages\Relativity.Server.Kepler.Client.SDK.2.15.6\lib\net462\Relativity.Services.ServiceProxy.dll - - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\Relativity.Transfer.Client.Aspera.dll + + ..\packages\Relativity.Server.Transfer.SDK.7.7.0\lib\net462\Relativity.Transfer.Client.dll - - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\Relativity.Transfer.Client.Core.dll + + ..\packages\Relativity.Server.Transfer.SDK.7.7.0\lib\net462\Relativity.Transfer.Client.Aspera.dll - - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\Relativity.Transfer.Client.FileShare.dll + + ..\packages\Relativity.Server.Transfer.SDK.7.7.0\lib\net462\Relativity.Transfer.Client.Core.dll - - ..\packages\Relativity.Transfer.Client.7.4.10\lib\net462\Relativity.Transfer.Client.Http.dll + + ..\packages\Relativity.Server.Transfer.SDK.7.7.0\lib\net462\Relativity.Transfer.Client.FileShare.dll - - ..\packages\SSH.NET.2020.0.2\lib\net40\Renci.SshNet.dll + + ..\packages\Relativity.Server.Transfer.SDK.7.7.0\lib\net462\Relativity.Transfer.Client.Http.dll + + + ..\packages\SSH.NET.2016.0.0\lib\net40\Renci.SshNet.dll ..\packages\System.Reactive.4.0.0\lib\net46\System.Reactive.dll @@ -105,6 +108,7 @@ + diff --git a/Relativity.Transfer.Sample/RelativityTransferLog.cs b/Server.Transfer.SDK.Samples/RelativityTransferLog.cs similarity index 99% rename from Relativity.Transfer.Sample/RelativityTransferLog.cs rename to Server.Transfer.SDK.Samples/RelativityTransferLog.cs index c37d2fd..5cb6935 100644 --- a/Relativity.Transfer.Sample/RelativityTransferLog.cs +++ b/Server.Transfer.SDK.Samples/RelativityTransferLog.cs @@ -1,10 +1,10 @@ -// -------------------------------------------------------------------------------------------------------------------- -// -// © Relativity All Rights Reserved. -// -// -------------------------------------------------------------------------------------------------------------------- - -namespace Relativity.Transfer.Sample +// -------------------------------------------------------------------------------------------------------------------- +// +// © Relativity All Rights Reserved. +// +// -------------------------------------------------------------------------------------------------------------------- + +namespace Relativity.Server.Transfer.SDK.Samples { using System; diff --git a/Relativity.Transfer.Sample/Resources/EDRM-Sample1.jpg b/Server.Transfer.SDK.Samples/Resources/EDRM-Sample1.jpg similarity index 100% rename from Relativity.Transfer.Sample/Resources/EDRM-Sample1.jpg rename to Server.Transfer.SDK.Samples/Resources/EDRM-Sample1.jpg diff --git a/Relativity.Transfer.Sample/Resources/EDRM-Sample2.pdf b/Server.Transfer.SDK.Samples/Resources/EDRM-Sample2.pdf similarity index 100% rename from Relativity.Transfer.Sample/Resources/EDRM-Sample2.pdf rename to Server.Transfer.SDK.Samples/Resources/EDRM-Sample2.pdf diff --git a/Relativity.Transfer.Sample/Resources/EDRM-Sample3.doc b/Server.Transfer.SDK.Samples/Resources/EDRM-Sample3.doc similarity index 100% rename from Relativity.Transfer.Sample/Resources/EDRM-Sample3.doc rename to Server.Transfer.SDK.Samples/Resources/EDRM-Sample3.doc diff --git a/Relativity.Transfer.Sample/Resources/EDRM-Sample4.xlsx b/Server.Transfer.SDK.Samples/Resources/EDRM-Sample4.xlsx similarity index 100% rename from Relativity.Transfer.Sample/Resources/EDRM-Sample4.xlsx rename to Server.Transfer.SDK.Samples/Resources/EDRM-Sample4.xlsx diff --git a/Relativity.Transfer.Sample/Resources/EDRM-Sample5.pptx b/Server.Transfer.SDK.Samples/Resources/EDRM-Sample5.pptx similarity index 100% rename from Relativity.Transfer.Sample/Resources/EDRM-Sample5.pptx rename to Server.Transfer.SDK.Samples/Resources/EDRM-Sample5.pptx diff --git a/Relativity.Transfer.Sample/SampleRunner.cs b/Server.Transfer.SDK.Samples/SampleRunner.cs similarity index 95% rename from Relativity.Transfer.Sample/SampleRunner.cs rename to Server.Transfer.SDK.Samples/SampleRunner.cs index 49a05d1..f82473d 100644 --- a/Relativity.Transfer.Sample/SampleRunner.cs +++ b/Server.Transfer.SDK.Samples/SampleRunner.cs @@ -4,7 +4,7 @@ // // ---------------------------------------------------------------------------- -namespace Relativity.Transfer.Sample +namespace Relativity.Server.Transfer.SDK.Samples { using System; using System.Collections.Generic; @@ -19,9 +19,10 @@ namespace Relativity.Transfer.Sample using Relativity.Logging; using Relativity.Logging.Configuration; using Relativity.Logging.Factory; - using Relativity.Transfer.Enumeration; - using Relativity.Transfer.Sample.Enums; - using Relativity.Transfer.Sample.Exceptions; + using Relativity.Transfer; + using Relativity.Transfer.Enumeration; + using Relativity.Server.Transfer.SDK.Samples.Enums; + using Relativity.Server.Transfer.SDK.Samples.Exceptions; public class SampleRunner { diff --git a/Relativity.Transfer.Sample/nuget.config b/Server.Transfer.SDK.Samples/nuget.config similarity index 100% rename from Relativity.Transfer.Sample/nuget.config rename to Server.Transfer.SDK.Samples/nuget.config diff --git a/Server.Transfer.SDK.Samples/packages.config b/Server.Transfer.SDK.Samples/packages.config new file mode 100644 index 0000000..eeed224 --- /dev/null +++ b/Server.Transfer.SDK.Samples/packages.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file