Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=301880
  5. -->
  6. <configuration>
  7. <configSections>
  8. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10. <section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" />
  11. <section name="diagnostics" type="Telexis.Diagnostics.LogConfigurationSectionHandler, Telexis.Diagnostics" />
  12. <section name="quartz" type="System.Configuration.NameValueSectionHandler, System, Version=2.3.3.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  13. <section name="scheduler" type="Telexis.Bocks.Scheduler.SchedulerConfigSection, Telexis.Bocks.Scheduler" />
  14. <section name="messageBusClient" type="Telexis.Bocks.Messaging.Configuration.MessageBusClientConfigurationSection, Telexis.Bocks.Messaging" />
  15. </configSections>
  16. <system.web>
  17. <!--<customErrors mode="On" defaultRedirect="/Home/Error"/>-->
  18. <customErrors mode="On" defaultRedirect="~/Home/Error">
  19. <error statusCode="404" redirect="~/Home/Index" />
  20. </customErrors>
  21. <compilation debug="true" targetFramework="4.5" />
  22. <httpRuntime targetFramework="4.5" />
  23. </system.web>
  24. <runtime>
  25. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  26. <dependentAssembly>
  27. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  28. <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
  29. </dependentAssembly>
  30. <dependentAssembly>
  31. <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  32. <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  33. </dependentAssembly>
  34. <dependentAssembly>
  35. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  36. <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  37. </dependentAssembly>
  38. <dependentAssembly>
  39. <assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  40. <bindingRedirect oldVersion="0.0.0.0-4.0.20622.1351" newVersion="4.0.20622.1351" />
  41. </dependentAssembly>
  42. <dependentAssembly>
  43. <assemblyIdentity name="Microsoft.IdentityModel.Protocol.Extensions" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  44. <bindingRedirect oldVersion="0.0.0.0-1.0.2.33" newVersion="1.0.2.33" />
  45. </dependentAssembly>
  46. <dependentAssembly>
  47. <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
  48. <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  49. </dependentAssembly>
  50. <dependentAssembly>
  51. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  52. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  53. </dependentAssembly>
  54. <dependentAssembly>
  55. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  56. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  57. </dependentAssembly>
  58. <dependentAssembly>
  59. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  60. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  61. </dependentAssembly>
  62. <dependentAssembly>
  63. <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  64. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  65. </dependentAssembly>
  66. <dependentAssembly>
  67. <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  68. <bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  69. </dependentAssembly>
  70. </assemblyBinding>
  71. </runtime>
  72. <system.webServer>
  73. <handlers>
  74. <remove name="WebDAV" />
  75.  
  76.  
  77.  
  78.  
  79. <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>
  80. <modules>
  81. <remove name="WebDAVModule" />
  82. </modules>
  83. </system.webServer>
  84. <appSettings>
  85. <add key="webpages:Version" value="3.0.0.0" />
  86. <add key="webpages:Enabled" value="false" />
  87. <add key="ClientValidationEnabled" value="true" />
  88. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  89. <add key="STSUrl" value="https://localhost/Telexis.Bocks.IdentityServer/core" />
  90. <add key="WebClientUrl" value="https://localhost/Telexis.Bocks.ManagementUI/" />
  91. <add key="IdentityManagementUrl" value="https://localhost/Telexis.Bocks.IdentityManagement/" />
  92. </appSettings>
  93. <entityFramework>
  94. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  95. <parameters>
  96. <parameter value="mssqllocaldb" />
  97. </parameters>
  98. </defaultConnectionFactory>
  99. <providers>
  100. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  101. </providers>
  102. </entityFramework>
  103. <connectionStrings>
  104. <add name="DeviceListProcessingDataContext" connectionString="Data Source=(local);Initial Catalog=Bocks.ConfigurationDataStore;User ID=boServiceUser;Password=123;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
  105. </connectionStrings>
  106.  
  107. <unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
  108. <typeAliases>
  109. <typeAlias alias="IEventLogger" type="Telexis.Bocks.IEventLogger, Telexis.Bocks.Common" />
  110. <typeAlias alias="IEventLoggingResources" type="Telexis.Bocks.IEventLoggingResources, Telexis.Bocks.Common" />
  111. <typeAlias alias="IDataContextFactory" type="Telexis.Bocks.Level4Files.DataModel.Interfaces.IDataContextFactory, Telexis.Bocks.Level4Files.DataModel" />
  112. <typeAlias alias="IConnectionFactoryProvider" type="Telexis.Bocks.Messaging.IConnectionFactoryProvider, Telexis.Bocks.Messaging" />
  113. <typeAlias alias="IDeviceListProcessingDataContext" type="Telexis.Bocks.Level4Files.DataModel.Interfaces.IDeviceListProcessingDataContext, Telexis.Bocks.Level4Files.DataModel" />
  114. <typeAlias alias="IDeviceManagementJsonConverter" type="Telexis.Bocks.ManagementUI.DeviceManagement.IDeviceManagementJsonConverter, Telexis.Bocks.ManagementUI" />
  115. <typeAlias alias="IDeviceManagementResponseFactory" type="Telexis.Bocks.ManagementUI.DeviceManagement.IDeviceManagementResponseFactory, Telexis.Bocks.ManagementUI" />
  116. <typeAlias alias="IDeviceManagementValidator" type="Telexis.Bocks.ManagementUI.DeviceManagement.IDeviceManagementValidator, Telexis.Bocks.ManagementUI" />
  117. <typeAlias alias="IRijndaelCryptoMachine" type="Telexis.Util.Cryptography.IRijndaelCryptoMachine, Telexis.Util" />
  118. <typeAlias alias="IKeyProvider" type="Telexis.Util.Cryptography.IKeyProvider, Telexis.Util" />
  119. <typeAlias alias="ISchedulerAPI" type="Telexis.Bocks.Scheduler.ISchedulerAPI, Telexis.Bocks.Scheduler" />
  120. <typeAlias alias="IMessageBusClient" type="Telexis.Bocks.Messaging.IMessageBusClient, Telexis.Bocks.Messaging" />
  121. <typeAlias alias="IMessageQueueConsumerFactory" type="Telexis.Bocks.Messaging.IMessageQueueConsumerFactory, Telexis.Bocks.Messaging" />
  122. </typeAliases>
  123. <container>
  124. <register type="IEventLogger" mapTo="Telexis.Bocks.Logging.EventLogger, Telexis.Bocks.Common">
  125. <lifetime type="singleton" />
  126. </register>
  127. <register type="IEventLoggingResources" mapTo="Telexis.Bocks.EventLogging.EventLoggingResources, Telexis.Bocks.EventLogging" />
  128. <register type="IDataContextFactory" mapTo="Telexis.Bocks.Level4Files.DataModel.DataContextFactory, Telexis.Bocks.Level4Files.DataModel">
  129. <lifetime type="singleton" />
  130. </register>
  131. <register type="IConnectionFactoryProvider" mapTo="Telexis.Bocks.Messaging.ConnectionFactoryProvider, Telexis.Bocks.Messaging" />
  132. <register type="IDeviceListProcessingDataContext" mapTo="Telexis.Bocks.Level4Files.DataModel.DeviceListProcessingDataContext, Telexis.Bocks.Level4Files.DataModel" />
  133. <register type="IDeviceManagementJsonConverter" mapTo="Telexis.Bocks.ManagementUI.DeviceManagement.DeviceManagementJsonConverter, Telexis.Bocks.ManagementUI">
  134. <lifetime type="singleton" />
  135. </register>
  136. <register type="IDeviceManagementResponseFactory" mapTo="Telexis.Bocks.ManagementUI.DeviceManagement.DeviceManagementResponseFactory, Telexis.Bocks.ManagementUI">
  137. <lifetime type="singleton" />
  138. </register>
  139. <register type="IDeviceManagementValidator" mapTo="Telexis.Bocks.ManagementUI.DeviceManagement.DeviceManagementValidator, Telexis.Bocks.ManagementUI">
  140. <lifetime type="singleton" />
  141. </register>
  142. <register type="IRijndaelCryptoMachine" mapTo="Telexis.Util.Cryptography.RijndaelCryptoMachine, Telexis.Util">
  143. <lifetime type="singleton" />
  144. </register>
  145. <register type="IKeyProvider" mapTo="Telexis.Util.Cryptography.UnsafeKeyProvider, Telexis.Util">
  146. <lifetime type="singleton" />
  147. </register>
  148. <register type="ISchedulerAPI" mapTo="Telexis.Bocks.Scheduler.Scheduler, Telexis.Bocks.Scheduler" />
  149. <register type="IMessageBusClient" mapTo="Telexis.Bocks.Messaging.MessageBusClient, Telexis.Bocks.Messaging" />
  150. <register type="IMessageQueueConsumerFactory" mapTo="Telexis.Bocks.Messaging.MessageQueueConsumerFactory, Telexis.Bocks.Messaging">
  151. <lifetime type="singleton" />
  152. </register>
  153. </container>
  154. </unity>
  155.  
  156. <diagnostics>
  157. <appender name="FileLogger" type="Telexis.Diagnostics.FileLogger">
  158. <file value="[LOGFILE]" />
  159. <rotation value="Date" />
  160. <loglevel value="Info" />
  161. <logfields>
  162. <logfield value="ThreadID" />
  163. <logfield value="Milliseconds" />
  164. <logfield value="EventID" />
  165. </logfields>
  166. </appender>
  167. <appender name="DebugLogger" type="Telexis.Diagnostics.FileLogger">
  168. <file value="[LOGFILE-FOR-DEBUGGING]" />
  169. <rotation value="Date" />
  170. <loglevel value="Debug" />
  171. <logfields>
  172. <logfield value="ThreadID" />
  173. <logfield value="Milliseconds" />
  174. <logfield value="EventID" />
  175. </logfields>
  176. </appender>
  177. </diagnostics>
  178.  
  179. <messageBusClient userName="guest" password="guest" exchange="HTM.Bocks">
  180. <hostNames>
  181. <add name="localhost"/>
  182. </hostNames>
  183. </messageBusClient>
  184.  
  185. <!-- TODO:Gajama2 - Slow cheeta not working for Web.config -->
  186. <!--<scheduler>
  187. <features>
  188. <feature name="[FEATURE1-NAME]" description="[FEATURE1-DESCRIPTION]">
  189. <subjects>
  190. <add name="[SUBJECT1-NAME]" description="[SUBJECT1-DESCRIPTION]" regex="[SUBJECT1-REGEX]" realtivePath="[RELATIVE-PATH]" />
  191. <add name="[SUBJECT2-NAME]" description="[SUBJECT2-DESCRIPTION]" regex="[SUBJECT2-REGEX]" realtivePath="[RELATIVE-PATH]" />
  192. </subjects>
  193. </feature>
  194. <feature name="[FEATURE2-NAME]" description="[FEATURE2-DESCRIPTION]" />
  195. </features>
  196. --><!--Keep sources configuration in FTS up to date with this one--><!--
  197. <sources>
  198. <add name="[SOURCE-LOCATION-NAME]" sourceConfigId="[SOURCE-LOCATION-ID]" protocol="[PROTOCOL-FTP-FTPS-OTHER]" hostServer="[HOST-SERVER]" remoteRoot="[REMOTE-ROOT]" hostRetryTime="[HOST-RETRY-TIME]" hostRetryAmount="[HOST-RETRY-AMOUNT]" hostScanTimeout="[HOST-SCAN-TIMEOUT]" username="[UESRNAME]" password="[PASSWORD]" />
  199. </sources>
  200. --><!--Keep targets configuration in Dispatcher up to date with this one--><!--
  201. <targets>
  202. <add name="[TARGET-LOCATION-NAME]" folderPath="[FOLDER-PATH]" />
  203. </targets>
  204. </scheduler>-->
  205.  
  206. <scheduler>
  207.  
  208. <features>
  209. <feature name="GenerateS9File" description="S9 bestand generatie">
  210. <subjects>
  211. <add name="Cvf" description="Cvf (Ceiling value bestand)" regex="" realtivePath="" />
  212. <add name="Tkf" description="Tkf (Ticketing key bestand)" regex="" realtivePath="" />
  213. </subjects>
  214. </feature>
  215. <feature name="GenerateEod" description="EOD generatie">
  216. <subjects>
  217. <add name="Nvt" description="Nvt" regex="" realtivePath="" />
  218. </subjects>
  219. </feature>
  220. <feature name="RetrieveFTPFile" description="Ophalen bestand">
  221. <subjects>
  222. <add name="Lvl4ConsBlacklist" description="Level-4 Cons Blacklist" regex="" realtivePath="" />
  223. <add name="Lvl4ConsIntBlacklist" description="Level-4 Cons Int Blacklist" regex="" realtivePath="" />
  224. <add name="Lvl4DeviceList" description="Level-4 Device List" regex="S9DEV[0-9]{6}_[0-9]{1}\.[vV]{1}[0-9]{2}\.?[0-9]?" realtivePath="RelativePathForDL" />
  225. <add name="Lvl4CRL" description="Level-4 CRL" regex="CRL[0-9]{6}_[0-9]{1}\.[vV]{1}[0-9]{2}\.?[0-9]?" realtivePath="RelativePathForCRL" />
  226. <add name="Lvl4FileUploadFeedback" description="Level-4 File Upload" regex="" realtivePath="" />
  227. <add name="Lvl4TxFeedback" description="Lvl4 Transaction Feedback" regex="" realtivePath="" />
  228. </subjects>
  229. </feature>
  230. <!--<feature name="ResendFile" description="Resend File">
  231. <subjects>
  232. <add name="Lvl1TXARFile" description="To Level 4 Acquirer 2.0" regex="" realtivePath="" />
  233. </subjects>
  234. </feature>-->
  235. </features>
  236.  
  237. <!--Keep sources configuration in FTS up to date with this one-->
  238. <sources>
  239. <add name="FTP1" sourceConfigId="1" protocol="FTP" hostServer="ftp://localhost:21" remoteRoot="c:\remoteRootFolder1" hostRetryTime="5" hostRetryAmount="3" hostScanTimeout="10" username="FtpClient1" password="Gajama82" />
  240. <add name="FTPS1" sourceConfigId="2" protocol="FTPS" hostServer="ftps://localhost:990" remoteRoot="c:\remoteRootFolder2" hostRetryTime="5" hostRetryAmount="3" hostScanTimeout="10" username="FtpClient1" password="Gajama82" />
  241. </sources>
  242.  
  243. <!--Keep targets configuration in Dispatcher up to date with this one-->
  244. <targets>
  245. <add name="Location 1" folderPath="c:\temp" />
  246. <add name="Location 2" folderPath="C:\temp\delivery" />
  247. </targets>
  248.  
  249. </scheduler>
  250.  
  251. <quartz>
  252. <add key="quartz.scheduler.instanceName" value="BODefaultQuartzScheduler" />
  253. <add key="quartz.scheduler.instanceId" value="instance_one" />
  254. <add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
  255. <add key="quartz.threadPool.threadCount" value="10" />
  256. <add key="quartz.threadPool.threadPriority" value="1" />
  257. <add key="quartz.jobStore.type" value="Quartz.Impl.AdoJobStore.JobStoreTX, Quartz" />
  258. <add key="quartz.jobStore.misfireThreshold" value="60000" />
  259. <add key="quartz.jobStore.dataSource" value="default" />
  260. <add key="quartz.jobStore.driverDelegateType" value="Quartz.Impl.AdoJobStore.SqlServerDelegate, Quartz" />
  261. <!--add key="quartz.jobStore.lockHandler.type" value="Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz"/-->
  262. <add key="quartz.jobStore.tablePrefix" value="QRTZ_" />
  263. <add key="quartz.dataSource.default.connectionString" value="Server=(local);Database=Bocks.Scheduler;Persist Security Info=True;User ID=boServiceUser;Password=123;MultipleActiveResultSets=True" />
  264. <add key="quartz.dataSource.default.provider" value="SqlServer-20" />
  265. <add key="quartz.jobStore.useProperties" value="true" />
  266. </quartz>
  267.  
  268. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement