Skip to content

Instantly share code, notes, and snippets.

@nicholasf
Created June 14, 2014 00:53
Show Gist options
  • Save nicholasf/e32bcef4b202e7de2546 to your computer and use it in GitHub Desktop.
Save nicholasf/e32bcef4b202e7de2546 to your computer and use it in GitHub Desktop.
http://acme.org/document/1?transformer=untrusted-service
This calls ->
Document Service (our trusted application that produces a json document)
Document Service then calls Transformer Service via coreos service layer, passing in the json document.
Transformer Service looks up 'untrusted service' code, executes it, passing in the json and letting the untrusted transform logic run.
Transformer Service then responds with the transformed json to the Document Service.
Document Service returns the json.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment