-
Notifications
You must be signed in to change notification settings - Fork 62
feat(gateway): Datakit JSON <> XML nodes #3592
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
base: release/gateway-3.13
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| text_block_name: "#text" | ||
| input: request.body | ||
|
|
||
| - name: exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: for consistency we use capital letters in name
| This example contains the following nodes: | ||
| 1. The node `JSON_XML` converts the incoming JSON request body into XML format. | ||
| 2. The node `CALL` sends the XML data to an external API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worth mentioning it is a SOAP service
| 2. The node `CALL` sends the XML data to an external API. | |
| 2. The node `CALL` sends the XML data to an external SOAP API. |
|
|
||
| Transforms XML strings to JSON or a Lua table. | ||
|
|
||
| Supported types: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this section mean?
lmilan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments as @iykon, otherwise it looks good!
Description
Fixes #3312
Documentation for the new JSON > XML and XML > JSON Datakit nodes.
Preview Links
https://deploy-preview-3592--kongdeveloper.netlify.app/gateway/datakit/#node-types
https://deploy-preview-3592--kongdeveloper.netlify.app/plugins/datakit/#xml-to-json-node
https://deploy-preview-3592--kongdeveloper.netlify.app/plugins/datakit/#json-to-xml-node
Examples:
https://deploy-preview-3592--kongdeveloper.netlify.app/plugins/datakit/examples/convert-json-into-xml/
https://deploy-preview-3592--kongdeveloper.netlify.app/plugins/datakit/examples/convert-xml-into-json/
https://deploy-preview-3592--kongdeveloper.netlify.app/plugins/datakit/examples/convert-json-into-xml-and-back/