forked from cakefm/crowd_task_manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings_example.yaml
77 lines (70 loc) · 2.64 KB
/
settings_example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# This config has some optional fancy parsing options, that can be added after a '|' separator in the config entry name.
#
# The first option explicitly indicates the type of the entry (the default is str).
# So far the following are supported:
# - int (value will be read as int)
# - float (value will be read as float)
# - ip (value will be converted to namedtuple with str "ip" and int "port" fields, format is "ip:port", e.g. "192.168.0.1:5000")
# - path (value will be converted to a pathlib Path object)
#
# The second option indicates the range, which currently only works for numerical types (float/int).
# The two values are separate by "...", with the left one being the lower limit and the right one being the upper.
# Addresses ("ip:port")
mongodb_address|ip: ""
rabbitmq_address|ip: ""
measure_detector_address|ip: ""
# Mongo DB
db_name: "trompa_test"
col_slice: "slices"
col_score: "scores"
col_sheet: "sheets"
col_aggregated_result: "results_agg"
col_result: "results"
col_task: "tasks"
col_task_context: "task_context"
col_submitted_task: "submitted_tasks"
col_task_type: "task_types"
col_task_batch: "task_batches"
col_campaign_status: "campaign_status"
# Rabbit MQ
mq_new_item: "measure_detector_queue"
mq_sheet: "sheet_queue"
mq_score: "score_queue"
mq_slicer: "slicer_queue"
mq_score_rebuilder: "score_rebuilder_queue"
mq_aggregator: "aggregator_queue"
mq_github_init: "github_init_queue"
mq_github: "github_queue"
mq_aggregator_xml: "aggregator_xml_queue"
mq_aggregator_form: "aggregator_form_queue"
mq_omr_planner: "omr_planner_queue"
mq_omr_planner_status: "omr_planner_status_queue"
mq_task_scheduler: "task_scheduler_queue"
mq_task_scheduler_status: "task_scheduler_status_queue"
mq_ce_communicator: "ce_communicator_queue"
mq_aligner: "aligner_queue"
mq_form_processor: "form_processor_queue"
mq_task_passthrough: "task_passthrough_queue"
# Paths
upload_folder|path: "/omr_files/"
base_sheet_path|path: "/home/ubuntu/omr_files"
# Github
delete_if_exists|bool: true # Delete github repo if it already exists. Mostly for testing, should be off in production to prevent accidental deletions
only_commit_if_changed|bool: true # Only commit when there was a change
github_enable|bool: true
github_user: ""
github_token: ""
github_organization: ""
github_branch: ""
# Aggregator
aggregator_consensus_tolerance|float: 0.0
aggregator_xml_threshold|float|0...1: 0.6
aggregator_form_threshold|float|0...1: 0.6
# Other
skip_measure_detection|bool: false # Assumes there's a pre-made skeleton present already for the score if true
use_cert|bool: true
ce_server: ""
current_server: ""
entrypoint_id: ""
processing_potentialaction_id: ""
verify_potentialaction_id: ""