Skip to content

Conversation

@BenjamenMeyer
Copy link
Member

Refactor from the initial POC to a usable service set that allows one to dynamically manage sessions for use (create, reset, destroy).

  • resetting a session will destroy then create a new session with the same session id
  • StackInABoxServices must be specified by type and will be auto-instantiated when a session is created
  • 100% code coverage
  • adds an admin interface as /admin/ where the following operations can be done:
    • POST - creates a session
    • PUT - resets a session
    • DELETE - deletes a session
  • sessions are available under /stackinabox/<session-id>/

- Refactored to delay instantiation of StackInABoxService objects
  until when the session is created.
- Move the sessions under /stackinabox/<session-id>
- Add an admin interface at /admin/
- Add ability for the admin interface to create new sessions
- Add ability for the admin interface to remove sessions
- Add ability for the admin interface to reset sessions

Note: Session Reset is an expensive operation as it has to rebuild
the entire session, not just tell the session to reset its data.
- Initial tests for the session manager
- update for session manager to use the stackinawsgi.exceptions
@BenjamenMeyer BenjamenMeyer added this to the 0.1 milestone Jun 15, 2016
@BenjamenMeyer BenjamenMeyer self-assigned this Jun 15, 2016
@coveralls
Copy link

coveralls commented Jun 15, 2016

Coverage Status

Coverage decreased (-0.7%) to 99.315% when pulling e16f2bf on BenjamenMeyer:refactor_delay_instance_building into 889961e on TestInABox:master.

@coveralls
Copy link

coveralls commented Jun 16, 2016

Coverage Status

Coverage decreased (-0.3%) to 99.658% when pulling 01ed9bb on BenjamenMeyer:refactor_delay_instance_building into 889961e on TestInABox:master.

@coveralls
Copy link

coveralls commented Jun 16, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling e0bd8e8 on BenjamenMeyer:refactor_delay_instance_building into 889961e on TestInABox:master.

@BenjamenMeyer
Copy link
Member Author

👍

@BenjamenMeyer BenjamenMeyer merged commit 44d7765 into TestInABox:master Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants