Skip to content

Commit

Permalink
Updating UUID URL
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsibilla committed Aug 17, 2023
1 parent 4cd1911 commit 2c62287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/instance/app.cfg.example
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GLOBUS_CONSORTIUM_FILE_GROUP_NAME = 'hubmap'
ENTITY_WEBSERVICE_URL = 'http://entity-api:8080'

#Uuid-api
UUID_WEBSERVICE_URL = 'http://uuid-api:8080/uuid'
UUID_WEBSERVICE_URL = 'http://uuid-api:8080/'

#Search-api
SEARCH_WEBSERVICE_URL = 'https://search-api.dev.sennetconsortium.org'
Expand Down
2 changes: 1 addition & 1 deletion src/routes/entity_CRUD/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ def publish_datastage(identifier):
if identifier is None or len(identifier) == 0:
abort_bad_req('identifier parameter is required to publish a dataset')

r = requests.get(current_app.config['UUID_WEBSERVICE_URL'] + "/" + identifier,
r = requests.get(current_app.config['UUID_WEBSERVICE_URL'] + "uuid/" + identifier,
headers={'Authorization': request.headers["AUTHORIZATION"]})
if r.ok is False:
raise ValueError("Cannot find specimen with identifier: " + identifier)
Expand Down

0 comments on commit 2c62287

Please sign in to comment.