[arvados] created: 2.7.0-5669-ga22d01b713

git repository hosting git at public.arvados.org
Wed Jan 3 19:42:51 UTC 2024


        at  a22d01b7133be84a38914ab98a19d4e5aba07d50 (commit)


commit a22d01b7133be84a38914ab98a19d4e5aba07d50
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Wed Jan 3 14:40:28 2024 -0500

    21278: Remove the '/search.*' to '/search-results' redirect
    
    It produces an infinite loop and I don't think the /search endpoint is
    really compatible with the /search-results endpoint anyway, and it's
    less likely for people to have old hyperlinks to search results than
    to projects or collections.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/python/tests/nginx.conf b/sdk/python/tests/nginx.conf
index b4650cb7a8..446b95ca42 100644
--- a/sdk/python/tests/nginx.conf
+++ b/sdk/python/tests/nginx.conf
@@ -185,7 +185,6 @@ http {
     ^/container_requests           /all_processes;
     ^/job.*                        /all_processes;
     ^/users/link_account           /link_account;
-    ^/search.*                     /search-results;
     ^/keep_services.*              /keep-services;
     ^/trash_items.*                /trash;
 
diff --git a/tools/arvbox/lib/arvbox/docker/service/nginx/run b/tools/arvbox/lib/arvbox/docker/service/nginx/run
index c1a6775883..528c6be827 100755
--- a/tools/arvbox/lib/arvbox/docker/service/nginx/run
+++ b/tools/arvbox/lib/arvbox/docker/service/nginx/run
@@ -145,7 +145,6 @@ http {
     rewrite ^/container_requests /all_processes redirect;
     rewrite ^/job.* /all_processes redirect;
     rewrite ^/users/link_account /link_account redirect;
-    rewrite ^/search.* /search-results redirect;
     rewrite ^/keep_services.* /keep-services redirect;
     rewrite ^/trash_items.* /trash redirect;
 
diff --git a/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_workbench_configuration.sls b/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_workbench_configuration.sls
index e610ec158f..822ba49814 100644
--- a/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_workbench_configuration.sls
+++ b/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_workbench_configuration.sls
@@ -85,7 +85,6 @@ nginx:
             - rewrite: '^/container_requests /all_processes redirect'
             - rewrite: '^/job.* /all_processes redirect'
             - rewrite: '^/users/link_account /link_account redirect'
-            - rewrite: '^/search.* /search-results redirect'
             - rewrite: '^/keep_services.* /keep-services redirect'
             - rewrite: '^/trash_items.* /trash redirect'
 
diff --git a/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/nginx_workbench_configuration.sls b/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/nginx_workbench_configuration.sls
index e610ec158f..822ba49814 100644
--- a/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/nginx_workbench_configuration.sls
+++ b/tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/nginx_workbench_configuration.sls
@@ -85,7 +85,6 @@ nginx:
             - rewrite: '^/container_requests /all_processes redirect'
             - rewrite: '^/job.* /all_processes redirect'
             - rewrite: '^/users/link_account /link_account redirect'
-            - rewrite: '^/search.* /search-results redirect'
             - rewrite: '^/keep_services.* /keep-services redirect'
             - rewrite: '^/trash_items.* /trash redirect'
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list