206 строки
8.9 KiB
XML
206 строки
8.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
|
|
Licensed under the MIT License. -->
|
|
<configuration>
|
|
<configSections>
|
|
<section name="quartz" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
|
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
<section name="RecurringIntegrationsScheduler.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
|
</sectionGroup>
|
|
</configSections>
|
|
<!-- Uncomment this section to trace network activities to network.log file
|
|
<system.diagnostics>
|
|
<sources>
|
|
<source name="System.Net" tracemode="includehex" maxdatasize="1024">
|
|
<listeners>
|
|
<add name="System.Net"/>
|
|
</listeners>
|
|
</source>
|
|
<source name="System.Net.Cache">
|
|
<listeners>
|
|
<add name="System.Net"/>
|
|
</listeners>
|
|
</source>
|
|
<source name="System.Net.Http">
|
|
<listeners>
|
|
<add name="System.Net"/>
|
|
</listeners>
|
|
</source>
|
|
<source name="System.Net.Sockets">
|
|
<listeners>
|
|
<add name="System.Net"/>
|
|
</listeners>
|
|
</source>
|
|
<source name="System.Net.WebSockets">
|
|
<listeners>
|
|
<add name="System.Net"/>
|
|
</listeners>
|
|
</source>
|
|
</sources>
|
|
<switches>
|
|
<add name="System.Net" value="Verbose"/>
|
|
<add name="System.Net.Cache" value="Verbose"/>
|
|
<add name="System.Net.Http" value="Verbose"/>
|
|
<add name="System.Net.Sockets" value="Verbose"/>
|
|
<add name="System.Net.WebSockets" value="Verbose"/>
|
|
</switches>
|
|
<sharedListeners>
|
|
<add name="System.Net"
|
|
type="System.Diagnostics.TextWriterTraceListener"
|
|
initializeData="network.log"
|
|
/>
|
|
</sharedListeners>
|
|
<trace autoflush="true"/>
|
|
</system.diagnostics> -->
|
|
<quartz>
|
|
<add key="quartz.scheduler.instanceName" value="Private" />
|
|
<add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
|
|
<add key="quartz.threadPool.threadCount" value="20" />
|
|
<add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, Quartz" />
|
|
<add key="quartz.plugin.xml.type" value="Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin, Quartz.Plugins" />
|
|
<add key="quartz.plugin.xml.fileNames" value="~/Standalone_schedule.xml" />
|
|
<add key="quartz.plugin.xml.failOnFileNotFound" value="false" />
|
|
</quartz>
|
|
<log4net>
|
|
<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
|
|
<applicationName value="Recurring Integrations Scheduler App" />
|
|
<logName value="Recurring Integrations Scheduler" />
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
<conversionPattern value="%logger - %message%newline" />
|
|
</layout>
|
|
</appender>
|
|
<root>
|
|
<level value="DEBUG" />
|
|
<appender-ref ref="EventLogAppender" />
|
|
</root>
|
|
</log4net>
|
|
<userSettings>
|
|
<RecurringIntegrationsScheduler.Properties.Settings>
|
|
<setting name="UploadErrorsFolder" serializeAs="String">
|
|
<value>UploadErrors</value>
|
|
</setting>
|
|
<setting name="UploadSuccessFolder" serializeAs="String">
|
|
<value>UploadSuccess</value>
|
|
</setting>
|
|
<setting name="ProcessingSuccessFolder" serializeAs="String">
|
|
<value>ProcessingSuccess</value>
|
|
</setting>
|
|
<setting name="DownloadErrorsFolder" serializeAs="String">
|
|
<value>Errors</value>
|
|
</setting>
|
|
<setting name="UploadInputFolder" serializeAs="String">
|
|
<value>Input</value>
|
|
</setting>
|
|
<setting name="ProcessingErrorsFolder" serializeAs="String">
|
|
<value>ProcessingErrors</value>
|
|
</setting>
|
|
<setting name="UpdateSettings" serializeAs="String">
|
|
<value>True</value>
|
|
</setting>
|
|
<setting name="DataJobs" serializeAs="Xml">
|
|
<value>
|
|
<ArrayOfDataJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<DataJob>
|
|
<Name>Customers import</Name>
|
|
<ActivityId>00000000-0000-0000-0000-000000000000</ActivityId>
|
|
<EntityName>Customers</EntityName>
|
|
<Type>Download</Type>
|
|
</DataJob>
|
|
</ArrayOfDataJob>
|
|
</value>
|
|
</setting>
|
|
<setting name="Instances" serializeAs="Xml">
|
|
<value>
|
|
<ArrayOfInstance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<Instance>
|
|
<Name>Contoso PROD</Name>
|
|
<AosUri>https://contoso.production.operations.dynamics.com</AosUri>
|
|
<AzureAuthEndpoint>https://login.microsoftonline.com</AzureAuthEndpoint>
|
|
<AadTenant>contoso.com</AadTenant>
|
|
</Instance>
|
|
</ArrayOfInstance>
|
|
</value>
|
|
</setting>
|
|
<setting name="Users" serializeAs="Xml">
|
|
<value>
|
|
<ArrayOfUser xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<User>
|
|
<Login>admin@contoso.com</Login>
|
|
<Password>pass@word1</Password>
|
|
</User>
|
|
</ArrayOfUser>
|
|
</value>
|
|
</setting>
|
|
<setting name="JobGroups" serializeAs="Xml">
|
|
<value>
|
|
<ArrayOfJobGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<JobGroup>
|
|
<Name>Import jobs</Name>
|
|
</JobGroup>
|
|
<JobGroup>
|
|
<Name>Export jobs</Name>
|
|
</JobGroup>
|
|
<JobGroup>
|
|
<Name>Download jobs</Name>
|
|
</JobGroup>
|
|
<JobGroup>
|
|
<Name>Upload jobs</Name>
|
|
</JobGroup>
|
|
</ArrayOfJobGroup>
|
|
</value>
|
|
</setting>
|
|
<setting name="AadApplications" serializeAs="Xml">
|
|
<value>
|
|
<ArrayOfAadApplication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<AadApplication>
|
|
<Name>User impersonation</Name>
|
|
<ClientId>00000000-0000-0000-0000-000000000000</ClientId>
|
|
<Secret />
|
|
<AuthenticationType>User</AuthenticationType>
|
|
</AadApplication>
|
|
<AadApplication>
|
|
<Name>Service to Service</Name>
|
|
<ClientId>00000000-0000-0000-0000-000000000000</ClientId>
|
|
<Secret />
|
|
<AuthenticationType>Service</AuthenticationType>
|
|
</AadApplication>
|
|
</ArrayOfAadApplication>
|
|
</value>
|
|
</setting>
|
|
</RecurringIntegrationsScheduler.Properties.Settings>
|
|
</userSettings>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Quartz" publicKeyToken="f6b8c98a402cc8a4" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-3.3.3.0" newVersion="3.3.3.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Quartz.Jobs" publicKeyToken="f6b8c98a402cc8a4" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-3.3.3.0" newVersion="3.3.3.0" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /></startup></configuration>
|