ProfileOperation

ProfileOperation

Mixin that extracts the process instruction by looking them up in a profile which name is encoded in the url.

Methods

extractInput(operation) → {Promise.<Url>}

Resolves a input from a given operation.
Parameters:
Name Type Description
operation FlamingoOperation
Source:
Returns:
resolves `url.parse(decodedUrlParam)`
Type
Promise.<Url>

extractProcess(operation) → {Promise.<{name: string, response: {}, process: Array.<{processor: string, pipe: function()}>}>}

Extract a profile for a given operation.
Parameters:
Name Type Description
operation FlamingoOperation
Source:
Returns:
Type
Promise.<{name: string, response: {}, process: Array.<{processor: string, pipe: function()}>}>