pastis-external-application.yml 1.07 KB
Newer Older
naji's avatar
naji committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#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