Newer
Older
# ===================================================================
# Spring Boot configuration for the "dev" profile.
#
# This configuration overrides the application.yml file.
#
# More information on profiles: https://www.jhipster.tech/profiles/
# More information on configuration properties: https://www.jhipster.tech/common-application-properties/
# ===================================================================
# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================
logging:
level:
ROOT: DEBUG
org.glassfish.jersey.client.ClientExecutorProvidersConfigurator: INFO
javax.management.mbeanserver: INFO
management:
health:
elasticsearch:
enabled: false
# profiles:
# active: dev
# include:
# - doc-api
# Uncomment to activate TLS for the dev profile
#- tls
additional-exclude: static/**,.h2.server.properties
livereload:
enabled: false # we use Webpack dev server + BrowserSync for livereload
jackson:
serialization:
indent-output: true
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:h2:file:./target/h2db/db/gitsearch;DB_CLOSE_DELAY=-1
username: gitsearch
password:
hikari:
poolName: Hikari
auto-commit: false
h2:
console:
# disable spring boot built-in h2-console since we start it manually with correct configuration
database-platform: tech.jhipster.domain.util.FixedH2Dialect
elasticsearch:
rest:
uris: http://localhost:9200
liquibase:
# Remove 'faker' if you do not want the sample data to be loaded automatically
contexts: dev, faker
mail:

Eduard Frankford
committed
host: smtp.uibk.ac.at

Eduard Frankford
committed
from: artemis-support-informatik@uibk.ac.at
username: ${MAIL_USERNAME}
password: ${MAIL_PASSWORD}
smtp:
auth: true
starttls:
enable: true
required: true
messages:
cache-duration: PT1S # 1 second, see the ISO 8601 standard
thymeleaf:
cache: false
issuer-uri: https://keycloak.codeability-austria.uibk.ac.at/auth/realms/gitsearch
client-id: ${OIDC_KEYCLOAK_CLIENTID}
client-secret: ${OIDC_KEYCLOAK_SECRET}
# gitlabOidc:
# client-id: ${GITLAB_OIDC_CLIENTID}
# client-secret: ${GITLAB_OIDC_CLIENT_SECRET}
# scope: api,read_user,read_api,read_repository,write_repository,read_registry,write_registry,sudo,openid,profile,email
server:
port: 8080
# ===================================================================
# JHipster specific properties
#
# Full reference is available at: https://www.jhipster.tech/common-application-properties/
# ===================================================================
jhipster:
cache: # Cache configuration
ehcache: # Ehcache configuration
time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache
max-entries: 100 # Number of objects in each cache entry
# CORS is only enabled by default with the "dev" profile
# Allow Ionic for JHipster by default (* no longer allowed in Spring Boot 2.4+)
allowed-origins: 'http://localhost:8100,https://localhost:8100,http://localhost:9000,https://localhost:9000,http://localhost:4200,https://localhost:4200'
exposed-headers: 'Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params'
allow-credentials: true
max-age: 1800
security:
content-security-policy: "default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://secure.gravatar.com/;connect-src 'self' http://localhost:9001 ws://localhost:9001; font-src 'self' data:"
# TODO: audience seems not really relevant, could be omitted? It is identical with client-id above
authentication:
jwt:
# This token must be encoded using Base64 and be at least 256 bits long (you can type `openssl rand -base64 64` on your command line to generate a 512 bits one)
# Token is valid 24 hours
token-validity-in-seconds: 86400
token-validity-in-seconds-for-remember-me: 2592000
mail: # specific JHipster mail property, for standard properties see MailProperties
logging:
use-json-format: false # By default, logs are not in Json format
logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
enabled: false
host: localhost
port: 5000
queue-size: 512
audit-events:
retention-period: 30 # Number of days before audit events are deleted.
# ===================================================================
# Application specific properties
# Add your own application properties here, see the ApplicationProperties class
# to have type-safe configuration, like in the JHipsterProperties above
#
# More documentation is available at:
# https://www.jhipster.tech/common-application-properties/
# ===================================================================
frontEndUrl: http://localhost:9001
- url: 'http://localhost:8081/api/sharing/config'
accessToken: ${SHARING_CONFIG_ACCESS_TOKEN}
- url: 'http://localhost:8082/api/sharingPluginConfig'
accessToken: ${SHARING_PLUGIN_ACCESS_TOKEN}
registeredConnectorsCallBackURL: http://localhost:8080/api
installationName: Sharing Plattform (Development)
gitlab:
url: ${SECURITY_OAUTH2_CLIENT_PROVIDER_GITLABOIDC_ISSUERURI}
guestAccessToken: ${APPLICATION_GITLAB_GENERALACCESSTOKEN}
adminAccessToken: ${APPLICATION_GITLAB_ADMINACCESSTOKEN}
oeResource:
oerLink: https://oeresource-dev.logic.at
apiLink: https://oeresource-dev.logic.at/en/meta/api/v1?format=json
edu-sharing-integration:
enabled: true