Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public class RestAdminService {
protected Search searchService;

/**
* Value defined in application-*.yml, for dev and test, this value is set as true,
* for other environments, use default false value.
* Value defined in application-*.yml, set as true for dev, edge, staging, production and test.
* The default is false, so any environment that does not set it explicitly has explain disabled.
*/
public boolean isElasticsearchExplainEnabled() {
return elasticsearchExplainEnabled;
Expand Down
4 changes: 4 additions & 0 deletions server/src/main/resources/application-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ management:
logging:
level:
au.org.aodn.ogcapi.server: info

ogcapi:
debug:
elasticsearch-explain-enabled: true
4 changes: 4 additions & 0 deletions server/src/main/resources/application-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ management:
web:
exposure:
include: "health,info,env,beans,logfile"

ogcapi:
debug:
elasticsearch-explain-enabled: true
Loading