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 cvarc-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 |
|---|---|---|
| spring: | ||
| profiles: | ||
| default: | “local,local-content” | Default Spring profiles. |
| server: | Subsection for application server properties. | |
| port: | 9090 | The port used for the application external services. |
| servlet: | Servlet configuration. | |
| context-path: | “/cvarc-application” | The context path of the application. |
| management: | Subsection for Spring Actuator application management. | |
| endpoints: | Actuator endpoints. | |
| web: | Web endpoints. | |
| exposure: | Exposed endpoints. | |
| include: | ”*“ | The endpoint IDs to include. |
| springdoc: | ||
| swagger-ui | ||
| enabled | false | Enable/disable the Swagger UI. See Swagger |
| otel: | OpenTelemetry configuration (6.0.0+). | |
| instrumentation: | ||
| annotations: | ||
| enabled: | false | Disables OpenTelemetry annotation instrumentation. |
| tracing: | Tracing configuration (6.0.0+). | |
| enabled: | true | Enables OpenTelemetry distributed tracing. |
Limits
For a feature overview, see Atoti Limits.
To enable Limits, add the following to your
application.yml: