- Timestamp:
- 07/06/13 11:38:38 (11 years ago)
- Location:
- stable
- Files:
-
- 30 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9665-9666,9675
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Clients.Hive.Slave.ConsoleClient/3.3/app.config
r8957 r9700 20 20 <bindings> 21 21 <wsHttpBinding> 22 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00: 20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">22 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 23 23 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 24 24 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> … … 29 29 </binding> 30 30 </wsHttpBinding> 31 <netTcpBinding> 32 <binding name="netTcpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 33 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 34 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> 35 <security mode="TransportWithMessageCredential"> 36 <transport clientCredentialType="Windows" /> 37 <message clientCredentialType="UserName" algorithmSuite="Default" /> 38 </security> 39 </binding> 40 </netTcpBinding> 31 41 </bindings> 32 42 … … 39 49 <client> 40 50 <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/> 41 <endpoint address="http://services.heuristiclab.com/Hive-3.3/HiveService.svc" 42 binding="wsHttpBinding" 43 bindingConfiguration="wsHttpBinding_Hive" 44 contract="HeuristicLab.Clients.Hive.IHiveService" 45 name="wsHttpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration"> 51 <endpoint address="http://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration"> 46 52 <identity> 47 53 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 48 54 </identity> 49 55 </endpoint> 56 <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="netTcpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration"> 57 <identity> 58 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 59 </identity> 60 </endpoint> 50 61 </client> 51 62 -
stable/HeuristicLab.Clients.Hive.Slave.WindowsService/3.3/app.config
r8957 r9700 13 13 <bindings> 14 14 <wsHttpBinding> 15 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00: 20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">15 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 16 16 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 17 17 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> … … 22 22 </binding> 23 23 </wsHttpBinding> 24 <netTcpBinding> 25 <binding name="netTcpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 26 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 27 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> 28 <security mode="TransportWithMessageCredential"> 29 <transport clientCredentialType="Windows" /> 30 <message clientCredentialType="UserName" algorithmSuite="Default" /> 31 </security> 32 </binding> 33 </netTcpBinding> 24 34 </bindings> 25 35 … … 32 42 <client> 33 43 <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/> 34 <endpoint address="http://services.heuristiclab.com/Hive-3.3/HiveService.svc" 35 binding="wsHttpBinding" 36 bindingConfiguration="wsHttpBinding_Hive" 37 contract="HeuristicLab.Clients.Hive.IHiveService" 38 name="wsHttpBinding_IHiveService"> 44 <endpoint address="http://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService"> 45 <identity> 46 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 47 </identity> 48 </endpoint> 49 <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="netTcpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration"> 39 50 <identity> 40 51 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> -
stable/HeuristicLab.Clients.Hive.Slave/3.3/Properties/Settings.Designer.cs
r8957 r9700 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319. 5864 // Runtime Version:4.0.30319.18047 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 13 13 14 14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "1 0.0.0.0")]15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 16 16 public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 17 … … 21 21 get { 22 22 return defaultInstance; 23 } 24 } 25 26 [global::System.Configuration.UserScopedSettingAttribute()] 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 [global::System.Configuration.DefaultSettingValueAttribute("lastUsed.dat")] 29 public string LastUsedFileName { 30 get { 31 return ((string)(this["LastUsedFileName"])); 32 } 33 set { 34 this["LastUsedFileName"] = value; 35 } 36 } 37 38 [global::System.Configuration.UserScopedSettingAttribute()] 39 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 40 [global::System.Configuration.DefaultSettingValueAttribute("PluginCache")] 41 public string PluginCacheDir { 42 get { 43 return ((string)(this["PluginCacheDir"])); 44 } 45 set { 46 this["PluginCacheDir"] = value; 47 } 48 } 49 50 [global::System.Configuration.UserScopedSettingAttribute()] 51 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 52 [global::System.Configuration.DefaultSettingValueAttribute("PluginTemp")] 53 public string PluginTempBaseDir { 54 get { 55 return ((string)(this["PluginTempBaseDir"])); 56 } 57 set { 58 this["PluginTempBaseDir"] = value; 59 } 60 } 61 62 [global::System.Configuration.UserScopedSettingAttribute()] 63 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 64 [global::System.Configuration.DefaultSettingValueAttribute("Configuration")] 65 public string ConfigurationName { 66 get { 67 return ((string)(this["ConfigurationName"])); 68 } 69 set { 70 this["ConfigurationName"] = value; 71 } 72 } 73 74 [global::System.Configuration.UserScopedSettingAttribute()] 75 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 76 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.PluginInfrastructure-3.3.dll")] 77 public string PluginInfrastructureDll { 78 get { 79 return ((string)(this["PluginInfrastructureDll"])); 80 } 81 set { 82 this["PluginInfrastructureDll"] = value; 83 } 84 } 85 86 [global::System.Configuration.UserScopedSettingAttribute()] 87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 88 [global::System.Configuration.DefaultSettingValueAttribute("ICSharpCode.SharpZipLib.dll")] 89 public string SharpZipLibDll { 90 get { 91 return ((string)(this["SharpZipLibDll"])); 92 } 93 set { 94 this["SharpZipLibDll"] = value; 95 } 96 } 97 98 [global::System.Configuration.UserScopedSettingAttribute()] 99 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 100 [global::System.Configuration.DefaultSettingValueAttribute("ICSharpCode.SharpZipLib License.txt")] 101 public string SharpZipLibLicense { 102 get { 103 return ((string)(this["SharpZipLibLicense"])); 104 } 105 set { 106 this["SharpZipLibLicense"] = value; 107 } 108 } 109 110 [global::System.Configuration.UserScopedSettingAttribute()] 111 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 112 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Clients.Hive.SlaveCore-3.3.dll")] 113 public string ClientsHiveSlaveCoreDll { 114 get { 115 return ((string)(this["ClientsHiveSlaveCoreDll"])); 116 } 117 set { 118 this["ClientsHiveSlaveCoreDll"] = value; 119 } 120 } 121 122 [global::System.Configuration.UserScopedSettingAttribute()] 123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 124 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Clients.Hive-3.3.dll")] 125 public string ClientsHiveDll { 126 get { 127 return ((string)(this["ClientsHiveDll"])); 128 } 129 set { 130 this["ClientsHiveDll"] = value; 131 } 132 } 133 134 [global::System.Configuration.UserScopedSettingAttribute()] 135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 136 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Hive-3.3.dll")] 137 public string HiveDll { 138 get { 139 return ((string)(this["HiveDll"])); 140 } 141 set { 142 this["HiveDll"] = value; 143 } 144 } 145 146 [global::System.Configuration.UserScopedSettingAttribute()] 147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 148 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Clients.Common-3.3.dll")] 149 public string ClientsCommonDll { 150 get { 151 return ((string)(this["ClientsCommonDll"])); 152 } 153 set { 154 this["ClientsCommonDll"] = value; 155 } 156 } 157 158 [global::System.Configuration.UserScopedSettingAttribute()] 159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 160 [global::System.Configuration.DefaultSettingValueAttribute("3")] 161 public int PluginLifetime { 162 get { 163 return ((int)(this["PluginLifetime"])); 164 } 165 set { 166 this["PluginLifetime"] = value; 167 } 168 } 169 170 [global::System.Configuration.UserScopedSettingAttribute()] 171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 172 [global::System.Configuration.DefaultSettingValueAttribute("00:00:01")] 173 public global::System.TimeSpan DirOpSleepTime { 174 get { 175 return ((global::System.TimeSpan)(this["DirOpSleepTime"])); 176 } 177 set { 178 this["DirOpSleepTime"] = value; 179 } 180 } 181 182 [global::System.Configuration.UserScopedSettingAttribute()] 183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 184 [global::System.Configuration.DefaultSettingValueAttribute("5")] 185 public int PluginDeletionRetries { 186 get { 187 return ((int)(this["PluginDeletionRetries"])); 188 } 189 set { 190 this["PluginDeletionRetries"] = value; 191 } 192 } 193 194 [global::System.Configuration.UserScopedSettingAttribute()] 195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 196 [global::System.Configuration.DefaultSettingValueAttribute("00:00:01")] 197 public global::System.TimeSpan PluginDeletionTimeout { 198 get { 199 return ((global::System.TimeSpan)(this["PluginDeletionTimeout"])); 200 } 201 set { 202 this["PluginDeletionTimeout"] = value; 203 } 204 } 205 206 [global::System.Configuration.UserScopedSettingAttribute()] 207 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 208 [global::System.Configuration.DefaultSettingValueAttribute("00:00:46")] 209 public global::System.TimeSpan ExecutorSemTimeouts { 210 get { 211 return ((global::System.TimeSpan)(this["ExecutorSemTimeouts"])); 212 } 213 set { 214 this["ExecutorSemTimeouts"] = value; 215 } 216 } 217 218 [global::System.Configuration.UserScopedSettingAttribute()] 219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 220 [global::System.Configuration.DefaultSettingValueAttribute("5000")] 221 public int QueuesMaxThreads { 222 get { 223 return ((int)(this["QueuesMaxThreads"])); 224 } 225 set { 226 this["QueuesMaxThreads"] = value; 227 } 228 } 229 230 [global::System.Configuration.UserScopedSettingAttribute()] 231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 232 [global::System.Configuration.DefaultSettingValueAttribute("SlaveCommunicationServiceEndpoint")] 233 public string SlaveCommunicationServiceEndpoint { 234 get { 235 return ((string)(this["SlaveCommunicationServiceEndpoint"])); 236 } 237 set { 238 this["SlaveCommunicationServiceEndpoint"] = value; 239 } 240 } 241 242 [global::System.Configuration.UserScopedSettingAttribute()] 243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 244 [global::System.Configuration.DefaultSettingValueAttribute("hiveslave")] 245 public string SlaveUser { 246 get { 247 return ((string)(this["SlaveUser"])); 248 } 249 set { 250 this["SlaveUser"] = value; 251 } 252 } 253 254 [global::System.Configuration.UserScopedSettingAttribute()] 255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 256 [global::System.Configuration.DefaultSettingValueAttribute("hiveslave")] 257 public string SlavePwd { 258 get { 259 return ((string)(this["SlavePwd"])); 260 } 261 set { 262 this["SlavePwd"] = value; 263 } 264 } 265 266 [global::System.Configuration.UserScopedSettingAttribute()] 267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 268 [global::System.Configuration.DefaultSettingValueAttribute("1")] 269 public int MaxLogCount { 270 get { 271 return ((int)(this["MaxLogCount"])); 272 } 273 set { 274 this["MaxLogCount"] = value; 275 } 276 } 277 278 [global::System.Configuration.UserScopedSettingAttribute()] 279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 280 [global::System.Configuration.DefaultSettingValueAttribute("00:00:20")] 281 public global::System.TimeSpan ExecutorQueueTimeout { 282 get { 283 return ((global::System.TimeSpan)(this["ExecutorQueueTimeout"])); 284 } 285 set { 286 this["ExecutorQueueTimeout"] = value; 287 } 288 } 289 290 [global::System.Configuration.UserScopedSettingAttribute()] 291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 292 [global::System.Configuration.DefaultSettingValueAttribute("-1")] 293 public int NrOfCoresToScavenge { 294 get { 295 return ((int)(this["NrOfCoresToScavenge"])); 296 } 297 set { 298 this["NrOfCoresToScavenge"] = value; 299 } 300 } 301 302 [global::System.Configuration.UserScopedSettingAttribute()] 303 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 304 [global::System.Configuration.DefaultSettingValueAttribute("shutdown.exe")] 305 public string ShutdownCommand { 306 get { 307 return ((string)(this["ShutdownCommand"])); 308 } 309 set { 310 this["ShutdownCommand"] = value; 23 311 } 24 312 } … … 35 323 } 36 324 } 37 38 [global::System.Configuration.UserScopedSettingAttribute()]39 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]40 [global::System.Configuration.DefaultSettingValueAttribute("lastUsed.dat")]41 public string LastUsedFileName {42 get {43 return ((string)(this["LastUsedFileName"]));44 }45 set {46 this["LastUsedFileName"] = value;47 }48 }49 50 [global::System.Configuration.UserScopedSettingAttribute()]51 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]52 [global::System.Configuration.DefaultSettingValueAttribute("PluginCache")]53 public string PluginCacheDir {54 get {55 return ((string)(this["PluginCacheDir"]));56 }57 set {58 this["PluginCacheDir"] = value;59 }60 }61 62 [global::System.Configuration.UserScopedSettingAttribute()]63 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]64 [global::System.Configuration.DefaultSettingValueAttribute("PluginTemp")]65 public string PluginTempBaseDir {66 get {67 return ((string)(this["PluginTempBaseDir"]));68 }69 set {70 this["PluginTempBaseDir"] = value;71 }72 }73 74 [global::System.Configuration.UserScopedSettingAttribute()]75 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]76 [global::System.Configuration.DefaultSettingValueAttribute("Configuration")]77 public string ConfigurationName {78 get {79 return ((string)(this["ConfigurationName"]));80 }81 set {82 this["ConfigurationName"] = value;83 }84 }85 86 [global::System.Configuration.UserScopedSettingAttribute()]87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]88 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.PluginInfrastructure-3.3.dll")]89 public string PluginInfrastructureDll {90 get {91 return ((string)(this["PluginInfrastructureDll"]));92 }93 set {94 this["PluginInfrastructureDll"] = value;95 }96 }97 98 [global::System.Configuration.UserScopedSettingAttribute()]99 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]100 [global::System.Configuration.DefaultSettingValueAttribute("ICSharpCode.SharpZipLib.dll")]101 public string SharpZipLibDll {102 get {103 return ((string)(this["SharpZipLibDll"]));104 }105 set {106 this["SharpZipLibDll"] = value;107 }108 }109 110 [global::System.Configuration.UserScopedSettingAttribute()]111 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]112 [global::System.Configuration.DefaultSettingValueAttribute("ICSharpCode.SharpZipLib License.txt")]113 public string SharpZipLibLicense {114 get {115 return ((string)(this["SharpZipLibLicense"]));116 }117 set {118 this["SharpZipLibLicense"] = value;119 }120 }121 122 [global::System.Configuration.UserScopedSettingAttribute()]123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]124 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Clients.Hive.SlaveCore-3.3.dll")]125 public string ClientsHiveSlaveCoreDll {126 get {127 return ((string)(this["ClientsHiveSlaveCoreDll"]));128 }129 set {130 this["ClientsHiveSlaveCoreDll"] = value;131 }132 }133 134 [global::System.Configuration.UserScopedSettingAttribute()]135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]136 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Clients.Hive-3.3.dll")]137 public string ClientsHiveDll {138 get {139 return ((string)(this["ClientsHiveDll"]));140 }141 set {142 this["ClientsHiveDll"] = value;143 }144 }145 146 [global::System.Configuration.UserScopedSettingAttribute()]147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]148 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Hive-3.3.dll")]149 public string HiveDll {150 get {151 return ((string)(this["HiveDll"]));152 }153 set {154 this["HiveDll"] = value;155 }156 }157 158 [global::System.Configuration.UserScopedSettingAttribute()]159 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]160 [global::System.Configuration.DefaultSettingValueAttribute("HeuristicLab.Clients.Common-3.3.dll")]161 public string ClientsCommonDll {162 get {163 return ((string)(this["ClientsCommonDll"]));164 }165 set {166 this["ClientsCommonDll"] = value;167 }168 }169 170 [global::System.Configuration.UserScopedSettingAttribute()]171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]172 [global::System.Configuration.DefaultSettingValueAttribute("3")]173 public int PluginLifetime {174 get {175 return ((int)(this["PluginLifetime"]));176 }177 set {178 this["PluginLifetime"] = value;179 }180 }181 182 [global::System.Configuration.UserScopedSettingAttribute()]183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]184 [global::System.Configuration.DefaultSettingValueAttribute("00:00:01")]185 public global::System.TimeSpan DirOpSleepTime {186 get {187 return ((global::System.TimeSpan)(this["DirOpSleepTime"]));188 }189 set {190 this["DirOpSleepTime"] = value;191 }192 }193 194 [global::System.Configuration.UserScopedSettingAttribute()]195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]196 [global::System.Configuration.DefaultSettingValueAttribute("5")]197 public int PluginDeletionRetries {198 get {199 return ((int)(this["PluginDeletionRetries"]));200 }201 set {202 this["PluginDeletionRetries"] = value;203 }204 }205 206 [global::System.Configuration.UserScopedSettingAttribute()]207 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]208 [global::System.Configuration.DefaultSettingValueAttribute("00:00:01")]209 public global::System.TimeSpan PluginDeletionTimeout {210 get {211 return ((global::System.TimeSpan)(this["PluginDeletionTimeout"]));212 }213 set {214 this["PluginDeletionTimeout"] = value;215 }216 }217 218 [global::System.Configuration.UserScopedSettingAttribute()]219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]220 [global::System.Configuration.DefaultSettingValueAttribute("00:00:46")]221 public global::System.TimeSpan ExecutorSemTimeouts {222 get {223 return ((global::System.TimeSpan)(this["ExecutorSemTimeouts"]));224 }225 set {226 this["ExecutorSemTimeouts"] = value;227 }228 }229 230 [global::System.Configuration.UserScopedSettingAttribute()]231 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]232 [global::System.Configuration.DefaultSettingValueAttribute("5000")]233 public int QueuesMaxThreads {234 get {235 return ((int)(this["QueuesMaxThreads"]));236 }237 set {238 this["QueuesMaxThreads"] = value;239 }240 }241 242 [global::System.Configuration.UserScopedSettingAttribute()]243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]244 [global::System.Configuration.DefaultSettingValueAttribute("SlaveCommunicationServiceEndpoint")]245 public string SlaveCommunicationServiceEndpoint {246 get {247 return ((string)(this["SlaveCommunicationServiceEndpoint"]));248 }249 set {250 this["SlaveCommunicationServiceEndpoint"] = value;251 }252 }253 254 [global::System.Configuration.UserScopedSettingAttribute()]255 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]256 [global::System.Configuration.DefaultSettingValueAttribute("hiveslave")]257 public string SlaveUser {258 get {259 return ((string)(this["SlaveUser"]));260 }261 set {262 this["SlaveUser"] = value;263 }264 }265 266 [global::System.Configuration.UserScopedSettingAttribute()]267 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]268 [global::System.Configuration.DefaultSettingValueAttribute("hiveslave")]269 public string SlavePwd {270 get {271 return ((string)(this["SlavePwd"]));272 }273 set {274 this["SlavePwd"] = value;275 }276 }277 278 [global::System.Configuration.UserScopedSettingAttribute()]279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]280 [global::System.Configuration.DefaultSettingValueAttribute("1")]281 public int MaxLogCount {282 get {283 return ((int)(this["MaxLogCount"]));284 }285 set {286 this["MaxLogCount"] = value;287 }288 }289 290 [global::System.Configuration.UserScopedSettingAttribute()]291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]292 [global::System.Configuration.DefaultSettingValueAttribute("00:00:20")]293 public global::System.TimeSpan ExecutorQueueTimeout {294 get {295 return ((global::System.TimeSpan)(this["ExecutorQueueTimeout"]));296 }297 set {298 this["ExecutorQueueTimeout"] = value;299 }300 }301 302 [global::System.Configuration.UserScopedSettingAttribute()]303 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]304 [global::System.Configuration.DefaultSettingValueAttribute("-1")]305 public int NrOfCoresToScavenge {306 get {307 return ((int)(this["NrOfCoresToScavenge"]));308 }309 set {310 this["NrOfCoresToScavenge"] = value;311 }312 }313 314 [global::System.Configuration.UserScopedSettingAttribute()]315 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]316 [global::System.Configuration.DefaultSettingValueAttribute("shutdown.exe")]317 public string ShutdownCommand {318 get {319 return ((string)(this["ShutdownCommand"]));320 }321 set {322 this["ShutdownCommand"] = value;323 }324 }325 325 } 326 326 } -
stable/HeuristicLab.Clients.Hive.Slave/3.3/Properties/Settings.settings
r8957 r9700 3 3 <Profiles /> 4 4 <Settings> 5 <Setting Name="HeartbeatInterval" Type="System.TimeSpan" Scope="User">6 <Value Profile="(Default)">00:00:40</Value>7 </Setting>8 5 <Setting Name="LastUsedFileName" Type="System.String" Scope="User"> 9 6 <Value Profile="(Default)">lastUsed.dat</Value> … … 78 75 <Value Profile="(Default)">shutdown.exe</Value> 79 76 </Setting> 77 <Setting Name="HeartbeatInterval" Type="System.TimeSpan" Scope="User"> 78 <Value Profile="(Default)">00:00:40</Value> 79 </Setting> 80 80 </Settings> 81 81 </SettingsFile> -
stable/HeuristicLab.Clients.Hive.Slave/3.3/app.config
r8957 r9700 24 24 <bindings> 25 25 <wsHttpBinding> 26 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00: 20:00" sendTimeout="00:20:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">26 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 27 27 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 28 28 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> … … 33 33 </binding> 34 34 </wsHttpBinding> 35 <netTcpBinding> 36 <binding name="netTcpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 37 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 38 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> 39 <security mode="TransportWithMessageCredential"> 40 <transport clientCredentialType="Windows" /> 41 <message clientCredentialType="UserName" algorithmSuite="Default" /> 42 </security> 43 </binding> 44 </netTcpBinding> 35 45 </bindings> 36 46 <services> … … 46 56 </identity> 47 57 </endpoint> 58 <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="netTcpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration"> 59 <identity> 60 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 61 </identity> 62 </endpoint> 48 63 </client> 49 64 </system.serviceModel> 50 65 <userSettings> 51 66 <HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings> 52 <setting name="HeartbeatInterval" serializeAs="String">53 <value>00:00:40</value>54 </setting>55 67 <setting name="LastUsedFileName" serializeAs="String"> 56 68 <value>lastUsed.dat</value> … … 125 137 <value>shutdown.exe</value> 126 138 </setting> 139 <setting name="HeartbeatInterval" serializeAs="String"> 140 <value>00:00:40</value> 141 </setting> 127 142 </HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings> 128 143 </userSettings> -
stable/HeuristicLab.Clients.Hive/3.3/HiveServiceLocator.cs
r9456 r9700 35 35 } 36 36 37 private HiveServiceLocator() { 38 } 39 37 40 private string username; 38 41 public string Username { … … 47 50 } 48 51 52 public int EndpointRetries { get; private set; } 53 54 public string WorkingEndpoint { get; private set; } 55 49 56 private HiveServiceClient NewServiceClient() { 50 HiveServiceClient cl; 57 if (EndpointRetries >= Settings.Default.MaxEndpointRetries) { 58 return CreateClient(WorkingEndpoint); 59 } 60 61 var configurations = Settings.Default.EndpointConfigurationPriorities; 62 63 Exception exception = null; 64 foreach (var endpointConfigurationName in configurations) { 65 try { 66 var cl = CreateClient(endpointConfigurationName); 67 cl.Open(); 68 WorkingEndpoint = endpointConfigurationName; 69 return cl; 70 } 71 catch (Exception exc) { 72 exception = exc; 73 EndpointRetries++; 74 } 75 } 76 77 throw exception ?? new Exception("No endpoint for Hive service found."); 78 } 79 80 private HiveServiceClient CreateClient(string endpointConfigurationName) { 81 HiveServiceClient cl = null; 82 51 83 if (string.IsNullOrEmpty(username) && string.IsNullOrEmpty(password)) 52 cl = ClientFactory.CreateClient<HiveServiceClient, IHiveService>( );84 cl = ClientFactory.CreateClient<HiveServiceClient, IHiveService>(endpointConfigurationName); 53 85 else 54 cl = ClientFactory.CreateClient<HiveServiceClient, IHiveService>( null, null, username, password);86 cl = ClientFactory.CreateClient<HiveServiceClient, IHiveService>(endpointConfigurationName, null, username, password); 55 87 56 88 return cl; -
stable/HeuristicLab.Clients.Hive/3.3/Settings.Designer.cs
r9207 r9700 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319. 5864 // Runtime Version:4.0.30319.18047 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 13 13 14 14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "1 0.0.0.0")]15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 16 16 internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 17 … … 26 26 [global::System.Configuration.ApplicationScopedSettingAttribute()] 27 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 [global::System.Configuration.DefaultSettingValueAttribute(" 1")]28 [global::System.Configuration.DefaultSettingValueAttribute("2")] 29 29 public int MaxParallelUploads { 30 30 get { … … 77 77 } 78 78 } 79 80 [global::System.Configuration.ApplicationScopedSettingAttribute()] 81 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 82 [global::System.Configuration.DefaultSettingValueAttribute(@"<?xml version=""1.0"" encoding=""utf-16""?> 83 <ArrayOfString xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema""> 84 <string>netTcpBinding_IHiveService</string> 85 <string>wsHttpBinding_IHiveService</string> 86 </ArrayOfString>")] 87 public global::System.Collections.Specialized.StringCollection EndpointConfigurationPriorities { 88 get { 89 return ((global::System.Collections.Specialized.StringCollection)(this["EndpointConfigurationPriorities"])); 90 } 91 } 92 93 [global::System.Configuration.ApplicationScopedSettingAttribute()] 94 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 95 [global::System.Configuration.DefaultSettingValueAttribute("3")] 96 public int MaxEndpointRetries { 97 get { 98 return ((int)(this["MaxEndpointRetries"])); 99 } 100 } 79 101 } 80 102 } -
stable/HeuristicLab.Clients.Hive/3.3/Settings.settings
r9207 r9700 4 4 <Settings> 5 5 <Setting Name="MaxParallelUploads" Type="System.Int32" Scope="Application"> 6 <Value Profile="(Default)"> 1</Value>6 <Value Profile="(Default)">2</Value> 7 7 </Setting> 8 8 <Setting Name="HLBinaryName" Type="System.String" Scope="Application"> … … 21 21 <Value Profile="(Default)">anonymous</Value> 22 22 </Setting> 23 <Setting Name="EndpointConfigurationPriorities" Type="System.Collections.Specialized.StringCollection" Scope="Application"> 24 <Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?> 25 <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 26 <string>netTcpBinding_IHiveService</string> 27 <string>wsHttpBinding_IHiveService</string> 28 </ArrayOfString></Value> 29 </Setting> 30 <Setting Name="MaxEndpointRetries" Type="System.Int32" Scope="Application"> 31 <Value Profile="(Default)">3</Value> 32 </Setting> 23 33 </Settings> 24 34 </SettingsFile> -
stable/HeuristicLab.Clients.Hive/3.3/app.config
r9207 r9700 9 9 <HeuristicLab.Clients.Hive.Settings> 10 10 <setting name="MaxParallelUploads" serializeAs="String"> 11 <value> 1</value>11 <value>2</value> 12 12 </setting> 13 13 <setting name="HLBinaryName" serializeAs="String"> … … 26 26 <value>anonymous</value> 27 27 </setting> 28 <setting name="EndpointConfigurationPriorities" serializeAs="Xml"> 29 <value> 30 <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 31 xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 32 <string>netTcpBinding_IHiveService</string> 33 <string>wsHttpBinding_IHiveService</string> 34 </ArrayOfString> 35 </value> 36 </setting> 37 <setting name="MaxEndpointRetries" serializeAs="String"> 38 <value>3</value> 39 </setting> 28 40 </HeuristicLab.Clients.Hive.Settings> 29 41 </applicationSettings> … … 38 50 <bindings> 39 51 <wsHttpBinding> 40 <binding name="wsHttpBinding_Hive" 41 closeTimeout="00:01:00" 42 openTimeout="00:01:00" 43 receiveTimeout="00:20:00" 44 sendTimeout="00:20:00" 45 bypassProxyOnLocal="false" 46 transactionFlow="false" 47 hostNameComparisonMode="StrongWildcard" 48 maxBufferPoolSize="2147483647" 49 maxReceivedMessageSize="2147483647" 50 messageEncoding="Text" 51 textEncoding="utf-8" 52 useDefaultWebProxy="true" 53 allowCookies="false"> 54 55 <readerQuotas maxDepth="2147483647" 56 maxStringContentLength="2147483647" 57 maxArrayLength="2147483647" 58 maxBytesPerRead="2147483647" 59 maxNameTableCharCount="2147483647"/> 52 <binding name="wsHttpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 53 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/> 60 54 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/> 61 55 <security mode="Message"> … … 65 59 </binding> 66 60 </wsHttpBinding> 61 <netTcpBinding> 62 <binding name="netTcpBinding_Hive" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:35:00" sendTimeout="00:35:00" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 63 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 64 <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" /> 65 <security mode="TransportWithMessageCredential"> 66 <transport clientCredentialType="Windows" /> 67 <message clientCredentialType="UserName" algorithmSuite="Default" /> 68 </security> 69 </binding> 70 </netTcpBinding> 67 71 </bindings> 68 72 <client> 69 73 <endpoint address="http://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration"> 70 74 <identity> 71 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ=="/> 75 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 76 </identity> 77 </endpoint> 78 <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="netTcpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="netTcpBinding_IHiveService" behaviorConfiguration="HiveBehaviorConfiguration"> 79 <identity> 80 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 72 81 </identity> 73 82 </endpoint> -
stable/HeuristicLab.Services.Hive
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Services.Hive.DataAccess
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Services.Hive.DataAccess/3.3/HeuristicLab.Services.Hive.DataAccess-3.3.csproj
r8957 r9700 149 149 <ItemGroup> 150 150 <Content Include="SQL Scripts\Initialize Hive Database.sql" /> 151 <Content Include="SQL Scripts\Migrate to Filestream.sql" /> 151 152 <Content Include="SQL Scripts\Prepare Hive Database.sql" /> 152 153 </ItemGroup> -
stable/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.cs
r9456 r9700 23 23 using System.Data.Linq.Mapping; 24 24 namespace HeuristicLab.Services.Hive.DataAccess { 25 partial class SlaveStatistics {26 }27 28 25 partial class HiveDataContext { 29 26 // source: http://stackoverflow.com/questions/648196/random-row-from-linq-to-sql 30 27 [Function(Name = "NEWID", IsComposable = true)] 31 public Guid Random() { 28 public Guid Random() { 32 29 // to prove not used by our C# code... 33 30 throw new NotImplementedException(); -
stable/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml
r9426 r9700 114 114 <Type Name="TaskData"> 115 115 <Column Name="TaskId" Storage="_JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" /> 116 <Column Name="Data" Type="System. Data.Linq.Binary" DbType="VarBinary(MAX)" CanBeNull="false" UpdateCheck="Never" IsDelayLoaded="true" />116 <Column Name="Data" Type="System.Byte[]" DbType="VarBinary(MAX)" CanBeNull="false" UpdateCheck="Never" IsDelayLoaded="true" /> 117 117 <Column Name="LastUpdate" Type="System.DateTime" DbType="DateTime" CanBeNull="false" /> 118 118 <Association Name="Task_TaskData" Member="Task" Storage="_Job" ThisKey="TaskId" OtherKey="TaskId" Type="Task" IsForeignKey="true" /> … … 123 123 <Column Name="PluginDataId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" /> 124 124 <Column Name="PluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" /> 125 <Column Name="Data" Type="System. Data.Linq.Binary" DbType="VarBinary(MAX) NOT NULL" CanBeNull="false" UpdateCheck="Never" IsDelayLoaded="true" />125 <Column Name="Data" Type="System.Byte[]" DbType="VarBinary(MAX) NOT NULL" CanBeNull="false" UpdateCheck="Never" IsDelayLoaded="true" /> 126 126 <Column Name="FileName" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" /> 127 127 <Association Name="Plugin_PluginData" Member="Plugin" ThisKey="PluginId" OtherKey="PluginId" Type="Plugin" IsForeignKey="true" /> -
stable/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml.layout
r9123 r9700 3 3 <DataContextMoniker Name="/HiveDataContext" /> 4 4 <nestedChildShapes> 5 <classShape Id="a929c9dc-69f4-4488-ba1c-a2342bf81d89" absoluteBounds="8.875, 4.5, 2, 1. 1939925130208327">5 <classShape Id="a929c9dc-69f4-4488-ba1c-a2342bf81d89" absoluteBounds="8.875, 4.5, 2, 1.0961531575520827"> 6 6 <DataClassMoniker Name="/HiveDataContext/AssignedResource" /> 7 7 <nestedChildShapes> 8 <elementListCompartment Id="8b005775-f0ee-41b0-ae10-6d1151003708" absoluteBounds="8.89, 4.9600000000000009, 1.9700000000000002, 0. 63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />9 </nestedChildShapes> 10 </classShape> 11 <classShape Id="7d998e56-4fba-41ca-a1a8-1dcdb9068edf" absoluteBounds="8.875, 5.875, 2, 1. 9631982421874996">8 <elementListCompartment Id="8b005775-f0ee-41b0-ae10-6d1151003708" absoluteBounds="8.89, 4.9600000000000009, 1.9700000000000002, 0.53615315755208326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 9 </nestedChildShapes> 10 </classShape> 11 <classShape Id="7d998e56-4fba-41ca-a1a8-1dcdb9068edf" absoluteBounds="8.875, 5.875, 2, 1.7535424804687496"> 12 12 <DataClassMoniker Name="/HiveDataContext/Plugin" /> 13 13 <nestedChildShapes> 14 <elementListCompartment Id="ec4ba325-6dff-4418-baad-59af81ae2024" absoluteBounds="8.89, 6.3350000000000009, 1.9700000000000002, 1. 4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />15 </nestedChildShapes> 16 </classShape> 17 <classShape Id="97b00810-fa30-457e-b484-b4e80b22f91b" absoluteBounds="6.5, 5.875, 2, 1. 3862939453124987">14 <elementListCompartment Id="ec4ba325-6dff-4418-baad-59af81ae2024" absoluteBounds="8.89, 6.3350000000000009, 1.9700000000000002, 1.19354248046875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 15 </nestedChildShapes> 16 </classShape> 17 <classShape Id="97b00810-fa30-457e-b484-b4e80b22f91b" absoluteBounds="6.5, 5.875, 2, 1.2605004882812496"> 18 18 <DataClassMoniker Name="/HiveDataContext/RequiredPlugin" /> 19 19 <nestedChildShapes> 20 <elementListCompartment Id="df6451e5-069e-4ca0-a909-61b8213b5047" absoluteBounds="6.5150000000000006, 6.3350000000000009, 1.9700000000000002, 0. 8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />21 </nestedChildShapes> 22 </classShape> 23 <classShape Id="706a4581-6daf-4e71-ae2a-87d50b27a051" absoluteBounds="11.25, 1, 2, 1. 9631982421875">20 <elementListCompartment Id="df6451e5-069e-4ca0-a909-61b8213b5047" absoluteBounds="6.5150000000000006, 6.3350000000000009, 1.9700000000000002, 0.70050048828125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 21 </nestedChildShapes> 22 </classShape> 23 <classShape Id="706a4581-6daf-4e71-ae2a-87d50b27a051" absoluteBounds="11.25, 1, 2, 1.75354248046875"> 24 24 <DataClassMoniker Name="/HiveDataContext/Resource" /> 25 25 <nestedChildShapes> 26 <elementListCompartment Id="8c24f5bf-2164-4d0f-832e-1730eb0066df" absoluteBounds="11.265, 1.46, 1.9700000000000002, 1. 4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />27 </nestedChildShapes> 28 </classShape> 29 <classShape Id="695bfc39-59f3-4e60-8644-f847964bf62c" absoluteBounds="6.5, 1, 2, 3.3093082682291666">26 <elementListCompartment Id="8c24f5bf-2164-4d0f-832e-1730eb0066df" absoluteBounds="11.265, 1.46, 1.9700000000000002, 1.19354248046875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 27 </nestedChildShapes> 28 </classShape> 29 <classShape Id="695bfc39-59f3-4e60-8644-f847964bf62c" absoluteBounds="6.5, 1, 2, 2.9039737955729166"> 30 30 <DataClassMoniker Name="/HiveDataContext/Task" /> 31 31 <nestedChildShapes> 32 <elementListCompartment Id="a6a30e11-03d1-4869-82e6-b733f4ef9974" absoluteBounds="6.5150000000000006, 1.46, 1.9700000000000002, 2. 7493082682291665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />33 </nestedChildShapes> 34 </classShape> 35 <classShape Id="8d5712f7-7a1a-4a89-bd4d-fd60200d3306" absoluteBounds="13.5, 2.5, 2, 2. 3478011067708326">32 <elementListCompartment Id="a6a30e11-03d1-4869-82e6-b733f4ef9974" absoluteBounds="6.5150000000000006, 1.46, 1.9700000000000002, 2.3439737955729165" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 33 </nestedChildShapes> 34 </classShape> 35 <classShape Id="8d5712f7-7a1a-4a89-bd4d-fd60200d3306" absoluteBounds="13.5, 2.5, 2, 2.0822371419270826"> 36 36 <DataClassMoniker Name="/HiveDataContext/Downtime" /> 37 37 <nestedChildShapes> 38 <elementListCompartment Id="7d8f121b-35bb-4753-a25f-3fac1562e68e" absoluteBounds="13.515, 2.9600000000000009, 1.9700000000000002, 1. 7878011067708333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />39 </nestedChildShapes> 40 </classShape> 41 <classShape Id="e6f840cc-2968-4be1-b234-eef624ccacbb" absoluteBounds="4.125, 2.625, 2, 1. 9631982421874996">38 <elementListCompartment Id="7d8f121b-35bb-4753-a25f-3fac1562e68e" absoluteBounds="13.515, 2.9600000000000009, 1.9700000000000002, 1.5222371419270833" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 39 </nestedChildShapes> 40 </classShape> 41 <classShape Id="e6f840cc-2968-4be1-b234-eef624ccacbb" absoluteBounds="4.125, 2.625, 2, 1.7535424804687496"> 42 42 <DataClassMoniker Name="/HiveDataContext/Job" /> 43 43 <nestedChildShapes> 44 <elementListCompartment Id="0c65d4e1-256a-4a91-9a57-392f25e4de7f" absoluteBounds="4.1400000000000006, 3.0850000000000009, 1.9700000000000002, 1. 4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />45 </nestedChildShapes> 46 </classShape> 47 <classShape Id="26f4edfa-91dd-4941-a058-359f89e567a8" absoluteBounds="8.875, 0.75, 2, 3.3093082682291666">44 <elementListCompartment Id="0c65d4e1-256a-4a91-9a57-392f25e4de7f" absoluteBounds="4.1400000000000006, 3.0850000000000009, 1.9700000000000002, 1.19354248046875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 45 </nestedChildShapes> 46 </classShape> 47 <classShape Id="26f4edfa-91dd-4941-a058-359f89e567a8" absoluteBounds="8.875, 0.75, 2, 2.9039737955729166"> 48 48 <DataClassMoniker Name="/HiveDataContext/Slave" /> 49 49 <nestedChildShapes> 50 <elementListCompartment Id="1e61f36b-08dc-4df7-8594-c9dcd95c0791" absoluteBounds="8.89, 1.21, 1.9700000000000002, 2. 7493082682291665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />51 </nestedChildShapes> 52 </classShape> 53 <classShape Id="bbd91675-92f2-4a69-8429-0950008fc8a4" absoluteBounds="13.5, 1, 2, 0. 8093896484375">50 <elementListCompartment Id="1e61f36b-08dc-4df7-8594-c9dcd95c0791" absoluteBounds="8.89, 1.21, 1.9700000000000002, 2.3439737955729165" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 51 </nestedChildShapes> 52 </classShape> 53 <classShape Id="bbd91675-92f2-4a69-8429-0950008fc8a4" absoluteBounds="13.5, 1, 2, 0.76745849609375"> 54 54 <DataClassMoniker Name="/HiveDataContext/SlaveGroup" /> 55 55 <nestedChildShapes> 56 <elementListCompartment Id="5a790e8f-6e2e-4bf5-bd2b-f8a82224d9d7" absoluteBounds="13.5, 1, 0.125, 0.2 493896484375" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />56 <elementListCompartment Id="5a790e8f-6e2e-4bf5-bd2b-f8a82224d9d7" absoluteBounds="13.5, 1, 0.125, 0.20745849609375" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 57 57 </nestedChildShapes> 58 58 </classShape> … … 69 69 </nodes> 70 70 </inheritanceConnector> 71 <associationConnector edgePoints="[(11.8134963640734 : 2. 9631982421875); (11.8134963640734 : 3.56770833333333); (11.1119791666667 : 3.56770833333333); (11.1119791666667 : 5.09699625651042); (10.875 : 5.09699625651042)]" manuallyRouted="true" fixedFrom="NotFixed" fixedTo="NotFixed">71 <associationConnector edgePoints="[(11.8134963640734 : 2.75354248046875); (11.8134963640734 : 3.56770833333333); (11.1119791666667 : 3.56770833333333); (11.1119791666667 : 5.09699625651042); (10.875 : 5.09699625651042)]" manuallyRouted="true" fixedFrom="Algorithm" fixedTo="Algorithm"> 72 72 <AssociationMoniker Name="/HiveDataContext/Resource/Resource_AssignedResource" /> 73 73 <nodes> … … 76 76 </nodes> 77 77 </associationConnector> 78 <classShape Id="6bc13f26-f9a8-4597-b054-35be34190d12" absoluteBounds="4.125, 1, 2, 1. 3862939453125">78 <classShape Id="6bc13f26-f9a8-4597-b054-35be34190d12" absoluteBounds="4.125, 1, 2, 1.26050048828125"> 79 79 <DataClassMoniker Name="/HiveDataContext/TaskData" /> 80 80 <nestedChildShapes> 81 <elementListCompartment Id="a068522c-7974-4679-b356-e33c941c465b" absoluteBounds="4.14, 1.46, 1.9700000000000002, 0. 8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />82 </nestedChildShapes> 83 </classShape> 84 <classShape Id="ad25bd0f-80e8-4a06-abd8-190eb678eec7" absoluteBounds="11.25, 5.875, 2, 1. 5785953776041666">81 <elementListCompartment Id="a068522c-7974-4679-b356-e33c941c465b" absoluteBounds="4.14, 1.46, 1.9700000000000002, 0.70050048828125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 82 </nestedChildShapes> 83 </classShape> 84 <classShape Id="ad25bd0f-80e8-4a06-abd8-190eb678eec7" absoluteBounds="11.25, 5.875, 2, 1.4248478190104166"> 85 85 <DataClassMoniker Name="/HiveDataContext/PluginData" /> 86 86 <nestedChildShapes> 87 <elementListCompartment Id="acddb513-7de6-4bb4-8335-d6982fb2ef35" absoluteBounds="11.265, 6.3350000000000009, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />87 <elementListCompartment Id="acddb513-7de6-4bb4-8335-d6982fb2ef35" absoluteBounds="11.265, 6.3350000000000009, 1.9700000000000002, 0.86484781901041663" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 88 88 </nestedChildShapes> 89 89 </classShape> … … 109 109 </nodes> 110 110 </associationConnector> 111 <classShape Id="00352397-340e-449a-8e23-6ddd216e8617" absoluteBounds="1.75, 1, 2, 2.1554996744791666">111 <classShape Id="00352397-340e-449a-8e23-6ddd216e8617" absoluteBounds="1.75, 1, 2, 1.9178898111979166"> 112 112 <DataClassMoniker Name="/HiveDataContext/StateLog" /> 113 113 <nestedChildShapes> 114 <elementListCompartment Id="9a003897-deef-4bb5-b180-4c4bcdb7fadc" absoluteBounds="1.765, 1.46, 1.9700000000000002, 1. 5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />115 </nestedChildShapes> 116 </classShape> 117 <classShape Id="4d800dc9-1b18-469f-b02c-d4554757c5e1" absoluteBounds="1.75, 3.625, 2, 1. 5785953776041666">114 <elementListCompartment Id="9a003897-deef-4bb5-b180-4c4bcdb7fadc" absoluteBounds="1.765, 1.46, 1.9700000000000002, 1.3578898111979165" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 115 </nestedChildShapes> 116 </classShape> 117 <classShape Id="4d800dc9-1b18-469f-b02c-d4554757c5e1" absoluteBounds="1.75, 3.625, 2, 1.4248478190104166"> 118 118 <DataClassMoniker Name="/HiveDataContext/JobPermission" /> 119 119 <nestedChildShapes> 120 <elementListCompartment Id="dedd97d3-a9a2-45a2-9b95-d7366fb65a7f" absoluteBounds="1.765, 4.085, 1.9700000000000002, 1.0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />120 <elementListCompartment Id="dedd97d3-a9a2-45a2-9b95-d7366fb65a7f" absoluteBounds="1.765, 4.085, 1.9700000000000002, 0.86484781901041663" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 121 121 </nestedChildShapes> 122 122 </classShape> … … 128 128 </nodes> 129 129 </associationConnector> 130 <classShape Id="b4e7aaa8-a382-4560-a1fd-498de77e9340" absoluteBounds="1.75, 5.5, 2, 1. 1939925130208327">130 <classShape Id="b4e7aaa8-a382-4560-a1fd-498de77e9340" absoluteBounds="1.75, 5.5, 2, 1.0961531575520827"> 131 131 <DataClassMoniker Name="/HiveDataContext/Lifecycle" /> 132 132 <nestedChildShapes> 133 <elementListCompartment Id="03597a2c-5c5d-4c2c-b741-c49ab5aa34d5" absoluteBounds="1.7650000000000001, 5.96, 1.9700000000000002, 0. 63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />134 </nestedChildShapes> 135 </classShape> 136 <classShape Id="cdddf4da-eaef-46a1-9cfd-987bb6b3d03e" absoluteBounds="17, 3.125, 2.5, 1. 7708968098958327">133 <elementListCompartment Id="03597a2c-5c5d-4c2c-b741-c49ab5aa34d5" absoluteBounds="1.7650000000000001, 5.96, 1.9700000000000002, 0.53615315755208326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 134 </nestedChildShapes> 135 </classShape> 136 <classShape Id="cdddf4da-eaef-46a1-9cfd-987bb6b3d03e" absoluteBounds="17, 3.125, 2.5, 1.5891951497395827"> 137 137 <DataClassMoniker Name="/HiveDataContext/DeletedJobStatistics" /> 138 138 <nestedChildShapes> 139 <elementListCompartment Id="b8738381-f696-4dba-a517-47e9cd96a9a6" absoluteBounds="17.015, 3.585, 2.4699999999999998, 1. 2108968098958333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />140 </nestedChildShapes> 141 </classShape> 142 <classShape Id="25442617-ff41-49a0-b5d5-4cbe0b2f0f45" absoluteBounds="22, 4.5, 2, 1. 9631982421874996">139 <elementListCompartment Id="b8738381-f696-4dba-a517-47e9cd96a9a6" absoluteBounds="17.015, 3.585, 2.4699999999999998, 1.0291951497395833" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 140 </nestedChildShapes> 141 </classShape> 142 <classShape Id="25442617-ff41-49a0-b5d5-4cbe0b2f0f45" absoluteBounds="22, 4.5, 2, 1.7535424804687496"> 143 143 <DataClassMoniker Name="/HiveDataContext/UserStatistics" /> 144 144 <nestedChildShapes> 145 <elementListCompartment Id="6edf08e7-054a-4253-8d4f-5bf2dfec2d29" absoluteBounds="22.015, 4.96, 1.9700000000000002, 1. 4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />146 </nestedChildShapes> 147 </classShape> 148 <classShape Id="f78ec989-4862-4bac-87e3-9b0aad4bc037" absoluteBounds="19.875, 4.5, 2, 2.1554996744791666">145 <elementListCompartment Id="6edf08e7-054a-4253-8d4f-5bf2dfec2d29" absoluteBounds="22.015, 4.96, 1.9700000000000002, 1.19354248046875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 146 </nestedChildShapes> 147 </classShape> 148 <classShape Id="f78ec989-4862-4bac-87e3-9b0aad4bc037" absoluteBounds="19.875, 4.5, 2, 1.9178898111979166"> 149 149 <DataClassMoniker Name="/HiveDataContext/SlaveStatistics" /> 150 150 <nestedChildShapes> 151 <elementListCompartment Id="98cb46fe-820e-4041-aee8-04e8bed3df23" absoluteBounds="19.89, 4.96, 1.9700000000000002, 1. 5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />152 </nestedChildShapes> 153 </classShape> 154 <classShape Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" absoluteBounds="21, 3, 2, 1. 1939925130208327">151 <elementListCompartment Id="98cb46fe-820e-4041-aee8-04e8bed3df23" absoluteBounds="19.89, 4.96, 1.9700000000000002, 1.3578898111979165" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 152 </nestedChildShapes> 153 </classShape> 154 <classShape Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" absoluteBounds="21, 3, 2, 1.0961531575520827"> 155 155 <DataClassMoniker Name="/HiveDataContext/Statistics" /> 156 156 <nestedChildShapes> 157 <elementListCompartment Id="17821282-8edf-40b7-9065-84f53391d5c1" absoluteBounds="21.015, 3.46, 1.9700000000000002, 0. 63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />157 <elementListCompartment Id="17821282-8edf-40b7-9065-84f53391d5c1" absoluteBounds="21.015, 3.46, 1.9700000000000002, 0.53615315755208326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 158 158 </nestedChildShapes> 159 159 </classShape> … … 228 228 </nodes> 229 229 </associationConnector> 230 <classShape Id="a3f352be-9f15-4e73-8d44-3e8ac02fb4cf" absoluteBounds="11.25, 3.875, 2, 1. 3862939453124996">230 <classShape Id="a3f352be-9f15-4e73-8d44-3e8ac02fb4cf" absoluteBounds="11.25, 3.875, 2, 1.2605004882812496"> 231 231 <DataClassMoniker Name="/HiveDataContext/ResourcePermission" /> 232 232 <nestedChildShapes> 233 <elementListCompartment Id="45e2f1a8-8a1e-4647-b649-10ec55976ab4" absoluteBounds="11.265, 4.335, 1.9700000000000002, 0. 8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />233 <elementListCompartment Id="45e2f1a8-8a1e-4647-b649-10ec55976ab4" absoluteBounds="11.265, 4.335, 1.9700000000000002, 0.70050048828125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 234 234 </nestedChildShapes> 235 235 </classShape> … … 241 241 </nodes> 242 242 </associationConnector> 243 <classShape Id="f9e8867f-fd15-4a72-8ca4-4f02cd3f141f" absoluteBounds="4.125, 5.5, 2, 1. 1939925130208327">243 <classShape Id="f9e8867f-fd15-4a72-8ca4-4f02cd3f141f" absoluteBounds="4.125, 5.5, 2, 1.0961531575520827"> 244 244 <DataClassMoniker Name="/HiveDataContext/UserPriority" /> 245 245 <nestedChildShapes> 246 <elementListCompartment Id="ee41f516-7d9c-4a1d-a1b8-bbe00a6ffea8" absoluteBounds="4.14, 5.96, 1.9700000000000002, 0. 63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />246 <elementListCompartment Id="ee41f516-7d9c-4a1d-a1b8-bbe00a6ffea8" absoluteBounds="4.14, 5.96, 1.9700000000000002, 0.53615315755208326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 247 247 </nestedChildShapes> 248 248 </classShape> -
stable/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.designer.cs
r9426 r9700 2661 2661 private System.Guid _JobId; 2662 2662 2663 private System.Data.Linq.Link< System.Data.Linq.Binary> _Data;2663 private System.Data.Linq.Link<byte[]> _Data; 2664 2664 2665 2665 private System.DateTime _LastUpdate; … … 2673 2673 partial void OnTaskIdChanging(System.Guid value); 2674 2674 partial void OnTaskIdChanged(); 2675 partial void OnDataChanging( System.Data.Linq.Binaryvalue);2675 partial void OnDataChanging(byte[] value); 2676 2676 partial void OnDataChanged(); 2677 2677 partial void OnLastUpdateChanging(System.DateTime value); … … 2710 2710 2711 2711 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Data", DbType="VarBinary(MAX)", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] 2712 public System.Data.Linq.BinaryData2712 public byte[] Data 2713 2713 { 2714 2714 get … … 2814 2814 private System.Guid _PluginId; 2815 2815 2816 private System.Data.Linq.Link< System.Data.Linq.Binary> _Data;2816 private System.Data.Linq.Link<byte[]> _Data; 2817 2817 2818 2818 private string _FileName; … … 2828 2828 partial void OnPluginIdChanging(System.Guid value); 2829 2829 partial void OnPluginIdChanged(); 2830 partial void OnDataChanging( System.Data.Linq.Binaryvalue);2830 partial void OnDataChanging(byte[] value); 2831 2831 partial void OnDataChanged(); 2832 2832 partial void OnFileNameChanging(string value); … … 2885 2885 2886 2886 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Data", DbType="VarBinary(MAX) NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] 2887 public System.Data.Linq.BinaryData2887 public byte[] Data 2888 2888 { 2889 2889 get -
stable/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Initialize Hive Database.sql
r9123 r9700 1 1 USE [HeuristicLab.Hive-3.3] 2 2 /* create and initialize hive database tables */ 3 4 EXEC sp_configure filestream_access_level, 2 5 GO 6 RECONFIGURE 7 GO 3 8 4 9 SET ARITHABORT ON … … 88 93 ) 89 94 CREATE TABLE [dbo].[TaskData]( 90 [TaskId] UniqueIdentifier NOT NULL,91 [Data] VarBinary(MAX) NOT NULL,95 [TaskId] UniqueIdentifier RowGuidCol NOT NULL, 96 [Data] VarBinary(MAX) Filestream NOT NULL, 92 97 [LastUpdate] DateTime NOT NULL, 93 98 CONSTRAINT [PK_dbo.TaskData] PRIMARY KEY ([TaskId]) 94 99 ) 95 100 CREATE TABLE [dbo].[PluginData]( 96 [PluginDataId] UniqueIdentifier NOT NULL,101 [PluginDataId] UniqueIdentifier RowGuidCol NOT NULL, 97 102 [PluginId] UniqueIdentifier NOT NULL, 98 [Data] VarBinary(MAX) NOT NULL,103 [Data] VarBinary(MAX) FileStream NOT NULL, 99 104 [FileName] VarChar(MAX) NOT NULL, 100 105 CONSTRAINT [PK_dbo.PluginData] PRIMARY KEY ([PluginDataId]) -
stable/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Migrate to Filestream.sql
r9666 r9700 1 /* Upgrade script from HeuristicLab Hive 3.3.8 to 3.3.9 */ 2 1 3 USE [HeuristicLab.Hive-3.3] 2 4 -
stable/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Prepare Hive Database.sql
r7916 r9700 41 41 ALTER TABLE dbo.Plugin WITH NOCHECK ADD CONSTRAINT [DF_Plugin_PluginId] DEFAULT (NEWSEQUENTIALID()) FOR PluginId; 42 42 43 ALTER TABLE dbo.PluginData ALTER COLUMN PluginDataId ADD ROWGUIDCOL;44 43 ALTER TABLE dbo.PluginData WITH NOCHECK ADD CONSTRAINT [DF_PluginData_PluginDataId] DEFAULT (NEWSEQUENTIALID()) FOR PluginDataId; 45 44 -
stable/HeuristicLab.Services.Hive.Web/Hive-3.3/Web.config
r9251 r9700 54 54 </system.web> 55 55 <system.serviceModel> 56 <diagnostics >56 <diagnostics performanceCounters="All"> 57 57 <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/> 58 58 </diagnostics> 59 59 <bindings> 60 60 <wsHttpBinding> 61 <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:15:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">61 <binding name="WSHttpBinding_IHiveService" messageEncoding="Text" receiveTimeout="00:35:00" sendTimeout="00:35:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 62 62 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 63 63 <security mode="Message"> … … 67 67 </binding> 68 68 </wsHttpBinding> 69 <netTcpBinding> 70 <binding name="NetTcpBinding_IHiveService" portSharingEnabled="true" receiveTimeout="00:35:00" sendTimeout="00:35:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 71 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 72 <security mode="TransportWithMessageCredential"> 73 <transport clientCredentialType="Certificate"/> 74 <message clientCredentialType="UserName"/> 75 </security> 76 </binding> 77 </netTcpBinding> 69 78 </bindings> 70 79 <behaviors> … … 88 97 <services> 89 98 <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService"> 90 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/> 91 <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/> 99 <endpoint address="mexhttp" binding="mexHttpBinding" bindingConfiguration="" name="MexHttpEndpoint" contract="IMetadataExchange"/> 100 <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" name="MexTcpEndpoint" contract="IMetadataExchange"/> 101 <endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/> 102 <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IHiveService" name="NetBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/> 92 103 </service> 93 104 </services> -
stable/HeuristicLab.Services.Hive.Web/web_services.config
r9251 r9700 29 29 </connectionStrings> 30 30 31 <system.web> 31 <system.web> 32 32 <customErrors mode="Off"/> 33 33 <authentication mode="Forms" /> 34 <compilation debug="true" targetFramework="4.0" >34 <compilation debug="true" targetFramework="4.0" batch="false"> 35 35 <assemblies> 36 36 <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> … … 55 55 </controls> 56 56 </pages> 57 <httpRuntime maxRequestLength="2147483647"/> 58 57 <httpRuntime maxRequestLength="2147483647"/> 59 58 </system.web> 60 59 … … 67 66 <wsHttpBinding> 68 67 <binding name="WSHttpBinding_IHiveService" 69 receiveTimeout="00: 15:00"70 sendTimeout="00: 10:00"68 receiveTimeout="00:35:00" 69 sendTimeout="00:35:00" 71 70 maxBufferPoolSize="2147483647" 72 71 maxReceivedMessageSize="2147483647"> … … 78 77 </binding> 79 78 </wsHttpBinding> 79 <netTcpBinding> 80 <binding name="NetTcpBinding_IHiveService" portSharingEnabled="true" receiveTimeout="00:35:00" sendTimeout="00:35:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> 81 <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 82 <security mode="TransportWithMessageCredential"> 83 <transport clientCredentialType="Certificate"/> 84 <message clientCredentialType="UserName"/> 85 </security> 86 </binding> 87 </netTcpBinding> 80 88 </bindings> 81 89 … … 105 113 </behaviors> 106 114 107 <services>115 <services> 108 116 <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService"> 109 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" /> 110 <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" /> 117 <endpoint address="mexhttp" binding="mexHttpBinding" bindingConfiguration="" name="MexHttpEndpoint" contract="IMetadataExchange"/> 118 <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" name="MexTcpEndpoint" contract="IMetadataExchange"/> 119 <endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/> 120 <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IHiveService" name="NetBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/> 111 121 </service> 112 122 </services> -
stable/HeuristicLab.Services.Hive/3.3
- Property svn:ignore
-
old new 2 2 bin 3 3 obj 4 *.user
-
- Property svn:ignore
-
stable/HeuristicLab.Services.Hive/3.3/Convert.cs
r9456 r9700 102 102 public static DT.TaskData ToDto(DB.TaskData source) { 103 103 if (source == null) return null; 104 return new DT.TaskData { TaskId = source.TaskId, Data = source.Data .ToArray(), LastUpdate = source.LastUpdate };104 return new DT.TaskData { TaskId = source.TaskId, Data = source.Data, LastUpdate = source.LastUpdate }; 105 105 } 106 106 public static DB.TaskData ToEntity(DT.TaskData source) { … … 111 111 public static void ToEntity(DT.TaskData source, DB.TaskData target) { 112 112 if ((source != null) && (target != null)) { 113 target.TaskId = source.TaskId; target.Data = new Binary(source.Data); target.LastUpdate = source.LastUpdate; 113 target.TaskId = source.TaskId; 114 target.Data = source.Data; 115 target.LastUpdate = source.LastUpdate; 114 116 } 115 117 } … … 213 215 public static void ToEntity(DT.PluginData source, DB.PluginData target) { 214 216 if ((source != null) && (target != null)) { 215 target.PluginDataId = source.Id; target.PluginId = source.PluginId; target.Data = new Binary(source.Data); target.FileName = source.FileName; 217 target.PluginDataId = source.Id; 218 target.PluginId = source.PluginId; 219 target.Data = source.Data; 220 target.FileName = source.FileName; 216 221 } 217 222 } -
stable/HeuristicLab.Services.Hive/3.3/HeuristicLab.Services.Hive-3.3.csproj
r9123 r9700 137 137 <Compile Include="DataTransfer\Statistics.cs" /> 138 138 <Compile Include="DataTransfer\UserStatistics.cs" /> 139 <Compile Include="OptimizedHiveDao.cs" /> 139 140 <Compile Include="HiveDao.cs" /> 140 141 <Compile Include="HiveJanitor.cs" /> 142 <Compile Include="HiveOperationContext.cs" /> 143 <Compile Include="Interfaces\IOptimizedHiveDao.cs" /> 141 144 <Compile Include="Interfaces\IHiveDao.cs" /> 142 145 <Compile Include="Interfaces\ITaskScheduler.cs" /> -
stable/HeuristicLab.Services.Hive/3.3/HiveDao.cs
r9456 r9700 35 35 } 36 36 37 public HiveDao() { }38 39 37 #region Task Methods 40 38 public DT.Task GetTask(Guid id) { … … 666 664 } 667 665 668 private void CollectParentResources(List<Resource> resources, Resource resource) {666 private static void CollectParentResources(ICollection<Resource> resources, Resource resource) { 669 667 if (resource == null) return; 670 668 resources.Add(resource); -
stable/HeuristicLab.Services.Hive/3.3/HiveService.cs
r9456 r9700 37 37 /// </summary> 38 38 [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, IgnoreExtensionDataObject = true)] 39 [HiveOperationContextBehavior] 39 40 public class HiveService : IHiveService { 40 41 private IHiveDao dao { 41 42 get { return ServiceLocator.Instance.HiveDao; } 42 43 } 44 private IOptimizedHiveDao optimizedDao { 45 get { return ServiceLocator.Instance.OptimizedHiveDao; } 46 } 43 47 private Access.IRoleVerifier authen { 44 48 get { return ServiceLocator.Instance.RoleVerifier; } … … 64 68 authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client); 65 69 return trans.UseTransaction(() => { 66 task.Id = dao.AddTask(task); 67 taskData.TaskId = task.Id; 68 taskData.LastUpdate = DateTime.Now; 69 dao.AssignJobToResource(task.Id, resourceIds); 70 dao.AddTaskData(taskData); 71 dao.UpdateTaskState(task.Id, DA.TaskState.Waiting, null, userManager.CurrentUserId, null); 72 return taskData.TaskId; 70 var t = DT.Convert.ToEntity(task); 71 t.RequiredPlugins.AddRange(task.PluginsNeededIds.Select(pluginId => new DA.RequiredPlugin { Task = t, PluginId = pluginId })); 72 73 t.JobData = DT.Convert.ToEntity(taskData); 74 t.JobData.LastUpdate = DateTime.Now; 75 76 optimizedDao.AddTask(t); 77 78 dao.AssignJobToResource(t.TaskId, resourceIds); 79 80 optimizedDao.UpdateTaskState(t.TaskId, DA.TaskState.Waiting, null, userManager.CurrentUserId, null); 81 82 return t.TaskId; 73 83 }, false, true); 74 84 } … … 76 86 public Guid AddChildTask(Guid parentTaskId, Task task, TaskData taskData) { 77 87 authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client); 78 return trans.UseTransaction(() => { 79 task.ParentTaskId = parentTaskId; 80 return AddTask(task, taskData, dao.GetAssignedResources(parentTaskId).Select(x => x.Id)); 81 }, false, true); 88 task.ParentTaskId = parentTaskId; 89 return AddTask(task, taskData, optimizedDao.GetAssignedResourceIds(parentTaskId)); 82 90 } 83 91 … … 87 95 88 96 return trans.UseTransaction(() => { 89 return dao.GetTask(taskId);97 return DT.Convert.ToDto(optimizedDao.GetTaskById(taskId)); 90 98 }, false, false); 91 99 } … … 128 136 129 137 return trans.UseTransaction(() => { 130 return dao.GetLightweightTasks(task => task.JobId ==jobId).ToArray();138 return optimizedDao.GetLightweightTasks(jobId).ToArray(); 131 139 }, false, true); 132 140 } … … 155 163 156 164 trans.UseTransaction(() => { 157 dao.UpdateTaskAndPlugins(taskDto); 165 var task = optimizedDao.GetTaskByDto(taskDto); 166 optimizedDao.UpdateTask(task); 158 167 }); 159 168 } … … 164 173 165 174 trans.UseTransaction(() => { 166 dao.UpdateTaskAndPlugins(task); 167 }); 168 169 trans.UseTransaction(() => { 170 taskData.LastUpdate = DateTime.Now; 171 dao.UpdateTaskData(taskData); 175 var t = optimizedDao.GetTaskByDto(task); 176 optimizedDao.UpdateTask(t); 177 }); 178 179 trans.UseTransaction(() => { 180 var data = optimizedDao.GetTaskDataByDto(taskData); 181 data.LastUpdate = DateTime.Now; 182 optimizedDao.UpdateTaskData(data); 172 183 }); 173 184 } … … 196 207 authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client, HiveRoles.Slave); 197 208 author.AuthorizeForTask(taskId, Permission.Full); 198 return trans.UseTransaction(() => { 199 Task task = dao.UpdateTaskState(taskId, DataTransfer.Convert.ToEntity(taskState), slaveId, userId, exception); 200 201 if (task.Command.HasValue && task.Command.Value == Command.Pause && task.State == TaskState.Paused) { 209 210 return trans.UseTransaction(() => { 211 var task = optimizedDao.UpdateTaskState(taskId, DT.Convert.ToEntity(taskState), slaveId, userId, exception); 212 213 if (task.Command.HasValue && task.Command.Value == DA.Command.Pause && task.State == DA.TaskState.Paused) { 202 214 task.Command = null; 203 } else if (task.Command.HasValue && task.Command.Value == Command.Abort && task.State ==TaskState.Aborted) {215 } else if (task.Command.HasValue && task.Command.Value == DA.Command.Abort && task.State == DA.TaskState.Aborted) { 204 216 task.Command = null; 205 } else if (task.Command.HasValue && task.Command.Value == Command.Stop && task.State ==TaskState.Aborted) {217 } else if (task.Command.HasValue && task.Command.Value == DA.Command.Stop && task.State == DA.TaskState.Aborted) { 206 218 task.Command = null; 207 219 } else if (taskState == TaskState.Paused && !task.Command.HasValue) { 208 220 // slave paused and uploaded the task (no user-command) -> set waiting. 209 task = dao.UpdateTaskState(taskId, DataTransfer.Convert.ToEntity(TaskState.Waiting), slaveId, userId, exception); 210 } 211 212 dao.UpdateTaskAndPlugins(task); 213 return task; 221 task = optimizedDao.UpdateTaskState(taskId, DA.TaskState.Waiting, slaveId, userId, exception); 222 } 223 224 return DT.Convert.ToDto(task); 214 225 }); 215 226 } … … 463 474 authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client, HiveRoles.Slave); 464 475 return trans.UseTransaction(() => { 465 return dao.GetPlugin(pluginId);476 return DT.Convert.ToDto(optimizedDao.GetPluginById(pluginId)); 466 477 }); 467 478 } -
stable/HeuristicLab.Services.Hive/3.3/Interfaces/IServiceLocator.cs
r9456 r9700 27 27 IAuthorizationManager AuthorizationManager { get; } 28 28 IHiveDao HiveDao { get; } 29 IOptimizedHiveDao OptimizedHiveDao { get; } 29 30 IEventManager EventManager { get; } 30 31 ITransactionManager TransactionManager { get; } -
stable/HeuristicLab.Services.Hive/3.3/Manager/EventManager.cs
r9456 r9700 78 78 //we have to find another way to deal with this. 79 79 //until then the next line is commented out... 80 //stats.UserStatistics = d ao.GetUserStatistics();80 //stats.UserStatistics = dtoDao.GetUserStatistics(); 81 81 dao.AddStatistics(stats); 82 82 } -
stable/HeuristicLab.Services.Hive/3.3/Manager/HeartbeatManager.cs
r9456 r9700 24 24 using System.Linq; 25 25 using System.Threading; 26 using HeuristicLab.Services.Hive.Data Transfer;27 using DA = HeuristicLab.Services.Hive.DataAccess;26 using HeuristicLab.Services.Hive.DataAccess; 27 using Heartbeat = HeuristicLab.Services.Hive.DataTransfer.Heartbeat; 28 28 29 29 namespace HeuristicLab.Services.Hive { … … 31 31 private const string MutexName = "HiveTaskSchedulingMutex"; 32 32 33 private I HiveDao dao {34 get { return ServiceLocator.Instance. HiveDao; }33 private IOptimizedHiveDao dao { 34 get { return ServiceLocator.Instance.OptimizedHiveDao; } 35 35 } 36 36 private ITaskScheduler taskScheduler { … … 47 47 public List<MessageContainer> ProcessHeartbeat(Heartbeat heartbeat) { 48 48 List<MessageContainer> actions = new List<MessageContainer>(); 49 49 50 Slave slave = null; 50 slave = trans.UseTransaction(() => { return dao.GetSlave(heartbeat.SlaveId); }); 51 51 trans.UseTransaction(() => { 52 slave = dao.GetSlaveById(heartbeat.SlaveId); 53 }); 52 54 if (slave == null) { 53 55 actions.Add(new MessageContainer(MessageContainer.MessageType.SayHello)); … … 56 58 actions.Add(new MessageContainer(MessageContainer.MessageType.NewHBInterval)); 57 59 } 58 if ( ShutdownSlaveComputer(slave.Id)) {60 if (dao.SlaveHasToShutdownComputer(slave.ResourceId)) { 59 61 actions.Add(new MessageContainer(MessageContainer.MessageType.ShutdownComputer)); 60 62 } … … 64 66 slave.FreeMemory = heartbeat.FreeMemory; 65 67 slave.CpuUtilization = heartbeat.CpuUtilization; 66 slave.IsAllowedToCalculate = SlaveIsAllowedToCalculate(slave.Id);68 slave.IsAllowedToCalculate = dao.SlaveIsAllowedToCalculate(slave.ResourceId); 67 69 slave.SlaveState = (heartbeat.JobProgress != null && heartbeat.JobProgress.Count > 0) ? SlaveState.Calculating : SlaveState.Idle; 68 70 slave.LastHeartbeat = DateTime.Now; 69 71 70 trans.UseTransaction(() => { dao.UpdateSlave(slave); }); 72 trans.UseTransaction(() => { 73 dao.UpdateSlave(slave); 74 }); 71 75 72 76 // update task data … … 78 82 var mutex = new Mutex(false, MutexName); 79 83 try { 84 80 85 mutexAquired = mutex.WaitOne(Properties.Settings.Default.SchedulingPatience); 81 86 if (!mutexAquired) 82 DA.LogFactory.GetLogger(this.GetType().Namespace).Log("HeartbeatManager: The mutex used for scheduling could not be aquired.");87 LogFactory.GetLogger(this.GetType().Namespace).Log("HeartbeatManager: The mutex used for scheduling could not be aquired."); 83 88 else { 84 IEnumerable<TaskInfoForScheduler> availableTasks = null; 85 availableTasks = trans.UseTransaction(() => { return taskScheduler.Schedule(dao.GetWaitingTasks(slave)); }); 86 if (availableTasks.Any()) { 87 var task = availableTasks.First(); 88 AssignJob(slave, task.TaskId); 89 actions.Add(new MessageContainer(MessageContainer.MessageType.CalculateTask, task.TaskId)); 90 } 89 trans.UseTransaction(() => { 90 IEnumerable<TaskInfoForScheduler> availableTasks = null; 91 availableTasks = taskScheduler.Schedule(dao.GetWaitingTasks(slave).ToArray()); 92 if (availableTasks.Any()) { 93 var task = availableTasks.First(); 94 AssignTask(slave, task.TaskId); 95 actions.Add(new MessageContainer(MessageContainer.MessageType.CalculateTask, task.TaskId)); 96 } 97 }); 91 98 } 92 99 } 93 100 catch (AbandonedMutexException) { 94 DA.LogFactory.GetLogger(this.GetType().Namespace).Log("HeartbeatManager: The mutex used for scheduling has been abandoned.");101 LogFactory.GetLogger(this.GetType().Namespace).Log("HeartbeatManager: The mutex used for scheduling has been abandoned."); 95 102 } 96 103 catch (Exception ex) { 97 DA.LogFactory.GetLogger(this.GetType().Namespace).Log("HeartbeatManager threw an exception in ProcessHeartbeat: " + ex.ToString());104 LogFactory.GetLogger(this.GetType().Namespace).Log("HeartbeatManager threw an exception in ProcessHeartbeat: " + ex.ToString()); 98 105 } 99 106 finally { … … 105 112 } 106 113 107 private void AssignJob(Slave slave, Guid taskId) { 108 trans.UseTransaction(() => { 109 var task = dao.UpdateTaskState(taskId, DataAccess.TaskState.Transferring, slave.Id, null, null); 114 private void AssignTask(Slave slave, Guid taskId) { 115 var task = dao.UpdateTaskState(taskId, TaskState.Transferring, slave.ResourceId, null, null); 110 116 111 // from now on the task has some time to send the next heartbeat (ApplicationConstants.TransferringJobHeartbeatTimeout) 112 task.LastHeartbeat = DateTime.Now; 113 dao.UpdateTask(task); 114 }); 117 // from now on the task has some time to send the next heartbeat (ApplicationConstants.TransferringJobHeartbeatTimeout) 118 task.LastHeartbeat = DateTime.Now; 119 dao.UpdateTask(task); 115 120 } 116 121 … … 130 135 // process the jobProgresses 131 136 foreach (var jobProgress in heartbeat.JobProgress) { 132 Task curTask = null; 133 curTask = trans.UseTransaction(() => { return dao.GetTask(jobProgress.Key); }); 137 Tuple<Task, Guid?> taskWithLastStateLogSlaveId = null; 138 trans.UseTransaction(() => { 139 taskWithLastStateLogSlaveId = dao.GetTaskByIdAndLastStateLogSlaveId(jobProgress.Key); 140 }); 141 var curTask = taskWithLastStateLogSlaveId != null ? taskWithLastStateLogSlaveId.Item1 : null; 134 142 if (curTask == null) { 135 143 // task does not exist in db 136 144 actions.Add(new MessageContainer(MessageContainer.MessageType.AbortTask, jobProgress.Key)); 137 DA.LogFactory.GetLogger(this.GetType().Namespace).Log("Task on slave " + heartbeat.SlaveId + " does not exist in DB: " + jobProgress.Key);145 LogFactory.GetLogger(this.GetType().Namespace).Log("Task on slave " + heartbeat.SlaveId + " does not exist in DB: " + jobProgress.Key); 138 146 } else { 139 if (curTask.CurrentStateLog.SlaveId == Guid.Empty || curTask.CurrentStateLog.SlaveId != heartbeat.SlaveId) { 147 var slaveId = taskWithLastStateLogSlaveId.Item2; 148 if (slaveId == Guid.Empty || slaveId != heartbeat.SlaveId) { 140 149 // assigned slave does not match heartbeat 141 actions.Add(new MessageContainer(MessageContainer.MessageType.AbortTask, curTask. Id));142 DA.LogFactory.GetLogger(this.GetType().Namespace).Log("The slave " + heartbeat.SlaveId + " is not supposed to calculate task: " + curTask);143 } else if (! TaskIsAllowedToBeCalculatedBySlave(heartbeat.SlaveId, curTask)) {150 actions.Add(new MessageContainer(MessageContainer.MessageType.AbortTask, curTask.TaskId)); 151 LogFactory.GetLogger(this.GetType().Namespace).Log("The slave " + heartbeat.SlaveId + " is not supposed to calculate task: " + curTask); 152 } else if (!dao.TaskIsAllowedToBeCalculatedBySlave(curTask.TaskId, heartbeat.SlaveId)) { 144 153 // assigned resources ids of task do not match with slaveId (and parent resourceGroupIds); this might happen when slave is moved to different group 145 actions.Add(new MessageContainer(MessageContainer.MessageType.PauseTask, curTask. Id));154 actions.Add(new MessageContainer(MessageContainer.MessageType.PauseTask, curTask.TaskId)); 146 155 } else { 147 156 // save task execution time 148 curTask.ExecutionTime = jobProgress.Value;157 curTask.ExecutionTimeMs = jobProgress.Value.TotalMilliseconds; 149 158 curTask.LastHeartbeat = DateTime.Now; 150 159 151 160 switch (curTask.Command) { 152 161 case Command.Stop: 153 actions.Add(new MessageContainer(MessageContainer.MessageType.StopTask, curTask. Id));162 actions.Add(new MessageContainer(MessageContainer.MessageType.StopTask, curTask.TaskId)); 154 163 break; 155 164 case Command.Pause: 156 actions.Add(new MessageContainer(MessageContainer.MessageType.PauseTask, curTask. Id));165 actions.Add(new MessageContainer(MessageContainer.MessageType.PauseTask, curTask.TaskId)); 157 166 break; 158 167 case Command.Abort: 159 actions.Add(new MessageContainer(MessageContainer.MessageType.AbortTask, curTask. Id));168 actions.Add(new MessageContainer(MessageContainer.MessageType.AbortTask, curTask.TaskId)); 160 169 break; 161 170 } 162 trans.UseTransaction(() => { dao.UpdateTask(curTask); }); 171 trans.UseTransaction(() => { 172 dao.UpdateTask(curTask); 173 }); 163 174 } 164 175 } … … 167 178 return actions; 168 179 } 169 170 private bool TaskIsAllowedToBeCalculatedBySlave(Guid slaveId, Task curTask) {171 return trans.UseTransaction(() => {172 var assignedResourceIds = dao.GetAssignedResources(curTask.Id).Select(x => x.Id);173 var slaveResourceIds = dao.GetParentResources(slaveId).Select(x => x.Id);174 return assignedResourceIds.Any(x => slaveResourceIds.Contains(x));175 });176 }177 178 private bool SlaveIsAllowedToCalculate(Guid slaveId) {179 // the slave may only calculate if there is no downtime right now. this needs to be checked for every parent resource also180 return trans.UseTransaction(() => { return dao.GetParentResources(slaveId).All(r => dao.GetDowntimes(x => x.ResourceId == r.Id && x.DowntimeType == DA.DowntimeType.Offline && (DateTime.Now >= x.StartDate) && (DateTime.Now <= x.EndDate)).Count() == 0); });181 }182 183 private bool ShutdownSlaveComputer(Guid slaveId) {184 return trans.UseTransaction(() => { return dao.GetParentResources(slaveId).Any(r => dao.GetDowntimes(x => x.ResourceId == r.Id && x.DowntimeType == DA.DowntimeType.Shutdown && (DateTime.Now >= x.StartDate) && (DateTime.Now <= x.EndDate)).Count() != 0); });185 }186 180 } 187 181 } -
stable/HeuristicLab.Services.Hive/3.3/ServiceLocator.cs
r9456 r9700 39 39 if (hiveDao == null) hiveDao = new HiveDao(); 40 40 return hiveDao; 41 } 42 } 43 44 public IOptimizedHiveDao OptimizedHiveDao { 45 get { 46 var dataContext = HiveOperationContext.Current != null 47 ? HiveOperationContext.Current.DataContext 48 : new HiveDataContext(Settings.Default.HeuristicLab_Hive_LinqConnectionString); 49 return new OptimizedHiveDao(dataContext); 41 50 } 42 51 }
Note: See TracChangeset
for help on using the changeset viewer.