This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch epm-v2.5.2-tpcp
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/epm-v2.5.2-tpcp by this push:
     new 7438e1f06 made projectname lowercase in urls
7438e1f06 is described below

commit 7438e1f06d7eb372488e321dc0f3581f6659f381
Author: leonidfrolov <[email protected]>
AuthorDate: Fri May 6 10:47:11 2022 +0300

    made projectname lowercase in urls
---
 .../src/general/scripts/aws/jupyter_configure.py                       | 3 ++-
 .../src/general/scripts/aws/tensor-jupyterlab_configure.py             | 3 ++-
 .../src/general/scripts/aws/tensor_configure.py                        | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py 
b/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
index b6ec52e72..b71790ca5 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/jupyter_configure.py
@@ -303,7 +303,8 @@ if __name__ == "__main__":
         dns_name = 
datalab.meta_lib.get_instance_hostname(notebook_config['tag_name'], 
notebook_config['instance_name'])
         jupyter_ip_url = "http://"; + ip_address + 
":8888/{}/".format(notebook_config['exploratory_name'])
         jupyter_dns_url = "http://"; + dns_name + 
":8888/{}/".format(notebook_config['exploratory_name'])
-        notebook_config['edge_instance_hostname'] = 
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'])
+        notebook_config['edge_instance_hostname'] = \
+            
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'].lower())
         jupyter_notebook_access_url = 
"https://{}/{}/".format(notebook_config['edge_instance_hostname'],
                                                               
notebook_config['exploratory_name'])
         jupyter_ungit_access_url = 
"https://{}/{}-ungit/".format(notebook_config['edge_instance_hostname'],
diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
 
b/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
index 5ceda4112..831489034 100644
--- 
a/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
+++ 
b/infrastructure-provisioning/src/general/scripts/aws/tensor-jupyterlab_configure.py
@@ -279,7 +279,8 @@ if __name__ == "__main__":
         dns_name = 
datalab.meta_lib.get_instance_hostname(notebook_config['tag_name'], 
notebook_config['instance_name'])
         tensorboard_url = "http://"; + ip_address + ":6006/"
         jupyter_ip_url = "http://"; + ip_address + 
":8888/{}/".format(notebook_config['exploratory_name'])
-        notebook_config['edge_instance_hostname'] = 
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'])
+        notebook_config['edge_instance_hostname'] = \
+            
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'].lower())
         jupyter_notebook_access_url = 
"https://{}/{}/".format(notebook_config['edge_instance_hostname'],
                                                               
notebook_config['exploratory_name'])
         tensorboard_access_url = 
"https://{}/{}-tensor/".format(notebook_config['edge_instance_hostname'],
diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py 
b/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
index 7eed6ae44..e834fb800 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/tensor_configure.py
@@ -295,7 +295,8 @@ if __name__ == "__main__":
         dns_name = 
datalab.meta_lib.get_instance_hostname(notebook_config['tag_name'], 
notebook_config['instance_name'])
         tensorboard_url = "http://"; + ip_address + ":6006/"
         jupyter_ip_url = "http://"; + ip_address + 
":8888/{}/".format(notebook_config['exploratory_name'])
-        notebook_config['edge_instance_hostname'] = 
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'])
+        notebook_config['edge_instance_hostname'] = \
+            
'{}.grain.dlabanalytics.com'.format(notebook_config['project_name'].lower())
         jupyter_notebook_access_url = 
"https://{}/{}/".format(notebook_config['edge_instance_hostname'],
                                                               
notebook_config['exploratory_name'])
         tensorboard_access_url = 
"https://{}/{}-tensor/".format(notebook_config['edge_instance_hostname'],


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to