Skip to content

Commit

Permalink
fix api configuration for latest API snapshot, specifically the welco…
Browse files Browse the repository at this point in the history
…me page
  • Loading branch information
thomas loubrieu committed Aug 9, 2024
1 parent e6e4efa commit 5fd40dc
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions docker/default-config/application.properties
Original file line number Diff line number Diff line change
@@ -1,36 +1,44 @@
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
log4j.logger.org.springframework=DEBUG
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

# Only show products with following archive statuses
filter.archiveStatus=archived,certified

# source version from maven
registry.service.version=1.2.0
registry.service.version=1.5.0-SNAPSHOT

0 comments on commit 5fd40dc

Please sign in to comment.