Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 6458 was 6458, checked in by cneumuel, 13 years ago

#1233

  • visualization of statistics on status page (requires MS charting controls)
File size: 6.8 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"/></assemblies></compilation>
45    <membership>
46      <providers>
47        <clear/>
48        <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"/>
49      </providers>
50    </membership>
51    <roleManager enabled="true">
52      <providers>
53        <clear/>
54        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
55      </providers>
56    </roleManager>
57    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
58   <controls>
59    <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting"
60     assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
61   </controls>
62  </pages>
63    <httpRuntime maxRequestLength="1048576"/>
64  </system.web>
65  <system.serviceModel>
66    <diagnostics>
67      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
68    </diagnostics>
69    <bindings>
70      <wsHttpBinding>
71        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
72          <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647"/>
73          <security mode="Message">
74            <transport clientCredentialType="Certificate"/>
75            <message clientCredentialType="UserName"/>
76          </security>
77        </binding>
78      </wsHttpBinding>
79    </bindings>
80    <behaviors>
81      <serviceBehaviors>
82        <behavior name="ServiceBehaviour_IHiveService">
83          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
84          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
85          <!-- 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 -->
86          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/>
87          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
88          <serviceCredentials>
89            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
90            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
91          </serviceCredentials>
92          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
93          <serviceThrottling maxConcurrentCalls="100"/>
94          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
95        </behavior>
96      </serviceBehaviors>
97    </behaviors>
98    <services>
99      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
100        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/>
101        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService"/>
102      </service>
103    </services>
104    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
105  </system.serviceModel>
106  <system.webServer>
107  <directoryBrowse enabled="true" />
108  <handlers>
109   <remove name="ChartImageHandler" />
110   <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST"
111    path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
112  </handlers>
113 </system.webServer>
114</configuration>
Note: See TracBrowser for help on using the repository browser.