腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
3
回答
springcloud网关属性文件声明变量
、
、
、
、
我在springboot应用程序中有application.yaml,如下所示
cloud
: routes: uri: http://localhost:2006/ - Path=/consumer/** 上面声明的变量是与
spring
浏览 5
提问于2020-11-04
得票数 2
1
回答
为什么
spring
网关与url不完全匹配?
、
我在application.properties中配置
spring
云网关(v3.0.3) url,如下所示:
spring
.
cloud
.
gateway
.routes[5].id = dict-auth
spring
.
cloud
.
gateway
.
浏览 21
提问于2022-02-26
得票数 0
1
回答
登录到网关背后的Keycloak
、
、
、
.client.registration.custom.client-name=my-
spring
-
cloud
-api-
gateway
spring
.security.oauth2.client.registration.custom.client-secret = 3c832
浏览 4
提问于2020-06-30
得票数 2
2
回答
Spring
云网关和领事服务器
、
、
、
、
我有
Spring
网关和领事服务器。在中,我使用"
cloud
:
gateway
:discovery:locator:enabled:true".我可以请求在领事(ServiceName).注册的服务例如,URL "/ServiceName/
浏览 2
提问于2019-01-31
得票数 0
回答已采纳
1
回答
如何获得春云网关允许的CORS的值?
、
、
、
给出YAML片段
cloud
: globalcors: '[/**]':如何使用@Value("${
spring
.
cloud
.
gateway
.globalcors.cors-configurations
浏览 6
提问于2022-10-13
得票数 0
1
回答
Spring
Gateway
-添加默认请求和响应头
、
、
、
但是,需要一个示例来通过bean添加默认过滤器(如下所示),因为service-response-value和service-request-value将是一个动态值:
spring
default-filters: - AddRequestHeader= service-request, service-request-value
浏览 242
提问于2021-01-22
得票数 0
回答已采纳
3
回答
Zuul1的替代品是
Spring
Cloud
Gateway
还是Zuul2?
、
、
、
、
由于
Spring
Cloud
团队已经放弃了Zuul模块的开发,我们正在迁移到
Spring
Cloud
Gateway
或Zuul2,但我相信Zuul2需要在架构上做很多改变,需要在微服务方面进行重大改变(如果我错了,请纠正我),有谁能推荐一下zuul2或
Spring
-
Cloud
-
Gateway
,有没有人或你知道有什么技术巨头在使用
Spring
-
Cloud
-
Gateway
?
浏览 58
提问于2019-06-10
得票数 8
1
回答
如何从环境中设置允许的CORS的值?
、
、
、
spring
:
gateway
: cors-configurations: '[/**]':
浏览 6
提问于2022-10-13
得票数 0
1
回答
在
Spring
中转发请求之前,我们如何进行一些处理?
、
、
我最近开始使用
Spring
。我的用例如下:X (作为反向代理的
spring
云应用程序)A、B、C(分别部署了
spring
引导应用程序)
spring
:
gateway
: - id: A<dependency&
浏览 2
提问于2021-08-12
得票数 0
回答已采纳
1
回答
SpringBootv2.5.2-刷新端点不起作用
、
、
、
、
[0].id=users-status-check
spring
.
cloud
.
gateway
.routes=GET
spring
.
c
浏览 2
提问于2021-07-23
得票数 0
回答已采纳
1
回答
Spring
Cloud
Gateway
使用Keycloak成功登录,但下一步怎么办?
、
[0].id=person
spring
.
cloud
.
gateway
.routes[0*
spring
.
cloud
.
gate
浏览 4
提问于2020-06-02
得票数 2
2
回答
春云网关Cors问题
、
、
我已经设置了以下配置,以允许从所有内容中获取所有内容:
cloud
: globalcors: corsConfigurations@3d88e6b9}, order = -1], [GatewayFilterAdapter{delegate=org.springframework.
cloud
.
gateway
.filter.ForwardPathFilter@9687f55}, order = 0], [GatewayFilterAd
浏览 8
提问于2020-03-10
得票数 8
1
回答
基于SAML的
Spring
云网关
、
、
、
我想使用带有SAML的
Spring
Cloud
Gateway
。这个是可能的吗?
spring
安全的Saml扩展似乎是基于旧的
Spring
Stack,不能与
Gateway
一起工作。
浏览 37
提问于2020-04-17
得票数 2
1
回答
spring
云网关异常索引错误权限非法字符
、
、
、
、
我正在尝试为api设置
spring
cloud
网关,但看到路由uri出现非法参数异常。任何帮助都是非常感谢的。eureka.client.serviceUrl.defaultZone = http://localhost:8761/eureka
spring<
浏览 42
提问于2019-06-06
得票数 2
1
回答
将
Spring
云网关路由迁移到Kubernetes入侵路由
、
、
当前的春季网关路由 application:
cloud
: routes:
浏览 5
提问于2019-11-29
得票数 0
1
回答
如何从操作系统环境变量中获取
spring
config数组值?
、
、
我已经开发了
spring
cloud
gateway
,我想通过os环境变量来管理
spring
cloud
gateway
配置值,但是
spring
cloud
gateway
配置值包含数组值,我不确定如何像数组示例那样导出os环境变量
spring
:
gateway
: corsConfigurations:
浏览 46
提问于2021-11-18
得票数 0
回答已采纳
2
回答
哪个Maven BOM决定了Gradle 5中依赖项的版本?
、
、
、
dependencies { implementation platform ("org.springframework.
cloud
:
spring
-
cloud
-dependencies:${springCloudVersion
浏览 4
提问于2019-03-01
得票数 5
1
回答
如何为
Spring
Cloud
Gateway
中的发现定位器编写复杂的谓词?
、
、
例如,在我的案例中,从
gateway
_host/prohibitions路由到名为prohibitions-ui的服务。为此,我使用以下配置:
cloud
: discovery: enabled: true='/'+serviceId.substring(0,serviceId.indexOf('-UI'))+'/**' 然
浏览 1
提问于2018-10-11
得票数 2
1
回答
Keycloak +
spring
云网关+认证授权
、
、
、
=api-
gateway
spring
.
cloud
.
浏览 2
提问于2021-09-28
得票数 1
1
回答
如何在
Spring
Cloud
Gateway
(Webflux) POST过滤器中读取响应正文
、
、
、
、
Spring
Cloud
Gateway
记录了一个像这样的后期过滤阶段:https://
cloud
.
spring
.io/
spring
-
cloud
-static/Greenwich.RELEASE/single/
spring
-
cloud
.html#_writing_custom_gatewayfilter_factories 我已经实现了一个在过滤前阶段没有任何内容的过滤器,但
浏览 74
提问于2019-12-11
得票数 3
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券