application.yml 1.35 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
55
# TECHNICAL PROPERTIES / DON'T put environment properties
# This property can be override by a config file give at run time with spring.config.location

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

#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
rng.base.directory: rng/
json.base.file: rng/ProfileJson.json
pua.definitions.file: pua_validation/ProfileJson.json
json.template.file: rng/AUP_default_PASTIS.json

#PORT
server.port: 8096
server-identity:
  identityName: vitamui-dev
  identityRole: pastis-standalone
  identityServerId: 1

management:
  endpoints:
    jmx:
      domain: ${server-identity.identityRole}
      unique-names: true
      web.exposure.include: info,health,prometheus
  endpoint:
    health:
      show-details: always
    prometheus:
      enabled: true
zikas96's avatar
zikas96 committed
56
cors.allowed-origins: https://dev.vitamui.com:4251,https://localhost,http://localhost:8096,http://sandbox23.cines.fr:8096
naji's avatar
naji committed
57