Skip to content

Commit

Permalink
Parameter for plagiarism results size limit #7556
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubriegel committed Nov 11, 2023
1 parent 065e0d4 commit bc89839
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -65,6 +65,8 @@ artemis_scheduling_continuous_plagiarism_control_trigger_time: 0 0 4 * * * # eve

artemis_data_export_days_between_data_exports: 14

artemis_plagiarism_checks_plagiarism_results_limit: 100

artemis_ssh_key_path: /opt/keys
artemis_ssh_key_name: "artemis_ssh_key"
artemis_ssh_priv_key_value: #FIXME
Expand Down
2 changes: 2 additions & 0 deletions roles/artemis/templates/application-prod.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ artemis:
continuous-plagiarism-control-trigger-time: {{ artemis_scheduling_continuous_plagiarism_control_trigger_time }}
data-export:
days-between-data-exports: {{ artemis_data_export_days_between_data_exports }}
plagiarism-checks:
plagiarism-results-limit: {{ artemis_plagiarism_checks_plagiarism_results_limit }}

{% if iris is defined and iris is not none %}
iris:
Expand Down
1 change: 1 addition & 0 deletions roles/artemis/templates/artemis.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ ARTEMIS_SCHEDULING_DATAEXPORTCREATIONTIME = '{{ artemis_scheduling_data_export_c
ARTEMIS_SCHEDULING_PROGRAMMINGEXERCISESCLEANUPTIME = '{{ artemis_scheduling_programming_exercises_cleanup_time }}'
ARTEMIS_SCHEDULING_CONTINUOUSPLAGIARISMCONTROLTRIGGERTIME = '{{ artemis_scheduling_continuous_plagiarism_control_trigger_time }}'
ARTEMIS_DATAEXPORT_DAYSBETWEENDATAEXPORTS = '{{ artemis_data_export_days_between_data_exports }}'
ARTEMIS_PLAGIARISMCHECKS_PLAGIARISMRESULTSLIMIT = '{{ artemis_plagiarism_checks_plagiarism_results_limit }}'
{% if is_multinode_install|bool == true and artemis_jhipster_jwt is not none and artemis_jhipster_registry_password is not none %}
JHIPSTER_SECURITY_AUTHENTICATION_JWT_BASE64SECRET='{{ artemis_jhipster_jwt }}'
JHIPSTER_SECURITY_AUTHENTICATION_JWT_TOKENVALIDITYINSECONDS='259200'
Expand Down

0 comments on commit bc89839

Please sign in to comment.