diff --git a/openapi-config.yaml b/openapi-config.yaml index a5af37a..c4bf7ef 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -11,7 +11,7 @@ servers: # url: http://127.0.0.1:5000 termsOfService: http://robokop.renci.org:7055/tos?service_long=ARAGORN&provider_long=RENCI title: ARAGORN -version: 2.0.27 +version: 2.0.28 tags: - name: translator - name: ARA diff --git a/src/service_aggregator.py b/src/service_aggregator.py index 4f0c2d2..79215e6 100644 --- a/src/service_aggregator.py +++ b/src/service_aggregator.py @@ -102,6 +102,7 @@ async def entry(message, guid, coalesce_type, caller) -> (dict, int): workflow_def = [{'id': 'lookup'}, {'id': 'overlay_connect_knodes'}, {'id': 'score'}, + {'id': 'sort_results_score'}, {'id': 'filter_message_top_n', 'parameters': {'max_results': 5000}}] else: #TODO: if this is robokop, need to normalize. @@ -584,7 +585,8 @@ 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-dev.apps.renci.org/1.2/coalesce/")}{coalesce_type}' + #url = f'{os.environ.get("ANSWER_COALESCE_URL", "https://answercoalesce-dev.apps.renci.org/1.2/coalesce/")}{coalesce_type}' + url = f'{os.environ.get("ANSWER_COALESCE_URL", "https://answer-coalesce.transltr.io/1.2/coalesce/")}{coalesce_type}' with open('crap.json','w') as outf: json.dump(message,outf)