Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/24/10 14:34:07 (15 years ago)
Author:
gkronber
Message:
  • replaced column ContactInformation with ContactName and ContactEmail in DB-schema and updated WCF deployment service
  • regenerated proxy classes
  • made PluginDescription from data contract implement IPluginDescription from plugin infrastructure
  • updated GUI on request by swagner (icons)
  • fixed problems in the upload plugins control.

#860 (Deployment server for plugin installation from web locations)

Location:
trunk/sources/HeuristicLab.PluginInfrastructure
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/DeploymentService.cs

    r2814 r2860  
    2222        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
    2323       
    24         private string ContactInformationField;
     24        private string ContactEmailField;
     25       
     26        private string ContactNameField;
    2527       
    2628        private HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.PluginDescription[] DependenciesField;
     
    4547       
    4648        [System.Runtime.Serialization.DataMemberAttribute()]
    47         public string ContactInformation
    48         {
    49             get
    50             {
    51                 return this.ContactInformationField;
    52             }
    53             set
    54             {
    55                 this.ContactInformationField = value;
     49        public string ContactEmail
     50        {
     51            get
     52            {
     53                return this.ContactEmailField;
     54            }
     55            set
     56            {
     57                this.ContactEmailField = value;
     58            }
     59        }
     60       
     61        [System.Runtime.Serialization.DataMemberAttribute()]
     62        public string ContactName
     63        {
     64            get
     65            {
     66                return this.ContactNameField;
     67            }
     68            set
     69            {
     70                this.ContactNameField = value;
    5671            }
    5772        }
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/PluginDescription.cs

    r2814 r2860  
    3131namespace HeuristicLab.PluginInfrastructure.Advanced.DeploymentService {
    3232  // extension of auto-generated DataContract class PluginDescription
    33   public partial class PluginDescription {
     33  public partial class PluginDescription : IPluginDescription {
    3434    public PluginDescription(string name, Version version) : this(name, version, new List<PluginDescription>()) { }
    3535    public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies)
    36       : this(name, version, dependencies, string.Empty, string.Empty) {
     36      : this(name, version, dependencies, string.Empty, string.Empty, string.Empty) {
    3737    }
    3838
    39     public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies, string contactInformation, string licenseText) {
     39    public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies, string contactName, string contactEmail, string licenseText) {
    4040      this.Name = name;
    4141      this.Version = version;
    4242      this.Dependencies = dependencies.ToArray();
    43       this.ContactInformation = contactInformation;
    4443      this.LicenseText = licenseText;
    4544    }
     45
     46    #region IPluginDescription Members
     47
     48
     49    [Obsolete]
     50    public DateTime BuildDate {
     51      get { throw new NotImplementedException(); }
     52    }
     53
     54    IEnumerable<IPluginDescription> IPluginDescription.Dependencies {
     55      get {
     56        return Dependencies;
     57      }
     58    }
     59
     60    public IEnumerable<IPluginFile> Files {
     61      get { return Enumerable.Empty<IPluginFile>(); }
     62    }
     63
     64    #endregion
    4665  }
    4766}
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/ProductDescription.cs

    r2811 r2860  
    3131namespace HeuristicLab.PluginInfrastructure.Advanced.DeploymentService {
    3232  // extension of auto-generated DataContract class ProductDescription
    33   public partial class ProductDescription {
     33  public partial class ProductDescription  {
    3434    public ProductDescription(string name, Version version)
    3535      : this(name, version, new List<PluginDescription>()) {
  • trunk/sources/HeuristicLab.PluginInfrastructure/app.config

    r2814 r2860  
    2727        <bindings>
    2828            <wsHttpBinding>
    29                 <binding name="WSHttpBinding_IUpdate2" closeTimeout="00:01:00"
     29                <binding name="WSHttpBinding_IUpdate" closeTimeout="00:01:00"
    3030                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    3131                    bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
     
    4444                    </security>
    4545                </binding>
    46                 <binding name="WSHttpBinding_IAdmin2" closeTimeout="00:01:00"
     46                <binding name="WSHttpBinding_IAdmin" closeTimeout="00:01:00"
    4747                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    4848                    bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
     
    6565        <client>
    6666            <endpoint address="http://localhost:8731/Design_Time_Addresses/HeuristicLab.Services.Deployment/Update/"
    67                 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUpdate2"
     67                binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IUpdate"
    6868                contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IUpdate"
    69                 name="WSHttpBinding_IUpdate2">
     69                name="WSHttpBinding_IUpdate">
    7070                <identity>
    7171                    <dns value="localhost" />
     
    7373            </endpoint>
    7474            <endpoint address="http://localhost:8731/Design_Time_Addresses/HeuristicLab.Services.Deployment/Admin/"
    75                 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAdmin2"
     75                binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAdmin"
    7676                contract="HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.IAdmin"
    77                 name="WSHttpBinding_IAdmin2">
     77                name="WSHttpBinding_IAdmin">
    7878                <identity>
    7979                    <dns value="localhost" />
Note: See TracChangeset for help on using the changeset viewer.