`
kxhu
  • 浏览: 83502 次
社区版块
存档分类
最新评论
文章列表
cpu io:DB(p6sky,SQL Profileer) net windows performance tail multi thread concurrency
softPost:     txn n/time
SettleRule page and test
1:sync svn 2:train (tiles,springMVC) 3:RuleValidate.validate(String rule,TxnCtrl txnCtrl,MerchantTxnSummary merchantTxnSummary,Map<String, Object> globalParameters) web test
1:refactor: fact:TxnCtrl,MerchantTxnSummary,SettleMerchantParameter 2:settleService_add_validate(common validate) 3:single rule validate(set fact(TxnCtrl,MerchantTxnSummay,SettleMerchantParameter) parameter value) real assert test! 4:web code review(session) struts->spring mvc 5:iner manag ...
web:(service and view)     iner:        add rule(rule validate)        set rule parameters     merchant:        parameters facts:TxnCtrl,MerchantTxnSummary
TorServiceImpl init new thread TorWorker torProcessor.processTor(){popActiveTxnReverse authService.processEdcTxn(txnCtrl)}
test ok view:     rule edit     parmeter edit
rule spec parameter:merchantTxnSummaryAmt Cumulation every fact rule result add to merchant settle amt iterator txnCtrl ues:HibernateUtil.iterateElement(hibernateTemp, hqlQuery, this, firstOfArray);
MerchantTxnSummaryRule TxnCtrlRule         TxnCtrlCumulationRule         TxnCtrlIncrementCumulationRule
performanace test     make  test date     test method
rule.ruleServiceManager     init date inject(Map<String ruleName,List<String> rules>)     init method(compile rules and get ruleBase)     manager Map(Map<String ruleName, RuleService DroolsTemplate()>     RuleService has:ruleAction(List<Object> facts,Map<String ,Object> ...
rules and drools:http://www.blogjava.net/guangnian0412 eg1:ss(http://wiki.springside.org.cn/display/springside/JBossRules) eg2:jboos seam
MerchantSettleTask ok
bank settle merchant: MerchantTxnSummary(IdMerchant)-->SettleMerchantRule(idSettleMerchantRule,idSettleRule)     "idSettleRule"--->SettleRule(Rule)     "idSettleMerchantRule,idSettleRule"-->SettleMerchantParameter(parameterValue)        Drools merchant customer rule VIP ...
Global site tag (gtag.js) - Google Analytics