From 33dae8cde7b6d0f90f217e22046f1e9ad9188e74 Mon Sep 17 00:00:00 2001 From: IgorRodchenkov Date: Sun, 5 Nov 2023 16:06:33 -0500 Subject: [PATCH] Edited readme and properties --- README.md | 3 +-- .../src/main/resources/application.properties | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7ecf7a65..2977ce02 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ mvn spring-boot:run and also access it at localhost:8080 (live reload is enabled - can edit js/css/html/jsp and immediately see the effect without restarting the app) -This is convenient for development but the problem is that LTW does not properly/fully wok for some reason, - +This is convenient for development but the problem is that LTW does not properly/fully work for some reason, - the validator will not catch syntax errors or unknown property errors, unlike when it's run via `sh server.sh` or when docker container (i.e. when the app was run using e.g. `java -javaagent:agent.jar ... -jar app.war` command) @@ -155,4 +155,3 @@ Run with docker (can also do with compose or terraform) ``` docker run --name validator -it pathwaycommons/biopax-validator -p 8080:8080 ``` - diff --git a/biopax-validator-web/src/main/resources/application.properties b/biopax-validator-web/src/main/resources/application.properties index 206a1c9a..220214ba 100644 --- a/biopax-validator-web/src/main/resources/application.properties +++ b/biopax-validator-web/src/main/resources/application.properties @@ -7,13 +7,13 @@ server.error.whitelabel.enabled=false spring.main.banner-mode=off application.message: Hello BioPAX users! -# * - enables all +#spring web/jmx prod-ready management endpoints (=* enables all) +management.endpoints.enabled-by-default=false +management.endpoint.health.enabled=true +#management.endpoint.shutdown.enabled=true management.endpoints.web.exposure.include=health #management.endpoints.web.exposure.exclude= -# to expose shutdown: -# management.endpoint.shutdown.enabled=true - #due to migration from spring-boot 2.0 to 2.1 spring.main.allow-bean-definition-overriding=true