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

noironetworks / opflex / 2419
79%
master: 68%

Build:
Build:
LAST BUILD BRANCH: coveralls
DEFAULT BRANCH: master
Ran 01 Nov 2022 04:28PM UTC
Jobs 1
Files 276
Run time 6s
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
2419

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>

137 of 137 new or added lines in 4 files covered. (100.0%)

25352 of 31914 relevant lines covered (79.44%)

2626.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2419.1 (TEST_SUITE=travis-build.sh) 01 Nov 2022 04:28PM UTC 0
79.44
Travis Job 2419.1
Source Files on build 2419
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2419
  • e511817a on github
  • Next Build on asyncjson-kmr2 (#2423)
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

© 2026 Coveralls, Inc