High-level Express.js components for NoFlo
npm install --save noflo-xpress
- Migrated from CoffeeScript to modern JavaScript
- Updated for NoFlo 1.x
- fixed lifecycle for Server component
- added RESTful Resource router component
- using process api in components & test_components
- components/Router does not store state, components/Server saves server as scoped state for shutdown()
- using noflo 0.8
- only 1 router for everything, removed lib/
- bumped express, uuid, and mocha dependencies
- testing on 4.x and 6.x on Travis
- bumped chai, noflo, and mocha dependencies
req.uuid
andres.uuid
are set by routers before applying filters, so request id is now available in filters as well as in downstream processes.
- Split
Router
into 4 components with different inports:Router
,PathRouter
,FilterRouter
andComboRouter
. No meta ports configuration anymore as it is not supported by Flowhub. FILTER
port of typefunction
is nowFILTERS
of typearray of function
which allows chaining multiple filters.- Remove obsolete
Route
component, use routers instead. - Remove unused
ROUTER
outport from routers.