application.yaml

File purpose

The default Spring Boot application properties file. Controls application parameters and start-up modes.

File location

The file is located in the folder mr-application\src\main\resources.

File values

The file uses the YAML language to define properties in a hierarchical structure. When loaded into the application, the properties follow the default dot notation.

The indentation levels used in the following table mirror the file itself.

Key Value Description
server Subsection for application server properties. Refer to spring boot documentation for more details.
server.port 10010 The port used for the application external services.
server.servlet Servlet configuration.
server.servlet.context-path “/mr-application” The context path of the application.
server.servlet.session.cookie.secure true Enables/disables always marking the cookie as secure.
server.servlet.session.cookie.http-only true Enables/disables using the “HttpOnly” attribute for the cookie.
server.servlet.session.cookie.same-site none SameSite setting for the cookie.
management Subsection for Spring Actuator application management.
management.endpoints Actuator endpoints.
management.endpoints.web Web endpoints.
management.endpoints.web.exposure Exposed endpoints.
management.endpoints.web.exposure.include “*” The endpoint IDs to include.
health Actuator health key.
health.elasticsearch Actuator sub key for elasticsearch.
health.elasticsearch.enabled false Elasticsearch sub key to enable or disable this component of Actuator.
spring
spring.profiles
spring.profiles.active “local-content” Active Spring profiles.
springdoc Springdoc URL to list all the Rest endpoints.
springdoc.swagger-ui
springdoc.swagger-ui.enabled Set to true to see the Swagger UI and navigate to /swagger-ui/index.html
logging Subsection for application logging.
logging.config classpath:logback-spring.xml Location of the logging configuration file.
starter
starter.serverUrl http://localhost:10010/mr-application Base URL for all starter web apps (i.e. DoctorPivot, Content Service UI, Documentation).
starter.javadocBaseUrl https://artifacts.activeviam.com/documentation/accelerators/mra/ Javadoc base URL for DoctorPivot.
starter.javadocVersion 1.2.0 Javadoc version for DoctorPivot
starter.documentationRoot Default.htm Documentation root file to redirect index.html to
configuration Subsection for the application start-up modes.
configuration.sign-off Sign-off configuration.
configuration.sign-off.enabled false Toggle for including Sign-Off configuration and services in the running application.
sign-off
sign-off.adjustments
sign-off.adjustments.scheduler-pool-size 1 Size of the thread pool used to pool the status of Sign-Off adjustments.
mr
mr.application
mr.application.content-server
mr.application.content-server.db The properties used to configure the database of the Content service.
mr.application.content-server.db.hibernate.dialect org.hibernate.dialect.H2Dialect
mr.application.content-server.db.hibernate.show_sql false Enable/disable the logging of all generated SQL statements to the console.
mr.application.content-server.db.hibernate.format_sql false Enable/disable formatting the generated SQL statement. Enabling this makes the statement more readable, but takes up more screen space.
mr.application.content-server.db.hibernate.hbm2ddl.auto Property is commented out Hibernate database schema generation process. Possible values are: none, create-only, drop, create, create-drop, validate, update.
mr.application.content-server.db.hibernate.connection.provider_class org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl Implementation of the ConnectionProvider.
mr.application.content-server.db.url jdbc:h2:%{dbfile};DB_CLOSE_DELAY=-1 The URL of the Hibernate connection to the content server.
mr.application.content-server.db.file.name mr_ref_impl_content_service The name of the dbfile used in the Hibernate connection URL.
mr.application.content-server.db.defaultAutoCommit false The default auto-commit state of connections created by this pool.
mr.application.content-server.db.driverClassName org.h2.Driver The fully qualified Java class name of the JDBC driver to be used.
mr.application.content-server.db.jdbcInterceptors org.apache.tomcat.jdbc.pool.interceptor.ConnectionState A semicolon-separated list of classnames, extending the org.apache.tomcat.jdbc.pool.JdbcInterceptor class. These interceptors will be inserted as an interceptor into the chain of operations on a java.sql.Connection object.

DirectQuery

DirectQuery’s startup properties can be found in the dedicated DirectQuery Configuration Properties page.