8.2.19.2. Configuration / fichiers utiles

Les fichiers de configuration sont gérés par les procédures d’installation ou de mise à niveau de l’environnement VITAM. Se référer au DIN.

Les fichiers de configuration sont définis sous /vitam/conf/workspace.

8.2.19.2.1. Fichier workspace.conf

jettyConfig: jetty-config.xml

storagePath: {{ vitam_folder_data }}
provider: filesystem
contextPath: {{ vitam_struct.context_path }}
workspacePathByTenantEnabled: false

{% set storage_thresholds = vitam_struct.storageThresholds | default({}, true) %}
# Storage saturation thresholds. Both checks are disabled by default; see the DEX for the operating procedure.
# The sizeUnit below applies to platformCapacity and each tenant `threshold` (BYTE / KILOBYTE / MEGABYTE / GIGABYTE).
storageThresholds:
  platformCapacity: {{ storage_thresholds.platformCapacity | default(0) }}
  sizeUnit: {{ storage_thresholds.sizeUnit | default('GIGABYTE') }}
  platformThresholdPercent: {{ storage_thresholds.platformThresholdPercent | default(90) }}
  cacheRefreshIntervalSeconds: {{ storage_thresholds.cacheRefreshIntervalSeconds | default(600) }}
  defaultTenantThreshold: {{ storage_thresholds.defaultTenantThreshold | default(0) }}
{% if storage_thresholds.tenantThresholds is defined and storage_thresholds.tenantThresholds is not none %}
  tenantThresholds:
{% for tenant_range, threshold in storage_thresholds.tenantThresholds.items() %}
    - tenants: '{{ tenant_range }}'
      threshold: {{ threshold }}
{% endfor %}
{% endif %}