• 大小: 0.12M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-04
  • 语言: 其他
  • 标签: 其他  

资源简介

springCloud微服务实战源码.rar

资源截图

代码片段和文件信息

package com.didispace;

import com.didispace.filter.AccessFilter;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.netflix.zuul.filters.discovery.PatternServiceRouteMapper;
import org.springframework.context.annotation.Bean;

@EnableZuulProxy
@SpringCloudApplication
public class Application {

public static void main(String[] args) {
new SpringApplicationBuilder(Application.class).web(true).run(args);
}

@Bean
public AccessFilter accessFilter() {
return new AccessFilter();
}

@Bean
public PatternServiceRouteMapper serviceRouteMapper() {
return new PatternServiceRouteMapper(
“(?^.+)-(?

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......      1624  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway\pom.xml

    .......       841  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway\src\main\java\com\didispace\Application.java

    .......      1170  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway\src\main\java\com\didispace\filter\AccessFilter.java

    .......       308  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway\src\main\java\com\didispace\HelloController.java

    .......      2162  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway\src\main\resources\application.properties

    .......       972  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-filter\filter\post\PostFilter.groovy

    .......       740  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-filter\filter\pre\PreFilter.groovy

    .......      1767  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-filter\pom.xml

    .......      1291  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-filter\src\main\java\com\didispace\Application.java

    .......       607  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-filter\src\main\java\com\didispace\FilterConfiguration.java

    .......       195  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-filter\src\main\resources\application.properties

    .......      1789  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-route\pom.xml

    .......       810  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-route\src\main\java\com\didispace\Application.java

    .......       201  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-dynamic-route\src\main\resources\bootstrap.properties

    .......      1644  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\pom.xml

    .......       828  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\java\com\didispace\Application.java

    .......       661  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\java\com\didispace\filter\DidiErrorAttributes.java

    .......       746  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\java\com\didispace\filter\DidiFilterProcessor.java

    .......       990  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\java\com\didispace\filter\error\ErrorExtFilter.java

    .......      1270  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\java\com\didispace\filter\error\ErrorFilter.java

    .......       837  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\java\com\didispace\filter\post\ThrowExceptionPostFilter.java

    .......      1242  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\java\com\didispace\filter\pre\ThrowExceptionFilter.java

    .......       223  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\api-gateway-exception\src\main\resources\application.properties

    .......      1624  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\config-client\pom.xml

    .......       330  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\config-client\src\main\java\com\didispace\Application.java

    .......       616  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\config-client\src\main\java\com\didispace\web\TestController.java

    .......       239  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\config-client\src\main\resources\bootstrap.properties

    .......      2022  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\config-client-eureka\pom.xml

    .......       426  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\config-client-eureka\src\main\java\com\didispace\Application.java

    .......       616  2017-01-08 20:07  springCloud微服务实战源码\SpringCloudBook-master\config-client-eureka\src\main\java\com\didispace\web\TestController.java

............此处省略428个文件信息

评论

共有 条评论