Advertisement
Guest User

Untitled

a guest
Mar 27th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.10 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
  5. <section name="eventSources"
  6. type="Ozon.Jobs.Marketing.DbEventQueue.ConfigurationModels.SourcesConfigurationSection, Ozon.Jobs.Marketing.DbEventQueue" />
  7. <section name="rabbitServers"
  8. type="Ozon.Jobs.Marketing.DbEventQueue.ConfigurationModels.ServersConfigurationSection, Ozon.Jobs.Marketing.DbEventQueue" />
  9. </configSections>
  10. <eventSources>
  11. <sources>
  12. <source name="wozon" numberOfConsumer="20" batchSize="5"
  13. connectionString="server=webdev\webdev;database=Wozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  14. <source name="rezon" numberOfConsumer="20" batchSize="5"
  15. connectionString="server=bodev\bodev;database=Rezon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  16. <source name="mnozon" numberOfConsumer="20" batchSize="5"
  17. connectionString="server=webdev\webdev;database=Mnozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  18. </sources>
  19. </eventSources>
  20. <rabbitServers>
  21. <servers>
  22. <server name="marketing" vhost="" server="dev39z1.o3.ru" user="marketing" password="marketing">
  23. <bindings>
  24. <binding name="marketing_all"
  25. exchange="Ozon.Services.Marketing.Publish"
  26. routingKey="Ozon.Services.Marketing.Publish.External"
  27. evenTypeFilterMode="All"
  28. eventTypes=""/>
  29. </bindings>
  30. </server>
  31. <server name="ngr" vhost="/external" server="ngrrmq02z1.o3.ru" user="sailplay" password="sailplay">
  32. <bindings>
  33. <binding name="ngr_input"
  34. exchange="sailplay.input.dev"
  35. routingKey=""
  36. evenTypeFilterMode="Selected"
  37. eventTypes="204,299,270,200,311,316"/>
  38. </bindings>
  39. </server>
  40. </servers>
  41. </rabbitServers>
  42. <connectionStrings>
  43. <add name="MassMailConnection" connectionString="server=bodev\bodev;database=MassMail;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  44. <add name="RezonConnection" connectionString="server=bodev\bodev;database=Rezon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  45. <add name="RezonArcConnection" connectionString="server=bodev\bodev;database=RezonArc;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  46. <add name="CRMConnection" connectionString="server=bodev\bodev;database=CRM;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  47. <add name="WozonConnection" connectionString="server=webdev\webdev;database=Wozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  48. <add name="MnozonConnection" connectionString="server=webdev\webdev;database=Mnozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  49. <add name="LoyaltyConnection" connectionString="server=webdev\webdev;database=Loyalty;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  50. <add name="CourierConnection" connectionString="server=bodev\bodev;database=Courier;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  51. <add name="LozonConnection" connectionString="server=logdev;database=Lozon;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  52. <add name="TarifficationConnection" connectionString="server=webdev;database=Tariffication;User=web;pwd=aspnet;Application Name=Ozon.Jobs.Marketing.DbEventQueue;" />
  53. </connectionStrings>
  54. <appSettings>
  55. <add key="EmptyResponseTimeoutInMilliseconds" value="2000" />
  56. <add key="ItemServiceUrl" value="http://api.trunk.ozon/item/v4/" />
  57. <add key="DetailServiceUrl" value="http://api.trunk.ozon/detail/v1" />
  58. </appSettings>
  59. <nlog>
  60. <variable name="rootDir" value="C:\logs\jobs"></variable>
  61. <variable name="appName" value="Ozon.Jobs.Marketing.DbEventQueue"></variable>
  62. <targets>
  63. <default-target-parameters type="File" archiveEvery="Day" archiveNumbering="Date" archiveDateFormat="yyyyMMdd"
  64. maxArchiveFiles="120" />
  65. <target name="info" type="File" fileName="${rootDir}\${appName}\infolog.txt"
  66. layout="$[${threadid}] ${longdate}: ${message}" />
  67. <target name="error" type="File" fileName="${rootDir}\${appName}\errorlog.txt"
  68. layout="[${threadid}] ${longdate}: ${message}${newline}${exception:format=tostring}" />
  69. <target name="trace" type="File" fileName="${rootDir}\${appName}\tracelog.txt"
  70. layout="[${threadid}] ${longdate}: ${message}" />
  71. <target name="eventLog" type="EventLog" source="DbEventQueue.Marketing"
  72. log="DbEventQueue.Marketing" layout="${message}" machineName="." />
  73. </targets>
  74. <rules>
  75. <logger name="*" level="Error" writeTo="error" />
  76. <logger name="*" level="Trace" writeTo="trace" />
  77. <logger name="*" level="Info" writeTo="info" />
  78. <logger name="*" level="Error" writeTo="eventLog" />
  79. </rules>
  80. </nlog>
  81. <startup>
  82. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
  83. </startup>
  84. <system.serviceModel>
  85. <bindings>
  86. <netTcpBinding>
  87. <binding name="NetTcpBinding_IDetailService">
  88. <security mode="None" />
  89. </binding>
  90. </netTcpBinding>
  91. <wsHttpBinding>
  92. <binding name="WS2007HttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00"
  93. sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false"
  94. hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
  95. messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="false" allowCookies="false">
  96. <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
  97. maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
  98. <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
  99. <security mode="None">
  100. <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" />
  101. <message clientCredentialType="Windows" negotiateServiceCredential="true" />
  102. </security>
  103. </binding>
  104. <binding name="WS2007HttpBinding_IDetailService">
  105. <security mode="None" />
  106. </binding>
  107. </wsHttpBinding>
  108. </bindings>
  109. <client>
  110. <endpoint address="http://wapi.trunk.ozon/PageFlowService-v2/PageFlowService.svc/wspageflow"
  111. binding="wsHttpBinding" bindingConfiguration="WS2007HttpBinding"
  112. contract="WCFServices.PageFlowService.IPageFlowService" name="WS2007HttpBinding_IPageFlowService" />
  113. <endpoint address="http://wapi.trunk.ozon/DetailService-v3/DetailService.svc/wsclient" binding="wsHttpBinding"
  114. bindingConfiguration="WS2007HttpBinding" contract="WCFServices.DetailService.IDetailService"
  115. name="WS2007HttpBinding_IDetailService" />
  116. </client>
  117. </system.serviceModel>
  118. <runtime>
  119. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  120. <dependentAssembly>
  121. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  122. <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
  123. </dependentAssembly>
  124. <dependentAssembly>
  125. <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  126. <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
  127. </dependentAssembly>
  128. <dependentAssembly>
  129. <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  130. <bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
  131. </dependentAssembly>
  132. </assemblyBinding>
  133. </runtime>
  134. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement