Skip to content
Snippets Groups Projects
pastis-external-application.yml 1.07 KiB
Newer Older
naji's avatar
naji committed
#Spring docs swagger
springdoc:
  api-docs:
    path: /api-docs
  swagger-ui:
    path: /open-api.html
  model-and-view-allowed: false

# Pastis Rest APi
rng:
  base:
    file: rng/Profil_seda_pastis_mvp.rng
json:
  base:
    file: rng/ProfileJson.json
pua:
  definitions:
    file: pua_validation/ProfileJson.json

spring:
  application:
    name: ${server-identity.identityRole}
  api:
    name: API Pastis External
    description: This API is used to manage Vitam's profile
    version: v1
  servlet:
    multipart:
      max-file-size: 10MB
      max-request-size: 11MB
      enabled: true
  mvc:
    favicon:
      enabled: false
  jackson:
    serialization:
      write-dates-as-timestamps: false

  management:
    endpoints:
      jmx:
        domain: ${server-identity.identityRole}
        unique-names: true
        web.exposure.include: info,health,prometheus
    endpoint:
      health:
        show-details: always
      prometheus:
        enabled: true

  swagger:
    layer: api-external
    file-path: file:../../../tools/swagger/docs/api-external/pastis-external/swagger.json