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. |
server.servlet.session.cookie.max-age | PT12H | |
server.servlet.session.cookie.name | MR_JSESSIONID | |
atoti | ||
atoti.server | ||
atoti.server.endpoint | ||
atoti.server.endpoint.diagnostics | ||
atoti.server.endpoint.diagnostics.enabled | true | Enables the measure lineage endpoints that are used by Atoti Admin UI. |
atoti.server.security | ||
atoti.server.security.cookie-name | MR_JSESSIONID | Name of the application cookie. |
activeviam | ||
activeviam.distribution | ||
activeviam.distribution.maxPendingDiscoveries | 6 | |
activeviam.distribution.cube | ||
activeviam.distribution.cube.throwOnDifferentMeasureNames | false | This determines if Atoti will throw a Runtime exception when horizontally distributed cubes contain different measures. This is disabled for as the summary cubes are horizontally distributed from the regular cubes but contain different measures. |
activeviam.jwt | ||
activeviam.jwt.key | ||
activeviam.jwt.key.public | Omitted for brevity, please see file. | The public key (encoded in Base64) used to verify the integrity of the tokens. |
activeviam.jwt.key.private | Omitted for brevity, please see file. | The private key (encoded in Base64) used to sign the tokens. |
activeviam.jwt.expiration | PT12H | Expiration of the JWT tokens. |
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. |
limits | ||
limits.autoconfiguration | ||
limits.autoconfiguration.enabled | false | Toggle to automatically establish a connection with a Limits server. Limits is an optional solution, licensed separately. |
limits.autoconfiguration.authentication | YWRtaW46YWRtaW4= (a base64 representation of Admin:Admin) | Credentials that the Limits server can use to authenticate to this server. |
limits.autoconfiguration.limits-authentication | YWRtaW46YWRtaW4= (a base64 representation of Admin:Admin) | Credentials that this server can use to authenticate to the Limits server. |
limits.autoconfiguration.limits-base-url | http://localhost:3090 | The hostname and port of the Limits server. |
limits.autoconfiguration.content-server | ||
limits.autoconfiguration.content-server.authentication | YWRtaW46YWRtaW4= (a base64 representation of Admin:Admin) | Credentials that this server can use to authenticate to the Content Server. |
limits.autoconfiguration.as-of-date | “AsOfDate@Date@Dates” | The AsOfDate hierarchy for this server. This is required by Limits. |
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 | null | The name of the dbfile used in the Hibernate connection URL. If null, no file is used for persistence. |
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. |
mr.common.file-patterns.cube-market-data | glob:*Cube_Market_Data.csv | Pattern for the Cube Market Data input file. |
mr.common.file-patterns.curve-market-data | glob:*Curve_Market_Data.csv | Pattern for the Curve Market Data input file. |
mr.common.file-patterns.fx-rate-market-data | glob:*FX_Rate_Market_Data.csv | Pattern for the FX Rate Market Data input file. |
mr.common.file-patterns.spot-market-data | glob:*Spot_Market_Data.csv | Pattern for the Spot Market Data input file. |
mr.common.file-patterns.surface-market-data | glob:*Surface_Market_Data.csv | Pattern for the Surface Market Data input file. |