generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
e6e4efa
commit 61f5deb
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,43 @@ | ||
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 | ||
|
||
# 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 |