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

Replace the service by extra hub handlers #19

Merged
merged 6 commits into from
May 14, 2020

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented May 13, 2020

This is more of a cleanup change to simplify the code base.

The idea is to add extra handlers directly to JupyterHub, instead of running the environment service in a separate process.

Instead the handlers run in the same process as the hub. Which means that it simplifies the access to some hub components such as static files and other settings. Also the navbar stays consistent across pages.

Changes

  • replace the service by extra hub handlers
  • use aiodocker to talk to Docker with asyncio (to remove the need to executors)

@jtpio jtpio marked this pull request as ready for review May 14, 2020 08:30
@jtpio jtpio merged commit c1bdedb into plasmabio:master May 14, 2020
@jtpio jtpio deleted the remove-service branch May 14, 2020 08:33
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

Successfully merging this pull request may close these issues.

1 participant