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

noironetworks / opflex / 2416
79%
master: 68%

Build:
Build:
LAST BUILD BRANCH: coveralls
DEFAULT BRANCH: master
Ran 31 Oct 2022 11:03PM UTC
Jobs 1
Files 276
Run time 11s
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
2416

push

travis-ci-com

Madhu Challa
Async Json Parser for Opflex and Ovs

Allow parsing partial json messages. Invokes comms callback on parse complete
and continues with the parse. Currently supports only one reader and writer
per comms object. On error the callback disconnects and reconnects with the
client there by preserving the sanity of the json stream.

Controlled via 2 env variables OPFLEX_USE_ASYNC_JSON for leaf <> opflex comms
and OVS_USE_ASYNC_JSON for ovsdb <> opflex comms. The usage will be
OPFLEX_USE_ASYNC_JSON= OVS_USE_ASYNC_JSON= <opflex command>, the same can
be provided via docker env variables when running under docker. If neither
env variable is present the code reverts to the old sync way of parsing that
would fail if the json comes in partial chunks.

Signed-off-by: Madhu Challa <challa@gmail.com>

25356 of 31914 relevant lines covered (79.45%)

2651.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2416.1 (TEST_SUITE=travis-build.sh) 31 Oct 2022 11:03PM UTC 0
79.45
Travis Job 2416.1
Source Files on build 2416
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2416
  • 3b27939c on github
  • Prev Build on asyncjson (#2415)
  • Next Build on asyncjson (#2417)
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