This repository has been archived by the owner on Oct 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
85 lines (82 loc) · 1.65 KB
/
config.yml
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
78
79
80
81
82
83
84
85
version: '1'
schema:
types:
schools:
identifier: longname
child_type: subjects
parent_type: null
subjects:
identifier: shortname
child_type: listings
parent_type: schools
listings:
identifier: shortname
child_type: sections
parent_type: subjects
sections:
identifier: crn
child_type: null
parent_type: listings
sources:
sources:
acalog:
location: http://adapter-acalog:4600
poll: 86400 # 1 day
root: subjects
banner:
location: http://adapter-banner:4600
poll: 43200 # 12 hours
root: subjects
banner-seats:
location: http://adapter-banner:4600/seats
poll: 300 # 5 minutes
root: sections
yaml-schools:
location: http://adapter-yaml:4600
poll: 86400 # 1 day
# poll: 60
root: schools
csv-topics:
location: http://adapter-csv:4600
poll: 600 # 10 minutes
root: subjects
# admin:
# location: admin
# poll: 60 # 1 minute
# root: schools
priorities:
default:
fields:
# - admin
- banner-seats
- csv-topics
- acalog
- banner
- yaml-schools
schools:
existence: yaml-schools
subjects:
existence: yaml-schools
listings:
existence: banner
fields:
longname:
# - admin
- csv-topics
- acalog
- banner
description:
- csv-topics
- admin
- acalog
sections:
existence: banner
fields:
seats:
# - admin
- banner-seats
- banner
seats_available:
# - admin
- banner-seats
- banner