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

Remove actuator unit-test. #7898

Merged
merged 1 commit into from
Oct 20, 2023
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 @@ -106,8 +106,6 @@ dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.springframework.boot:spring-boot-test'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'com.vaadin.external.google:android-json:0.0.20131108.vaadin1'
testImplementation 'org.junit.jupiter:junit-jupiter-params'
testImplementation 'org.springframework:spring-test'

}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,159 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
omag.server-config-file=classpath:samples/metadata-repository-server.json

server.port=8001
server.servlet.context-path=/actuator

security.basic.enable: false
security.ignored=/**


################################################
### startup servers configuration
################################################
scan.packages=com.org.odpi.openmetadata.*
#userId used to startup the list of configured servers default is 'system'
startup.user=system
# Comma separated names of servers to be started
startup.server.list=
# Comma separated values of http headers to be added to ThreadLocal
header.name.list=

################################################
# PROFILES
################################################
spring.profiles.active=local,mutual

################################################
# APPLICATION SETTINGS (SpringApplication)
################################################
#spring.main.sources=
spring.banner.location=classpath:banner.txt
spring.output.ansi.enabled=always
#spring.main....= # see class for all properties

################################################
# LOGGING
################################################
logging.level.root=debug
logging.level.org.odpi.openmetadata.frameworks.auditlog=INFO
logging.level.org.odpi.openmetadata.repositoryservices=info

logging.level.org.odpi.openmetadata.server=debug
logging.level.org.springframework.web=info

#logging.file.path=/var/logs
#logging.file.name=egeria.log
#logging.level.*=INFO

logging.level.org.springframework=error
#logging.level.org.odpi.openmetadata.commonservices=DEBUG
#logging.level.org.odpi.openmetadata.accessservices.subjectarea.handlers=DEBUG
logging.level.org.springframework.boot.web.embedded.tomcat=INFO
logging.level.org.odpi.openmetadata.serverchassis.springboot=INFO


# OPEN_API
#springdoc.packagesToScan=package1, package2
#springdoc.pathsToMatch=/v1, /api/balance/**

################################################
### Swagger Docs
################################################
springdoc.version='@springdoc.version@'
springdoc.api-docs.enabled=true
springdoc.api-docs.path=/v3/api-docs
springdoc.swagger-ui.path=/swagger-ui.html
springdoc.swagger-ui.displayRequestDuration=true
springdoc.swagger-ui.tagsSorter=alpha
springdoc.swagger-ui.operationsSorter=alpha
springdoc.swagger-ui.docExpansion=none

# ----------------------------------------
# ACTUATOR PROPERTIES
# ----------------------------------------

# MANAGEMENT HTTP SERVER (ManagementServerProperties)
management.server.port=8001
springdoc.use-management-port=true
management.server.base-path=/observability

management.server.ssl.enabled=false

management.endpoints.enabled-by-default=true
#management.endpoints.web.path-mapping.health=egeria.chasis.health # if health endpoint would be customized
management.add-application-context-header=true

#management.endpoint.info.enabled=true

#management.endpoints.web.exposure.include= health, openapi, swaggerui
#management.endpoints.web.base-path=/myapp

### BLACKLISTING
#management.endpoints.web.exposure.include=*
#management.endpoints.web.exposure.exclude=threaddump

### WHITELISTING
management.endpoints.web.exposure.include=metrics,health,probes
management.endpoint.health.show-details=always
management.endpoints.health.probes.enabled=true

management.endpoints.web.discovery.enabled=true

#management.endpoint.health.group.custom.show-components=always
#management.endpoint.health.group.custom.show-details=always
#management.endpoint.health.group.custom.include=diskSpace,ping

management.health.cassandra.enabled=false

#management.endpoints.jmx.exposure.include=health,info
#management.endpoints.web.exposure.exclude=env,beans

# ENDPOINTS (AbstractEndpoint subclasses)
#endpoints.autoconfig.id=autoconfig
#endpoints.autoconfig.sensitive=true
#endpoints.autoconfig.enabled=true
#endpoints.beans.id=beans
#endpoints.beans.sensitive=true
#endpoints.beans.enabled=true
#endpoints.configprops.id=configprops
#endpoints.configprops.sensitive=true
#endpoints.configprops.enabled=true
#endpoints.configprops.keys-to-sanitize=password,secret
#endpoints.dump.id=dump
#endpoints.dump.sensitive=true
#endpoints.dump.enabled=true
#endpoints.env.id=env
#endpoints.env.sensitive=true
#endpoints.env.enabled=true
#endpoints.health.id=health
#endpoints.health.sensitive=false
#endpoints.health.enabled=true
#endpoints.info.id=info
#endpoints.info.sensitive=false
#endpoints.info.enabled=true
#endpoints.metrics.id=metrics
#endpoints.metrics.sensitive=true
#endpoints.metrics.enabled=true
#endpoints.shutdown.id=shutdown
#endpoints.shutdown.sensitive=true
#endpoints.shutdown.enabled=false
#endpoints.trace.id=trace
#endpoints.trace.sensitive=true
#endpoints.trace.enabled=true

# For Exemplars to work we need histogram buckets
management.metrics.distribution.percentiles-histogram.http.server.requests=true

################################################
### Problem details
################################################
spring.mvc.problemdetails.enabled=true

################################################
### Instancio
################################################
implementation 'org.instancio:instancio-core:2.7.0'

testImplementation 'org.instancio:instancio-junit:2.16.0'
omag.server-config-file=classpath:samples/metadata-repository-server.json
Loading