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 @ 6452

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

#1233

  • renamed UptimeCalendar and Appointment to Downtime
  • added service methods to delete plugins and get plugin by hash
  • made reverted TransactionManager change, made it non-static and added interface
  • moved magic numbers to application settings
File size: 6.1 KB
Line 
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  <connectionStrings>
38    <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
39  </connectionStrings>
40 
41  <system.web>
42    <compilation debug="true" targetFramework="4.0" />
43    <membership>
44      <providers>
45        <clear/>
46        <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"/>
47      </providers>
48    </membership>
49    <roleManager enabled="true">
50      <providers>
51        <clear/>
52        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
53      </providers>
54    </roleManager>
55    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
56    <httpRuntime maxRequestLength="1048576" />
57  </system.web>
58 
59  <system.serviceModel>
60    <diagnostics>
61      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
62    </diagnostics>
63   
64    <bindings>
65      <wsHttpBinding>
66        <binding name="WSHttpBinding_IHiveService"
67                 receiveTimeout="00:10:00"
68                 sendTimeout="00:10:00"
69                 maxBufferPoolSize="2147483647"
70                 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   
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
99    <services>
100      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
101        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
102        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService" />
103      </service>
104    </services>
105   
106    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
107  </system.serviceModel>
108
109  <system.webServer>
110    <directoryBrowse enabled="true"/>   
111  </system.webServer>
112 
113</configuration>
Note: See TracBrowser for help on using the repository browser.