From 9954de9d9a77b2e935b1e3207072ecf73bdc481b Mon Sep 17 00:00:00 2001 From: yuanzhou Date: Thu, 22 Apr 2021 11:11:23 -0400 Subject: [PATCH 1/3] Rename DOI redirect endpoint --- api_endpoints.dev.json | 2 +- api_endpoints.localhost.json | 2 +- api_endpoints.prod.json | 2 +- api_endpoints.stage.json | 2 +- api_endpoints.test.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api_endpoints.dev.json b/api_endpoints.dev.json index 91ba6bc..03606d7 100644 --- a/api_endpoints.dev.json +++ b/api_endpoints.dev.json @@ -193,7 +193,7 @@ }, { "method": "GET", - "endpoint": "/collection/redirect/<*>", + "endpoint": "/doi/redirect/<*>", "auth": false }, { diff --git a/api_endpoints.localhost.json b/api_endpoints.localhost.json index b84046f..f6fca27 100644 --- a/api_endpoints.localhost.json +++ b/api_endpoints.localhost.json @@ -193,7 +193,7 @@ }, { "method": "GET", - "endpoint": "/collection/redirect/<*>", + "endpoint": "/doi/redirect/<*>", "auth": false }, { diff --git a/api_endpoints.prod.json b/api_endpoints.prod.json index 11b4c63..7ef63ce 100644 --- a/api_endpoints.prod.json +++ b/api_endpoints.prod.json @@ -193,7 +193,7 @@ }, { "method": "GET", - "endpoint": "/collection/redirect/<*>", + "endpoint": "/doi/redirect/<*>", "auth": false }, { diff --git a/api_endpoints.stage.json b/api_endpoints.stage.json index 7b565aa..c7ef1ef 100644 --- a/api_endpoints.stage.json +++ b/api_endpoints.stage.json @@ -193,7 +193,7 @@ }, { "method": "GET", - "endpoint": "/collection/redirect/<*>", + "endpoint": "/doi/redirect/<*>", "auth": false }, { diff --git a/api_endpoints.test.json b/api_endpoints.test.json index efb6205..84ac758 100644 --- a/api_endpoints.test.json +++ b/api_endpoints.test.json @@ -193,7 +193,7 @@ }, { "method": "GET", - "endpoint": "/collection/redirect/<*>", + "endpoint": "/doi/redirect/<*>", "auth": false }, { From d745478a57ed23205eea023d2e20d2b81514ec35 Mon Sep 17 00:00:00 2001 From: "Zhou (Joe) Yuan" Date: Thu, 22 Apr 2021 11:21:35 -0400 Subject: [PATCH 2/3] Bump version to 2.0.7 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 157e54f..f1547e6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.6 +2.0.7 From 6b6d674f1b712c3b6cde9cec2268b6b4df12236d Mon Sep 17 00:00:00 2001 From: yuanzhou Date: Thu, 22 Apr 2021 13:28:16 -0400 Subject: [PATCH 3/3] Add back the /collection/redirect endpoint --- api_endpoints.dev.json | 5 +++++ api_endpoints.localhost.json | 5 +++++ api_endpoints.prod.json | 5 +++++ api_endpoints.stage.json | 5 +++++ api_endpoints.test.json | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/api_endpoints.dev.json b/api_endpoints.dev.json index 03606d7..9838367 100644 --- a/api_endpoints.dev.json +++ b/api_endpoints.dev.json @@ -191,6 +191,11 @@ "5777527e-ec11-11e8-ab41-0af86edb4424" ] }, + { + "method": "GET", + "endpoint": "/collection/redirect/<*>", + "auth": false + }, { "method": "GET", "endpoint": "/doi/redirect/<*>", diff --git a/api_endpoints.localhost.json b/api_endpoints.localhost.json index f6fca27..23b0730 100644 --- a/api_endpoints.localhost.json +++ b/api_endpoints.localhost.json @@ -191,6 +191,11 @@ "5777527e-ec11-11e8-ab41-0af86edb4424" ] }, + { + "method": "GET", + "endpoint": "/collection/redirect/<*>", + "auth": false + }, { "method": "GET", "endpoint": "/doi/redirect/<*>", diff --git a/api_endpoints.prod.json b/api_endpoints.prod.json index 7ef63ce..94b8cf1 100644 --- a/api_endpoints.prod.json +++ b/api_endpoints.prod.json @@ -191,6 +191,11 @@ "5777527e-ec11-11e8-ab41-0af86edb4424" ] }, + { + "method": "GET", + "endpoint": "/collection/redirect/<*>", + "auth": false + }, { "method": "GET", "endpoint": "/doi/redirect/<*>", diff --git a/api_endpoints.stage.json b/api_endpoints.stage.json index c7ef1ef..407ce0c 100644 --- a/api_endpoints.stage.json +++ b/api_endpoints.stage.json @@ -191,6 +191,11 @@ "5777527e-ec11-11e8-ab41-0af86edb4424" ] }, + { + "method": "GET", + "endpoint": "/collection/redirect/<*>", + "auth": false + }, { "method": "GET", "endpoint": "/doi/redirect/<*>", diff --git a/api_endpoints.test.json b/api_endpoints.test.json index 84ac758..d281163 100644 --- a/api_endpoints.test.json +++ b/api_endpoints.test.json @@ -191,6 +191,11 @@ "5777527e-ec11-11e8-ab41-0af86edb4424" ] }, + { + "method": "GET", + "endpoint": "/collection/redirect/<*>", + "auth": false + }, { "method": "GET", "endpoint": "/doi/redirect/<*>",