From 4d9e3d13c059ca5bedc1ede056b92e36e49e6682 Mon Sep 17 00:00:00 2001 From: "spaceBearAmadeus (Alex)" Date: Thu, 12 Sep 2024 17:43:23 -0400 Subject: [PATCH] added localhost to spec --- README.md | 4 ++-- compose_api/main.py | 4 ++++ compose_api/spec/openapi_3_1_0_generated.yaml | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 778f50b45..8fe2e8509 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@ This application (`bio_check`) uses a microservices architecture which presents the following libraries: -- `api`: This library handles all requests including saving uploaded files, pending job creation, fetching results, and contains the user-facing endpoints. +- `compose_api`: This library handles all requests including saving uploaded files, pending job creation, fetching results, and contains the user-facing endpoints. - `storage`: This library handles MongoDB configs as well as bucket-like storages for uploaded files. -- `worker`: This library handles all job processing tasks for verification services such as job status adjustment, job retrieval, and comparison execution. +- `compose_worker`: This library handles all job processing tasks for verification services such as job status adjustment, job retrieval, and comparison execution. The installation process is outlined as follows: diff --git a/compose_api/main.py b/compose_api/main.py index 1dd612ab9..020194b04 100644 --- a/compose_api/main.py +++ b/compose_api/main.py @@ -38,6 +38,10 @@ { "url": "https://biochecknet.biosimulations.org", "description": "Production server" + }, + { + "url": "http://localhost:8000", + "description": "Development server" } ] APP_ORIGINS = [ diff --git a/compose_api/spec/openapi_3_1_0_generated.yaml b/compose_api/spec/openapi_3_1_0_generated.yaml index 7366d7d7c..2bd8d0ac7 100644 --- a/compose_api/spec/openapi_3_1_0_generated.yaml +++ b/compose_api/spec/openapi_3_1_0_generated.yaml @@ -5,6 +5,8 @@ info: servers: - url: https://biochecknet.biosimulations.org description: Production server +- url: http://localhost:8000 + description: Development server paths: /: get: