• 大小: 420KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-08
  • 语言: 其他
  • 标签: Spring  Cloud  

资源简介

Spring Cloud项目实例,包括注册,负载配置,分布式配置,网关及调用

资源截图

代码片段和文件信息

package com.framework;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@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();
// }

}

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

     文件       1226  2017-12-30 19:17  SpringCloud\api-gateway\.classpath

     文件        771  2017-12-30 19:17  SpringCloud\api-gateway\.project

     文件        155  2017-12-30 19:15  SpringCloud\api-gateway\.settings\org.eclipse.core.resources.prefs

     文件        243  2017-12-30 19:17  SpringCloud\api-gateway\.settings\org.eclipse.jdt.core.prefs

    .......        90  2016-08-17 10:32  SpringCloud\api-gateway\.settings\org.eclipse.m2e.core.prefs

     文件       1842  2018-01-08 10:35  SpringCloud\api-gateway\pom.xml

     文件        492  2018-01-08 08:37  SpringCloud\api-gateway\src\main\java\com\framework\Application.java

     文件       1180  2018-01-08 08:37  SpringCloud\api-gateway\src\main\java\com\framework\filter\AccessFilter.java

    .......       394  2016-08-19 16:31  SpringCloud\api-gateway\src\main\resources\application.properties

     文件        394  2018-01-08 10:38  SpringCloud\api-gateway\target\classes\application.properties

     文件        875  2018-01-08 10:38  SpringCloud\api-gateway\target\classes\com\framework\Application.class

     文件       1980  2018-01-08 10:38  SpringCloud\api-gateway\target\classes\com\framework\filter\AccessFilter.class

     文件        333  2018-01-08 10:38  SpringCloud\api-gateway\target\classes\meta-INF\MANIFEST.MF

     文件        234  2018-01-08 10:38  SpringCloud\api-gateway\target\classes\meta-INF\maven\com.framework\api-gateway\pom.properties

     文件       1842  2018-01-08 10:38  SpringCloud\api-gateway\target\classes\meta-INF\maven\com.framework\api-gateway\pom.xml

    .......         0  2016-08-17 10:43  SpringCloud\api-gateway\target\maven-status\maven-compiler-plugin\compile\default-compile\createdFiles.lst

    .......       204  2016-08-17 10:44  SpringCloud\api-gateway\target\maven-status\maven-compiler-plugin\compile\default-compile\inputFiles.lst

     文件       1226  2017-12-30 19:17  SpringCloud\config-server\.classpath

     文件        773  2017-12-30 19:17  SpringCloud\config-server\.project

     文件        214  2017-12-30 19:15  SpringCloud\config-server\.settings\org.eclipse.core.resources.prefs

     文件        664  2017-12-30 19:17  SpringCloud\config-server\.settings\org.eclipse.jdt.core.prefs

    .......        90  2016-08-16 17:03  SpringCloud\config-server\.settings\org.eclipse.m2e.core.prefs

     文件       1870  2018-01-08 09:37  SpringCloud\config-server\pom.xml

     文件        417  2018-01-08 08:37  SpringCloud\config-server\src\main\java\com\framework\Application.java

    .......       389  2016-08-19 11:42  SpringCloud\config-server\src\main\resources\application.properties

    .......        14  2016-08-05 13:18  SpringCloud\config-server\src\main\resources\framework-dev.properties

    .......        15  2016-08-05 13:18  SpringCloud\config-server\src\main\resources\framework-prod.properties

    .......        15  2016-08-05 13:18  SpringCloud\config-server\src\main\resources\framework-test.properties

    .......        10  2016-08-05 13:18  SpringCloud\config-server\src\main\resources\framework.properties

     文件        389  2018-01-08 09:35  SpringCloud\config-server\target\classes\application.properties

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

评论

共有 条评论