Goog, I think plugin should be more expansibility
zcq <[email protected]> 于2021年9月7日周二 上午8:08写道: > Hi bros: > > > Recently, I provides three features : custom the sign plugin signer, > request id plugin and detect real error codes instead of all using 500. > > > There are two options for sign plugin, one is custom the SignService, > another is custom the Signer. Custom the signer is just replace > the "org.apache.shenyu.common.utils.SignUtils#generateSign", user can use > another algorithm, such as sha1, sha256 etc. > > > > see : https://github.com/apache/incubator-shenyu/pull/2021 > > > The request id plugin will generate a id for every request. the id will > put to request header and response header, so the downstream can fetch > request id from request header, the frontend can fetch request id from > response header. use the > org.apache.shenyu.plugin.api.request.id.ShenyuRequestIdWrap#getRequestId > API at any time to get the request id anywhere in the application. > > > request id plugin and detect real error codes see: > https://github.com/apache/incubator-shenyu/pull/2027 > > > How about the features? > > > thanks.
