Tasks #1002
Extend send tool
Status: | Resolved | Start date: | 06/18/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Common Lisp Tools | |||
Target version: | rsb-0.12 |
Description
send
, to create and send simple RSB events.
- The tool should support simple payloads (like the
call
tool already does) ✓ - The tool should support XML payloads
- The tool should support protocol buffer payloads
Maybe via JSON input syntax?
- Test
Associated revisions
Commandline options for method, meta-data, timestamps, causes in send/main.lisp
refs #1002
- send/main.lisp (header): updated copyright
(make-synopsis): added options for specifying a
method, meta-data items, timestamps and causes
(parse-key-and-value): new function; parse a specification of the
form KEY=VALUE
(main): parse method, meta-data, timestamp and cause commandline
arguments; pass to `rsb:send' - send/package.lisp (header): updated copyright
(package rsb.tools.send): added used package iterate - CMakeLists.txt: added tests exercising the method, meta-data,
timestamp and cause commandline options of the send binary
Added method, meta-data, timestamp, cause options in send.rst
refs #1002
- send.rst: added descriptions of commandline options for specifying
event method, meta-data items, additional timestamp and event ids of
causing events
Commandline options for method, meta-data, timestamps, causes in send/main.lisp
refs #1002
- send/main.lisp (header): updated copyright
(make-synopsis): added options for specifying a
method, meta-data items, timestamps and causes
(parse-key-and-value): new function; parse a specification of the
form KEY=VALUE
(main): parse method, meta-data, timestamp and cause commandline
arguments; pass to `rsb:send' - send/package.lisp (header): updated copyright
(package rsb.tools.send): added used package iterate - CMakeLists.txt: added tests exercising the method, meta-data,
timestamp and cause commandline options of the send binary
Protocol buffer literal in common/protocol-buffer-payload.lisp
refs #1002
- src/common/event.lisp (header): updated copyright
(parse-payload-spec): added case for protocol buffer payload which
calls `build-protocol-buffer-message' - common/protocol-buffer-payload.lisp: new file; contains parser and
builder for protocol buffer messages described in "debug text format" - common/package.lisp (package rsb.common): use package builder-protocol
with local nickname bp - test/common/protocol-buffer-payload.lisp: new file; test for
protocol buffer protocol buffer message parser and builder - cl-rsb-common.asd (system cl-rsb-common): added system dependencies on
esrap and architecture.builder-protocol; added file
common/protocol-buffer-payload
(system cl-rsb-common-test): added file
test/common/protocol-buffer-payload.lisp
Help texts for protocol buffer payloads in {send,call}/main.lisp
refs #1002
- send/main.lisp (make-examples-string): added protocol buffer payload
description and example - call/main.lisp (make-examples-string): likewise
Protocol buffer payload description, examples in tool-{call,send}.rst
refs #1002
- tool-call.rst (Examples): added protocol buffer literal example
- tool-send.rst (Examples): likewise
- news.rst (RSB 0.12): mention the new support for the protocol buffer
debug text format in call and send tools
Backport: Protocol buffer payload description, examples in tool-{call,send}.rst
refs #1002
- tool-call.rst (Examples): added protocol buffer literal example
- tool-send.rst (Examples): likewise
- news.rst (RSB 0.12): mention the new support for the protocol buffer
debug text format in call and send tools
Backport: Protocol buffer literal in common/protocol-buffer-payload.lisp
refs #1002
- src/common/event.lisp (header): updated copyright
(parse-payload-spec): added case for protocol buffer payload which
calls `build-protocol-buffer-message' - common/protocol-buffer-payload.lisp: new file; contains parser and
builder for protocol buffer messages described in "debug text format" - common/package.lisp (package rsb.common): use package builder-protocol
with local nickname bp - test/common/protocol-buffer-payload.lisp: new file; test for
protocol buffer protocol buffer message parser and builder - cl-rsb-common.asd (system cl-rsb-common): added system dependencies on
esrap and architecture.builder-protocol; added file
common/protocol-buffer-payload
(system cl-rsb-common-test): added file
test/common/protocol-buffer-payload.lisp
Backport: Help texts for protocol buffer payloads in {send,call}/main.lisp
refs #1002
- send/main.lisp (make-examples-string): added protocol buffer payload
description and example - call/main.lisp (make-examples-string): likewise
Backport: Text protocol buffer payloads in CMakeLists.txt
refs #1002
- CMakeLists.txt: test protocol buffer payload commandline options of
send and call tools
Test protocol buffer payloads in CMakeLists.txt
refs #1002
- CMakeLists.txt: test protocol buffer payload commandline options of
send and call tools
History
#1 Updated by J. Moringen about 11 years ago
- % Done changed from 0 to 30
#2 Updated by J. Moringen about 11 years ago
- Target version changed from rsb-0.9 to rsb-0.10
#3 Updated by J. Moringen over 10 years ago
- Target version changed from rsb-0.10 to rsb-0.11
#4 Updated by J. Moringen over 9 years ago
- Status changed from New to In Progress
#5 Updated by J. Moringen over 9 years ago
- Target version changed from rsb-0.11 to rsb-0.12
#6 Updated by J. Moringen almost 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 30 to 100