Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix api configuration for latest API snapshot, #312

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
nutjob4life marked this conversation as resolved.
Show resolved Hide resolved
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