source: branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Web/Hive-3.4/Web.config @ 6478

Last change on this file since 6478 was 6478, checked in by cneumuel, 8 years ago

#1233

  • minor improvements
  • binaries
  • stats
File size: 7.1 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5      <section name="HeuristicLab.Services.Hive.DataAccess.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
6      <section name="HeuristicLab.Services.Hive.Common.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
7    </sectionGroup>
8  </configSections>
9  <appSettings>
10    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
11  </appSettings>
12  <applicationSettings>
13    <HeuristicLab.Services.Hive.DataAccess.Settings>
14      <!-- Timeout for long running database command (storing or loading jobData) -->
15      <setting name="LongRunningDatabaseCommandTimeout" serializeAs="String">
16        <value>00:05:33</value>
17      </setting>
18    </HeuristicLab.Services.Hive.DataAccess.Settings>
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      <!-- When a job is in state `Calculating` this is the maximum time it does not have to send heartbeats, otherwise its rescheduled -->
25      <setting name="CalculatingJobHeartbeatTimeout" serializeAs="String">
26        <value>00:05:30</value>
27      </setting>
28      <!-- When a job is in state `Transferring` this is the maximum time it does not have to send heartbeats, otherwise its rescheduled -->
29      <setting name="TransferringJobHeartbeatTimeout" serializeAs="String">
30        <value>00:05:30</value>
31      </setting>
32    </HeuristicLab.Services.Hive.Common.Settings>
33  </applicationSettings>
34  <connectionStrings>
35    <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
36  </connectionStrings>
37  <system.web>
38    <httpHandlers>
39      <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
40        validate="false" />
41    </httpHandlers>
42    <compilation debug="true" targetFramework="4.0">
43      <assemblies>
44        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
45      </assemblies>
46    </compilation>
47    <membership>
48      <providers>
49        <clear/>
50        <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"/>
51      </providers>
52    </membership>
53    <roleManager enabled="true">
54      <providers>
55        <clear/>
56        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
57      </providers>
58    </roleManager>
59    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
60      <controls>
61        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting"
62         assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
63      </controls>
64    </pages>
65    <httpRuntime maxRequestLength="1048576"/>
66  </system.web>
67  <system.serviceModel>
68    <diagnostics>
69      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
70    </diagnostics>
71    <bindings>
72      <wsHttpBinding>
73        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
74          <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647"/>
75          <security mode="Message">
76            <transport clientCredentialType="Certificate"/>
77            <message clientCredentialType="UserName"/>
78          </security>
79        </binding>
80      </wsHttpBinding>
81    </bindings>
82    <behaviors>
83      <serviceBehaviors>
84        <behavior name="ServiceBehaviour_IHiveService">
85          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
86          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
87          <!-- 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 -->
88          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/>
89          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
90          <serviceCredentials>
91            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
92            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
93          </serviceCredentials>
94          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
95          <serviceThrottling maxConcurrentCalls="100"/>
96          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
97        </behavior>
98      </serviceBehaviors>
99    </behaviors>
100    <services>
101      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
102        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/>
103        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService"/>
104      </service>
105    </services>
106    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
107  </system.serviceModel>
108  <system.webServer>
109    <directoryBrowse enabled="true" />
110    <handlers>
111      <remove name="ChartImageHandler" />
112      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST"
113       path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
114    </handlers>
115  </system.webServer> 
116</configuration>
Note: See TracBrowser for help on using the repository browser.