Skip to content
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

Add the ability to transform results once received #91

Closed
jhorbulyk opened this issue Dec 3, 2019 · 1 comment
Closed

Add the ability to transform results once received #91

jhorbulyk opened this issue Dec 3, 2019 · 1 comment

Comments

@jhorbulyk
Copy link
Contributor

Implements the functionality described in https://github.com/elasticio/elasticio/issues/2793 at a component level (assuming that it is not implemented at a platform level).

Continuation of #68 where the transform logic is added.

Currently, the REST API component has an option where the results of the API call can be spilt assuming the body is an array. However, many times the result is not a naked array in the body but a large array wraped in a JSON object with a single property. (e.g. {"results": [...big array...]}) In order to handle this case, we should consider adding an input box for a JSONata expression to transform the body of the step once it is produced. (Should default to the idempotent JSONata expression $) This transformation should be applied prior to splitting (if selected).

@jhorbulyk jhorbulyk changed the title Add the ability to transform results once recieved Add the ability to transform results once received Dec 6, 2019
@andrewreshitko
Copy link

The component is deprecated.
The task is not relevant anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants