Tasks #1002

Extend send tool

Added by J. Moringen almost 12 years ago. Updated almost 9 years ago.

Status:ResolvedStart date:06/18/2012
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Common Lisp Tools
Target version:rsb-0.12

Description

It would be useful to have a tool, maybe called 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?
Other stuff
  • Test

Associated revisions

Revision 2a9b4616
Added by J. Moringen about 11 years ago

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

Revision 42d72f7b
Added by J. Moringen about 11 years ago

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

Revision 3ecbf8bf
Added by J. Moringen about 11 years ago

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

Revision cac30edf
Added by J. Moringen almost 9 years ago

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

Revision 04689364
Added by J. Moringen almost 9 years ago

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

Revision 6b954fe4
Added by J. Moringen almost 9 years ago

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

Revision 85075eb3
Added by J. Moringen almost 9 years ago

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

Revision 864bc140
Added by J. Moringen almost 9 years ago

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

Revision 02954856
Added by J. Moringen almost 9 years ago

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

Revision 7c1d36ef
Added by J. Moringen almost 9 years ago

Backport: Text protocol buffer payloads in CMakeLists.txt

refs #1002

  • CMakeLists.txt: test protocol buffer payload commandline options of
    send and call tools

Revision 223e301c
Added by J. Moringen almost 9 years ago

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

Also available in: Atom PDF