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.

115 lines
6.5 KiB
XML

<?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="8081"/>
</server>
<appService>
<!--<service object="" active=""/>-->
</appService>
<registries>
<!-- <registry id="center1" address="consul://172.15.199.50" port="8500" route="semi"/> -->
</registries>
<services>
<service interface="timeservice" registry="center1" register="true" protocol="http"/>
<!-- <service interface="ipd/SemiPlanApi" registry="center1" register="true" protocol="http"/> -->
<!-- <service interface="ipd/IpdApi" registry="center1" register="true" protocol="http"/> -->
<!--<service interface="kpi" registry="center1" register="true" protocol="http"/>-->
</services>
<!--<schedule>
<job id="1" object="runSyncPlate" trigger="timer(1)" 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=47.103.104.33)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=afmes))); User Id=meslg;Password=123;"/>
</object>-->
<!--<object id="db" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.15.88.212)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=ORCL))); User Id=RDMS;Password=nerc;"/>
</object>-->
<object id="db" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.15.88.212)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=ORCL))); User Id=RDMS;Password=nerc;"/>
</object>
<object id="qmsdb" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.15.89.233)(PORT=1522))) (CONNECT_DATA=(SERVICE_NAME=ORCL))); User Id=qms;Password=system;"/>
</object>
<!--<object id="db_1_21" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.15.1.21)(PORT=1525))) (CONNECT_DATA=(SERVICE_NAME=ygcgx1))); User Id=DTGC;Password=JySzh)_20220715;"/>
</object>
<object id="myconn" type="SOA.Persistent.MySqlDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="server=192.100.51.77;user=jgbkd2;database=mysql;password=jgbkd2; SslMode=none;"/>
</object>
<object id="qmsdb" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.15.199.66)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=qmsdb))); User Id=qms;Password=system;"/>
</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="runSyncPlate" type="ibk.KPI.Service.runSyncPlate, iBKLinker.KPI.Service" scope="prototype"/> -->
<!--<object id="cached" type="SOA.Cache.SimpleCached, SOA.Core"/>-->
<!-- <object id="mq_client" type="SOA.MQ.Client.KafkaQueue, SOA.MQ.Client" scope="prototype"> -->
<!-- <property name="Address" value="172.15.199.50,172.15.199.51,172.15.199.52"/> -->
<!-- <property name="Group" value="PROD"/> -->
<!-- </object> -->
<!-- <object id="DataReceiveService" type="ibk.IPD.DataReceiveService,iBKLinker.IPD.Service" scope="singleton"> -->
<!-- <property name="Enable" value="1"/> -->
<!-- </object> -->
</objects>
</soa>
<appSettings>
<add key="MinIOIp" value="172.15.88.212:9000" />
<add key="MinIOName" value="minioadmin" />
<add key="MinIoPass" value="minioadmin" />
<add key="BuckName" value="dayetegang" />
</appSettings>
<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-11.0.0.0" newVersion="11.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>