Tasks #2242
Enhancement #1976: Web interface for introspection
Implement server-side for web-based tools (introspection for starters)
Status: | Resolved | Start date: | 04/27/2015 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Associated revisions
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
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
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
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 about 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
#2 Updated by J. Moringen over 8 years ago
- Related to Tasks #1994: Specify JSON format for information exchange between Javascript-client and introspection server added