spring-cloud-config 相关问题

Spring Cloud Config为分布式系统中的外部化配置提供服务器和客户端支持。

如何让Spring Boot云连接到现有的RabbitMQ Exchange和队列

所以我有一个 Spring Boot 应用程序,我正在使用 Spring Cloud 连接到我的 RabbitMQ 服务器。我阅读了文档,但有些事情对我来说仍然很模糊。现在我的应用程序创建了...

回答 0 投票 0

@RefreshScope 和 /refresh 不工作

我尝试使用Config Server 实现spring 外部配置。它在应用程序启动时第一次运行良好,但对属性文件的任何更改都不是

回答 5 投票 0

在配置服务器中存储 spring.security.* 属性是一个好习惯吗?

在配置服务器中存储 SpringBoot 应用程序使用的 spring.security.* 属性是一个好习惯吗?有两个问题困扰着我: 如果缺乏连接性,可以应用...

回答 0 投票 0

在其底层远程 git 服务器不可靠时处理 Spring Cloud Config Server

我注意到只要底层 git 服务器关闭或性能下降(响应缓慢),配置服务器就会崩溃。 配置服务器部署在基于 CloudFoundry 的平台上

回答 0 投票 0

在 Spring Cloud Config 服务器中包含多个应用程序的通用配置

我正在尝试迁移我们稳定的应用程序服务器以从 Spring Cloud Config 服务器获取它们的配置。每个应用程序在配置服务器上都有一个 {my-app}.yml 文件,我们可以使用配置文件(在

回答 3 投票 0

Embedded Spring Cloud Config - 如何检索普通文件?

我使用以下 Gradle 依赖项配置了一个非常简单的 Spring Boot 应用程序: 实施 'org.springframework.cloud:spring-cloud-starter-bootstrap' 这个想法是嵌入 Spring

回答 1 投票 0

@PropertySource 如何访问受保护的远程属性?

我在我的客户端项目中有这个来获取远程配置: @PropertySource(value = "http://user:xxx@localhost:8888/ConfigRepo/dev/main/db/database.properties", ignoreResourceNotFo...

回答 0 投票 0

如果控制器在同一个项目中,Spring Cloud Gateway 不执行过滤器

@配置 公共类 GatewayConfig { @豆 public RouteLocator routes(RouteLocatorBuilder builder, JwtTokenValidationAndRouteFilter authenticationCheckAndRouteFilter, AuthServerFilter

回答 0 投票 0

无法从 kubernetes secrets 和 configMap 获取 spring cloud config 本地 application.properties 文件中的占位符值

我已将 server.path 值上传到 kubernetes configmap 中,并将 db.name 和 db.password 上传到 kubernetes secret 中。当我通过 env 命令和 li 检查时,这些值在服务容器中可用...

回答 1 投票 0

Spring 云配置安全

我做了一个经典的授权是spring cloud config server这样的: http.csrf().disable() .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.ALWAYS) .and()...

回答 1 投票 0

How to connect spring cloud config server to Bitbucket using SSH keys?

我正在尝试创建一个 spring 云配置服务器以使用 SSH URI 连接到 git 存储库(bitbucket)。我正在关注 Spring Cloud Config。 我使用命令生成了密钥对 ssh-keygen -m...

回答 0 投票 0

Spring Cloud Config Vault 不适用于默认配置文件

我正在按照 Manning 的书 Spring microservices in action 2e 来实现配置服务器,我遇到了一个问题,即配置服务器不从默认值中读取属性

回答 1 投票 0

使用 spring.config.import 时如何访问 OAuth2 安全的 Spring 云配置服务器?

我有一个使用 OAuth2 保护的 Spring Cloud 配置服务器,并使用旧式(Spring 2.4 之前)引导方法绑定到配置服务器。为了让它使用

回答 0 投票 0

PropertiesLoaderUtils.loadProperties如何在运行时使用Spring映射到配置POJO?

我有一个服务,它消耗了许多外部服务。我正在为每个服务创建属性文件,这些都是一些预定义的属性,如twil.props、tweet.props、hubpot.props......。

回答 1 投票 0

NodeJS Cloud外部配置AUTO REFRESH。

我在我的NodeJS应用程序中使用cloud-config-client来获取外部配置,比如Spring Boot应用程序。如果我启动Node应用程序,它可以正常工作。我正在寻找自动刷新...

回答 1 投票 0

Spring启动Eureka服务器项目无法启动

我刚刚创建了Spring Boot项目(使用Gradle Buildship 3.x),并且我在主类上启用了Eurekaserver.I am getting following error Caused by: org.springframework.beans.factory...。

回答 1 投票 0

Spring Cloud配置为文件中的数组抛出NPE空。

我们用的是Spring Cloud Config 2.1版本,可以用。我们更新到Spring Cloud Config 2.2,现在不能用了。更多详情请点击https:/github.comspring-cloudspring-cloud-configissues1599 ...

回答 1 投票 0

${VAULT_SCHEME}在bootstrap.properties中不起作用。

我已经配置了spring boot应用程序以从我的环境中获取属性,但奇怪的是我在启动我的应用程序时面临一个错误。我已经在我的 ~.bash_profile 中添加了属性。

回答 1 投票 0

春天的云传递参数

我已经用spring cloud config配置了应用程序,我想通过jvm agrument来运行这个应用程序:bootsrap.yml config spring.application.name: app spring.cloud.config: ...

回答 1 投票 0

Spring Cloud配置客户端从同一repo检索多个属性文件。

我有一个需求,就是要检索那些带有环境名的属性文件。配置服务器正在监听这个repo(https:/github.comtpande1spring-cloud-config-repotree...)。

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.