config changes
This commit is contained in:
parent
9c8d1aa1dc
commit
fab39a3776
|
@ -1,3 +0,0 @@
|
|||
endpoints:
|
||||
prometheus:
|
||||
sensitive: false
|
|
@ -1,25 +0,0 @@
|
|||
management:
|
||||
endpoint:
|
||||
metrics:
|
||||
enabled: true
|
||||
prometheus:
|
||||
enabled: true
|
||||
health:
|
||||
show-details: always
|
||||
metrics:
|
||||
enable:
|
||||
http: true
|
||||
jvm: true
|
||||
jdbc: true
|
||||
tomcat: true
|
||||
logback: true
|
||||
hikaricp: true
|
||||
cache: true
|
||||
export:
|
||||
prometheus:
|
||||
enabled: true
|
||||
endpoints:
|
||||
web:
|
||||
base-path: /
|
||||
exposure:
|
||||
include: prometheus,health,metrics
|
|
@ -1,7 +0,0 @@
|
|||
email:
|
||||
invite: classpath:templates/email/email.html
|
||||
confirmation: classpath:templates/email/emailConfirmation.html
|
||||
merge: classpath:templates/email/emailMergeConfirmation.html
|
||||
unlink: classpath:templates/email/emailUnlinkConfirmation.html
|
||||
dataset:
|
||||
template: classpath:templates/email/emailAdmin.html
|
|
@ -1,53 +0,0 @@
|
|||
spring:
|
||||
mail:
|
||||
default-encoding: UTF-8
|
||||
host: hermes.local.cite.gr
|
||||
port: 25
|
||||
protocol: smtp
|
||||
test-connection: false
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: false
|
||||
starttls:
|
||||
enable: false
|
||||
|
||||
mail:
|
||||
subject: "Invitation to DMP Plan {dmpname}"
|
||||
from: opendmp-dev@cite.gr
|
||||
|
||||
admin:
|
||||
mail:
|
||||
subject: "You have been invited to the Dataset Template {templateName}"
|
||||
|
||||
email:
|
||||
invite: file:templates/email/email.html
|
||||
confirmation: file:templates/email/emailConfirmation.html
|
||||
merge: file:templates/email/emailMergeConfirmation.html
|
||||
unlink: classpath:templates/email/emailUnlinkConfirmation.html
|
||||
dataset:
|
||||
template: file:templates/email/emailAdmin.html
|
||||
|
||||
conf_email:
|
||||
expiration_time_seconds: 14400
|
||||
subject: "OpenDMP email confirmation"
|
||||
|
||||
contact_email:
|
||||
mail: ${CONTACT_EMAIL:}
|
||||
|
||||
notification:
|
||||
finalised:
|
||||
subject: "[OpenDMP] The {name} has been finalised"
|
||||
template: classpath:templates/notifications/finalisedNotification.html
|
||||
modified_finalised:
|
||||
template: classpath:templates/notifications/modifiedFinalisedNotification.html
|
||||
modified:
|
||||
subject: "[OpenDMP] The {name} has been modified"
|
||||
template: classpath:templates/notifications/modifiedNotification.html
|
||||
publish:
|
||||
subject: "[OpenDMP] The {name} has been published"
|
||||
template: classpath:templates/notifications/publishNotification.html
|
||||
rateInterval: 30000
|
||||
maxRetries: 10
|
||||
modifiedFinalised:
|
||||
subject: "[OpenDMP] The {name} has been modified and finalised"
|
|
@ -0,0 +1,10 @@
|
|||
metrics:
|
||||
task:
|
||||
referenceTypes:
|
||||
funderIds: ["538928bb-c7c6-452e-b66d-08e539f5f082"]
|
||||
grantIds: ["5b9c284f-f041-4995-96cc-fad7ad13289c"]
|
||||
projectIds: ["3d372db5-a456-45e6-a845-e41e1a8311f8"]
|
||||
researcherIds: ["5a2112e7-ea99-4cfe-98a1-68665e26726e"]
|
||||
endpoints:
|
||||
prometheus:
|
||||
sensitive: false
|
|
@ -4,10 +4,10 @@ metrics:
|
|||
intervalSeconds: 600
|
||||
nexusDate: "2021-01-01T00:00:00.00Z"
|
||||
referenceTypes:
|
||||
funderIds: ["538928bb-c7c6-452e-b66d-08e539f5f082"]
|
||||
grantIds: ["5b9c284f-f041-4995-96cc-fad7ad13289c"]
|
||||
projectIds: ["3d372db5-a456-45e6-a845-e41e1a8311f8"]
|
||||
researcherIds: ["5a2112e7-ea99-4cfe-98a1-68665e26726e"]
|
||||
funderIds: []
|
||||
grantIds: []
|
||||
projectIds: []
|
||||
researcherIds: []
|
||||
management:
|
||||
endpoint:
|
||||
metrics:
|
||||
|
@ -16,10 +16,11 @@ management:
|
|||
enabled: true
|
||||
health:
|
||||
show-details: always
|
||||
endpoints:
|
||||
web:
|
||||
base-path: /
|
||||
exposure:
|
||||
include: ["prometheus","health","metrics"]
|
||||
include: prometheus,health,metrics
|
||||
|
||||
metrics:
|
||||
enabled: true
|
||||
|
|
|
@ -33,7 +33,6 @@ export class StorageFileService {
|
|||
download(id: Guid ): Observable<HttpResponse<Blob>> {
|
||||
const url = `${this.apiBase}/download/${id}`;
|
||||
|
||||
|
||||
return this.http.get(url, { responseType: 'blob', observe: 'response' });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue