You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
4.8 KiB
Plaintext
88 lines
4.8 KiB
Plaintext
7 months ago
|
<?xml version="1.0"?>
|
||
|
<configuration>
|
||
|
<configSections>
|
||
|
<section name="soa" type="SOA.Config.ConfigHandler, SOA.Core" />
|
||
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
||
|
</configSections>
|
||
|
<startup>
|
||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
||
|
</startup>
|
||
|
<soa>
|
||
|
<server>
|
||
|
<channel name="http" host="localhost" port="8210"/>
|
||
|
</server>
|
||
|
<appService>
|
||
|
<!--<service object="" active=""/>-->
|
||
|
</appService>
|
||
|
<registries>
|
||
|
<registry id="center1" address="consul://localhost" port="8500" route="ipd"/>
|
||
|
</registries>
|
||
|
<!--services-->
|
||
|
<!--service interface="timeservice" registry="center1" register="true" protocol="http"/>-->
|
||
|
<!--service interface="kpi/configservice" registry="center1" register="true" protocol="http"/>-->
|
||
|
<!--service interface="kpi" registry="center1" register="true" protocol="http"/>-->
|
||
|
<!--/services-->
|
||
|
<schedule>
|
||
|
<!-- <job id="1" object="PDIDataHandling" trigger="timer(10)" active="true"/> -->
|
||
|
<!-- <job id="2" object="PlateRec" trigger="timer(5)" active="true"/> -->
|
||
|
</schedule>
|
||
|
<objects>
|
||
|
<object id="db" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
|
||
|
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.25.63.30)(PORT=9910))) (CONNECT_DATA=(SERVICE_NAME=orcl))); User Id=ipd_test;Password=iet_ipd;"/>
|
||
|
</object>
|
||
|
<object id="db_sur" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
|
||
|
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=mes.nisco.cn)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=ora9))); User Id=user3d;Password=bkd3dksh;"/>
|
||
|
</object>
|
||
|
<!--<object id="db" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
|
||
|
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=47.103.104.33)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=afmes))); User Id=ipd;Password=aabb;"/>
|
||
|
</object>-->
|
||
|
<!--<object id="cached" type="SOA.Cache.RedisCached, SOA.Core" scope="prototype">
|
||
|
<constructor-arg value="192.168.10.92"/>
|
||
|
</object>
|
||
|
<object id="redis" type="SOA.Redis.RedisClient, SOA.Data" scope="prototype">
|
||
|
<constructor-arg value="192.168.10.92"/>
|
||
|
</object>-->
|
||
|
<!-- <object id="PDIDataHandling" type="PDIDataHandling.DataHandllerController, PDIDataHandling" scope="prototype"/> -->
|
||
|
<!--<object id="cached" type="SOA.Cache.SimpleCached, SOA.Core"/>-->
|
||
|
<!-- <object id="PlateRec" type="PlateRec.PlateHandllerController, PlateRec" scope="prototype"/> -->
|
||
|
</objects>
|
||
|
</soa>
|
||
|
<log4net>
|
||
|
<appender name="ConsoleLogOutput" type="log4net.Appender.ConsoleAppender" >
|
||
|
<layout type="log4net.Layout.PatternLayout">
|
||
|
<conversionPattern value="[%-5level] %date [%-5.5thread] %logger - %message%newline" />
|
||
|
</layout>
|
||
|
</appender>
|
||
|
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
||
|
<file value=".\log\" />
|
||
|
<appendToFile value="true" />
|
||
|
<rollingStyle value="Date" />
|
||
|
<param name="StaticLogFileName" value="false" />
|
||
|
<datePattern value="yyyyMM\\'logfile'_yyyyMMdd.'log'" />
|
||
|
<layout type="log4net.Layout.PatternLayout">
|
||
|
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||
|
</layout>
|
||
|
</appender>
|
||
|
<root>
|
||
|
<appender-ref ref="ConsoleLogOutput" />
|
||
|
<appender-ref ref="RollingLogFileAppender" />
|
||
|
</root>
|
||
|
</log4net>
|
||
|
<runtime>
|
||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||
|
<dependentAssembly>
|
||
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.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="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||
|
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
|
||
|
</dependentAssembly>
|
||
|
</assemblyBinding>
|
||
|
</runtime>
|
||
|
</configuration>
|