# To change this license header, choose License Headers in Project Properties. # To change this template file, choose Tools | Templates # and open the template in the editor. ## addd oauth client and resource information security.oauth2.client.clientId=jie.yuan security.oauth2.client.clientSecret=jieyuan2018 security.oauth2.client.accessTokenUri=https://unity.eudat-aai.fz-juelich.de:443/oauth2/token security.oauth2.client.userAuthorizationUri=https://unity.eudat-aai.fz-juelich.de:443/oauth2-as/oauth2-authz security.oauth2.client.scope=USER_PROFILE security.oauth2.client.grantType=authorization_code security.oauth2.resource.userInfoUri=https://unity.eudat-aai.fz-juelich.de:443/oauth2/userinfo app.jwtSecret= JWTSuperSecretKey app.jwtExpirationInMs = 604800000 spring.jpa.hibernate.ddl-auto=create #spring.jpa.hibernate.ddl-auto=none #spring.jpa.hibernate.ddl-auto=create-drop #spring.datasource.url=jdbc:mysql://localhost:3306/svmontest spring.datasource.url=jdbc:mysql://mysql2g.scc.kit.edu:3306/ez9857_devtest1 # using this for production #spring.datasource.url=jdbc:mysql://mysql2g.scc.kit.edu:3306/ez9857_svmontest #spring.datasource.url=jdbc:mysql://svmon-dev.scc.kit.edu:3306/svmon # TODO - Change the privileges to only let make select, insert, delete and update and not schema spring.datasource.username=ez9857 spring.datasource.password=mysql@KIT@2018 #spring.datasource.driver-class-name =com.mysql.jdbc.Driver spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect server.error.whitelabel.enabled=true # TODO - This is for debug and develop, comment it when finish db development operations #logging.level.org.hibernate.SQL=DEBUG #logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE # Credentials for DPMT externalCredentials.username =api-user externalCredentials.password =GOCDB-api-user #Cron configuration scheduled tasks #Checks if there is new data on the DMPT and GOCDB servers and update the local DB, default executes every day at 00:00 AM scheduled.checkForUpdatesDatabase=0 1 1 * * * #Logging configuration #Enables colored output acording diferent lvls (info, warning, error) spring.output.ansi.enabled.TRUE #Path of the logs folder logging.file =${user.dir}/logs/svmon.log server.port=8443 # The alias mapped to the certificate server.ssl.key-alias=1 # production #server.ssl.key-alias=shared # The password used to generate the certificate server.ssl.key-password=changeit # production server.ssl.key-password=123456 # The path to the keystore containing the certificate server.ssl.key-store=tomcat.keystore # production #server.ssl.key-store=store.keys server.ssl.key-store-provider=SUN # The format used for the keystore server.ssl.key-store-type=JKS # Tell Spring Security (if used) to require requests over HTTPS security.require-ssl=true security.sessions=NEVER #Configuration # The path to the keystore of the GOCDB CERTIFICATE containing the certificate certificateGOCDB.name=svmonKeystore.p12 # The password used to generate the certificate certificateGOCDB.password=12345 certificateGOCDB.trustStorePath=/home/yuan/develop/svmon-app/svmon-keys/cacerts #certificateGOCDB.trustStorePath=C:\\Program Files\\Java\\jre1.8.0_161/lib/security/cacerts