Zielgruppe BetriebVersion: GSB10.1GSB Applikation serviceportal
Die Applkation serviceportal
stellt die Schnittstelle für nutzergenerierte Inhalte zur Verfügung und ist Grundlage aller serviceportal
Service-Instanzen verwendet.
Die Datei application.properties
enthält die Konfiguration der Applikation.
Konfigurationsdatei aplication.properties
(Service-Instanz serviceportal-service
)
#
# Copyright © 2018 Materna Information & Communications SE
#
#################################################################################
### ####
### Konfiguration Serviceportal ####
### ####
#################################################################################
server.port=9611
spring.datasource.username=serviceportal
spring.datasource.password=serviceportal
# START: Datenbank MySQL
spring.jpa.database-platform=org.hibernate.dialect.MySQL57Dialect
spring.datasource.url=jdbc:mysql://serviceportal.database.example.com:3306/serviceportal?serverTimezone=Europe/Berlin&useSSL=false
# END: Datenbank MySQL
# START: Datenbank Oracle
#spring.datasource.url=jdbc:oracle:thin:@serviceportal.database.example.com:1521:serviceportal
# END: Datenbank Oracle
#################################################################################
# Konfiguration Repository
#################################################################################
serviceportal.connection.repository.default.url=http://repository.preview.example.com:6001
#serviceportal.connection.repository.customer2.url=http://repository.preview.example.com:6001
#################################################################################
# Konfiguration User-Service
#################################################################################
serviceportal.connection.userservice.internal.url=http://userservicepreview.service.example.com:6521
serviceportal.connection.userservice.internal.password=secret
serviceportal.connection.userservice.external.url=http://userservicelive.service.example.com:7521
serviceportal.connection.userservice.external.password=secret
#################################################################################
# Konfiguration Solr-Server
#################################################################################
serviceportal.connection.solr.default.preview.url=http://solr.preview.example.com:6401
serviceportal.connection.solr.default.live.url=http://solr.master.example.com:7401
#serviceportal.connection.solr.standardlsg.preview.url=http://solr.master.example.com:7401
#serviceportal.connection.solr.standardlsg.preview.cores=standardlsg_functions, core2
#serviceportal.connection.solr.standardlsg.live.url=http://solr.preview.example.com:6401
#serviceportal.connection.solr.standardlsg.live.cores=standardlsg_functions, core2
#serviceportal.connection.solr.customer2.preview.url=http://solr.master.example.com:7401
#serviceportal.connection.solr.customer2.preview.cores=customer2_functions, core2
#serviceportal.connection.solr.customer2.live.url=http://solr.preview.example.com:6401
#serviceportal.connection.solr.customer2.live.cores=customer2_functions, core2
#################################################################################
# Konfiguration MailDistributor - Adminservice
#################################################################################
serviceportal.connection.maildistributor.default.url=http://maildistributor.service.example.com:9801
#serviceportal.connection.maildistributor.standardlsg.url=http://maildistributor.service.example.com:9801
#serviceportal.connection.maildistributor.customer2.url=http://maildistributor.service.example.com:9801
Beschreibung der application-Properties
Property-Name | Beschreibung |
---|---|
server.port | Portnummer auf dem der Http-Port der CAS-Applikation läuft. Standard Spring-Boot-Property (s.a. https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html) |
spring.jpa.database-platform | Defintion der zugrundeliegenden Datenbank und des Datenbankdialekts. Standard Spring-Boot DB-Property (s. obiger Link) |
spring.datasource.url | Datenbank Connect-String. Standard Spring-Boot DB-Property (s. obiger Link) |
spring.datasource.username , spring.datasource.password | Datenbank-Benutzer und -Passwort für die Anmeldung der Applikation an die Datenbank. Standard Spring-Boot DB-Property (s. obiger Link) |
serviceportal.connection.userservice.internal.url | Url unter welcher der GSB Userservice der Redaktion erreichbar ist (Format Schema://Servername:Portnummer ) |
serviceportal.connection.userservice.internal.password | Passwort für die Kommunikation mit dem GSB Userservice der Redaktion. Das Passwort muss der Userservice-Property gsb.userservice.technical-users.spring.password entsprechen. |
serviceportal.connection.userservice.external.url | Url unter welcher der GSB Userservice des Livesystems erreichbar ist (Format Schema://Servername:Portnummer ) |
serviceportal.connection.userservice.external.password | Passwort für die Kommunikation mit dem GSB Userservice des Livesystems. Das Passwort muss der Userservice-Property gsb.userservice.technical-users.spring.password entsprechen. |
serviceportal.connection.solr.default.preview.url , serviceportal.connection.solr.default.live.url | Urls der Solr Server der Redaktions- (preview ) und der Liveumgebung (live ) |
serviceportal.connection.maildistributor.default.url | Default Url für den Zugriff auf den Maildistributor. Mandantenspezifische Maildistributor-Urls können wie im Beispiel skizziert definiert werden. |