russellchang54 / PM

daily note
1 stars 0 forks source link

2017年6月 #10

Open russellchang54 opened 7 years ago

russellchang54 commented 7 years ago

https://www.ibm.com/developerworks/cn/webservices/ws-middleware/

https://www.ibm.com/developerworks/cn/cloud/library/cl-multitenantsaas/

https://www.ibm.com/developerworks/cn/java/j-saas/#example

http://www.baeldung.com/spring-security-oauth2-refresh-token-angular-js

https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/oauth2-vanilla

https://github.com/spring-projects/spring-security-oauth/blob/master/docs/oauth2.md

http://projects.spring.io/spring-security-oauth/docs/oauth2.html

russellchang54 commented 7 years ago

Spring Security OAuth2 开发指南 http://www.cnblogs.com/xingxueliao/p/5911292.html

http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-security.html

Spring Cloud http://cloud.spring.io/spring-cloud-static/docs/1.0.x/spring-cloud.html#_spring_cloud_config_client

Spring Cloud构建微服务架构(七)消息总线 http://blog.csdn.net/sosfnima/article/details/53178326

russellchang54 commented 7 years ago

Spring Security Reference http://docs.spring.io/spring-security/site/docs/4.2.2.RELEASE/reference/htmlsingle/#ldap-authentication 基于Spring Security 的JSaaS应用的权限管理 http://m.blog.csdn.net/article/details?id=69943542 JSAAS 企业流程应用快速开发 https://my.oschina.net/man1900/blog/735732

russellchang54 commented 7 years ago

PAAS云平台主要分为:微服务架构(Spring cloud netflix),Docker容器技术,DevOps三部分。

1》oauth2 服务,公钥验签,clientId ,client secret

2》服务网关的改造,网关的基本能力:动态路由,限流和容错(为每种类型的请求分配容量,当请求容量超过阈值时,抛掉外部请求,限制流量,保护后台服务不被大流量冲垮)、身份认证和安全控制、监控、访问日志。通过重写过滤器实现各种功能

3》服务容错。Hystrix,熔断、隔离、回退、限流等机制对服务进行弹性容错。

4》动态配置中心:当本地git仓库修改代码后push到git服务器仓库,git服务端hooks(post-receive,在服务端完成代码更新后会自动调用)自动检测是否有配置文件更新,如果有,git服务端通过消息队列给配置中心发消息,通知配置中心刷新对应的配置文件

参见: http://www.toutiao.com/a6434410737817256194/

russellchang54 commented 7 years ago

https://github.com/spring-cloud-samples

russellchang54 commented 7 years ago

http: multipart: enabled: true # Enable support of multi-part uploads. file-size-threshold: 4KB # Threshold after which files will be written to disk. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size. location: /tmp # Intermediate location of uploaded files. max-file-size: 5Mb # Max file size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size. max-request-size: 50Mb # Max request size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.