Set OpenSRF ingress value for srfsh/gateways
authorBill Erickson <berick@esilibrary.com>
Fri, 13 Jan 2012 14:35:18 +0000 (09:35 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 17 Jan 2012 16:07:12 +0000 (11:07 -0500)
commit817f1cdbe2e0134abaf22c58a60dd9c5e3fd2682
tree8f4af9aa7d3e07b4038c90ed59df0161fbe465c5
parent9c1afc3140053218e8dd9f68b969114b0213f977
Set OpenSRF ingress value for srfsh/gateways

Sets the "srfsh", "gateway-v1", and "translator-v1" ingress values
accordingly.

For the translater, it's necessary to stamp the unpacked messages with
the updated ingress, then re-serialize before sending the messages along.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/gateway/osrf_http_translator.c
src/gateway/osrf_json_gateway.c
src/srfsh/srfsh.c