Skip to content

Commit

Permalink
fix: Update gene_info endpoint to staging
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan committed Dec 18, 2024
1 parent 6d162bf commit 31fd26b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .infra/rdev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ stack:
- name: DATA_LOCATOR_DOMAIN
value: $(__ARGUS_STACK_INGRESS_HOST)
- name: CXG_BUCKET_PATH
value: hosted-cellxgene-dev
value: hosted-cellxgene-staging
2 changes: 1 addition & 1 deletion client/__tests__/e2e/test_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ server:
verbose: false

gene_info:
api_base: "https://api.cellxgene.dev.single-cell.czi.technology/gene_info/v1"
api_base: "https://api.cellxgene.staging.single-cell.czi.technology/gene_info/v1"
default_dataset:
presentation:
max_categories: 1000
Expand Down
4 changes: 2 additions & 2 deletions server/tests/unit/common/config/test_server_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ def test_handle_data_locator_can_read_from_dataroot(self, mock_discover_region_n
mock_discover_region_name.return_value = "us-west-2"
dataroots = {
"d1": {"base_url": "set1", "dataroot": "/path/to/set1_datasets/"},
"d2": {"base_url": "set2/subdir", "dataroot": "s3://hosted-cellxgene-dev"},
"d2": {"base_url": "set2/subdir", "dataroot": "s3://hosted-cellxgene-staging"},
}
file_name = self.custom_app_config(
dataroots=dataroots, config_file_name=self.config_file_name, data_locator_region_name="true"
)
config = AppConfig(file_name)
self.assertEqual(config.server__data_locator__s3_region_name, "us-west-2")
mock_discover_region_name.assert_called_once_with("s3://hosted-cellxgene-dev")
mock_discover_region_name.assert_called_once_with("s3://hosted-cellxgene-staging")

def test_handle_app__sets_web_base_url(self):
config = self.get_config(web_base_url="anything.com")
Expand Down

0 comments on commit 31fd26b

Please sign in to comment.