From 61f5deb49fc362b5f438909bb7c61e45eadd60eb Mon Sep 17 00:00:00 2001 From: thomas loubrieu <60993872+tloubrieu-jpl@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:35:05 -0400 Subject: [PATCH] fix api configuration for latest API snapshot, (#312) * fix api configuration for latest API snapshot, specifically the welcome page * remove DEBUG level log --------- Co-authored-by: thomas loubrieu --- docker/default-config/application.properties | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/docker/default-config/application.properties b/docker/default-config/application.properties index 6364d85..dd76983 100644 --- a/docker/default-config/application.properties +++ b/docker/default-config/application.properties @@ -1,31 +1,38 @@ server.contextPath=/ server.port=8080 server.use-forward-headers=true -server.forward-headers-strategy=framework + +springdoc.swagger-ui.enabled=true +springdoc.swagger-ui.path=index.html +springdoc.swagger-ui.tagsSorter=alpha springdoc.api-docs.path=/api-docs springdoc.api-docs.enabled=true + springdoc.swagger-ui.tagsSorter=alpha -springdoc.packagesToScan=gov.nasa.pds.api.registry.controller +springdoc.packagesToScan=gov.nasa.pds.api.registry.controllers springdoc.pathsToMatch=/** - +server.forward-headers-strategy=framework +management.endpoints.web.exposure.include=* spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false debug=false logging.level.root = INFO logging.level.gov.nasa.pds.api.registry.opensearch = DEBUG -logging.level.gov.nasa.pds.api.registry.controllers = DEBUG +logging.level.org.apache.hc.client5.http.wire = INFO +logging.level.org.apache.http.wire = INFO ## note the port is mandatory even when it is default :80 or :443 openSearch.host=elasticsearch:9200 openSearch.registryIndex=registry openSearch.registryRefIndex=registry-refs openSearch.timeOutSeconds=60 +# , separated list of the prefixes used in the opensearch indices, +# if none, keep this configuration empty. openSearch.disciplineNodes= openSearch.username=admin openSearch.password=admin openSearch.ssl=true - # use only for development purpose, left it to true otherwise openSearch.sslCertificateCNVerification=true @@ -33,4 +40,4 @@ openSearch.sslCertificateCNVerification=true filter.archiveStatus=archived,certified # source version from maven -registry.service.version=1.2.0 +registry.service.version=1.5.0-SNAPSHOT