FileListener.properties:
#need to Listener File Number
ListenerFileNum = 3
#Listener File will take time one times
Interval = 5000
#need to be Listener File List
ListenerFile1 =D:\\var\\mqsi\\config\\
ListenerFile2 =D:\\property\\
ListenerFile3 =D:\\property\\enum\\
init.properties:
#This directory is store all interface properties
xpathMapdirectory=D:\\property\\xpath
#format of Timestamp
date_format=yyyy-MM-dd HH:mm:ss.SS
#This is a cycle of thread scance,unit is ms
threadSleep=5000
#stack size
maxLength=50000
#the size of each batch excute sqls.
maxeachBatch=1000
#the endpoint of ESBM for real time alarm
endpoint=http://10.138.21.76:8080/axis2/services/EsbmIntfService?wsdl
rule_file=D:\\property\\rules.xml
#is authorization
AUTHORIZATION=1
USERNAME=500
PASSWORD=500
####################################################
# encrypt algorithm
ENCRYPT_ALGO=MD5
log4j.properties:
#log4j.rootCategory=ERROR, ConApp, FileApp
#log4j.category.xxx.xxx=DEBUG
#log4j.category.com.huawei.boss=DEBUG, ConApp, FileApp
log4j.category.com.huawei=DEBUG, ConApp, FileApp
#######################################################################
# Appenders(ConApp/FileApp)
#######################################################################
# ConApp is set to be a ConsoleAppender.
log4j.appender.ConApp=org.apache.log4j.ConsoleAppender
# ConApp uses PatternLayout.
log4j.appender.ConApp.layout=org.apache.log4j.PatternLayout
# Define Pattern
#log4j.appender.ConApp.layout.ConversionPattern=%d [%t] %-5p %c %m%n
log4j.appender.ConApp.layout.ConversionPattern=%-5p [%m]%n
# FileApp is set to be a FileAppender.
log4j.appender.FileApp=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FileApp.File=D:\\var\\mqsi\\logs\\esb.log
log4j.appender.FileApp.MaxFileSize=10240KB
# Keep one backup file
log4j.appender.FileApp.MaxBackupIndex=10
log4j.appender.FileApp.layout=org.apache.log4j.PatternLayout
log4j.appender.FileApp.layout.ConversionPattern=%d [%t] %-5p %c [%m]%n
Endpoint_URL.properties:
#CBS
CBS_UVSInterface=http://10.137.30.84:37782/services/UVSInterfaceService
CBS_BB4CC=http://10.137.30.84:37782/services/BB4CCInterfaceService
CBS_UVS_Extend=http://10.137.30.84:37782/services/UVSInterface_Extend
CBS_Mgr=http://10.137.30.84:37782/services/CBSInterfaceBusinessMgrService
CBS_AR4CC=http://10.137.30.82:37782/services/AR4CCInterfaceService
enumerate.xml:
<MappingList xmlns="http://ngbss.huawei.com/ENUMMapping">
<AssetStatus>
<TransferAttr>
<OriginallyValue>Active</OriginallyValue>
<TransferValue>B01</TransferValue>
</TransferAttr>
</AssetStatus>
</MappingList>
rules.xml:
<?xml version="1.0" encoding="UTF-8" ?>
- <SyncRulesRequest>
- <RuleContents>
<Rule RuleId="1" RuleContent="sds" />
<Rule RuleId="2" RuleContent="sdsdsds" />
<Rule RuleId="3" RuleContent="sdsdsds" />
<Rule RuleId="5" RuleContent="sdsdsdsd" />
</RuleContents>
</SyncRulesRequest>
esbtable.xml:
<tablelist>
- <esbtable tablename="ESB_BUSINESS_EX">
- <fieldlist>
- <field>
<fieldname>PARTITION_ID</fieldname>
<xpathfield>partition_id</xpathfield>
<datetype>string</datetype>
</field>
#need to Listener File Number
ListenerFileNum = 3
#Listener File will take time one times
Interval = 5000
#need to be Listener File List
ListenerFile1 =D:\\var\\mqsi\\config\\
ListenerFile2 =D:\\property\\
ListenerFile3 =D:\\property\\enum\\
init.properties:
#This directory is store all interface properties
xpathMapdirectory=D:\\property\\xpath
#format of Timestamp
date_format=yyyy-MM-dd HH:mm:ss.SS
#This is a cycle of thread scance,unit is ms
threadSleep=5000
#stack size
maxLength=50000
#the size of each batch excute sqls.
maxeachBatch=1000
#the endpoint of ESBM for real time alarm
endpoint=http://10.138.21.76:8080/axis2/services/EsbmIntfService?wsdl
rule_file=D:\\property\\rules.xml
#is authorization
AUTHORIZATION=1
USERNAME=500
PASSWORD=500
####################################################
# encrypt algorithm
ENCRYPT_ALGO=MD5
log4j.properties:
#log4j.rootCategory=ERROR, ConApp, FileApp
#log4j.category.xxx.xxx=DEBUG
#log4j.category.com.huawei.boss=DEBUG, ConApp, FileApp
log4j.category.com.huawei=DEBUG, ConApp, FileApp
#######################################################################
# Appenders(ConApp/FileApp)
#######################################################################
# ConApp is set to be a ConsoleAppender.
log4j.appender.ConApp=org.apache.log4j.ConsoleAppender
# ConApp uses PatternLayout.
log4j.appender.ConApp.layout=org.apache.log4j.PatternLayout
# Define Pattern
#log4j.appender.ConApp.layout.ConversionPattern=%d [%t] %-5p %c %m%n
log4j.appender.ConApp.layout.ConversionPattern=%-5p [%m]%n
# FileApp is set to be a FileAppender.
log4j.appender.FileApp=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FileApp.File=D:\\var\\mqsi\\logs\\esb.log
log4j.appender.FileApp.MaxFileSize=10240KB
# Keep one backup file
log4j.appender.FileApp.MaxBackupIndex=10
log4j.appender.FileApp.layout=org.apache.log4j.PatternLayout
log4j.appender.FileApp.layout.ConversionPattern=%d [%t] %-5p %c [%m]%n
Endpoint_URL.properties:
#CBS
CBS_UVSInterface=http://10.137.30.84:37782/services/UVSInterfaceService
CBS_BB4CC=http://10.137.30.84:37782/services/BB4CCInterfaceService
CBS_UVS_Extend=http://10.137.30.84:37782/services/UVSInterface_Extend
CBS_Mgr=http://10.137.30.84:37782/services/CBSInterfaceBusinessMgrService
CBS_AR4CC=http://10.137.30.82:37782/services/AR4CCInterfaceService
enumerate.xml:
<MappingList xmlns="http://ngbss.huawei.com/ENUMMapping">
<AssetStatus>
<TransferAttr>
<OriginallyValue>Active</OriginallyValue>
<TransferValue>B01</TransferValue>
</TransferAttr>
</AssetStatus>
</MappingList>
rules.xml:
<?xml version="1.0" encoding="UTF-8" ?>
- <SyncRulesRequest>
- <RuleContents>
<Rule RuleId="1" RuleContent="sds" />
<Rule RuleId="2" RuleContent="sdsdsds" />
<Rule RuleId="3" RuleContent="sdsdsds" />
<Rule RuleId="5" RuleContent="sdsdsdsd" />
</RuleContents>
</SyncRulesRequest>
esbtable.xml:
<tablelist>
- <esbtable tablename="ESB_BUSINESS_EX">
- <fieldlist>
- <field>
<fieldname>PARTITION_ID</fieldname>
<xpathfield>partition_id</xpathfield>
<datetype>string</datetype>
</field>