Spring Cloud Config为分布式系统中的外部化配置提供服务器和客户端支持。
Spring Cloud / Jgit / Github SSH失败
Windows 10 Pro x64 JDK 11.0.6 spring-cloud-config-server 2.2.2.RELEASE我正在设置Spring Cloud Config服务器。在文件系统后端正常工作。与https / basic auth github ...
具有@Configuration的Spring @RefreshScope不会动态刷新
我正在使用spring boot版本(2.2.5.RELEASE)和spring-cloud-dependencies(Hoxton.SR3)。我有一个如下所示的类:@RefreshScope @Configuration公共类JavaMailConfig {@ ...
尝试使用ssh私钥文件设置spring boot cloud config服务器并获取:ucom.jcraft.jsch.JSchException:USERAUTH失败
[我正在尝试使用ssh私钥文件设置Spring Boot云配置服务器,并获取:ucom.jcraft.jsch.JSchException:USERAUTH失败,我的application.properties文件:spring.cloud.config.server...。
我正在尝试使用docker-compose设置一个Spring Cloud项目。我正在使用Spring Cloud配置,因此我有一个Configuration Server和一些服务。现在,我在docker -...]中有3个服务:
Spring Cloud更新到2.2.2导致没有RefreshEndpoint类型的合格Bean
在我的父pom中,我已经将依赖项更新为: org.springframework.cloud spring-cloud-dependencies&... ]
从云配置服务器提供服务的Spring Boot配置文件似乎支持特定于应用程序的属性文件{application}-{profile} .properties的连字符,但不支持全局...
配置客户端无法解析配置属性,并且无法连接到配置服务器。这是我的服务application.properties文件:spring.application.name = idmanager-service spring.cloud.config ....
使用带有服务令牌的Java应用程序从hashicorp保险库获取秘密
也许有些人可以帮助我了解我错过了什么。我使用这样的示例来设置cloud-config服务,并使用另一个使用Vault来获取一些秘密的spring应用程序。如果我使用...
[我正在尝试将带有Spring Cloud Config Server和RabbitMQ作为Spring Cloud Bus(基于Spring Boot 1.5.22.RELEASE和Spring Cloud Brixton.SR7)的简单示例代码迁移到Spring Boot 2.2.6...。] >
Spring Cloud Config Server-可以使用Git后端引用文件
作为一个组织单位,我们已经为所有带有Git后端的Spring微服务设置了Spring Cloud Config Server(使用bitbucket.org)。我们还启用了/ actuator / refresh端点,以使...
Spring Cloud Config Server-引用文件的可能性
作为一个组织单位,我们已经为所有带有Git后端的Spring微服务设置了Spring Cloud Config Server(使用bitbucket.org)。我们还启用了/ actuator / refresh端点,以使...
[docker中有领事服务器。投票领事服务器:图像:领事:1.7.2环境:CONSUL_BIND_INTERFACE:eth0端口:-“ $ {CONSUL_PORT}:8500”它为...
如果配置服务器关闭,Spring Cloud配置客户端将加载本地属性
我正在尝试访问Spring Cloud配置服务器,但它已关闭。我仍然想使用本地application.properties测试应用程序。有什么办法可以做到吗? pom.xml
[在独立服务器上部署spring boot时的java.lang.ClassCastException问题
我有一个春季启动应用程序,当我在嵌入式tomcat上部署时,它运行正常,但是在独立的payara 5服务器上部署时,出现以下异常:2020-03-26T10:27:37.026 + 0400] ...] >
带有本地数据库的Spring Cloud Config Server后备机制
我能够使用云配置服务器,并且工作正常,但是我想了解更多信息。让我们假设一个场景-云配置服务器正在使用git或某些...
我在TSL / SSL配置中遇到问题。一切都按照文档https://cloud.spring.io/spring-cloud-gateway/multi/multi__tls_ssl.html服务器中的步骤进行配置:端口:8080 ...
[Spring Cloud Config客户端在Spring Security处于活动状态时未获取配置
当我在没有Spring Security的情况下运行Spring Cloud配置服务器时,该服务会毫无问题地获取配置,但是当我激活Spring Security时,它将不会获取配置文件。似乎抛出401 ...
spring-cloud-config:配置文件无法正常工作
我正在学习spring-cloud-config,我想使用其他配置文件,但是我总是从默认配置文件中获取值。我在git储存库中有两个属性文件,并且文件带有...
Externalise-Spring Cloud配置服务器多个git repo配置
我正在尝试为生产环境设置spring-cloud-config-server。我想读取多个git仓库,所以我在src / main / ...]中放置的config-server的application.yml中提供以下配置。
在Spring Cloud Config导致错误之前读取LogPro的SpringProperties读取
我在应用程序中有一个logback-spring.xml文件,并且正在使用springProperties,如下面的示例中所示<< [< 将您的 loback-spring.xml 重命名为 myConfig.xml 将此添加到您的应用程序中。yml logging.config: classpath:myConfig.xml 它适用于“ application.yml”中定义的值,但对于spring-cloud-config来说可能还为时过早。