Skip to content

Commit

Permalink
removed versions from default URLS
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Bizon committed Apr 12, 2024
1 parent 5af12cd commit 7816a58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/service_aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ def merge_results_by_node_op(message, params, guid) -> (dict, int):

async def strider(message, params, guid, bypass_cache) -> (dict, int):
# strider_url = os.environ.get("STRIDER_URL", "https://strider-dev.apps.renci.org/1.3/")
strider_url = os.environ.get("STRIDER_URL", "https://strider.renci.org/1.5/")
strider_url = os.environ.get("STRIDER_URL", "https://strider.renci.org/")
#strider_url = os.environ.get("STRIDER_URL", "https://strider.transltr.io/1.3/")

# select the type of query post. "test" will come from the tester
Expand All @@ -803,7 +803,7 @@ async def strider(message, params, guid, bypass_cache) -> (dict, int):


async def normalize_qgraph_ids(m):
url = f'{os.environ.get("NODENORM_URL", "https://nodenormalization-sri.renci.org/1.3/")}get_normalized_nodes'
url = f'{os.environ.get("NODENORM_URL", "https://nodenormalization-sri.renci.org/")}get_normalized_nodes'
qnodes = m["message"]["query_graph"]["nodes"]
qnode_ids = set()
for qid, qnode in qnodes.items():
Expand Down Expand Up @@ -905,7 +905,7 @@ def expand_query(input_message, params, guid):

async def multi_strider(messages, params, guid, bypass_cache):
#strider_url = os.environ.get("STRIDER_URL", "https://strider-dev.apps.renci.org/1.3/")
strider_url = os.environ.get("STRIDER_URL", "https://strider.renci.org/1.5/")
strider_url = os.environ.get("STRIDER_URL", "https://strider.renci.org/")

strider_url += "multiquery"
#We don't want to do subservice_post, because that assumes TRAPI in and out.
Expand Down Expand Up @@ -1228,7 +1228,7 @@ async def answercoalesce(message, params, guid, coalesce_type="all") -> (dict, i
:param coalesce_type:
:return:
"""
url = f'{os.environ.get("ANSWER_COALESCE_URL", "https://answercoalesce.renci.org/1.3/coalesce/")}{coalesce_type}'
url = f'{os.environ.get("ANSWER_COALESCE_URL", "https://answercoalesce.renci.org/coalesce/")}{coalesce_type}'
# url = f'{os.environ.get("ANSWER_COALESCE_URL", "https://answer-coalesce.transltr.io/1.3/coalesce/")}{coalesce_type}'

# With the current answercoalesce, we make the result list longer, and frequently much longer. If
Expand Down

0 comments on commit 7816a58

Please sign in to comment.