spring-cloud-config相关内容
我正在尝试使用Spring Cloud Configer服务器对配置值进行加密/解密。 为此,在配置服务器项目下做了以下更改: 在bootstrap.properties中 encrypt.key=abcdefghabcdefghabcdefghabcdefghabcdefghabcdefgh 我还在我的Ubuntu 18.04机器上使用以下命令更新了JCE: sudo
..
我的目标是从config-service获取world-service的配置。 架构: config-service依赖spring-cloud-config-server位于localhost:8888 world-service依赖spring-web和spring-cloud-starter-config。 我所做的: 我已经设置了配置服务器并向http://loc
..
我在Linux(ARCH)上,尝试使用ssh密钥通过私有的Bitbucket git存储库tutorial配置Spring Cloud Config,但一直收到错误: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing fai
..
我正在尝试使用 DockerCompose 部署具有远程存储库的 ConfigServrService 和客户端. docker-compose.yml 是这样的: 版本:'2'服务:兔米克:图片:rabbitmq端口:- “5672:5672"配置服务器:图片:配置服务器环境:- "SPRING_PROFILES_ACTIVE=desa"端口:- “8888:8888"链接:- 兔米克依
..
在 https://github.com/shauank/spring-cloud/tree/master/spring-cloud-prop,如何从 email-conf.properties 读取属性值. 假设:spring.application.name=reservation 和 profile=default.按照惯例,spring cloud 将加载 reservation.p
..
我们想利用 Spring Cloud Config Server 构建一个 Centralized Toggle Server,但我读过一篇博客/文章暗示 Spring Cloud Config 不适合 Kubernetes Cloud 环境(没有给出任何原因).相反,建议为此使用 Spring Kubernetes ConfigMaps. 有人可以解释为什么不建议将 Spring Clou
..
是否可以使用多个复合存储库配置 Spring Cloud Config?我们的设置使用多个基于团队的存储库: 弹簧:云:配置:服务器:吉特:回购:团队A:cloneOnStart: 真图案:teama-*searchPaths: '{profile}'uri: file:///etc/config/teamaB队:cloneOnStart: 真模式:teamb-*searchPaths: '{p
..
我正在开发 Spring Cloud 数据流流应用程序.我能够使用在 Cloud Foundry 中运行的船长在本地运行 Spring Cloud 数据流服务器,配置如下.现在我正在尝试与在 kubernetes 集群中运行的船长运行相同的程序.我如何指定相同的? manifest.yml ---应用:- 名称:poc-scdf-server内存:1G实例:1路径:../target
..
我使用 spring-cloud-config-server 和 SVN 作为存储库.当我启动 cloud-config-server 和 client[microservice] 时,配置值被正确获取. 更改配置值和 SVN 提交后,我触发刷新 POST 调用,URL:http://localhost:8080/actuator/refresh [8080 是客户端端口].SVN 中的更新
..
请帮我解决以下问题.我想在 git repo 中为每个微服务都有一个文件夹.请参考我在 git repo 中的示例结构.https://github.com/tech-vishesh/config-server_properties 如果我们在不同的文件夹下有相同的属性喜欢ms-one|--- application.properties|--- 应用程序-prod.properties|---
..
我正在尝试从 Spring Cloud Edgware.SR2 更新到 Edgware.SR3.当我构建 Spring Cloud Config Server 时,ApplicationTests 中的默认 contextLoads 测试失败并显示以下错误: Caused by: org.springframework.beans.factory.UnsatisfiedDependencyExc
..
我在 application.properties 文件中拥有所有通用属性.版本特定的属性位于 github 的 version1 和 version2 文件夹中. order-service(基础文件夹)应用程序属性版本1app-dev.properties版本2app-dev.properties 如何在 application.yml 文件中设置配置以确保云配置服务器在命中 versio
..
到目前为止我已经实现了: 带有“本机"存储库的 Spring Cloud 配置服务器. spring.profiles.active:原生 spring.cloud.config.server.native.searchLocations: file:/path/to/config-repo Config Server 正在通过 RabbitMQ 向 Config Clie
..
我的目标是将自定义 PropertySource 添加到 spring-cloud-server.我想要实现的是从 spring-cloud-config-client 应用程序中的自定义源获取一些自定义属性. 基于 在 spring-config-server 中添加环境存储库的建议 我已经创建了 spring-cloud-config-server 应用程序和单独的项目 spring-c
..
我一直在修改 Spring Cloud Config,但有一个用例,其中配置属性分为两种类型: 非秘密值,开发人员应该能够查看和维护(例如 JDBC URL 等) 秘密值,只能由具有特殊访问权限(例如密码)的指定人员查看和维护 所以我对“Composite 的支持很感兴趣环境存储库",目前在快照版本中可用.似乎我可以将 Git 用于开发人员管理的属性,将 Vault 用于机密属性
..
我试图将 bootstrap.properties 从我的 jar 外部放入,这样它就不会被其他开发人员错误地覆盖.你能在这里给点建议吗? 这是它的内容 - 指向 spring 服务器配置 # 应用名称spring.application.name=elixium# 服务器入口点spring.cloud.config.uri=http://localhost:8888 解决方案 Spr
..
Spring 云配置服务器支持读取名为 ${spring.application.name}.properties 的属性文件.但是,我的应用程序中有 2 个属性文件. a.propertiesb.属性 我可以让配置服务器读取这两个属性文件吗? 解决方案 重命名 git 或配置服务器正在查看的文件系统中的属性文件. a.properties ->.propertiesa. 属性 ->
..
所以我最近学习了 Spring Cloud 的这个很棒的配置服务,经过一番努力,我能够设置我们的分布式应用程序,多个节点从一个配置服务器读取配置属性. 然而,我不知道如何解决的一个问题是,即使大多数 props 在多个节点上都是相同的,但有些 props 需要本地版本,我不知道如何将本地 prop 与配置服务一起设置. 例如这是我的bootstrap.properties, spri
..
我正在使用 Spring Boot v2.5.2 开发 Spring Boot 微服务项目. 错误 org.springframework.beans.factory.BeanCreationException:在类路径资源[org/springframework/security/config/annotation/web/configuration/WebSecurityConfigu
..
是否可以在不使用任何 Git 存储库的情况下使用 Spring Cloud Config?我正在尝试使用 application.properties 中的本地目录对其进行测试: spring.cloud.config.server.git.uri=file://${user.dir}/src/main/resources/config-repo 但我收到以下错误: java.l
..