更新博客

This commit is contained in:
wangkang
2017-08-24 19:47:33 +08:00
parent 4ee8638016
commit 471b7b3f62
12 changed files with 0 additions and 48 deletions
-4
View File
@@ -10,10 +10,6 @@
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## 项目主页(点击跳转)
[http://itkk.org:81/](http://itkk.org:81/)
## 项目博客 (点击跳转)
- [spring boot / cloud (十二) 异常统一处理进阶](https://my.oschina.net/wangkang80/blog/1519189)
-4
View File
@@ -231,10 +231,6 @@ public class XssFilter implements Filter {
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
本文虽基于spring boot实现主题,但是思路是一致的,不限于任何框架.
-4
View File
@@ -185,10 +185,6 @@ spring.datasource.url=jdbc:h2:file:D:/develop/d2_db/testdb
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
以上演示了quartz在spring boot中的配置,在下一章里会聊一下通过RMS来实现分布式调度的调度器的设计.
-4
View File
@@ -147,10 +147,6 @@ protected ResponseEntity<Object> handleExceptionInternal(Exception ex, Object bo
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
---------
想获得最快更新,请关注公众号
-4
View File
@@ -167,10 +167,6 @@ spring.resources.add-mappings=false
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
然后相关思路和原则,大家可自行搜索`契约优先`,由于本身不想在文章中引入太多教条性的东西,主要都是以解决问题的思路为主,所以不深入讨论.
-4
View File
@@ -145,10 +145,6 @@ public class RestResponse<T> implements Serializable {
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
以上配置结束之后,启动项目,访问`http://xxxxx/swagger-ui.html`即可能够访问接口文档,并且直接可以做接口调用测试.
-4
View File
@@ -77,10 +77,6 @@ public class ThreadPoolConfig {
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
异步调用,提供了一种非阻塞形式的方法调用,在无需立即得到返回值的场景下,有助于提高系统的并发能力.
-4
View File
@@ -92,10 +92,6 @@ d:/udf_demo.cer -keystore D:/develop/Java/jdk1.8.0_92/jre/lib/security/cacerts
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
使用了keytool和spring boot的ssl配置,完成了基本的https的样例.
-4
View File
@@ -239,10 +239,6 @@ org.itkk.cors.config.demo.allowedHeaders=
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
演示了单spring boot的应用的,在后续的章节中,会找机会写一下在微服务场景下(spring cloud)的跨域设置
-4
View File
@@ -79,10 +79,6 @@ public class BaseApplication {
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
演示了单spring boot的应用的,在后续的cloud场景中,如:zuul,等组件,都会涉及到重处理,会在后续的章节中讲解
-4
View File
@@ -391,10 +391,6 @@ ResponseEntity<RestResponse<FileInfo>> fileInfo = rms.call("FILE_4", fileParam,
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
这样,规范了远程服务的调用,只关心接口编号和接口的入参和出参,能够增加沟通效率,并且也有了轻量级的服务治理机制,服务间的调用更可控,到最后,配置文件一拉出来一清二楚.
-4
View File
@@ -167,10 +167,6 @@ public class RabbitmqMessage<T> implements Serializable {
- [udf-sample : 集成样例](https://gitee.com/wangkang/udf-sample)
## **项目主页**(防走丢)
[http://itkk.org:81/](http://itkk.org:81/)
##结束
以上演示了rabbitmq在spring boot中的配置,以及发送方和消费方的样例,在后续的章节中,会找机会介绍rabbitmq的搭建以及配置.