zoukankan      html  css  js  c++  java
  • 日常笔记2

    ApplicationContext sf自己的框架包里加载map位置

    通缉:


    一种通缉是操作码后生成通缉回执635
    另一种是90安全检查(RMS)直接通缉。

    sf-framework-share-sso-2.0.jar tokenvalidateclient tokenfilter


    actiontype
    private : 登录了之后就可以访问
    pub: 未登录就可以访问
    auth: 授权了才能访问


    http://10.118.63.133:8083/index.pub?ticket=ST-2160-Sf6K2qhsFTxA4aIfwcwY-casnode1&language=zh&country=CN&variant=CN


    http://localhost:8083/frame.pvt;jsessionid=106f0b9ciblwx17m3pnc8hl4s0


    http://10.118.63.133:8083/menu.pvt?parentMenuId=2


    novatar ServerStartupInitializer 负责启动

    第一个cas是cas访问地址+service=真正访问的地址+apptiket=xxx

    cas登录成功后就变成真正访问的地址+ticket, set cookie:
    response headers:
    Content-Length:0
    Expires:Thu, 01 Jan 1970 00:00:00 GMT
    Location:http://10.118.63.123:8083/frame.pvt;jsessionid=166cdknnold0m1u1xef87o5vwy
    Server:Jetty(9.2.10.v20150310)
    Set-Cookie:JSESSIONID=166cdknnold0m1u1xef87o5vwy;Path=/


    <!-- 单点登录的注销监听器 -->
    <listener>
    <listener-class>org.jasig.cas.client.session.SingleSignOutHttpSessionListener</listener-class>
    </listener>

    <!-- 单点登录的注销Filter -->
    <filter>
    <filter-name>CAS Single Sign Out Filter</filter-name>
    <filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>CAS Single Sign Out Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>

    <!-- 单点登录认证Filter -->
    <filter>
    <filter-name>CAS Authentication Filter</filter-name>
    <filter-class>com.sf.integration.cas.filter.SSOAuthenticationFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>CAS Authentication Filter</filter-name>
    <url-pattern>*.pub,*.pvt,*.arz</url-pattern>
    </filter-mapping>

    <!-- 单点登录验证票据Filter -->
    <filter>
    <filter-name>CAS Validation Filter</filter-name>
    <filter-class>com.sf.integration.cas.filter.Cas20ProxyReceivingTicketValidationFilterEx</filter-class>
    <init-param>
    <param-name>redirectAfterValidation</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>exceptionOnValidationFailure</param-name>
    <param-value>false</param-value>
    </init-param>
    <init-param>
    <!-- 接受代理模式,允许CMS PORTAL登录后可以跳转到本应用 -->
    <param-name>acceptAnyProxy</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <!-- CAS登录成功回调接口参数值的类必须实现以下接口: com.sf.integration.cas.filter.IValidateTicketCallback -->
    <param-name>validateCallback</param-name>
    <!-- 使用框架 提供的回调NovatarCasCallback -->
    <param-value>com.sf.novatar.impl.frameimpl.cas.NovatarCasCallback</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>CAS Validation Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>

    <!-- 该过滤器负责实现HttpServletRequest请求的包裹,比如允许开发者通过HttpServletRequest的getRemoteUser()方法获得SSO登录用户的登录名,可选配置。-->
    <filter>
    <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
    <filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>

    <!-- 该过滤器使得开发者可以通过org.jasig.cas.client.util.AssertionHolder来获取用户的登录名。比如AssertionHolder.getAssertion().getPrincipal().getName()。-->
    <filter>
    <filter-name>CAS Assertion Thread Local Filter</filter-name>
    <filter-class>org.jasig.cas.client.util.AssertionThreadLocalFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>CAS Assertion Thread Local Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>

    produce_url=http://10.202.30.7:80/mom-mon/monitor/requestService.pub
    produce_clusterName=sfst

    #已分拣数据
    topic_produce_billhasreached=SSS_HQ_STORM_BILLHASRRECHED
    produce_billhasreached_poolSize=5
    produce_billhasreached_topicTokens=SSS_HQ_STORM_BILLHASRRECHED:04boQ88^

    #客户地址分发信息
    topic_produce_schtblcustaddr=SSS_HQ_STORM_SCHADDR
    produce_schtblcustaddr_poolSize=2
    produce_schtblcustaddr_topicTokens=SSS_HQ_STORM_SCHADDR:7^V^lR40

    #50,51巴枪数据
    topic_produce_barrecordhht=SSS_HQ_STORM_BAR_RECORD_HHT
    produce_barrecordhht_poolSize=5
    produce_barrecordhht_topicTokens=SSS_HQ_STORM_BAR_RECORD_HHT:l^0FUKpK

    #700,701涅槃巴枪数据
    topic_produce_sgsbarhht=SSS_HQ_STORM_BAR_HHT_SRC
    produce_sgsbarhht_poolSize=5
    produce_sgsbarhht_topicTokens=SSS_HQ_STORM_BAR_HHT_SRC:Hb!^$0Z*

    #巴枪清单数据生成通缉数据
    consume_topic_rmsdataaddr=SSS_HQ_HQ_HQ00_RMSSRC
    consume_thread_count_rmsdataaddr=5
    consume_url_rmsdataaddr=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_rmsdataaddr=sfst
    consume_systemIdToken_rmsdataaddr=SSSNEW_STORE_KAFKA:0c2*EPjJ


    #已分拣数据兼容mina 临时方案
    consume_topic_billhasreached=SSS_HQ_STORM_BILLHASRRECHED
    consume_thread_count_billhasreached=5
    consume_url_billhasreached=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_billhasreached=sfst
    consume_systemIdToken_billhasreached=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #客户地址数据兼容mina 临时方案
    consume_topic_schtblcustaddr=SSS_HQ_STORM_SCHADDR
    consume_thread_count_schtblcustaddr=5
    consume_url_schtblcustaddr=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_schtblcustaddr=sfst
    consume_systemIdToken_schtblcustaddr=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #每种数据类型,还没切换到kafka,还在沿用mina的分中心配置,如果全部切换到kafka则配‘0’
    billhasreached_switch=CN01,CN02,CN03
    schtblcustaddr_switch=CN01,CN02,CN03
    barrecordhht_switch=CN01,CN02,CN03
    sgsbarhht_switch=CN01,CN02,CN03

    #是否开启int_i_load消费数据 STORM_KAFKA通过新架构消费,KAFKA通过原mina
    hasrchdSwitch=STORM_KAFKA
    schTblCustAddrSwitch=STORM_KAFKA
    barrecordhhtSwitch=STORM_KAFKA
    sgsbarhhtSwitch=STORM_KAFKA

    #进港数据 消费者 总部获取KAFKA数据(总部获取分中心上传的数据)
    consume_topic_uploadIdentRsDistb=SSS_CENTER_HQ_IDENT_RS_DISTB_UP
    consume_url_uploadIdentRsDistb=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadIdentRsDistb=sfst
    consume_thread_count_uploadIdentRsDistb=5
    consume_systemIdToken_uploadIdentRsDistb=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #快速打单数据 消费者 总部获取KAFKA数据(总部获取分中心上传的数据)
    consume_topic_uploadWbepStinfo=SSS_CENTER_HQ_WBEP_STINFO
    consume_url_uploadWbepStinfo=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadWbepStinfo=sfst
    consume_thread_count_uploadWbepStinfo=5
    consume_systemIdToken_uploadWbepStinfo=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #地址识别日志 消费者 总部获取KAFKA数据(总部获取分中心上传的数据)
    consume_topic_uploadTlAddrIdent=SSS_CENTER_HQ_TL_ADDR_IDENT
    consume_url_uploadTlAddrIdent=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadTlAddrIdent=sfst
    consume_thread_count_uploadTlAddrIdent=5
    consume_systemIdToken_uploadTlAddrIdent=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #人工审补/小组补码日志 消费者 总部获取KAFKA数据(总部获取分中心上传的数据)
    consume_topic_uploadPersonAuiLog=SSS_CENTER_HQ_TL_ARTIFIDENT
    consume_url_uploadPersonAuiLog=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadPersonAuiLog=sfst
    consume_thread_count_uploadPersonAuiLog=5
    consume_systemIdToken_uploadPersonAuiLog=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #清单数据
    topic_produce_fvpbill=SSS_HQ_STORM_FVP_WAYBILL
    produce_fvpbill_poolSize=2
    produce_fvpbill_topicTokens=SSS_HQ_STORM_FVP_WAYBILL:3k^8V2Z^

    #清单图片
    topic_produce_expimage=SSS_HQ_STORM_EXP_IMAGE
    produce_expimage_poolSize=2
    produce_expimage_topicTokens=SSS_HQ_STORM_EXP_IMAGE:J@3!wu@1

    #青衣中转场口岸识别数据
    consume_topic_abroadident=SSS_HQ_HQ_HQ00_ABROAD_IDENT
    consume_thread_count_abroadident=2
    consume_url_abroadident=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_abroadident=sfst
    consume_systemIdToken_abroadident=SSSNEW_STORE_KAFKA:0c2*EPjJ
    qyTransitCode=852W

    #地址标准化数据 消费者 总部获取KAFKA数据(总部获取分中心上传的数据)
    consume_topic_uploadAddrInputRsEntity=SSS_CENTER_HQ_ADDRINPUT_RS
    consume_url_uploadAddrInputRsEntity=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadAddrInputRsEntity=sfst
    consume_thread_count_uploadAddrInputRsEntity=5
    consume_systemIdToken_uploadAddrInputRsEntity=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #通缉数据
    topic_produce_rms_dist=SSS_HQ_STORM_RMS_DIST
    produce_rms_dist_poolSize=2
    produce_rms_dist_topicTokens=SSS_HQ_STORM_RMS_DIST:9F5$i$6!

    #----------------------小件包数据----------------------
    #消费入总部库,走原来mina逻辑
    bagHht_switch=CN01,CN02,CN03

    #小件包消费者(走Mina逻辑)
    consume_topic_ttBarRecordBag=SSS_HQ_STORM_BAR_RECORD_BAG
    consume_thread_count_ttBarRecordBag=5
    consume_url_ttBarRecordBag=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_ttBarRecordBag=sfst
    consume_systemIdToken_ttBarRecordBag=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #是否生成DownloadIdentRs数据,0关闭,1开启
    downloadIdentRs_switch=0

    #小件包数据-生产者
    produce_topic_ttBarRecordBag=SSS_HQ_STORM_BAR_RECORD_BAG
    produce_poolSize_ttBarRecordBag=5
    produce_topicTokens_ttBarRecordBag=SSS_HQ_STORM_BAR_RECORD_BAG:iO2E**37

    #小包产品识别-生产者
    produce_topic_ttBagPrdIdent=SSS_HQ_STORM_BAG_PRD_IDENT
    produce_poolSize_ttBagPrdIdent=5
    produce_topicTokens_ttBagPrdIdent=SSS_HQ_STORM_BAG_PRD_IDENT:@7W^AU^d

    #小件包进港件识别结果分发信息-消费者
    consume_topic_downloadIdent=SSS_HQ_HQ_HQ00_IDENT_RS_DOWN
    consume_thread_count_downloadIdent=5
    consume_url_downloadIdent=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_downloadIdent=sfst
    consume_systemIdToken_downloadIdent=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #小包产品识别-消费者
    consume_topic_bagPrdIdent=SSS_HQ_HQ_HQ00_BAG_PRD_IDENT
    consume_thread_count_bagPrdIdent=5
    consume_url_bagPrdIdent=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_bagPrdIdent=sfst
    consume_systemIdToken_bagPrdIdent=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #小包产品识别-消费者, 消费int_i_load上传到int_calc的TtBagPrdIdent, Mina下发
    consume_topic_prdIdentMina=SSS_HQ_STORM_BAG_PRD_IDENT
    consume_thread_count_prdIdentMina=5
    consume_url_prdIdentMina=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_prdIdentMina=sfst
    consume_systemIdToken_prdIdentMina=SSSNEW_STORE_KAFKA:0c2*EPjJ


    #小件包配置
    bagPrdIdent.FVPContainerQuery=http://10.202.33.66:10286/fvp/wsservice/wsRun/containerQueryService
    bagPrdIdent.minimun=3
    bagPrdIdent.productType=T4
    bagPrdIdent.systemCode=SSS

    #----------------------出港片区数据----------------------
    #消费入总部库,走原来mina逻辑
    uploadIdentAreas_switch=CN01,CN02,CN03

    #出港片区数据-消费者
    consume_topic_uploadIdentAreas=SSS_CENTER_HQ_STORM_IDENT_AREARS_UP
    consume_thread_count_uploadIdentAreas=5
    consume_url_uploadIdentAreas=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadIdentAreas=sfst
    consume_systemIdToken_uploadIdentAreas=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #清单数据兼容mina
    fvpwaybill_switch=CN01,CN02,CN03
    consume_topic_fvpwaybill=SSS_HQ_STORM_FVP_WAYBILL
    consume_thread_count_fvpwaybill=5
    consume_url_fvpwaybill=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_fvpwaybill=sfst
    consume_systemIdToken_fvpwaybill=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #清单图片数据兼容mina
    expimage_switch=CN01,CN02,CN03
    consume_topic_expimage=SSS_HQ_STORM_EXP_IMAGE
    consume_thread_count_expimage=5
    consume_url_expimage=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_expimage=sfst
    consume_systemIdToken_expimage=SSSNEW_STORE_KAFKA:0c2*EPjJ

    outIdent.productType=SP4,T6,T5,T17,T1,T24

    #走mina的消费入总部库,走原来mina逻辑
    uploadTtIdentRsFullUp_switch=CN01,CN02,CN03
    consume_topic_uploadTtIdentRsFullUp=SSS_CENTER_HQ_STORM_IDENT_RS_FULL_UP
    consume_thread_count_uploadTtIdentRsFullUp=5
    consume_url_uploadTtIdentRsFullUp=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadTtIdentRsFullUp=sfst
    consume_systemIdToken_uploadTtIdentRsFullUp=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #配置通缉数据捞取数据Sql,针对切换,可配置不同指定分中心
    rmsdist_load_sql=update RmsDist set dealIp = ?, dealFlg = 1, dealTm = sysdate where dealFlg = 0 and deliveCode in ('CN01') and rownum <= ?

    #巴枪数据兼容mina 临时方案
    consume_topic_barrecordhht=SSS_HQ_STORM_BAR_RECORD_HHT
    consume_thread_count_barrecordhht=5
    consume_url_barrecordhht=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_barrecordhht=sfst
    consume_systemIdToken_barrecordhht=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #700,701巴枪数据兼容mina 临时方案
    consume_topic_sgsbarht=SSS_HQ_STORM_BAR_HHT_SRC
    consume_thread_count_sgsbarht=5
    consume_url_sgsbarht=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_sgsbarht=sfst
    consume_systemIdToken_sgsbarht=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #进港数据(非UP) 消费者 总部获取KAFKA数据(总部获取分中心上传的数据)
    consume_topic_uploadIdentRsDistbTransit=SSS_CENTER_HQ_IDENT_RS_DISTB
    consume_url_uploadIdentRsDistbTransit=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadIdentRsDistbTransit=sfst
    consume_thread_count_uploadIdentRsDistbTransit=5
    consume_systemIdToken_uploadIdentRsDistbTransit=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #是否开启int_i_load加载数据 STORM_KAFKA通过新架构消费,KAFKA通过原mina
    expImageSwitch=STORM_KAFKA
    rmsDistSwitch=STORM_KAFKA
    fvpWaybillSwitch=STORM_KAFKA
    #小件包数据
    ttBarRecordBagTaskSwitch=STORM_KAFKA
    #待识别小件包产品
    ttBagPrdIdentTaskSwitch=STORM_KAFKA

    identify.freeze=T15
    #捞取数据是否经过状态2 on:经过,off不经过
    load.data.isPassStatusTwo=off

    #卸车操作数据-生产者
    topic_produce_unload=SSS_HQ_STORM_BAR_RECORD_UNLOAD
    produce_unload_poolSize=5
    produce_unload_topicTokens=SSS_HQ_STORM_BAR_RECORD_UNLOAD:j!9@mYPp

    #卸车操作日志数据-消费者
    consume_topic_tlBarRecordUnload=SSS_HQ_HQ_HQ00_TL_BAR_RECORD_UNLOAD
    consume_thread_count_tlBarRecordUnload=5
    consume_url_tlBarRecordUnload=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_tlBarRecordUnload=sfst
    consume_systemIdToken_tlBarRecordUnload=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #终端登录信息
    consume_topic_uploadLoginInfo=SSS_ZZC_HQ_HN_CN01_LOGIN_INFO,SSS_ZZC_HQ_HD_CN02_LOGIN_INFO,SSS_ZZC_HQ_HB_CN03_LOGIN_INFO,SSS_ZZC_HQ_DN_CN05_LOGIN_INFO
    consume_thread_count_uploadLoginInfo=5
    consume_url_uploadLoginInfo=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_uploadLoginInfo=sfst
    consume_systemIdToken_uploadLoginInfo=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #bsp电子运单上传
    bspWaybillSwitch=STORM_KAFKA
    topic_produce_bspbill=SSS_HQ_STORM_BSP_WAYBILL
    produce_bspbill_poolSize=5
    produce_bspbill_topicTokens=SSS_HQ_STORM_BSP_WAYBILL:$V^Sg0U$

    #消费bsp电子运单,兼容mina
    bspwaybill_switch=CN02,CN03,CN05
    consume_topic_bspwaybill=SSS_HQ_STORM_BSP_WAYBILL
    consume_thread_count_bspwaybill=5
    consume_url_bspwaybill=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_bspwaybill=sfst
    consume_systemIdToken_bspwaybill=SSSNEW_STORE_KAFKA:0c2*EPjJ

    ######新增 20170121
    #需要筛单数据数据-消费者
    consume_topic_needFilterBill=SSS_CENTER_HQ_BILL_NEED_FILTER
    consume_thread_count_needFilterBill=5
    consume_url_needFilterBill=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_needFilterBill=sfst
    consume_systemIdToken_needFilterBill=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #错分数据-生产者
    topic_produce_ttWrongBillDist=SSS_HQ_STORM_BILL_WRONG_DIST
    produce_ttWrongBillDist_poolSize=5
    produce_ttWrongBillDist_topicTokens=SSS_HQ_STORM_BILL_WRONG_DIST:^@xIhj0a
    #错分数据开关 STORM_KAFKA:新架构 KAFKA:mina
    wrongBillDistSwitch=STORM_KAFKA
    #错分数据捞取数据SQL
    wrong_bill_dist_load_data_sql=update WrongBillDist set dealIp = ?, dealFlg = 1, dealTm = sysdate where dealFlg = 0 and deliveCode in('CN01') and rownum &lt;= ?

    #详细英文地址库日志数据
    topic_produce_TlAuditPromptAddrCp=SSS_HQ_STORM_AUDIT_PROMPT_ADDRCP
    produce_TlAuditPromptAddrCp_poolSize=2
    produce_TlAuditPromptAddrCp_topicTokens=SSS_HQ_STORM_AUDIT_PROMPT_ADDRCP:@2!RoNmn
    auditPromptAddrCpSwitch=STORM_KAFKA

    #标准化区域英文地址库日志数据
    topic_produce_TlStandardPromptAddrCp=SSS_HQ_STORM_STANDARD_PROMPT_ADDRCP
    produce_TlStandardPromptAddrCp_poolSize=2
    produce_TlStandardPromptAddrCp_topicTokens=SSS_HQ_STORM_STANDARD_PROMPT_ADDRCP:*8*n$*C8
    standardPromptAddrCpSwitch=STORM_KAFKA

    #详细地址库日志数据
    topic_produce_TlAuditPromptAddress=SSS_HQ_STORM_AUDIT_PROMPT_ADDRESS
    produce_TlAuditPromptAddress_poolSize=2
    produce_TlAuditPromptAddress_topicTokens=SSS_HQ_STORM_AUDIT_PROMPT_ADDRESS:3$Xw^PFc
    auditPromptAddressSwitch=STORM_KAFKA

    #详细地址库日志数据兼容mina
    auditPromptAddress_switch=CN02,CN03,CN05
    consume_topic_auditPromptAddress=SSS_HQ_STORM_AUDIT_PROMPT_ADDRESS
    consume_thread_count_auditPromptAddress=2
    consume_url_auditPromptAddress=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_auditPromptAddress=sfst
    consume_systemIdToken_auditPromptAddress=SSSNEW_STORE_KAFKA:0c2*EPjJ


    #标准化区域地址库日志数据
    topic_produce_TlStandardPromptAddress=SSS_HQ_STORM_STANDARD_PROMPT_ADDRESS
    produce_TlStandardPromptAddress_poolSize=2
    produce_TlStandardPromptAddress_topicTokens=SSS_HQ_STORM_STANDARD_PROMPT_ADDRESS:pSMi9B6!
    standardPromptAddressSwitch=STORM_KAFKA

    #回单数据兼容mina
    fvpwaybillSign_switch=CN01,CN02,CN03
    consume_topic_telhissrc=SSS_HQ_STORM_FVP_TELHISSRC
    consume_thread_count_telhissrc=5
    consume_url_telhissrc=http://10.202.30.7/mom-mon/monitor/requestService.pub
    consume_clusterName_telhissrc=sfst
    consume_systemIdToken_telhissrc=SSSNEW_STORE_KAFKA:0c2*EPjJ

    #历史收派件源信息
    topic_produce_fvpWaybillSign=SSS_HQ_STORM_FVP_TELHISSRC
    produce_fvpWaybillSign_poolSize=5
    produce_fvpWaybillSign_topicTokens=SSS_HQ_STORM_FVP_TELHISSRC:5SuT*8m@
    fvpWaybillSignSwitch=STORM_KAFKA

    biz---conventer--

    计算模块
    #------------------------详细地址志分发
    input_topic_addrinfo_audit_cp=SSS_HQ_STORM_AUDIT_PROMPT_ADDRCP
    input_threadCount_addrinfo_audit_cp=5

    key_output_topicTokens_addrinfo_audit_cp=addrinfo_audit_cp
    output_topicTokens_addrinfo_audit_cp=SSS_HQ_HN_CN01_AUDIT_PROMPT_ADDRCP:2u@g$Vj0,SSS_HQ_HD_CN02_AUDIT_PROMPT_ADDRCP:3LUwe5*W,SSS_HQ_HB_CN03_AUDIT_PROMPT_ADDRCP:s9HP^8^q,SSS_HQ_DN_CN05_AUDIT_PROMPT_ADDRCP:$4S4F@w!
    output_topicTokens_addrinfo_audit_cp_sssks=com.sf.integration.storm.converter.addrinfo.TlAuditPromptAddrCpConverter
    output_topicTokens_addrinfo_audit_cp_sssdto=com.sf.integration.storm.domain.addrinfo.TlAuditPromptlyAddrCp

    #------------------------详细地址志分发
    input_topic_addrinfo_standard_cp=SSS_HQ_STORM_STANDARD_PROMPT_ADDRCP
    input_threadCount_addrinfo_standard_cp=5

    key_output_topicTokens_addrinfo_standard_cp=addrinfo_standard_cp
    output_topicTokens_addrinfo_standard_cp=SSS_HQ_HN_CN01_STANDARD_PROMPT_ADDRCP:*8*n$*C8,SSS_HQ_HD_CN02_STANDARD_PROMPT_ADDRCP:2q^9*1So,SSS_HQ_HB_CN03_STANDARD_PROMPT_ADDRCP:jTI4^5Nl,SSS_HQ_DN_CN05_STANDARD_PROMPT_ADDRCP:y$1*NW9L
    output_topicTokens_addrinfo_standard_cp_sssks=com.sf.integration.storm.converter.addrinfo.TlStandardPromptAddrCpConverter
    output_topicTokens_addrinfo_standard_cp_sssdto=com.sf.integration.storm.domain.addrinfo.TlStandardPromptlyAddrCp

    ----------------------------------------------


    #------------------------详细地址日志分发
    input_topic_addrinfo_audit_cp=SSS_HQ_STORM_AUDIT_PROMPT_ADDRCP
    input_threadCount_addrinfo_audit_cp=5

    key_output_topicTokens_addrinfo_audit_cp=addrinfo_audit_cp
    output_topicTokens_addrinfo_audit_cp=SSS_HQ_HN_CN01_AUDIT_PROMPT_ADDRCP:2u@g$Vj0,SSS_HQ_HD_CN02_AUDIT_PROMPT_ADDRCP:3LUwe5*W,SSS_HQ_HB_CN03_AUDIT_PROMPT_ADDRCP:s9HP^8^q,SSS_HQ_DN_CN05_AUDIT_PROMPT_ADDRCP:$4S4F@w!
    output_topicTokens_addrinfo_audit_cp_sssks=com.sf.integration.storm.converter.addrinfo.TlAuditPromptAddrCpConverter
    output_topicTokens_addrinfo_audit_cp_sssdto=com.sf.integration.storm.domain.addrinfo.TlAuditPromptlyAddrCp

    #------------------------区域地址日志分发
    input_topic_addrinfo_standard_cp=SSS_HQ_STORM_STANDARD_PROMPT_ADDRCP
    input_threadCount_addrinfo_standard_cp=5

    key_output_topicTokens_addrinfo_standard_cp=addrinfo_standard_cp
    output_topicTokens_addrinfo_standard_cp=SSS_HQ_HN_CN01_STANDARD_PROMPT_ADDRCP:D$$!01vf,SSS_HQ_HD_CN02_STANDARD_PROMPT_ADDRCP:2q^9*1So,SSS_HQ_HB_CN03_STANDARD_PROMPT_ADDRCP:jTI4^5Nl,SSS_HQ_DN_CN05_STANDARD_PROMPT_ADDRCP:y$1*NW9L
    output_topicTokens_addrinfo_standard_cp_sssks=com.sf.integration.storm.converter.addrinfo.TlStandardPromptAddrCpConverter
    output_topicTokens_addrinfo_standard_cp_sssdto=com.sf.integration.storm.domain.addrinfo.TlStandardPromptlyAddrCp

    #------------------------详细地址日志分发
    input_topic_addrinfo_audit=SSS_HQ_STORM_AUDIT_PROMPT_ADDRESS
    input_threadCount_addrinfo_audit=5

    key_output_topicTokens_addrinfo_audit=addrinfo_audit
    output_topicTokens_addrinfo_audit=SSS_HQ_HN_CN01_AUDIT_PROMPT_ADDRESS:66i38!!R,SSS_HQ_HD_CN02_AUDIT_PROMPT_ADDRESS:6Il@ip$$,SSS_HQ_HB_CN03_AUDIT_PROMPT_ADDRESS:uIj!@!s1,SSS_HQ_DN_CN05_AUDIT_PROMPT_ADDRESS:z5q0D6@B
    output_topicTokens_addrinfo_audit_sssks=com.sf.integration.storm.converter.addrinfo.TlAuditPromptAddressConverter
    output_topicTokens_addrinfo_audit_sssdto=com.sf.integration.storm.domain.addrinfo.TlAuditPromptlyAddress

    #------------------------区域地址日志分发
    input_topic_addrinfo_standard=SSS_HQ_STORM_STANDARD_PROMPT_ADDRESS
    input_threadCount_addrinfo_standard=5

    key_output_topicTokens_addrinfo_standard=addrinfo_standard
    output_topicTokens_addrinfo_standard=SSS_HQ_HN_CN01_STANDARD_PROMPT_ADDRESS:NicV@9gt,SSS_HQ_HD_CN02_STANDARD_PROMPT_ADDRESS:t5zP!p2!,SSS_HQ_HB_CN03_STANDARD_PROMPT_ADDRESS:83pc*k6T,SSS_HQ_DN_CN05_STANDARD_PROMPT_ADDRESS:wA*W4HXU
    output_topicTokens_addrinfo_standard_sssks=com.sf.integration.storm.converter.addrinfo.TlStandardPromptAddressConverter
    output_topicTokens_addrinfo_standard_sssdto=com.sf.integration.storm.domain.addrinfo.TlStandardPromptlyAddress

    #------------------------历史收派件分发
    input_topic_telhissrc=SSS_HQ_STORM_FVP_TELHISSRC
    input_threadCount_telhissrc=5

    key_output_topicTokens_telhissrc=telhissrc
    output_topicTokens_telhissrc=SSS_HQ_HN_CN01_TELHISSRC:M6P7!^kd,SSS_HQ_HD_CN02_TELHISSRC:V$$Wi!2E,SSS_HQ_HB_CN03_TELHISSRC:S2!^hO6d,SSS_HQ_DN_CN05_TELHISSRC:73b!yLpy
    output_topicTokens_telhissrc_sssks=com.sf.integration.storm.converter.telhissrc.TelhisSrcConverter
    output_topicTokens_telhissrc_sssdto=com.sf.integration.storm.domain.telhissrc.TelhisSrc

    并发性: 在一个计算机网络中,程序并发执行是常见的行为。 大家可以在各自的计算机上工作,在必要时共享诸如WEB页面或者文件之类的资源。系统处理共享资源的能力应该随着网络资源的增加面增加。 在本书的许多地方将描述如何有效实施这种额外能力。如何协调并发执行的共享资源型程序也是一个重要的并经常被提及的话题。
    缺乏全局时钟: 在程序需要协作时,它们通过交换消息来协调它们的动作。 紧密的协调经常依赖于对程序动作发生时间的共识,但是,事实证明网络上计算机同步时钟的准确性会受到限制,即没有一个正确时间的全局概念。这是通过网络发送消息座位唯一的通信方式这一事实带来的直接结果。同步问题及其解决方案:

    jsp 相当于一个servlet , 可以在后台request.setAttribute后,jsp里取出相应attribute值塞入window对象中,JS中使用


    set标签 用于将某个值(该值是在value stack或者是action context中的内容值,已有的)放入指定范围内。例如application、session范围等。

    ROWNUM是一个序列,是oracle数据库从数据文件或缓冲区中读取数据的顺序。它取得第一条记录则rownum值为1,第二条为2,依次类推。

    RPC 的实现方式有哪些: bio和nio: mina , jetty


    http://www.jasongj.com/2015/01/02/Kafka%E6%B7%B1%E5%BA%A6%E8%A7%A3%E6%9E%90/


    https://www.zhihu.com/question/25536695

    http://blog.jobbole.com/92290/

    http://blog.jobbole.com/92290/ zookeeper

    运力名称,运力类型,车辆管理网点,车辆管理地区,经营模式,车辆分类;


    ExpectTruckRequestInfo.truckBelongZno=车辆管理网点
    ExpectTruckRequestInfo.truckBelongArea=车辆管理地区
    ExpectTruckRequestInfo.businessModel=经营模式
    ExpectTruckRequestInfo.truckType=车辆分类


    $('#batchCode').combobox('setValue',batchCodeValue);
    $('#batchCode').combobox('setText',batchCodeValue);

    注释了:
    var column = {};
    column["field"] = 'lineName';
    column["title"] = $.i18n.get('ExpectTruckRequestInfo.lineName');
    column["width"] = 140;
    notComeLoadTruckColumns.push(column);
    var column = {};
    column["field"] = 'lineType';
    column["title"] = $.i18n.get('ExpectTruckRequestInfo.lineType');
    column["width"] = 140;
    column["formatter"] = formatterLineType;
    notComeLoadTruckColumns.push(column);

  • 相关阅读:
    SQL2000中创建作业(定时查询,更新)(转)
    Windows下如何安装MongoDB
    开发高性能的MongoDB应用—浅谈MongoDB性能优化(转)
    大数据时代的数据存储,非关系型数据库MongoDB(一)(转)
    Memcached在Windows下的配置和使用(转)
    mysql中去重 distinct 用法
    k8s install
    3.Docker与LXC、虚拟化技术的区别——虚拟化技术本质上是在模拟硬件,Docker底层是LXC,本质都是cgroups是在直接操作硬件
    2.LXC和namespace介绍
    python类中两个列表实例如何相加或相减
  • 原文地址:https://www.cnblogs.com/heyanan/p/7170856.html
Copyright © 2011-2022 走看看