apache / apache/shenyu

[Question] Synchronize AppAuthData

Open
#5,172 3 comments 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Java
Stars
8.8k
Forks
3.1k
Avg merge
7d 1h
Merged PRs (30d)
85

Description

原有网关想迁移为使用shenyu网关,但不希望在shenyua dmin中录入auth data,准备做以下事情,请帮忙解答问题,谢谢

1. 通过数据库同步auth data,再通过admin同步至bootstrap?(同步 app_auth表 即可?)
2. 还是通过SHENYU的本地模式API?(本地模式https://shenyu.apache.org/docs/developer/local-model/)
3. 集群模式下如何怎么用API?也就是将来新增的AuthData,如何方便的通过API接口进行同步?

My original gateway wants to migrate to Shenyu gateway, but does not want to enter auth data in Shenyu admin. We are preparing to do the following. Please help answer the questions. Thank you
1. Synchronize auth data through the database, and then synchronize to bootstrap through admin? (Just synchronize the app_auth table?)
2. Or through SHENYU's local mode API? (Local mode https://shenyu.apache.org/docs/developer/local-model/ )
3. How to use sync APIs in cluster mode? How can AuthData, which will be added in the future, be easily synchronized through API?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ShenYu local mode documentation and the app_auth, admin, and bootstrap references in the issue. Determine whether database synchronization, local mode APIs, or cluster-mode APIs are supported, and document how future AuthData additions should be synchronized.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, authentication, backend
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.