Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.ControllerService.Tests/app.config @ 8614

Last change on this file since 8614 was 8545, checked in by fschoepp, 12 years ago

#1888:

  • Controller is now capable of gathering Hive Jobs
  • Hive Jobs will be mapped to independent Job-Class (shared between Controller and Frontend)
  • HiveScenarioManager is capable of gathering Hive Jobs + their results
  • Job Results will be mapped to string properties
  • Frontend renders all Results after opening the job details
  • Misc: Frontend now passes User-object to Controller so that it is able to connect to the Hive Service (hardcoded values removed)
File size: 4.5 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
4  <system.serviceModel>
5    <diagnostics>
6      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
7    </diagnostics>
8    <bindings>
9      <wsHttpBinding>
10        <binding name="WSHttpBinding_IControllerService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
11          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
12          <security mode="Message">
13            <transport clientCredentialType="Certificate" />
14            <message clientCredentialType="UserName" />
15          </security>
16        </binding>
17        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
18          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
19          <security mode="Message">
20            <transport clientCredentialType="Certificate" />
21            <message clientCredentialType="UserName" />
22          </security>
23        </binding>
24      </wsHttpBinding>
25    </bindings>
26    <behaviors>
27      <serviceBehaviors>
28        <behavior name="ServiceBehaviour_IControllerService">
29          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
30          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
31          <!-- 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 -->
32          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
33          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
34          <serviceCredentials>
35            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
36            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
37          </serviceCredentials>
38          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
39          <serviceThrottling maxConcurrentCalls="100" />
40          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
41        </behavior>
42      </serviceBehaviors>
43      <endpointBehaviors>
44        <behavior name="LocalCertValidation">
45          <clientCredentials>
46            <serviceCertificate>
47              <authentication certificateValidationMode="None" />
48            </serviceCertificate>
49          </clientCredentials>
50          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
51        </behavior>
52      </endpointBehaviors>
53    </behaviors>   
54    <client>
55      <endpoint address="http://127.0.0.1:8080/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_IControllerService">
56        <identity>
57          <certificate encodedValue="ADJUST_ME" />
58        </identity>
59      </endpoint>
60      <endpoint address="http://127.0.0.1:81/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService">
61        <identity>
62          <certificate encodedValue="ADJUST_ME" />
63        </identity>
64      </endpoint>
65      <!--
66      <endpoint address="http://optimization.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation"
67         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService">
68        <identity>
69          <certificate encodedValue="ADJUST_ME" />
70        </identity>
71      </endpoint>
72      -->
73    </client>
74  </system.serviceModel>
75</configuration>
Note: See TracBrowser for help on using the repository browser.