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.uuidandres.uuidare set by routers before applying filters, so request id is now available in filters as well as in downstream processes.
- Split
Routerinto 4 components with different inports:Router,PathRouter,FilterRouterandComboRouter. No meta ports configuration anymore as it is not supported by Flowhub. FILTERport of typefunctionis nowFILTERSof typearray of functionwhich allows chaining multiple filters.- Remove obsolete
Routecomponent, use routers instead. - Remove unused
ROUTERoutport from routers.