Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何在运行时更改@FeignClient名称
我使用 Spring Cloud Netflix 来构建我的微服务 FeignClient name ms cloud configuration MsCloudClientConfig class public interface Tes
Spring
springCloud
引起原因:java.lang.IllegalArgumentException:模式不能为 null 或为空
我正在使用 Spring Boot v2 5 2 开发 Spring Boot 微服务项目 Erorr org springframework beans factory BeanCreationException Error creati
Spring
SpringSecurity
springCloud
springcloudconfig
springcloudgateway
第一次调用时 ZuulException (SendErrorFilter)
我正在通过 Spring Cloud Spring Boot 和 Docker 构建一个应用程序 整个应用程序运行良好 我有几个微服务 每个项目都在 Docker 上运行 当我尝试通过 Zuul API 网关使用我的微服务时 我在第一次调用
springboot
Docker
dockercompose
springCloud
netflixzuul
Zuul 反向代理与 Keycloak 服务器
我正在使用 Zuul 反向代理实用程序配置 Spring Cloud Angel SR6 应用程序 以隐藏内部服务端口 我的 zuul 边缘 服务发布在 8765 端口 我的组织服务发布在 8083 端口 当我在没有安全性的情况下访问应用程
SpringSecurity
springboot
springCloud
netflixzuul
Keycloak
SpringCloud Bus动态刷新全局广播
文章目录 代码地址 配置项目 配置修改 测试 SpringCloud Bus动态刷新定点通知 代码地址 地址 https github com 13thm study springcloud tree main days11 20Bus 配
springCloud
spring cloud
Spring
后端
SpringCloud Config分布式配置中心
文章目录 代码地址 简介 与GitHub整合配置 项目整合 测试 Config客户端配置与测试 测试 Config客户端之动态刷新 测试
springCloud
spring cloud
分布式
Spring
spring-boot-starter-oauth2-client、spring-cloud-starter-oauth2 和 spring-security-oauth2 之间有什么区别
我正在为 OAUTH2 中的 client credentials 授予类型流开发客户端应用程序 我无法决定在我的项目中为此目的使用以下依赖项 spring boot starter oauth2 客户端 spring cloud star
Spring
springboot
SpringSecurity
oauth20
springCloud
是否可以使用 Spring API Gateway 进行威胁防护?
我将使用 Netflix Zuul 实现 API 网关 是否可以设置任何规则来防止 SQL注入 XML 威胁防护 JSON 威胁防护 我发现只有外部解决方案 API 网关 支持它 None
Spring
springCloud
springcloudnetflix
Feign 客户端中不支持 Spring Data Pageable 作为 RequestParam
我一直在尝试为我的其余 api 公开一个 Feign Client 它采用 Pageable 作为输入并定义了 PageDefaults 控制器 GetMapping value data produces MediaType APPLIC
Spring
springdata
springCloud
springCloudFeign
Feign
无法从 Kubernetes 中的 Spring Boot 客户端从远程 Spring 配置获取值
这是我的客户端的 bootstrap yml spring cloud config enabled true uri http localhost 8888 label master spring application name mic
springboot
Kubernetes
springCloud
springcloudconfig
Spring Cloud Contract 从 Artifactory 检索存根时出现问题
我对两个消费者和一个生产者进行了离线工作正常的测试 但是当我更改它们以从 Artifactory 检索存根时 消费者测试失败 这是离线工作的代码 RunWith SpringRunner class SpringBootTest class
springCloud
springcloudcontract
@RefreshScope 与 @ConditionalOnProperty 不起作用
Problem 探索启用 禁用的选项 RequestMapping按需端点 无需重新启动 JVM 在运行时在端点上实现终止开关 Attempt 我已经尝试过以下方法但是 RefreshScope似乎不适合 ConditionOnProper
Spring Boot 日志中缺少应用程序名称
例如 人们通常会得到这样的内容 my service id 是应用程序名称 2016 02 11 17 12 45 404 INFO my service id 85184 nio 8080 exec 1 com example MySim
Spring
springboot
springCloud
如何使用 Spring Cloud Function 公开多个函数端点?
我有一个基本的Spring云函数具有两个声明函数 小写 和 大写 的应用程序 如果我像平常一样创建应用程序 SpringBootApplication并将两个函数注释为 Beans 功能豆 一切正常 这两个函数都通过单独的 HTTP 端点公
Java
Spring
springCloud
Serverless
springcloudfunction
Spring Cloud 发现多个服务版本
我在问自己一个问题 但没有找到答案 也许这里有人对此有想法 在 Spring Cloud 中使用服务注册表 Eureka 与 RestTemplate 和 Feign 客户端 我有不同的构建版本的同一服务 通过 Actuator 的 inf
Spring
springCloud
netflixeureka
springCloudFeign
Spring Cloud Feign 客户端重复列表值
我有这个接口使用 Spring cloud Feign 映射我的其余客户端 FeignClient url http localhost 8080 public interface RestClient RequestMapping val
Java
Spring
springCloud
netflixfeign
Hoxton.SR6 与 Spring Boot 2.3.0 导致奇怪的内容类型问题
当我将 Spring Boot 2 3 0 RELEASE 应用程序从 Hoxton SR4 更新到 Hoxton SR6 唯一的更改 时 我开始面临来自各个端点的内容类型的奇怪问题 例如 对于 Hoxton SR4 任何未经授权的端点都会
springCloud
无法在 spring-boot 应用程序中从 Consul 读取配置
我正在创建一个Spring Boot应用程序 它将读取诸如数据库属性之类的配置Consul 但我无法使用我的应用程序从 Consul 读取键值 以下是我正在尝试做的事情 pom xml
springboot
microservices
springCloud
Consul
springcloudconsul
Zuul 背后的 Spring Oauth2 身份验证 AWS
我有一个问题 问题 我在 aws 上运行着一个 典型的 spring cloud netflix 环境 现在我的问题是 给出 工作验证 请求 https DOMAIN net gt AWS 负载均衡器 添加标头 X Forwarded Fo
Spring
SpringSecurity
springboot
springCloud
SpringSecurityOAuth2
如何使用 Feign 客户端设置请求头?
我们正在使用 Spring Cloud 框架开发一套微服务 我们需要做的事情之一就是设置请求标头 我知道我可以传递一个参数 RequestHeader到 Feign 方法 但值需要来自另一个 bean 我不知道 SPEL 是否可以用于 Fe
SpringMVC
springCloud
microservices
netflixfeign
springcloudnetflix
«
1
2
3
4
5
6
7
...24
»