Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/17 11:41:43 (8 years ago)
Author:
gkronber
Message:

#2520

  • renamed StorableClass -> StorableType
  • changed persistence to use GUIDs instead of type names
Location:
branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/HiveTasks/HiveTask.cs

    r13386 r14711  
    3535
    3636  [Item("Hive Task", "Represents a hive task.")]
    37   [StorableClass("967DC1A1-7B0C-4D8B-AF9F-710B1FD676DF")]
     37  [StorableType("967DC1A1-7B0C-4D8B-AF9F-710B1FD676DF")]
    3838  public class HiveTask : NamedItem, IItemTree<HiveTask>, IDisposable {
    3939    protected static object locker = new object();
     
    541541
    542542  [Item("Hive Task", "Represents a hive task.")]
    543   [StorableClass("04AD6AF8-8248-48FB-AF3A-403A2D22F725")]
     543  [StorableType("04AD6AF8-8248-48FB-AF3A-403A2D22F725")]
    544544  public class HiveTask<T> : HiveTask where T : ItemTask {
    545545
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/Settings.settings

    r9666 r14711  
    33  <Profiles />
    44  <Settings>
    5     <Setting Name="MaxParallelUploads" Type="System.Int32" Scope="Application">
     5    <Setting Name="MaxParallelUploads" MemberSelection="System.Int32" Scope="Application">
    66      <Value Profile="(Default)">2</Value>
    77    </Setting>
    8     <Setting Name="HLBinaryName" Type="System.String" Scope="Application">
     8    <Setting Name="HLBinaryName" MemberSelection="System.String" Scope="Application">
    99      <Value Profile="(Default)">HeuristicLab 3.3.exe</Value>
    1010    </Setting>
    11     <Setting Name="ResultPollingInterval" Type="System.TimeSpan" Scope="Application">
     11    <Setting Name="ResultPollingInterval" MemberSelection="System.TimeSpan" Scope="Application">
    1212      <Value Profile="(Default)">00:00:20</Value>
    1313    </Setting>
    14     <Setting Name="MaxParallelDownloads" Type="System.Int32" Scope="Application">
     14    <Setting Name="MaxParallelDownloads" MemberSelection="System.Int32" Scope="Application">
    1515      <Value Profile="(Default)">2</Value>
    1616    </Setting>
    17     <Setting Name="MaxRepeatServiceCalls" Type="System.Int32" Scope="Application">
     17    <Setting Name="MaxRepeatServiceCalls" MemberSelection="System.Int32" Scope="Application">
    1818      <Value Profile="(Default)">5</Value>
    1919    </Setting>
    20     <Setting Name="AnonymousUserName" Type="System.String" Scope="Application">
     20    <Setting Name="AnonymousUserName" MemberSelection="System.String" Scope="Application">
    2121      <Value Profile="(Default)">anonymous</Value>
    2222    </Setting>
    23     <Setting Name="EndpointConfigurationPriorities" Type="System.Collections.Specialized.StringCollection" Scope="Application">
     23    <Setting Name="EndpointConfigurationPriorities" MemberSelection="System.Collections.Specialized.StringCollection" Scope="Application">
    2424      <Value Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
    2525&lt;ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
     
    2828&lt;/ArrayOfString&gt;</Value>
    2929    </Setting>
    30     <Setting Name="MaxEndpointRetries" Type="System.Int32" Scope="Application">
     30    <Setting Name="MaxEndpointRetries" MemberSelection="System.Int32" Scope="Application">
    3131      <Value Profile="(Default)">3</Value>
    3232    </Setting>
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/StateLogList.cs

    r13368 r14711  
    2626
    2727namespace HeuristicLab.Clients.Hive {
    28   [StorableClass("ED082FB8-76ED-4A77-97B6-ACB7D566435F")]
     28  [StorableType("ED082FB8-76ED-4A77-97B6-ACB7D566435F")]
    2929  public class StateLogList : ItemList<StateLog> {
    3030
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/StateLogListList.cs

    r13368 r14711  
    2626
    2727namespace HeuristicLab.Clients.Hive {
    28   [StorableClass("2EFC5B92-9976-42CE-812E-8155183D182A")]
     28  [StorableType("2EFC5B92-9976-42CE-812E-8155183D182A")]
    2929  public class StateLogListList : ItemList<StateLogList> {
    3030
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs

    r13368 r14711  
    2727
    2828namespace HeuristicLab.Clients.Hive {
    29   [StorableClass("EBCB0A8C-B00C-43DD-A38E-E4E12168ABA2")]
     29  [StorableType("EBCB0A8C-B00C-43DD-A38E-E4E12168ABA2")]
    3030  public class EngineTask : ItemTask {
    3131    public override HiveTask CreateHiveTask() {
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/Tasks/ItemTask.cs

    r13368 r14711  
    3131namespace HeuristicLab.Clients.Hive {
    3232  [Item("Item Task", "Represents a executable hive task which contains a HeuristicLab Item.")]
    33   [StorableClass("1E1F34FE-F580-4968-8C3F-918A22FDC8DC")]
     33  [StorableType("1E1F34FE-F580-4968-8C3F-918A22FDC8DC")]
    3434  public abstract class ItemTask : NamedItem, ITask {
    3535    public virtual HiveTask CreateHiveTask() {
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs

    r13368 r14711  
    2828namespace HeuristicLab.Clients.Hive.Jobs {
    2929  [Item("Optimizer Task", "Represents Task which executes a IOptimizer object.")]
    30   [StorableClass("52EFD5D9-936F-42C0-8ACE-548AC06A0855")]
     30  [StorableType("52EFD5D9-936F-42C0-8ACE-548AC06A0855")]
    3131  public class OptimizerTask : ItemTask {
    3232    public override HiveTask CreateHiveTask() {
  • branches/PersistenceOverhaul/HeuristicLab.Clients.Hive/3.3/app.config

    r11623 r14711  
    22<configuration>
    33  <configSections>
    4     <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    5       <section name="HeuristicLab.Clients.Hive.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
     4    <sectionGroup name="applicationSettings" memberSelection="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     5      <section name="HeuristicLab.Clients.Hive.Settings" memberSelection="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
    66    </sectionGroup>
    77  </configSections>
     
    5353          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
    5454          <security mode="Message">
    55             <transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
    56             <message clientCredentialType="UserName" negotiateServiceCredential="true" algorithmSuite="Default"/>
     55            <transport clientCredentialMemberSelection="Windows" proxyCredentialMemberSelection="None" realm=""/>
     56            <message clientCredentialMemberSelection="UserName" negotiateServiceCredential="true" algorithmSuite="Default"/>
    5757          </security>
    5858        </binding>
     
    6363          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
    6464          <security mode="TransportWithMessageCredential">
    65             <transport clientCredentialType="Windows"/>
    66             <message clientCredentialType="UserName" algorithmSuite="Default"/>
     65            <transport clientCredentialMemberSelection="Windows"/>
     66            <message clientCredentialMemberSelection="UserName" algorithmSuite="Default"/>
    6767          </security>
    6868        </binding>
Note: See TracChangeset for help on using the changeset viewer.