Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the ruby API app to manage sessions #1

Open
arthurmde opened this issue Feb 2, 2016 · 0 comments
Open

Create the ruby API app to manage sessions #1

arthurmde opened this issue Feb 2, 2016 · 0 comments

Comments

@arthurmde
Copy link
Member

  • The APP only have to provide a JSON API without GUI.
  • Consider to use Redis
  • The API must provide methods to:
    • Request a new session ID: Returns the session code (preferably a small number that the user can easily copy by hand). OBS: still need to think how to manage session by stateless API
    • Post a new command with the session ID: the APP receives the Session Code and The Command. It must enqueue the command until receive a request for the next command.
    • Request the last command in the queue: the APP receives the Session Code and some identifier of the request object and returns the first command in the queue of that session.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant