Add NotificationConsumer/Producer unittest#10
Merged
kcudnik merged 2 commits intosonic-net:masterfrom Apr 26, 2016
Merged
Conversation
56ba31a to
fa4c373
Compare
| multi(); | ||
|
|
||
| enqueueDbChange(key, "{}", op); | ||
| enqueueDbChange(key, "{}", "D" + op); |
Contributor
There was a problem hiding this comment.
what's the use case for this passing arbitrary DEL command?
Contributor
Author
There was a problem hiding this comment.
Added just for flexibility
Contributor
|
ack |
zbud-msft
added a commit
to zbud-msft/sonic-swss-common
that referenced
this pull request
Aug 19, 2022
* Add libzmq5 as dependency for ubuntu-20.04 build * Add libzmq3-dev dependency to build script * Add uuid-dev and libboost-serialization-dev dependencies * Add dependencies for bazel build Co-authored-by: Ubuntu <zain@zb-dev-vm.022x1jpnpm4u1iy2d325acts3c.yx.internal.cloudapp.net>
zbud-msft
added a commit
that referenced
this pull request
Aug 24, 2022
* first cut * first cut lib code with unit test * save it just in case, as VM under risk * partial update, as vm at risk * intermediate saving * First run code complete * self review update * partial compile * In middle of compilation * compiled OK * common ut passes * events_service unit tests complete * test code in progress * evens publish covere by unit test * events 75% covered by UT * subscribe UT done * Drop internal readme * Update upon self review - mostly on comments * More on comments update * minor fix of copy/paste error * Comments update * more comments * minor updates; merged with master via shared * Per review comments * minor updates * minor: name change for a typedef * Added EXIT code * Minor name change; Enabled py build for events * Minor signature update to adapt to SWIG generated python * Made zmq send & receive thread safe * temp commit to enable merge * removed hacks; Added set log level API * Minor signature change * Added unit test for C wrap * Corrected per review comments; Addede log message for published events * minor updates;no logical code changes * corrected per review comments; Added accidentally removed test * Added back accidentally removed test code file * retire runtime id on deinit * restore accidental removal * Switched to shared_ptr per review comments * minor non logical code changes * fix syntax * few follow up changes for bare ptr to shared ptr conversion * send event as JSON string * syntax * syntax * syntax * syntax * syntax * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * changing wrap signature to use struct instead of JSON string * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * compile fix * Add libzmq5 as dependency for ubuntu-20.04 build (#7) Co-authored-by: Ubuntu <zain@zb-dev-vm.022x1jpnpm4u1iy2d325acts3c.yx.internal.cloudapp.net> * Modify azp (#8) * Add libzmq5 as dependency for ubuntu-20.04 build * Add libzmq3-dev dependency to build script Co-authored-by: Ubuntu <zain@zb-dev-vm.022x1jpnpm4u1iy2d325acts3c.yx.internal.cloudapp.net> * Modify azp (#9) * Add libzmq5 as dependency for ubuntu-20.04 build * Add libzmq3-dev dependency to build script * Add uuid-dev and libboost-serialization-dev dependencies Co-authored-by: Ubuntu <zain@zb-dev-vm.022x1jpnpm4u1iy2d325acts3c.yx.internal.cloudapp.net> * Modify azp (#10) * Add libzmq5 as dependency for ubuntu-20.04 build * Add libzmq3-dev dependency to build script * Add uuid-dev and libboost-serialization-dev dependencies * Add dependencies for bazel build Co-authored-by: Ubuntu <zain@zb-dev-vm.022x1jpnpm4u1iy2d325acts3c.yx.internal.cloudapp.net> * compile errors * compile errors * Compile error from Ubuntu * drop unused macro * compile fix * compile fix * remove pedantic * restored ABORT_IF_NOT * revert flag add * comments correction * Log every published event * Install dependencies for vstest (#15) * Install deps vstest (#16) * Install dependencies for vstest * Add comments * Install deps vstest (#17) * Install dependencies for vstest * Add comments * Correct lib spelling * Added LINGER timeout to service sockets * Added heartbeat * compile fix * compile fix * compile fix * set LINGER_TIMEOUT before connect/bind * Add global options * Add global options * Add global options * Add global options * Add global options * Add global options * Add global options * Add global options * Add global options * added define * Moved C API to C header file * minor upates * minor upates * Updated comments * comments update * comments update * Fix build issue * Modify comment * Modify comment * Modify comment * Modify comment * Modify comment * Modify comment * Modify comment Co-authored-by: Renuka Manavalan <[email protected]> Co-authored-by: Renuka Manavalan <[email protected]> Co-authored-by: Ubuntu <zain@zb-dev-vm.022x1jpnpm4u1iy2d325acts3c.yx.internal.cloudapp.net>
prgeor
pushed a commit
to prgeor/sonic-swss-common
that referenced
this pull request
Feb 27, 2025
…e, delete file and read directly from EEPROM (sonic-net#10) * [sonic_eeprom] If reading from what appears to be a corrupt cache file, delete file and read directly from EEPROM * Refactor to eliminate recursion
Pterosaur
pushed a commit
to Pterosaur/sonic-swss-common
that referenced
this pull request
Apr 13, 2025
* Initial import from sonic-mgmt-framework repo
1) Moved yangs, translib, transformer, cvl and go library patch files
from sonic-mgmt-framework repo. Mgmt-framework base is f789b295.
These are used by both mgmt-framework and telemetry services.
2) Implemented gomodule based go dependency management. Uses vendoing
to create a private copy of the libraries under "vendor" directory and
all patches are applied on this copy. This happens automatically
during build; vendor copy is not committed to repo. New script
patches/apply.sh has been introduced to apply the patches. This can be
invoked from mgmt-framework and telemetry makefiles to patch their
respective vendor directories.
3) During build, two deb files are generated. No docker image is
generated for this repo.
- sonic-mgmt-common_1.0.0_{arch}.deb
- sonic-mgmt-common-codegen_1.0.0_{arch}.deb
4) sonic-mgmt-common.deb includes yangs, cvl schema and other
configuration files required by translib and cvl during runtime. Both
mgmt-framework and telemetry dockers will install it.
5) sonic-mgmt-common-codegen.deb includes source files generated by
ygot and yang code generators. When package cache is enabled sonic
build will compile the repo only when there are some changes. So code
generators may not be run always, but mgmt-framework and telemetry
repo compilation requires these generated source files. Such source
files are created by installing sonic-mgmt-common-codegen.deb on the
build slave docker itself. This package is not installed on switch.
* Fix compilation and packaging issue with yangs
* Cherry pick 32fa9d8 and 5bd7a97 from sonic-mgmt-framework
* CVL test schema fixes
CVL gotest cases require both main cvl schema files and additional
test shema files. Modified the makefile to copy the main schema files
to build/cvl/testdata/schema directory, which will be used as the
schema root by gotest.
Pterosaur
pushed a commit
to Pterosaur/sonic-swss-common
that referenced
this pull request
Apr 13, 2025
…zation and new test cases addition (sonic-net#39) Adding Custom Validation Infrastructure Unit Test files reorganization Adding Test YANG Schemas Adding Unit Test for new CVL APIs Adding Unit Test for leafref, when, must expression evaluation
nazariig
pushed a commit
to nazariig/sonic-swss-common
that referenced
this pull request
May 6, 2025
…t#10) ```<br>* 8202753 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss-common into 202412 (2025-02-17) [Sonic Automation] * 8f47a37 - (origin/202411) Handle 'bulkget' in consumer_table_pops.lua (sonic-net#970) (2025-02-07) [mssonicbld]<br>```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.