edina / nbexchange

External exchange for nbgrader
Other
6 stars 2 forks source link

Rename environment variable the notebook plugin uses to talk to nbexchange #26

Open agxs opened 4 years ago

agxs commented 4 years ago

The notebook plugin uses an environment variable called NAAS_BASE_URL and defaults to https://noteable.edina.ac.uk. This isn't appropriate for a shared plugin as its a bit too Noteable specific, and it's not accurate really.

This variable should be renamed to NBEXCHANGE_BASE_URL and default to http://nbexchange:9000. This is a more accurate name for what the variable is used for.

We need to sync up the noteable-api when this env variable name changes as it's currently passed to notebooks.

perllaghu commented 3 years ago

This appears to have been done:

cablesky commented 10 months ago

How is the solution?

ykazakov commented 1 month ago

Has this really been addressed? I see only the variable NAAS_BASE_URL and the default value https://noteable.edina.ac.uk: https://github.com/edina/nbexchange/blob/985796a553a56f4ee39f74f46ab8577a9c263728/nbexchange/plugin/exchange.py#L31

perllaghu commented 1 month ago

Has this really been addressed? I see only the variable NAAS_BASE_URL and the default value https://noteable.edina.ac.uk:

https://github.com/edina/nbexchange/blob/985796a553a56f4ee39f74f46ab8577a9c263728/nbexchange/plugin/exchange.py#L31

I'm looking at the exchange shortly, and will try and find out what's actually in use.... and make sure the docs match reality