Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 12448 was 8817, checked in by fschoepp, 12 years ago

#1888:

  • Added a parser for independent scenarios (using the model of the optimization backend)
  • Optimization scenario sample can be found in mappings folder of the web project.
  • Added IScenarioMapper interface which provides functionality to map from the optimization data model to a backend model (e.g. Heuristic Lab data model)
  • Implementations of IScenarioMapper have to be provided as C# code (strings) which will be compiled by using a CSharpCodeProvider. Once compiled, the implementations of the IScenarioMapper are being cached within the platform for further usage.
  • Fixed a bug in web template DecimalMatrix (using i instead of j)
  • Added missing thumprint of localhost certificate to the optimization web project (ServiceConfiguration.Local.cscfg / ServiceConfiguration.Cloud.cscfg)
  • Test project now provides following test cases: Mapping types using IronPython and mapping types using Otis
File size: 5.9 KB
RevLine 
[8545]1<?xml version="1.0"?>
2<configuration>
[8817]3  <startup>
4    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
5  </startup>
[8545]6  <system.serviceModel>
7    <diagnostics>
8      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
9    </diagnostics>
10    <bindings>
11      <wsHttpBinding>
12        <binding name="WSHttpBinding_IControllerService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
13          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
14          <security mode="Message">
15            <transport clientCredentialType="Certificate" />
16            <message clientCredentialType="UserName" />
17          </security>
18        </binding>
19        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
20          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
21          <security mode="Message">
22            <transport clientCredentialType="Certificate" />
23            <message clientCredentialType="UserName" />
24          </security>
25        </binding>
26      </wsHttpBinding>
27    </bindings>
28    <behaviors>
29      <serviceBehaviors>
30        <behavior name="ServiceBehaviour_IControllerService">
31          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
32          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
33          <!-- 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 -->
34          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
35          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
36          <serviceCredentials>
37            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
38            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
39          </serviceCredentials>
40          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
41          <serviceThrottling maxConcurrentCalls="100" />
42          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
43        </behavior>
44      </serviceBehaviors>
45      <endpointBehaviors>
46        <behavior name="LocalCertValidation">
47          <clientCredentials>
48            <serviceCertificate>
49              <authentication certificateValidationMode="None" />
50            </serviceCertificate>
51          </clientCredentials>
52          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
53        </behavior>
54      </endpointBehaviors>
[8817]55    </behaviors>
[8545]56    <client>
57      <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">
58        <identity>
59          <certificate encodedValue="ADJUST_ME" />
60        </identity>
61      </endpoint>
62      <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">
63        <identity>
64          <certificate encodedValue="ADJUST_ME" />
65        </identity>
66      </endpoint>
67      <!--
68      <endpoint address="http://optimization.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation"
69         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService">
70        <identity>
71          <certificate encodedValue="ADJUST_ME" />
72        </identity>
73      </endpoint>
74      -->
75    </client>
76  </system.serviceModel>
[8817]77  <appSettings>
78    <!--
79    <add key="scenarioPath" value="C:\temp\scenarios" />
80    <add key="scenarioSchemaPath" value="C:\temp\scenarios\scenario.xsd" />
81    -->
82    <!-- Adjust paths to your mappings folder -->
83    <add key="scenarioPath" value="C:\dev\Heuristiclab\branches\OaaS\HeuristicLab.Services.Optimization.ControllerService.Tests\mappings" />
84    <add key="scenarioSchemaPath" value="C:\dev\Heuristiclab\branches\OaaS\HeuristicLab.Services.Optimization.ControllerService.Tests\mappings\scenario.xsd" />
85    <add key="ClientSettingsProvider.ServiceUri" value="" />
86  </appSettings>
87  <system.web>
88    <membership defaultProvider="ClientAuthenticationMembershipProvider">
89      <providers>
90        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
91      </providers>
92    </membership>
93    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
94      <providers>
95        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
96      </providers>
97    </roleManager>
98  </system.web>
99</configuration>
Note: See TracBrowser for help on using the repository browser.