-
0 votes1 answers165 views
一个服务的所有配置文件的公共属性:spring cloud config
我想在一个服务的所有配置文件中设置公共属性 . 怎么做?现在我有以下结构 application.properies service1 profile1 service1.properties profile... -
2 votes1 answers155 views
无法向发现服务器注册服务(EUREKA)
所以当我运行我的服务实例时 . 它不会将自己注册到发现服务器 . 并且没有错误,因此我无法在此处识别问题 . application.properties 我的服务看起来像这样,发现服务器的 application.propertie... -
0 votes2 answers1485 views
保护spring cloud配置的最佳方法是什么?
我有一个运行Spring总线的spring cloud配置服务器 . 我想让对该服务器的调用安全: 当客户端要求配置时 . 调用/ monitor时 - 由webhook使用 . 这样做的最佳做法是什么?基本?加密?有人能提供一个有效... -
2 votes0 answers893 views
无法使用Consul(SpringCloud Finchley)发现SpringBoot 2.1.1
我试图在SpringCloud的帮助下注册一个示例SpringBoot服务,但没有成功 when using latest versions . 成功的版本: SpringBoot:2.0.0.RELEASE Cloud :Finch... -
1 votes2 answers1654 views
spring boot管理服务器未显示在eureka服务器上注册的u \ eureka客户端
下面是我的eureka服务器应用程序主类 package com.example.restaurant.server.startup; import org.springframework.boot.SpringApplicatio... -
7 votes2 answers1785 views
跨应用程序的Spring Cloud Config Server共享属性
我目前有许多可部署的应用程序,它们以分布式方式工作以解决业务问题 . 我们目前正在使用许多属性配置文件来根据系统环境变量提供每个环境的更改配置 . 所有这些可部署应用程序共享数据库和消息传递的通用配置目前,这是通过从类路径中获取属性文... -
7 votes1 answers494 views
在Spring Cloud Config服务器中包含多个应用程序的通用配置
我正在尝试迁移稳定的应用服务器,以便从Spring Cloud Config服务器获取配置 . 每个应用程序在配置服务器上都有一个 {my-app}.yml 文件,我们可以使用配置文件(在名为 {my-app}-{profile}.y... -
1 votes1 answers1670 views
spring cloud配置版本
我在application.properties文件中有所有常用属性 . 特定于版本的属性位于github中的version1和version2文件夹中 . order-service(base folder) applica... -
1 votes0 answers1783 views
Spring Cloud Config Server - 未返回属性
这个问题与post有关 . 这种方法似乎今天早些时候工作,但现在我看到下面的响应,而不是看到属性定义属性文件 - { "name": "order-service" "profiles": [1] 0: "dev-v1" - "la... -
5 votes1 answers853 views
使用Spring Cloud Config进行属性版本控制
我可能在这里遗漏了一些东西,但是什么是属性版本控制的好方法? 例如,在具有属性值更改的蓝绿色部署方案中(旧应用程序版本使用旧值,新版本需要新值),如何确保应用程序的两个版本可以成功共存(考虑可能的重新启动和回滚)? 一种选择是为需要应...