Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
- <section name="eventSources"
- type="Ozon.Jobs.Marketing.DbEventQueue.ConfigurationModels.SourcesConfigurationSection, Ozon.Jobs.Marketing.DbEventQueue" />
- <section name="rabbitServers"
- type="Ozon.Jobs.Marketing.DbEventQueue.ConfigurationModels.ServersConfigurationSection, Ozon.Jobs.Marketing.DbEventQueue" />
- </configSections>
- <eventSources>
- <sources>
- <source name="wozon" numberOfConsumer="20" batchSize="5"
- connectionString="server=webdev\webdev;database=Wozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <source name="rezon" numberOfConsumer="20" batchSize="5"
- connectionString="server=bodev\bodev;database=Rezon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <source name="mnozon" numberOfConsumer="20" batchSize="5"
- connectionString="server=webdev\webdev;database=Mnozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- </sources>
- </eventSources>
- <rabbitServers>
- <servers>
- <server name="marketing" vhost="" server="dev39z1.o3.ru" user="marketing" password="marketing">
- <bindings>
- <binding name="marketing_all"
- exchange="Ozon.Services.Marketing.Publish"
- routingKey="Ozon.Services.Marketing.Publish.External"
- evenTypeFilterMode="All"
- eventTypes=""/>
- </bindings>
- </server>
- <server name="ngr" vhost="/external" server="ngrrmq02z1.o3.ru" user="sailplay" password="sailplay">
- <bindings>
- <binding name="ngr_input"
- exchange="sailplay.input.dev"
- routingKey=""
- evenTypeFilterMode="Selected"
- eventTypes="204,299,270,200,311,316"/>
- </bindings>
- </server>
- </servers>
- </rabbitServers>
- <connectionStrings>
- <add name="MassMailConnection" connectionString="server=bodev\bodev;database=MassMail;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="RezonConnection" connectionString="server=bodev\bodev;database=Rezon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="RezonArcConnection" connectionString="server=bodev\bodev;database=RezonArc;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="CRMConnection" connectionString="server=bodev\bodev;database=CRM;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="WozonConnection" connectionString="server=webdev\webdev;database=Wozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="MnozonConnection" connectionString="server=webdev\webdev;database=Mnozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="LoyaltyConnection" connectionString="server=webdev\webdev;database=Loyalty;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="CourierConnection" connectionString="server=bodev\bodev;database=Courier;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="LozonConnection" connectionString="server=logdev;database=Lozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- <add name="TarifficationConnection" connectionString="server=webdev;database=Tariffication;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
- </connectionStrings>
- <appSettings>
- <add key="EmptyResponseTimeoutInMilliseconds" value="2000" />
- <add key="ItemServiceUrl" value="http://api.trunk.ozon/item/v4/" />
- <add key="DetailServiceUrl" value="http://api.trunk.ozon/detail/v1" />
- </appSettings>
- <nlog>
- <variable name="rootDir" value="C:\logs\jobs"></variable>
- <variable name="appName" value="Ozon.Jobs.Marketing.DbEventQueue"></variable>
- <targets>
- <default-target-parameters type="File" archiveEvery="Day" archiveNumbering="Date" archiveDateFormat="yyyyMMdd"
- maxArchiveFiles="120" />
- <target name="info" type="File" fileName="${rootDir}\${appName}\infolog.txt"
- layout="$[${threadid}] ${longdate}: ${message}" />
- <target name="error" type="File" fileName="${rootDir}\${appName}\errorlog.txt"
- layout="[${threadid}] ${longdate}: ${message}${newline}${exception:format=tostring}" />
- <target name="trace" type="File" fileName="${rootDir}\${appName}\tracelog.txt"
- layout="[${threadid}] ${longdate}: ${message}" />
- <target name="eventLog" type="EventLog" source="DbEventQueue.Marketing"
- log="DbEventQueue.Marketing" layout="${message}" machineName="." />
- </targets>
- <rules>
- <logger name="*" level="Error" writeTo="error" />
- <logger name="*" level="Trace" writeTo="trace" />
- <logger name="*" level="Info" writeTo="info" />
- <logger name="*" level="Error" writeTo="eventLog" />
- </rules>
- </nlog>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
- </startup>
- <system.serviceModel>
- <bindings>
- <netTcpBinding>
- <binding name="NetTcpBinding_IDetailService">
- <security mode="None" />
- </binding>
- </netTcpBinding>
- <wsHttpBinding>
- <binding name="WS2007HttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00"
- sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false"
- hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
- messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="false" allowCookies="false">
- <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
- maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
- <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
- <security mode="None">
- <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
- <message clientCredentialType="Windows" negotiateServiceCredential="true" />
- </security>
- </binding>
- <binding name="WS2007HttpBinding_IDetailService">
- <security mode="None" />
- </binding>
- </wsHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://wapi.trunk.ozon/PageFlowService-v2/PageFlowService.svc/wspageflow"
- binding="wsHttpBinding" bindingConfiguration="WS2007HttpBinding"
- contract="WCFServices.PageFlowService.IPageFlowService" name="WS2007HttpBinding_IPageFlowService" />
- <endpoint address="http://wapi.trunk.ozon/DetailService-v3/DetailService.svc/wsclient" binding="wsHttpBinding"
- bindingConfiguration="WS2007HttpBinding" contract="WCFServices.DetailService.IDetailService"
- name="WS2007HttpBinding_IDetailService" />
- </client>
- </system.serviceModel>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
- </dependentAssembly>
- <dependentAssembly>
- <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement