Skip to content

Configuration

This guide covers all configuration options for the evasys EAI application.

Configuration Properties

The application uses Spring Boot's externalized configuration. Properties can be set via:

  • application.yml / application.properties
  • Environment variables
  • Command-line arguments

evasys Connection

Configure the connection to the evasys SOAP API:

yaml
evasys:
  uri: https://evasys.example.com/evasys/soap.php
  username: api_user
  password: api_password
  connection-timeout: 10s # default
  receive-timeout: 30s # default
  default-teilbereich-id: "5"
PropertyDescriptionDefault
evasys.urievasys SOAP API endpoint URLrequired
evasys.usernameAPI username for authenticationrequired
evasys.passwordAPI password for authenticationrequired
evasys.connection-timeoutTimeout for establishing connections10s
evasys.receive-timeoutTimeout for receiving responses30s
evasys.default-teilbereich-idDefault subunit ID when SAP training data has no TEILBEREICHID setrequired

SAP-PO Connection

Configure the SAP-PO inbound service authentication:

yaml
sappo:
  uri: /services/training
  username: sappo_user
  password: sappo_password
PropertyDescriptionDefault
sappo.uriBase URI for the SOAP endpointrequired
sappo.usernameUsername for SAP-PO authenticationrequired
sappo.passwordPassword for SAP-PO authenticationrequired

Email Notifications

Configure error notification emails:

yaml
evasys:
  notification:
    from: evasys-eai@example.com
    recipients:
      - admin@example.com
      - support@example.com

spring:
  mail:
    host: smtp.example.com
    port: 587
    username: smtp_user
    password: smtp_password
PropertyDescriptionDefault
evasys.notification.fromSender email addressrequired
evasys.notification.recipientsList of recipient email addresses[]
spring.mail.hostSMTP server hostnamerequired
spring.mail.portSMTP server portrequired
spring.mail.usernameSMTP authentication username-
spring.mail.passwordSMTP authentication password-

CXF Web Services

Configure Apache CXF settings:

yaml
cxf:
  path: /ws
PropertyDescriptionDefault
cxf.pathBase path for SOAP web services/ws

The SOAP endpoint will be available at: http://localhost:8080/ws/training

Server Configuration

yaml
server:
  port: 8080
  error:
    whitelabel:
      enabled: false

Actuator Endpoints

The following actuator endpoints are enabled by default:

yaml
management:
  endpoints:
    web:
      exposure:
        include:
          - health
          - info
          - prometheus
          - sbom
      path-mapping:
        prometheus: metrics
  endpoint:
    health:
      probes:
        enabled: true
EndpointPathDescription
Health/actuator/healthApplication health status
Info/actuator/infoApplication information
Metrics/actuator/metricsPrometheus metrics
SBOM/actuator/sbomSoftware Bill of Materials

Logging

The application uses structured JSON logging (Logstash format) by default:

yaml
logging:
  level:
    root: info
    de.muenchen.evasys: debug # optional: enable debug logging
  structured:
    format:
      console: logstash