Click here to load reader

YB - nhsa.gov.cn

  • View
    2

  • Download
    0

Embed Size (px)

Text of YB - nhsa.gov.cn

YB

XJ-B01-2019
I


IaaS Infrastructure-as-a-Service
PaaS Platform-as-a-Service
API (Application Programming Interface)
SQL (Structured Query Language)
HTTP (HyperText Transfer Protocol)
JWT JSON Web JSON Web Token
IoC Inversion of Control
DI Dependency Injection
HA High Available
Service
OSS Object Storage Service
TSF Tencent Service Framework
CMQ Cloud Message Queue
TDSQL TencentDB for TDSQL
CLS Cloud Log Service
ELK ElasticsearchLogstash Kibana
RPC Remote Procedure Call
4
4.1



HSAF
4.3

e)

3
HSAF 1+N 1 HSAF


a) HSAF
b) HSAF


d) 6.4
e) 6.5
f) 6.6
g) 6.7
h) 6.8
i) 6.9

7.3 7.4
HSAF
4.5

a) RPC DubboThriftgRPCrpcxMotan
b) HTTP Spring Cloud
RPC Service HTTP
Controller

b) HTTP Service Controller

XJ-B01-2019
7
JSON
V UI
UI HTTP JSON



5.2
5.2.1
HSAF DispatcherServlet

(
ServiceBO ViewControllerServiceBO
DTO BO DAO DO
Service BO BO
DAO
b) BO(Business Object): Service
c) DO(Data Object):
DAO
5.3.2

c) DTO
d) Service Service
DTO BO BO DTO

e) BO BO Service DTO
DO DAO DAO DO
DTO Service
f) DAO BO DO SQL
BO
h)


6.1.2
HSAF OAuth 2.0 JWTJSON Web Token Spring
Security
6.1.2.1 OAuth
API
b)
OAuth 2.0
HMAC RSA ECDSA /
6.1.2.3 Spring Security
Spring IoCDI AOP

8

e) JWT
h) API JWT
i)
8
6.1.3.4

b) Client
c) Authorization Server

e)
i) access_token



Session
Session Session
Session HSAF Session
XJ-B01-2019
13
6.2.2
f)
Session
ID
Spring
tx AOP XML
@Transactional

6.5
6.5.1

11
“cn.hsa.hsaf.framework.exception.AppException”
BusinessException(DataAccessException)
UI


code
12
” 1
a) AppException RuntimeException java
ThrowableThrowable Error ExceptionException
XJ-B01-2019
17
CheckedException RuntimeException
RuntimeException Error
CheckedException
catch
HSAF
Thread.UncaughtExceptionHandler
13
14 Controller HSAF AOP
UncaughtExceptionHandler
XJ-B01-2019
18

XXL-JOB

”“”
6.7
MyBatis SQLMyBatis
JDBC MyBatis Map
XML Java POJOs(Plain Old Java Objects Java
)



XJ-B01-2019
19

e)
f)
“”

a) RPC
f)
g)
HSAF
7.1.2

HSAF Redis
XJ-B01-2019
20
Redis Redis
15
cn.hsa.hsaf.core.cache.HsafCacheManager

HSAF


API AWS S3MongoDBOSSTStackFastDFS

17
getObjectdeleteObject
17

d)
DubboSpring Cloud
EDAS
Kubernetes Kubernetes EDAS Serverless

b) Dubbo Spring Cloud HSF
EDAS






Druid Commons Pool

7.2.3
RocketMQ

RDS for MySQL POLARDB for MySQL
7.2.5
OSS
OSS RESTful API
19 OSS
FSStoreAliManagerImpl
XJ-B01-2019
24
Log Service


1) ECSJS Metric
EventBinLogTextLogClick
2)
DevOps/

TSF PaaS
TSF Spring CloudService Mesh
TSF


TSF
TSF






7.4.2 Redis
7.3.3
CMQ
CMQ

TDSQL

S3 API
21 TSTACK-CEPH
FSStoreTencentManagerImpl
XJ-B01-2019
27
CLS

b)


c) Redis
e) Redis Lettuce HsafLettuceCache
22

MySQL JDBC

7.4.5

24
Elasticsearch Kibana
Elasticsearch
8
8.1
XJ-B01-2019
31
3 HSAF

DRDS V3.8 TDSQL
OSS V3.8
TStack V6.3


Web EDAS V3.8 TSF tomcatV1.12.4 Tomcat V9.0

Kong V1.0.1
konga 0.14.3

8.3



A B
10

Search related