> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# application.yml

## 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.

<table><thead><tr><th>Key</th><th>Value</th><th>Description</th></tr></thead><tbody><tr><td>spring:</td><td /><td /></tr><tr><td> profiles:</td><td /><td /></tr><tr><td> default:</td><td><code>"local,local-content"</code></td><td>Default Spring profiles.</td></tr><tr><td>server:</td><td /><td>Subsection for application server properties.</td></tr><tr><td> port:</td><td><code>9090</code></td><td>The port used for the application external services.</td></tr><tr><td> servlet:</td><td /><td>Servlet configuration.</td></tr><tr><td> context-path:</td><td><code>"/cvarc-application"</code></td><td>The context path of the application.</td></tr><tr><td>management:</td><td /><td>Subsection for Spring Actuator application management.</td></tr><tr><td> endpoints:</td><td /><td>Actuator endpoints.</td></tr><tr><td> web:</td><td /><td>Web endpoints.</td></tr><tr><td> exposure:</td><td /><td>Exposed endpoints.</td></tr><tr><td> include:</td><td><code>"\*"</code></td><td>The endpoint IDs to include.</td></tr><tr><td>springdoc:</td><td /><td /></tr><tr><td> swagger-ui</td><td /><td /></tr><tr><td> enabled</td><td><code>false</code></td><td>Enable/disable the Swagger UI. See <a href="https://swagger.io/">Swagger</a></td></tr><tr><td>otel:</td><td /><td>OpenTelemetry configuration (6.0.0+).</td></tr><tr><td>  instrumentation:</td><td /><td /></tr><tr><td>    annotations:</td><td /><td /></tr><tr><td>      enabled:</td><td><code>false</code></td><td>Disables OpenTelemetry annotation instrumentation.</td></tr><tr><td>tracing:</td><td /><td>Tracing configuration (6.0.0+).</td></tr><tr><td>  enabled:</td><td><code>true</code></td><td>Enables OpenTelemetry distributed tracing.</td></tr></tbody></table>

### Limits

For a feature overview, see [Atoti Limits](../limits).

| Property                                     | Default  | Description                                                                                                                                               |
| :------------------------------------------- | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `limits.autoconfiguration.enabled`           | `false`  | Enables/disables the Atoti Limits auto-configuration. Disabled by default. Set to `true` to connect to an Atoti Limits server.                            |
| `limits.autoconfiguration.limits-base-url`   | *(none)* | **Required when enabled.** Base URL of the Atoti Limits server (e.g. `http://limits-host:9091`).                                                          |
| `limits.autoconfiguration.service-principal` | `admin`  | Username of the service account used for JWT machine-to-machine authentication with the Limits server. Must match a valid user in the CVA-RC application. |

To enable Limits, add the following to your `application.yml`:

```yaml theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
limits:
  autoconfiguration:
    enabled: true
    limits-base-url: http://your-limits-server:9091
    service-principal: admin  # must match a user in CVA-RC's user store
```
