Tasks #2242

Enhancement #1976: Web interface for introspection

Implement server-side for web-based tools (introspection for starters)

Added by J. Moringen over 6 years ago. Updated over 6 years ago.

Status:ResolvedStart date:04/27/2015
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Common Lisp Tools
Target version:rsb-0.12

Description

For now, we will serve JSON-encoded introspection data (as described in #1994) and a configurable directory of static content.


Related issues

Related to Robotics Service Bus - Tasks #1994: Specify JSON format for information exchange between Java... Resolved 09/14/2014

Associated revisions

Revision 987237cd
Added by J. Moringen over 6 years ago

Added web command in src/commands/web[-introspection].lisp

refs #2242

  • src/commands/mixins.lisp (response-timeout-mixin): new class; mixin
    class for response timeout
  • src/commands/introspect.lisp (introspect): added superclass
    `response-timeout-mixin'
    (introspect::response-timeout): removed; now provided by above mixin
    (command-execute introspect): adapted to changed readers
  • src/commands/web.lisp: new file; `web' command class
  • src/commands/web-introspection.lisp: new file; contains an HTTP
    request handler for serving JSON-serialized introspection information
  • test/commands/web.lisp: new file; tests for `web' command class
  • rsb-tools-commands.asd (test rsb-tools-commands-test): added system
    dependency on rsb-tools-commands-web; added file
    test/commands/web.lisp
  • rsb-tools-commands-web.asd: new file; system definition for
    rsb-tools-commands-web system; initially contains files
    src/commands/web.lisp and src/commands/web-introspection.lisp

Revision 13f95455
Added by J. Moringen over 6 years ago

Added web command/tool in web/*.lisp

refs #2242

  • web/main.lisp: new file; entry point of the web command
  • web/package.lisp: new file; package definition for web tool
  • main/main.lisp (name->entry-point): added "web" ->
    rsb.tools.web:main
  • cl-rsb-tools-main.asd (system cl-rsb-tools-main): added system
    dependency on cl-rsb-tools-web
  • cl-rsb-tools-web.asd: new file; system definition for cl-rsb-tools-web
    system
  • CMakeLists.txt (WITH_WEB_SUPPORT): new option
    (TOOLS): added web

Revision 454e5f82
Added by J. Moringen over 6 years ago

Added description of web command in tool-web.rst

refs #2242

  • tool-web.rst: new file; description of the web command
  • tools.rst: include tool-web.rst and one paragraph about the web
    command
  • news.rst (RSB 0.12): mention new rsb web command

Revision dfdd3696
Added by J. Moringen over 6 years ago

Added description of web command in tool-web.rst

refs #2242

  • tool-web.rst: new file; description of the web command
  • tools.rst: include tool-web.rst and one paragraph about the web
    command
  • news.rst (RSB 0.12): mention new rsb web command

(cherry picked from commit 454e5f82dc8739d691fd50ff67b507ae0e2078de)

History

#1 Updated by J. Moringen over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

#2 Updated by J. Moringen almost 6 years ago

  • Related to Tasks #1994: Specify JSON format for information exchange between Javascript-client and introspection server added

Also available in: Atom PDF