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.

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.

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:

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