You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2021/08/13 03:45:27 UTC
[GitHub] [incubator-shenyu] janusdo opened a new issue #1927: Parparameter transformation cannot get form data after the parameter mapping
janusdo opened a new issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927
Custom add form data, ParamTransformPlugin cannot get.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] Asxing closed issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
Asxing closed issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] midnight2104 commented on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
midnight2104 commented on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-898199250
hi, can you provide more detail info?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] janusdo commented on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
janusdo commented on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-898229431
custom plugin order behind paramTransform
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] SaberSola removed a comment on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
SaberSola removed a comment on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-898232633
Fine, thx for your issue, i will verify it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] SaberSola commented on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
SaberSola commented on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-898232633
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] SaberSola commented on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
SaberSola commented on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-898226450
what's your custom plugin order, need pay attention to the order of custom plugin execution
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] janusdo commented on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
janusdo commented on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-898222454
I customize the rpc plugin implementation and configure the param_mapping plugin.
{"removeParameterKeys":[],"replaceParameterKeys":[],"addParameterKeys":[{"path":"$","key":"keyIndex","value":"#{keyIndex}"}]}
Parparameter transformation cannot get keyIndex value, map is empty.
private Mono<Void> formData(final ServerWebExchange exchange, final ServerRequest serverRequest, final ShenyuPluginChain chain) {
return serverRequest.formData()
.switchIfEmpty(Mono.defer(() -> Mono.just(new LinkedMultiValueMap<>())))
.flatMap(map -> {
exchange.getAttributes().put(Constants.PARAM_TRANSFORM, HttpParamConverter.toMap(() -> map));
return chain.execute(exchange);
});
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] SaberSola commented on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
SaberSola commented on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-899352602
https://github.com/apache/incubator-shenyu/pull/1931
@JamieSlome HI, we will fix it on this pr.Thanks for your issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-shenyu] janusdo commented on issue #1927: Parparameter transformation cannot get form data after the parameter mapping
Posted by GitBox <gi...@apache.org>.
janusdo commented on issue #1927:
URL: https://github.com/apache/incubator-shenyu/issues/1927#issuecomment-898235453
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org