-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forward original payload to delegated destination #451
Comments
So it is basically a NOP Transformation? |
Yes I we want to handle this case as a transformation it would be a NOP. Regarding security, we have the same situation for a regular request forwarding (Forwarder) because anything can be forwarded. The only difference to the delegate is, that a copy of the request is forwarded somewhere else. |
If we don't do anything on the original payload, in what it differs from a routing rule or a hook? |
@lbovet good point. It differs from a regular routing rule because it duplicates the request. With a routing rule only, you can forward (or route) only to a single destination. |
See #606. It probably makes more sense to extend the hook feature to accept wildcards. |
With the delegate feature, one is able to peform two things with delegates:
With the current implementation, it is not possible to reuse the orignal payload and send it to a new destination. This feature can be best explained by the Tee command in Linux.
To achieve this, a new property called copy could be introduced. Finally there can be only one of the three properties be present in a delegate:
The need for this feature came up, when we wanted to delegate non-json payloads.
The text was updated successfully, but these errors were encountered: