aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/IPPCWebService.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-02-18 16:58:37 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-02-18 16:58:37 +0200
commit473d878e3ae795201223b160fcbc1147e901b038 (patch)
treefaedd2a3fa181deb297ec2232a171289161738f7 /Software/Visual_Studio/PPC/Tango.PPC.Common/Web/IPPCWebService.cs
parentccc6add5ea66565453283d7df0f6fbf2324b9264 (diff)
downloadTango-473d878e3ae795201223b160fcbc1147e901b038.tar.gz
Tango-473d878e3ae795201223b160fcbc1147e901b038.zip
Working on PPC versioning services...
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Web/IPPCWebService.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Web/IPPCWebService.cs85
1 files changed, 85 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/IPPCWebService.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/IPPCWebService.cs
new file mode 100644
index 000000000..6347836a9
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/IPPCWebService.cs
@@ -0,0 +1,85 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Runtime.Serialization;
+using System.ServiceModel;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.PPC.Common.Web;
+using Tango.Web;
+
+namespace Tango.PPC.Common.Web
+{
+ /// <summary>
+ /// Represents an PPC update service for uploading PPC software packages.
+ /// </summary>
+ public interface IPPCWebService : IDisposable
+ {
+ /// <summary>
+ /// Gets or sets the environment.
+ /// </summary>
+ DeploymentSlot Environment { get; set; }
+
+ /// <summary>
+ /// Uploads the version.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ Task<UploadVersionResponse> UploadVersion(UploadVersionRequest request);
+
+ /// <summary>
+ /// Notifies the upload completed.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ Task<UploadCompletedResponse> NotifyUploadCompleted(UploadCompletedRequest request);
+
+ /// <summary>
+ /// Gets the latest version.
+ /// </summary>
+ /// <param name="machineVersionGuid">The machine version unique identifier.</param>
+ /// <returns></returns>
+ Task<LatestVersionResponse> GetLatestVersion(LatestVersionRequest request);
+
+ /// <summary>
+ /// Gets the machine versions.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ Task<MachineVersionsResponse> GetMachineVersions();
+
+ /// <summary>
+ /// Checks for available update.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ Task<CheckForUpdateResponse> CheckForUpdate(CheckForUpdateRequest request);
+
+ /// <summary>
+ /// Gets the version download info for the specified version.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ Task<DownloadUpdateResponse> MachineUpdate(DownloadUpdateRequest request);
+
+ /// <summary>
+ /// Gets the machine setup information.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ Task<MachineSetupResponse> MachineSetup(MachineSetupRequest request);
+
+ /// <summary>
+ /// Gets the machine database update information.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ Task<UpdateDBResponse> UpdateDB(UpdateDBRequest request);
+
+ /// <summary>
+ /// Logins to the PPC service.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ Task<LoginResponse> Login(LoginRequest request);
+ }
+}