From 56562e8503ec6abaa229717da31c98a4e0735776 Mon Sep 17 00:00:00 2001 From: Kevin Schaper Date: Fri, 19 Jan 2024 11:36:37 -0800 Subject: [PATCH 1/2] Switch v2 Monarch UI to use api-v2 hostname --- README.md | 4 ++-- src/api/bio-link.js | 2 +- src/views/Services.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7f8d525c..7f4af79f 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ For detailed information on the structure of the code and how to contribute, see ### Overall Architecture -The UI is a VueJS single-page application that is loaded into the browser as a static set of Javascript, HTML, CSS, and media resources. Subsequent dynamic data is delivered to the browser via `XMLHttpRequest` calls to various backend services, primarily [BioLink](https://api.monarchinitiative.org). The data returned from these calls is then displayed appropriately in the web application. +The UI is a VueJS single-page application that is loaded into the browser as a static set of Javascript, HTML, CSS, and media resources. Subsequent dynamic data is delivered to the browser via `XMLHttpRequest` calls to various backend services, primarily [BioLink](https://api-v2.monarchinitiative.org). The data returned from these calls is then displayed appropriately in the web application. - Source: https://github.com/monarch-initiative/monarch-ui - Monarch Initiative UI: https://monarchinitiative.org -- [BioLink](https://api.monarchinitiative.org) service to access Monarch's data +- [BioLink](https://api-v2.monarchinitiative.org) service to access Monarch's data The VueJS application is built from source code via a modern chain of tools that deal with resource bundling, minification, and transpilation: diff --git a/src/api/bio-link.js b/src/api/bio-link.js index e0dafb51..4a7a38a5 100644 --- a/src/api/bio-link.js +++ b/src/api/bio-link.js @@ -21,7 +21,7 @@ import { // versions/environments of api servers const versions = { - production: "https://api.monarchinitiative.org/api/", // GOOGLE CLOUD (new DNS under monarch domain) + production: "https://api-v2.monarchinitiative.org/api/", // GOOGLE CLOUD (new DNS under monarch domain) beta: "https://api-dev.monarchinitiative.org/api/", }; diff --git a/src/views/Services.md b/src/views/Services.md index 3b2dc14d..3cfce661 100644 --- a/src/views/Services.md +++ b/src/views/Services.md @@ -27,7 +27,7 @@ src="../assets/img/biolink_logo_white.png" />

Date: Thu, 25 Jan 2024 15:20:44 -0800 Subject: [PATCH 2/2] use api-biolink rather than api-v2, to avoid the appearance that v2 is what we're moving towards --- README.md | 4 ++-- src/api/bio-link.js | 2 +- src/views/Services.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7f4af79f..c009f207 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ For detailed information on the structure of the code and how to contribute, see ### Overall Architecture -The UI is a VueJS single-page application that is loaded into the browser as a static set of Javascript, HTML, CSS, and media resources. Subsequent dynamic data is delivered to the browser via `XMLHttpRequest` calls to various backend services, primarily [BioLink](https://api-v2.monarchinitiative.org). The data returned from these calls is then displayed appropriately in the web application. +The UI is a VueJS single-page application that is loaded into the browser as a static set of Javascript, HTML, CSS, and media resources. Subsequent dynamic data is delivered to the browser via `XMLHttpRequest` calls to various backend services, primarily [BioLink](https://api-biolink.monarchinitiative.org). The data returned from these calls is then displayed appropriately in the web application. - Source: https://github.com/monarch-initiative/monarch-ui - Monarch Initiative UI: https://monarchinitiative.org -- [BioLink](https://api-v2.monarchinitiative.org) service to access Monarch's data +- [BioLink](https://api-biolink.monarchinitiative.org) service to access Monarch's data The VueJS application is built from source code via a modern chain of tools that deal with resource bundling, minification, and transpilation: diff --git a/src/api/bio-link.js b/src/api/bio-link.js index 4a7a38a5..c377d6a8 100644 --- a/src/api/bio-link.js +++ b/src/api/bio-link.js @@ -21,7 +21,7 @@ import { // versions/environments of api servers const versions = { - production: "https://api-v2.monarchinitiative.org/api/", // GOOGLE CLOUD (new DNS under monarch domain) + production: "https://api-biolink.monarchinitiative.org/api/", // GOOGLE CLOUD (new DNS under monarch domain) beta: "https://api-dev.monarchinitiative.org/api/", }; diff --git a/src/views/Services.md b/src/views/Services.md index 3cfce661..738ee497 100644 --- a/src/views/Services.md +++ b/src/views/Services.md @@ -27,7 +27,7 @@ src="../assets/img/biolink_logo_white.png" />