Skip to content

Commit

Permalink
Add option to enable science event logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Hialus committed Mar 2, 2024
1 parent cf6df70 commit 79b1f27
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/artemis/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ shared_monitoring_host_v4:

artemis_version_control_default_branch_name: main

enable_science_event_logging: false

# If the password of some users is stored externally, you need to provide a name and the reset links. They will be displayed as a hint in the reset form of Artemis.
# You need to at least provide the provider and the English reset link.
artemis_external_password_provider: TUMonline
Expand Down
6 changes: 6 additions & 0 deletions roles/artemis/templates/application-prod.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ artemis:
secret-token: {{ iris.secret }}
{% endif %}

{% if enable_science_event_logging is defined %}
science:
event-logging:
enable: {{ enable_science_event_logging }}
{% endif %}

{% if aeolus.url is defined and aeolus.url is not none %}
aeolus:
url: {{ aeolus.url }}
Expand Down
3 changes: 3 additions & 0 deletions roles/artemis/templates/artemis.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ ARTEMIS_APOLLON_CONVERSIONSERVICEURL='{{ apollon_url }}'
ARTEMIS_IRIS_URL='{{ iris.url }}'
ARTEMIS_IRIS_SECRETTOKEN='{{ iris.secret }}'
{% endif %}
{% if enable_science_event_logging is defined %}
ARTEMIS_SCIENCE_EVENTLOGGING_ENABLE='{{ enable_science_event_logging }}'
{% endif %}
{% if aeolus.url is defined and aeolus.url is not none %}
AEOLUS_URL='{{ aeolus.url }}'
{% if aeolus.token is defined and aeolus.token is not none %}
Expand Down

0 comments on commit 79b1f27

Please sign in to comment.