Skip to content
Snippets Groups Projects
application.yml 1.98 KiB
Newer Older
  • Learn to ignore specific revisions
  • logging:
      level:
        ROOT: WARN
    
        '[de.ozgcloud]': INFO
    
        '[org.springframework.security]': WARN
    
    
    ozgcloud:
    
      auth:
        token:
          secret: XPPWagXn3rDwKG6YwoirXPPWagXn3rDwKG6YwoirXPPWagXn3rDwKG6YwoirXPPWagXn3rDwKG6Ywoir
          validity: 60000
      keycloak:
        auth-server-url: https://sso.dev.by.ozg-cloud.de
        realm: by-kiel-dev
        resource: ${jwt.auth.converter.resource-id}
      production: true
      upload:
        maxFileSize:
          postfachNachrichtAttachment: 3MB
          wiedervorlageAttachment: 40MB
      user-manager:
        url: https://localhost
        profile-template: /api/userProfiles/%s
        search-template: /api/userProfiles/?searchBy={searchBy}
    
    jwt:
      auth:
        converter:
          resource-id: alfa
    
          principle-attribute: preferred_username
    
    
    spring:
      mvc:
        pathmatch:
          matching-strategy: ant-path-matcher
    
      application:
        name: Alfa
    
      jackson:
        deserialization:
          'ADJUST_DATES_TO_CONTEXT_TIME_ZONE': false
      servlet:
        multipart:
          max-file-size: 2GB
          max-request-size: 2GB
    
      config:
        import: optional:configserver:http://localhost:8888/
    
      security:
        oauth2:
          resourceserver:
            jwt:
              issuer-uri: ${ozgcloud.keycloak.auth-server-url}/realms/${ozgcloud.keycloak.realm}
              jwk-set-uri: ${spring.security.oauth2.resourceserver.jwt.issuer-uri}/protocol/openid-connect/certs
    
    server:
      http2:
        enabled: true
      error:
        include-stacktrace: never
    
    management:
      server:
        port: 8081
      health:
        livenessState:
          enabled: true
        readinessState:
          enabled: true
      endpoint:
        health:
          group:
            exploratory:
              include: livenessState,readinessState,ping
              show-details: always
          probes:
            enabled: true
        prometheus:
          enabled: true
      endpoints:
        web:
          exposure:
    
            include: health,prometheus,refresh
    
    
        vorgang-manager:
    
          address: static://127.0.0.1:9090
          negotiationType: PLAINTEXT
        user-manager:
          address: static://127.0.0.1:9000
    
          negotiationType: TLS