1 | <?xml version="1.0"?>
|
---|
2 | <configuration>
|
---|
3 |
|
---|
4 | <configSections>
|
---|
5 | <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
---|
6 | <section name="HeuristicLab.Services.Hive.DataAccess.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
---|
7 | <section name="HeuristicLab.Services.Hive.Common.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
---|
8 | </sectionGroup>
|
---|
9 | </configSections>
|
---|
10 |
|
---|
11 | <applicationSettings>
|
---|
12 | <HeuristicLab.Services.Hive.DataAccess.Settings>
|
---|
13 | <!-- Timeout for long running database command (storing or loading jobData) -->
|
---|
14 | <setting name="LongRunningDatabaseCommandTimeout" serializeAs="String">
|
---|
15 | <value>00:05:33</value>
|
---|
16 | </setting>
|
---|
17 | </HeuristicLab.Services.Hive.DataAccess.Settings>
|
---|
18 |
|
---|
19 | <HeuristicLab.Services.Hive.Common.Settings>
|
---|
20 | <!-- If a slave does not send a heartbeat for this time, it is set offline which means all of its jobs are rescheduled -->
|
---|
21 | <setting name="SlaveHeartbeatTimeout" serializeAs="String">
|
---|
22 | <value>00:01:00</value>
|
---|
23 | </setting>
|
---|
24 |
|
---|
25 | <!-- When a job is in state `Calculating` this is the maximum time it does not have to send heartbeats, otherwise its rescheduled -->
|
---|
26 | <setting name="CalculatingJobHeartbeatTimeout" serializeAs="String">
|
---|
27 | <value>00:05:30</value>
|
---|
28 | </setting>
|
---|
29 |
|
---|
30 | <!-- When a job is in state `Transferring` this is the maximum time it does not have to send heartbeats, otherwise its rescheduled -->
|
---|
31 | <setting name="TransferringJobHeartbeatTimeout" serializeAs="String">
|
---|
32 | <value>00:05:30</value>
|
---|
33 | </setting>
|
---|
34 | </HeuristicLab.Services.Hive.Common.Settings>
|
---|
35 | </applicationSettings>
|
---|
36 |
|
---|
37 | <appSettings>
|
---|
38 | <add key="ChartImageHandler" value="storage=file;timeout=20;dir=C:\inetpub\temp\MsChartControlsTempImageFiles\;"/>
|
---|
39 | </appSettings>
|
---|
40 |
|
---|
41 | <connectionStrings>
|
---|
42 | <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
|
---|
43 | </connectionStrings>
|
---|
44 |
|
---|
45 | <system.web>
|
---|
46 | <customErrors mode="Off"/>
|
---|
47 | <compilation debug="true" targetFramework="4.0" />
|
---|
48 | <membership>
|
---|
49 | <providers>
|
---|
50 | <clear/>
|
---|
51 | <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication"/>
|
---|
52 | </providers>
|
---|
53 | </membership>
|
---|
54 | <roleManager enabled="true">
|
---|
55 | <providers>
|
---|
56 | <clear/>
|
---|
57 | <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
|
---|
58 | </providers>
|
---|
59 | </roleManager>
|
---|
60 | <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
|
---|
61 | <httpRuntime maxRequestLength="2147483647" />
|
---|
62 | </system.web>
|
---|
63 |
|
---|
64 | <system.serviceModel>
|
---|
65 | <diagnostics>
|
---|
66 | <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
|
---|
67 | </diagnostics>
|
---|
68 |
|
---|
69 | <bindings>
|
---|
70 | <wsHttpBinding>
|
---|
71 | <binding name="WSHttpBinding_IHiveService"
|
---|
72 | receiveTimeout="00:10:00"
|
---|
73 | sendTimeout="00:10:00"
|
---|
74 | maxBufferPoolSize="2147483647"
|
---|
75 | maxReceivedMessageSize="2147483647">
|
---|
76 | <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" />
|
---|
77 | <security mode="Message">
|
---|
78 | <transport clientCredentialType="Certificate"/>
|
---|
79 | <message clientCredentialType="UserName" />
|
---|
80 | </security>
|
---|
81 | </binding>
|
---|
82 | </wsHttpBinding>
|
---|
83 | </bindings>
|
---|
84 |
|
---|
85 | <behaviors>
|
---|
86 | <serviceBehaviors>
|
---|
87 | <behavior name="ServiceBehaviour_IHiveService">
|
---|
88 | <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
|
---|
89 | <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
|
---|
90 | <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
|
---|
91 | <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
|
---|
92 | <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
|
---|
93 | <serviceCredentials>
|
---|
94 | <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
|
---|
95 | <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
|
---|
96 | </serviceCredentials>
|
---|
97 | <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="Failure" />
|
---|
98 | <serviceThrottling maxConcurrentCalls="100" />
|
---|
99 | <dataContractSerializer maxItemsInObjectGraph="2147483647" />
|
---|
100 | </behavior>
|
---|
101 | </serviceBehaviors>
|
---|
102 |
|
---|
103 | <endpointBehaviors>
|
---|
104 | <behavior>
|
---|
105 | <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
|
---|
106 | </behavior>
|
---|
107 | </endpointBehaviors>
|
---|
108 | </behaviors>
|
---|
109 |
|
---|
110 | <services>
|
---|
111 | <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
|
---|
112 | <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
|
---|
113 | <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService" />
|
---|
114 | </service>
|
---|
115 | </services>
|
---|
116 |
|
---|
117 | <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
|
---|
118 | </system.serviceModel>
|
---|
119 |
|
---|
120 | <system.webServer>
|
---|
121 | <handlers>
|
---|
122 | <remove name="ChartImageHandler" />
|
---|
123 | <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST"
|
---|
124 | path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,
|
---|
125 | System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
---|
126 | </handlers>
|
---|
127 | <directoryBrowse enabled="true"/>
|
---|
128 | </system.webServer>
|
---|
129 |
|
---|
130 | </configuration>
|
---|