feat(routing): Support session based routing 84/84/1
authorE. Scott Daniels <daniels@research.att.com>
Tue, 23 Apr 2019 18:24:25 +0000 (18:24 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Thu, 25 Apr 2019 15:53:25 +0000 (15:53 +0000)
commita41c6f5f26b3a44009f4aff3df3f83b9a79ace01
tree0f2f8576b8adc2a04cb5b993d65686afe323b584
parent8790bf0c4f4f08fd05853afa67e211112b344a42
feat(routing): Support session based routing

The session id field in a message buffer is now used
directly for routing.

Change-Id: I3634c97588b11172db964b2d06c96c317d8b8ae3
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Routing table entry changes to pick up subid

Change-Id: If08dc21aae4acaab350ba75a8854ad2f24007b03
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Fix unit test for rmr_call

It was not properly setting message type and now that RMr
ensures that invalid message type is set by default on a newly
created message this was causing unit test to fail.

Change-Id: I50f08d1038ea7fca2a070cdd949657bfbc25f3fd
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Add application level tests

Added round robin and multi group application level
test scripts.

Change-Id: Ic6aebaf3bc1edb763decc7fd0aebb09df116f20c
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
NNG based sub-id support added

Change-Id: I0d36b55bb90a315ba94c9476df88e2c7eac6c383
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Correct bug in app test script

Change-Id: I5b4a9f32aa1bc2907f320b8ad4628e0948062904
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Nano sub-id changes and unit test updates

Change-Id: Ia69f2fb33de3bbee2f33f9a4c5def779c872e52c
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change nil-sub_id key to high order key

If there is no sub-id, then the key is based only on the
message type, but to allow for a sub-id == 0 the key
when there is no subscription id must be set to
0xffffffff00000000 + msg type.

New version for deb is 1.0.19

Change-Id: I55f89d368466a0137fdea99410c76ba72e1923ab
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
26 files changed:
CMakeLists.txt
src/common/include/rmr.h
src/common/include/rmr_agnostic.h
src/common/include/rmr_symtab.h
src/common/src/rt_generic_static.c
src/common/src/symtab.c
src/nanomsg/include/rmr_private.h
src/nanomsg/src/rmr.c
src/nanomsg/src/rtable_static.c
src/nanomsg/src/sr_static.c
src/nng/include/rmr_nng_private.h
src/nng/src/rmr_nng.c
src/nng/src/rtable_nng_static.c
src/nng/src/sr_nng_static.c
test/app_test/rebuild.ksh [new file with mode: 0644]
test/app_test/receiver.c
test/app_test/rt.mask
test/app_test/run_app_test.ksh
test/app_test/run_multi_test.ksh [new file with mode: 0644]
test/app_test/run_rr_test.ksh [new file with mode: 0644]
test/app_test/sender.c
test/rmr_nng_api_static_test.c
test/rt_static_test.c
test/sr_nng_static_test.c
test/unit_test.ksh
test/wormhole_static_test.c