Skip to content

[FEATURE] Pass REST params to extensions #111

@dbwiddis

Description

@dbwiddis

Is your feature request related to a problem?

As part of #64, OS #4282 established a basic way of forwarding REST requests to extensions, passing the HTTP method and uri fields.

To expand functionality, the params() of the RestRequest should also be forwarded. This will be necessary for handling additional types of requests.

What solution would you like?

Update the RestExecuteOnExtensionRequest class to include params(). Update associated code in the RestSendToExtensionAction, ExtensionsRunner, ExtensionRestHandler interface, and the sample extension's RestHelloAction.

What alternatives have you considered?

Sending the entire RestRequest rather than extracting parts of it. This doesn't work from a security perspective as sensitive information can be included in headers, and these are not easily removed.

Do you have any additional context?

See first comment at #109.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions