Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/31/11 18:15:15 (14 years ago)
Author:
cneumuel
Message:

#1233

  • single sign on with HL
  • local plugins are uploaded if not available online (user can force the useage of local plugins)
  • changed plugin and plugindata db-schema
  • plugin dao tests
Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/Job.cs

    r5106 r5402  
    4141    public List<Guid> PluginsNeededIds { get; set; }
    4242
    43     public Job() { }
     43    public Job() {
     44      this.PluginsNeededIds = new List<Guid>();
     45    }
    4446    protected Job(Job original, Cloner cloner) : base(original, cloner) {
    4547      this.UserId = original.UserId;
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/Plugin.cs

    r4905 r5402  
    3333    public Version Version { get; set; }
    3434
     35    [DataMember]
     36    public Guid UserId { get; set; }
     37
     38    [DataMember]
     39    public DateTime DateCreated { get; set; }
     40
     41    [DataMember]
     42    public bool IsLocal { get; set; }
     43
    3544    public Plugin() { }
    3645    protected Plugin(Plugin original, Cloner cloner) : base(original, cloner) {
    3746      this.Version = original.Version;
     47      this.UserId = original.UserId;
     48      this.DateCreated = original.DateCreated;
     49      this.IsLocal = original.IsLocal;
    3850    }
    3951    public override IDeepCloneable Clone(Cloner cloner) {
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/PluginData.cs

    r5375 r5402  
    2727  [Serializable]
    2828  [DataContract]
    29   public class PluginData : HiveItemBase {
    30     [DataMember]
    31     public int PluginDataId { get; set; }
     29  public class PluginData : HiveItem {
    3230    [DataMember]
    3331    public Guid PluginId { get; set; }
     
    3634    [DataMember]
    3735    public String FileName { get; set; }
    38 
    3936
    4037    public PluginData() { }
     
    4542      Array.Copy(original.Data, this.Data, original.Data.Length);
    4643      this.FileName = original.FileName;
    47       this.PluginDataId = original.PluginDataId;
    4844      this.PluginId = original.PluginId;
    4945    }
Note: See TracChangeset for help on using the changeset viewer.