Um die Standard-Server-Einstellungen zu ändern, musst du über SSH auf die Server-Konsole zugreifen.
Im Persistence-Ordner des Simplifier kannst du die Server-Einstellungen ändern. Der Standardpfad dafür ist /var/lib/simplifier/simplifier/conf/ (bis Release 8 war es: /var/lib/simplifier/data/conf/)
Schritt 1 – Zum Ordner wechseln
cd /var/lib/simplifier/simplifier/conf/
Schritt 2 – include.conf-Datei erstellen
Wenn die include.conf nicht existiert, erstelle eine neue Datei
touch include.conf
Schritt 3 – Einstellungen ändern
Um die Einstellungen zu ändern, öffne die Datei mit vim oder nano
nano include.conf
Schritt 4 – Starte den Simplifier neu
Speichere die Datei und starte den Simplifier-Container neu, um die Einstellungen zu übernehmen.
In einigen Fällen kann es notwendig sein, die HTTP-Timeouts oder die maximalen Verbindungen je nach Umgebung zu erweitern
akka
{
http {
server {
# The time after which an idle connection will be automatically closed.
# Set to `infinite` to completely disable idle connection timeouts.
idle-timeout = 60 s
# Defines the default time period within which the application has to
# produce an HttpResponse for any given HttpRequest it received.
# The timeout begins to run when the *end* of the request has been
# received, so even potentially long uploads can have a short timeout.
# Set to `infinite` to completely disable request timeout checking.
#
# Make sure this timeout is smaller than the idle-timeout, otherwise,
# the idle-timeout will kick in first and reset the TCP connection
# without a response.
#
# If this setting is not `infinite` the HTTP server layer attaches a
# `Timeout-Access` header to the request, which enables programmatic
# customization of the timeout period and timeout response for each
# request individually.
request-timeout = 20 s # the maximum number of concurrently accepted connections when binding a server using
# `Http().newServerAt().bindXYZ()` methods.
#
# This setting doesn't apply to the `Http().bind` method which will still
# deliver an unlimited backpressured stream of incoming connections.
#
# Note, that this setting limits the number of the connections on a best-effort basis.
# It does *not* strictly guarantee that the number of established TCP connections will never
# exceed the limit (but it will be approximately correct) because connection termination happens
# asynchronously. It also does *not* guarantee that the number of concurrently active handler
# flow materializations will never exceed the limit for the reason that it is impossible to reliably
# detect when a materialization has ended.
max-connections = 1024
} } }
Wenn Sie Probleme mit größeren Nutzdaten bei der Verwendung unserer Client-API oder REST-, SOAP- oder oDATAv2-Aufrufe haben, verwenden Sie die folgenden Einstellungen:
# HTTP Max Chunk Size anpassen, wenn die Nutzlast größer als 1 MB ist (Standardwert)
akka {
http {
parsing {
max-chunk-size = 5m
}
}
}
Simplifier setzt CORS-Header seit MAKERS CHOICE 25-01 automatisch. Du kannst den Wert für den Parameter Access-Control-Allow-Origin anpassen:
akka-http-cors {
# default: allowed-origins = "*"
allowed-origins = ["https://example.com","https://other.host"]
}
Wenn Sie einen Proxy-Server verwenden, um auf das Internet zuzugreifen, müssen Sie die Proxy-Server-Informationen im Simplifier wie folgt einrichten:
proxy {
host: "proxy.org.com"
port: 3128
byPassUrls: [
"google.de",
"localhost"
]
}
Wenn du mehr Versionen für das Business-Funktions-Changelog benötigst, verwende die folgende Einstellung:
#business object versioning
versioning {
#defines the maximum number of BusinessObject Version History
maximumEntries: 200
}
Um mehr SAP-Funktionsbausteine im App-Assistenten zu sammeln, kannst du entweder den Suchbegriff begrenzen oder die mögliche Liste der Suchergebnisse mit der folgenden Einstellung erweitern:
#sap-rfc connector assistent
rfc {
#defines the maximum amount of returned operations by the backend (necessary due to the old metadata interface and some performance issues as well as high payload amounts)
suggestionLimit: 300
}
Im Falle einer sehr großen Simplifier-Anwendung kann die Build-Zeit für die Generierung des Quellcodes wie in der folgenden Einstellung verlängert werden:
# app deployment toolchain
toolchain {
# general timeout for the UI5 build toolchain.
timeout: 120
# timeout for building an application.
# the time a deployment of an application can take.
# If the deployment takes longer than this value, deplyoment is stopped and an error is thrown.
deploymentTimeout: 120
# timeout for retrieving UI5 metadata
# this value can have inpact on the WYSIWYG preview
propertiesLookupTimeout: 30
}
Im Falle eines Log-Eintrags, der dieser Fehlermeldung ähnelt:
[ERROR] businessObjectCall: jsonParseHandler: com.fasterxml.jackson.core.exc.StreamConstraintsException: String length (20047596) exceeds the maximum length (20000000)
kannst du das Limit erhöhen, indem du den folgenden Eintrag hinzufügst:
json {
parsing {
maxStringLength = 2147483647
}
}
Einstellung von Timeouts für die Kommunikation zwischen den verschiedenen Simplifier-Containern:
hybrid {
timeout {
business-object = 10 minutes
connector = 10 minutes
}
}
database.pool-size = 50
Diese Option definiert die Anzahl der parallelen Datenbankverbindungen, die dem Simplifier-Backend zur Verfügung stehen. Wenn das Herstellen einer neuen Verbindung länger als 100 ms dauert, wird eine Warnung in die Logdatei geschrieben, die vorschlägt, diesen Wert zu erhöhen.











