Skip to content
Snippets Groups Projects
Verified Commit 3ca954bc authored by Martin Weise's avatar Martin Weise
Browse files

Hotfix the search service init

parent 7909256c
No related branches found
No related tags found
6 merge requests!345Updated docs and endpoints:,!341Fixed mapping problem where UK and FK share columns they are inserted,!339Fixed mapping problem where UK and FK share columns they are inserted,!338Fixed mapping problem where UK and FK share columns they are inserted,!334Fixed mapping problem where UK and FK share columns they are inserted,!333Fixed mapping problem where UK and FK share columns they are inserted
...@@ -278,7 +278,7 @@ services: ...@@ -278,7 +278,7 @@ services:
environment: environment:
NUXT_PUBLIC_API_CLIENT: "${BASE_URL:-http://localhost}" NUXT_PUBLIC_API_CLIENT: "${BASE_URL:-http://localhost}"
NUXT_PUBLIC_API_SERVER: "${BASE_URL:-http://localhost}" NUXT_PUBLIC_API_SERVER: "${BASE_URL:-http://localhost}"
NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files" NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files/"
depends_on: depends_on:
dbrepo-search-service: dbrepo-search-service:
condition: service_started condition: service_started
......
...@@ -105,7 +105,7 @@ class App: ...@@ -105,7 +105,7 @@ class App:
logging.debug(f"fetching database from endpoint: {self.metadata_service_endpoint}") logging.debug(f"fetching database from endpoint: {self.metadata_service_endpoint}")
client = RestClient(endpoint=self.metadata_service_endpoint) client = RestClient(endpoint=self.metadata_service_endpoint)
databases = [] databases = []
for database, index in client.get_databases(): for index, database in enumerate(client.get_databases()):
logging.debug(f"fetching database {index}/{len(databases)} details for database id: {database.id}") logging.debug(f"fetching database {index}/{len(databases)} details for database id: {database.id}")
databases.append(client.get_database(database_id=database.id)) databases.append(client.get_database(database_id=database.id))
logging.debug(f"fetched {len(databases)} database(s)") logging.debug(f"fetched {len(databases)} database(s)")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment