Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 6765 was 6717, checked in by ascheibe, 13 years ago

#1233

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