package com.neo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class ApplicationTests {
@Value("${neo.hello}")
private String hello;
@Test
public void contextLoads() {
System.out.println("************************************************************");
System.out.println("hello value : "+hello);
System.out.println("************************************************************");
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
微服务框架 springcloud config 自动刷新远程svn配置代码示例
共67个文件
properties:14个
prefs:12个
java:9个
需积分: 27 12 下载量 110 浏览量
2018-05-10
16:35:35
上传
评论 1
收藏 34KB RAR 举报
温馨提示
根据需求,自动刷新springcloud config 中心的 配置,完整示例代码,可以运行起来
资源推荐
资源详情
资源评论
收起资源包目录
springcloud-动态刷新svn config 配置.rar (67个子文件)
spring-cloud-config-client-refresh
.project 947B
src
test
java
com
neo
ApplicationTests.java 645B
main
resources
application.properties 326B
bootstrap.properties 132B
java
com
neo
ConfigClientApplication.java 408B
web
HelloController.java 625B
target
classes
application.properties 326B
com
neo
web
HelloController.class 787B
ConfigClientApplication.class 783B
bootstrap.properties 132B
META-INF
MANIFEST.MF 393B
maven
com.neo
spring-cloud-config-client-refresh
pom.properties 403B
pom.xml 2KB
test-classes
com
neo
ApplicationTests.class 1KB
.settings
org.eclipse.m2e.core.prefs 90B
org.eclipse.jdt.core.prefs 243B
org.eclipse.core.resources.prefs 155B
pom.xml 2KB
.classpath 1KB
spring-cloud-config-client-refresh-dev
.project 1KB
src
test
java
com
neo
ApplicationTests.java 645B
main
resources
application.properties 367B
bootstrap.properties 132B
java
com
neo
ConfigClientApplication.java 408B
web
HelloController.java 625B
target
classes
application.properties 367B
com
neo
web
HelloController.class 787B
ConfigClientApplication.class 783B
bootstrap.properties 132B
META-INF
MANIFEST.MF 393B
maven
com.neo
spring-cloud-config-client-refresh
pom.properties 296B
pom.xml 2KB
test-classes
com
neo
ApplicationTests.class 1KB
.settings
org.eclipse.wst.common.project.facet.core.xml 145B
org.eclipse.m2e.core.prefs 90B
org.eclipse.jdt.core.prefs 243B
org.eclipse.core.resources.prefs 155B
pom.xml 2KB
.classpath 1KB
spring-cloud-config-server
.project 939B
src
main
resources
application.yml 613B
java
com
neo
ConfigServerApplication.java 495B
target
classes
com
neo
ConfigServerApplication.class 850B
META-INF
MANIFEST.MF 377B
maven
com.neo
spring-cloud-config-server
pom.properties 379B
pom.xml 2KB
application.yml 613B
test-classes
.settings
org.eclipse.m2e.core.prefs 90B
org.eclipse.jdt.core.prefs 243B
org.eclipse.core.resources.prefs 124B
pom.xml 2KB
.classpath 1KB
spring-cloud-eureka
.project 932B
src
test
java
com
neo
SpringCloudEurekaApplicationTests.java 335B
main
resources
application.properties 207B
java
com
neo
SpringCloudEurekaApplication.java 416B
target
classes
application.properties 207B
com
neo
SpringCloudEurekaApplication.class 800B
META-INF
MANIFEST.MF 363B
maven
com.neo
spring-cloud-eureka
pom.properties 353B
pom.xml 2KB
test-classes
com
neo
SpringCloudEurekaApplicationTests.class 643B
.settings
org.eclipse.m2e.core.prefs 90B
org.eclipse.jdt.core.prefs 243B
org.eclipse.core.resources.prefs 155B
pom.xml 2KB
.classpath 1KB
共 67 条
- 1
资源评论
selfImprove_x
- 粉丝: 7
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功