Skip to content

Commit

Permalink
[#84] Replace application.properties with application.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Dec 6, 2024
1 parent 63ae004 commit b0c28f2
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 69 deletions.
69 changes: 0 additions & 69 deletions src/main/resources/application.properties

This file was deleted.

56 changes: 56 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
server:
servlet:
context-path: /record-manager

management:
endpoints:
web:
exposure:
include: health

persistenceDriver: cz.cvut.kbss.ontodriver.rdf4j.Rdf4jDataSou# URL of repository that holds main data of the application

repositoryUrl: http://localhost:7200/repositories/record-manager-app

formGenRepositoryUrl: http://localhost:7200/repositories/record-manager-formgen

formGenServiceUrl: http://localhost:8080/s-pipes/service?_pId=transform&sgovRepositoryUrl=https%3A%2F%2Fgraphdb.onto.fel.cvut.cz%2Frepositories%2Fkodi-slovnik-gov-cz

security:
sameSite: ""
provider: internal
oidc:
roleClaim: realm_access.roles
cors:
allowedOrigins: ""

appContext: http://localhost:3000/record-manager

smtp:
host: smtp.gmail.com
port: 587
user: [email protected]
password: AdminOrganization123

email:
displayName: Record Manager
from: ""
replyTo: ""
cc: ""
bcc: ""
passwordResetSubject: Password Reset
passwordResetContent: >-
<div><p>Dear user {{username}}, </p><p>please set your new password here: {{link}} </p><p>Best regards, <br>StudyManager</p></div>
invitationSubject: Welcome to study
invitationContent: >-
<div><p>Dear {{name}}, </p><p>you have been invited to a study running at {{appContext}}. </p><p>Your username is: {{username}}. </p>\
<p>Please set your password here: {{link}} </p><p>Best regards, <br>StudyManager</p></div>
passwordChangeSubject: Password Change
passwordChangeContent: >-
<div><p>Dear user {{username}}, </p><p>your password has been changed. </p><p>Best regards, <br>RecordManager</p></div>
profileUpdateSubject: Profile updated by a study coordinator
profileUpdateContent: >-
<div><p>Dear user {{username}}, </p><p>your profile at {{appContext}} has been updated by a study coordinator. </p><p>Best regards, <br>RecordManager</p></div>
records:
allowedRejectReason: true

0 comments on commit b0c28f2

Please sign in to comment.