Open agxs opened 4 years ago
This appears to have been done:
api
is using NBEXCHANGE_URL = os.environ.get("NBEXCHANGE_URL", "http://nbexchange:9000")
exchange
is using self.http_server.listen(self.port, address=self.ip)
How is the solution?
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
Has this really been addressed? I see only the variable
NAAS_BASE_URL
and the default valuehttps://noteable.edina.ac.uk
:
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
The notebook plugin uses an environment variable called
NAAS_BASE_URL
and defaults tohttps://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.