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 1/3] 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 From 82044cb5e3e875271f207f5e3f7dcce44b02289d Mon Sep 17 00:00:00 2001 From: PDSEN CI Bot Date: Wed, 14 Aug 2024 17:37:26 +0000 Subject: [PATCH 2/3] Update requirements From 5529f84933e773311649d71735cd6a0a799c5770 Mon Sep 17 00:00:00 2001 From: PDSEN CI Bot Date: Wed, 14 Aug 2024 17:37:35 +0000 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b114b55..eb605b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [«unknown»](https://github.com/NASA-PDS/registry/tree/«unknown») (2024-08-08) +## [«unknown»](https://github.com/NASA-PDS/registry/tree/«unknown») (2024-08-14) [Full Changelog](https://github.com/NASA-PDS/registry/compare/v1.3.1...«unknown») @@ -16,6 +16,7 @@ **Other closed issues:** +- Finalize Cognito configuration in production for the Registry [\#307](https://github.com/NASA-PDS/registry/issues/307) - Add Lola PDS4 script [\#305](https://github.com/NASA-PDS/registry/issues/305) - Propose options to integrate Trek footprints to PDS products [\#295](https://github.com/NASA-PDS/registry/issues/295) - Generalize the treks util to all the Treks services [\#294](https://github.com/NASA-PDS/registry/issues/294)