Zgate类图
2021-02-20 16:28:04 0 举报
version
作者其他创作
大纲/内容
<bean id=\"openApiBizTaskExecutor\" class=\"org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor\"> <!-- 核心线程数 --> <property name=\"corePoolSize\" value=\"20\" /> <!-- 最大线程数 --> <property name=\"maxPoolSize\" value=\"200\" /> <!-- 队列最大长度 >=mainExecutor.maxSize --> <property name=\"queueCapacity\" value=\"5\" /> <!-- 线程池维护线程所允许的空闲时间 --> <property name=\"keepAliveSeconds\" value=\"300\" /> <!-- 线程前缀 --> <property name=\"threadNamePrefix\" value=\"openapi-biz-\
PreIdentityFilter
- MerchantInfoDAO : merchantInfoDAO
+ filter(OpenApiContext context)
OpenApiGateway
ZMgsGateway
ZMgsBizHandler
PreAuthorityFilter
- MerchantApiDAO : merchantApiDAO
ZMgsBizHandlerDispatcherRemoteImpl
PreSignatureFilter
OpenApiRouterRemoteImpl
- ServiceSubscriber : serviceSubscriber- OpenApiBizHandlerDispatcher : openApiBizHandlerDispatcher- OpenApiProperties : openApiProperties
PreDecryptFilter
- DynamicKmsService : dynamicKmsService
OpenApiBizHandlerDispatcher
OpenApiFilter
+ doFilters(OpenApiContext context)
ErrorFilter
ZMgsRouterRemoteImpl
- ServiceSubscriber : serviceSubscriber- ZMgsBizHandlerDispathcer : zMgsBizHandlerDispathcer- ZMgsProperties : zMgsProperties
RouteBizHandleFilter
- ThreadPoolTaskExecutor : openApiBizTaskExecutor- OpenApiRouter : openApiRouter- TraceBackIface : traceBackIface
PostSignatureFilter
ZMgsRouter
OpenApiBizHandlerDispatcherRemoteImpl
AbstractZMgsBizHandler
- MerchantSecurityDAO : merchantSecurityDAO- KeyInfoLoader : keyInfoLoader- ProductRecordDAO : productRecordDAO- ZimContextHolder : zimContextHolder
PostEncryptFilter
PreRequestFilter
ZMgsRouteHandleFilter
- ThreadPoolTaskExecutor : openApiBizTaskExecutor- ZMgsProperties : zMgsProperties- ZMgsRouter:zMgsRouter- TraceBackIface : traceBackIface
<bean id=\"openApiFilterRegistry\" class=\"com.zoloz.zgate.service.openapi.filter.FilterRegistry\"> <property name=\"filters\"> <map> <entry key=\"PRE\"> <list> <ref bean=\"preRequestFilter\"/> <ref bean=\"preIdentityFilter\"/> <ref bean=\"preSignatureFilter\"/> <ref bean=\"preReplayFilter\"/> <ref bean=\"preAuthorityFilter\"/> <ref bean=\"preDecryptFilter\"/> <ref bean=\"preLimitFilter\"/> <ref bean=\"preProductQuotaFilter\"/> </list> </entry> <entry key=\"ROUTE\"> <list> <ref bean=\"routeBizHandleFilter\"/> </list> </entry> <entry key=\"POST\"> <list> <ref bean=\"postLimitFilter\"/> <ref bean=\"postEncryptFilter\"/> <ref bean=\"postSignatureFilter\"/> <ref bean=\"postRecordFilter\"/> <ref bean=\"postLogFilter\"/> </list> </entry> <entry key=\"ERROR\"> <list> <ref bean=\"errorFilter\"/> </list> </entry> </map> </property></bean>
ZMgsErrorFilter
https://<zoloz_server_domain>/zmgs/v2/sechttps://<zoloz_server_domain>/zmgs/v2/json
ZGateProperties
- boolean : globalDeploy- boolean : dal- String : route
PostSdkEncryptFilter
PostRecordFilter
OpenApiGatewayImpl
- FilterRegistry : filterRegistry- LoadTestManager:loadTestManager- ZGateProperties:zGateProperties
AbstractOpenApiFilter
- OpenApiProperties : openApiProperties- MerchantProperties : merchantProperties- ZGateProperties : zGateProperties- KeyInfoLoader : keyInfoLoader- AsymmetricCryptoService : asymmetricCryptoService- MerchantSecurityDAO : merchantSecurityDAO
+ doFilter(OpenApiContext context)+ filter(OpenApiContext context)
OpenApiBizHandlerDispatcherLocalImpl
OpenApiRouter
PreLimitFilter
- SetCacheService : setCacheService
OpenApiBizHandler
AbstractGatewayImpl
+ doFilters(OpenApiContext context)+ getFilterRegistry()
ZMgsBizHandlerDispathcer
ZMgsBizHandlerDispatcherLocalImpl
PostLimitFilter
PreSdkIdentityFilter
FilterRegistry
+ getFilters(FilterType filterType)
https://<zoloz_server_domain>/api/v1/zoloz/xxxx/xxxxxx
<bean id=\"zMgsFilterRegistry\" class=\"com.zoloz.zgate.service.openapi.filter.FilterRegistry\"> <property name=\"filters\"> <map> <entry key=\"PRE\"> <list> <ref bean=\"preSdkIdentityFilter\"/> <ref bean=\"preSdkDecryptFilter\"/> </list> </entry> <entry key=\"ROUTE\"> <list> <ref bean=\"ZMgsRouteHandleFilter\"/> </list> </entry> <entry key=\"POST\"> <list> <ref bean=\"postSdkEncryptFilter\"/> </list> </entry> <entry key=\"ERROR\"> <list> <ref bean=\"ZMgsErrorFilter\"/> </list> </entry> </map> </property> </bean>
PreSdkDecryptFilter
PreProductQuotaFilter
AbstractOpenApiBizHandler
- MerchantSecurityDAO : merchantSecurityDAO
PostLogFilter
ZMgsRouterLocalImpl
- ZMgsBizHandlerDispathcer : zMgsBizHandlerDispathcer
OpenApiRouterLocalImpl
- OpenApiBizHandlerDispatcher : openApiBizHandlerDispatcher
PreReplayFilter
LoadTestManager
+ isLoadTestMode()+ markLoadTestMode()+ clearLoadTestMode()
ZMgsGatewayImpl
0 条评论
回复 删除
下一页