• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Workable / riviere / 76
95%
master: 96%

Build:
Build:
LAST BUILD BRANCH: outbound_max_length
DEFAULT BRANCH: master
Ran 10 Oct 2017 09:20AM UTC
Jobs 1
Files 11
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
76

push

travis-ci

pmatzavin
config: simplify the default behavior

Provide a better out of the box default config.
Add examples of usage.

- Use the href in the outgoing request("=>")
  and the incoming response("<=") log message.
- Pass the requestId as an argument to the "mapOutReq" method.
- Pass the requestId as an argument to the "mapInRes" method.
- Fix empty header (", ") string in logged inbound req message,
  when no headers are being logged (mapInReq.js).
- Set the default "outbound" config option to true.
  The outgoing rquests and their responses will be logged by default.
- Disable the health endpoint by default,
  the user will have to exlicitly config health endpoint(s)
  in the config argument.
- Pass the "traceHeaderName" in the "Loggable" "this" context
  (loggable.js).
- Add the optional "date" argument in the "getFormat" method
- Add the "console" appender .
- Set the default "logger" to use the "console" appender.
- Change the outgoinf req log message color tfrom "blue" to "cyan".
- Display the method befor the protocol
  in the logged incoming requests.
- Use an internal context method to save the requestId in the context
  .The user defined context result object will be merged with
  the internal context result, in the "onInboundRequest" method.
- Set the default config object of the "riviere.middleware"
  method to en empty object
  (an exception was thrown if the config obj was null)
- add example of usage under the "examples/" folder.
- process traceHeaderName with .toLowerCase() in the
  "onInboundRequest" handler.
- Update tests.

75 of 83 branches covered (90.36%)

Branch coverage included in aggregate %.

167 of 172 relevant lines covered (97.09%)

3.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 76.1 10 Oct 2017 09:20AM UTC 0
94.9
Travis Job 76.1
Source Files on build 76
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #76
  • 651d26e4 on github
  • Next Build on default_config_fixes (#77)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc