Last active
March 14, 2017 22:06
-
-
Save smetj/befe8d64a2d993bd2939e00e23c126f2 to your computer and use it in GitHub Desktop.
Wishbone functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
functions: | |
json_decode: | |
function: wishbone.function.decode.json | |
uppercase: | |
function: wishbone.function.process.uppercase | |
arguments: | |
source: "@data.value" | |
destination: "@data.value" | |
modules: | |
input: | |
module: wishbone.module.input.httpserver | |
output: | |
module: wishbone.module.output.stdout | |
functions: | |
inbox: | |
- json_decode | |
- uppercase | |
routingtable: | |
- input.outbox -> output.inbox | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Done using the development branch of Wishbone https://github.com/smetj/wishbone/tree/develop
Submitting a JSON to the wishbone server looks like:
Server output: