157 lines
8.8 KiB
XML
157 lines
8.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<appSettings file="/app/config/environment-appsettings/appsettings.config">
|
|
<!-- LOGGING -->
|
|
<add key="serilog:level-switch:$controlSwitch" value="Verbose" />
|
|
<add key="serilog:minimum-level:controlled-by" value="$controlSwitch" />
|
|
<add key="serilog:using:Console" value="Serilog.Sinks.Console" />
|
|
<add key="serilog:write-to:Console" />
|
|
<add key="serilog:using:Seq" value="Serilog.Sinks.Seq" />
|
|
<add key="serilog:write-to:Seq.serverUrl" value="https://localhost" />
|
|
<add key="serilog:write-to:Seq.apiKey" value="VALUE-IN-KEYVAULT" />
|
|
<add key="serilog:write-to:Seq.controlLevelSwitch" value="$controlSwitch" />
|
|
<add key="serilog:using:File" value="Serilog.Sinks.File" />
|
|
<add key="serilog:write-to:File.path" value="C:\Logs\CoreAPI.txt" />
|
|
<add key="serilog:write-to:File.rollingInterval" value="Day" />
|
|
<add key="serilog:write-to:File.retainedFileCountLimit" value="4" />
|
|
<add key="serilog:enrich:with-property:Application" value="Core Soap API Wrapper" />
|
|
<add key="serilog:enrich:with-property:Environment" value="Development" />
|
|
<!-- END LOGGING -->
|
|
<!-- SECURITY -->
|
|
<add key="ApiSecurityConfiguration:ApiKeyAuthenticationFailureBehavior" value="Error"/>
|
|
<add key="ApiSecurityConfiguration:ExternalApiKeySet:CoreSoapApiWrapper" value="VALUE-IN-KEYVAULT"/>
|
|
<!-- END SECURITY -->
|
|
<add key="webpages:Version" value="3.0.0.0" />
|
|
<add key="webpages:Enabled" value="false" />
|
|
<add key="ClientValidationEnabled" value="true" />
|
|
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
|
|
<add key="KnownEnvironment" value="Local" />
|
|
<!-- Soap Connection-->
|
|
<add key="soapconnection:safUrl" value="" />
|
|
<add key="soapconnection:coreApiServiceUrl" value="" />
|
|
<add key="soapconnection:deviceId" value="FULL" />
|
|
<add key="soapconnection:userId" value="VALUE-IN-KEYVAULT" />
|
|
<add key="soapconnection:password" value="VALUE-IN-KEYVAULT" />
|
|
<add key="soapconnection:prodEnvCd" value="PRODUCTION" />
|
|
<add key="soapconnection:prodDefCd" value="SAF2006" />
|
|
<add key="soapconnection:applId" value="7e837e75-2e19-45d5-8c3a-4735a275a6cf" />
|
|
<add key="soapconnection:endpoint" value="lcu_10002" />
|
|
<add key="soapconnection:approvalpersonnumber" value="5775" />
|
|
<add key="soapconnection:overridecashboxnumber" value="800" />
|
|
<!-- END Soap Connection -->
|
|
<!-- Socket Connection-->
|
|
<add key="socketconnection:deviceId" value="FULL" />
|
|
<add key="socketconnection:applId" value="7726" />
|
|
<add key="socketconnection:userId" value="VALUE-IN-KEYVAULT" />
|
|
<add key="socketconnection:password" value="VALUE-IN-KEYVAULT" />
|
|
<add key="socketconnection:ipAddress" value="10.10.3.72" />
|
|
<add key="socketconnection:portId" value="2503" />
|
|
<add key="socketconnection:timeout" value="10000"/>
|
|
<add key="socketconnection:reqType" value="16340" />
|
|
<add key="socketconnection:authType" value="3" />
|
|
<!-- END Socket Connection -->
|
|
</appSettings>
|
|
<system.serviceModel>
|
|
<bindings>
|
|
<basicHttpBinding>
|
|
<binding name="secureHttpBinding" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483646" maxBufferSize="2147483646" maxReceivedMessageSize="2147483646" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true" messageEncoding="Text">
|
|
<readerQuotas maxDepth="32" maxStringContentLength="2147483646" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
|
<security mode="Transport">
|
|
<transport clientCredentialType="None" />
|
|
</security>
|
|
</binding>
|
|
<binding name="BasicHttpBinding" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" maxReceivedMessageSize="483646" useDefaultWebProxy="true" />
|
|
<binding name="BasicHttpBinding_ICoreApiService" />
|
|
</basicHttpBinding>
|
|
</bindings>
|
|
<client>
|
|
<endpoint address="https://UATapi.dna.lcu-internal.com:10005/Extensions/DNA.CoreApiService/CoreApiService.svc/Soap11" binding="basicHttpBinding" bindingConfiguration="secureHttpBinding" contract="LCU.API.Internal.CoreSoapApiWrapper.CoreSoapUtilities.ICoreApiService" name="lcu_10002"/>
|
|
</client>
|
|
<diagnostics>
|
|
<messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" />
|
|
<endToEndTracing activityTracing="true" />
|
|
</diagnostics>
|
|
</system.serviceModel>
|
|
<!--
|
|
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
|
|
|
The following attributes can be set on the <httpRuntime> tag.
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.6.1" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.5.2" />
|
|
<httpRuntime targetFramework="4.5.2" />
|
|
<httpModules>
|
|
<remove name="UrlRoutingModule-4.0" />
|
|
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
|
</httpModules>
|
|
</system.web>
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
<handlers>
|
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
|
|
<remove name="OPTIONSVerbHandler" />
|
|
<remove name="TRACEVerbHandler" />
|
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
|
</handlers>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
|
|
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
|
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.9.2.0" newVersion="4.9.2.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Azure.Documents.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-2.4.0.0" newVersion="2.4.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Http.WebHost" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Serilog.Sinks.File" publicKeyToken="24c2f752a8e58a10" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration>
|