-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci_config.yml
45 lines (45 loc) · 1.92 KB
/
ci_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
app:
host: 127.0.0.1
port: 8000
# API will auto-reload when changes on code files are detected
reload: true
images:
image_thumbnail_size: [50, 50]
waveform_thumbnail_size: [100, 100]
default_colour_map: viridis
colourbar_height_pixels: 16
mongodb:
mongodb_url: mongodb://localhost:27017
database_name: opsgateway
# Maximum number of documents to return when querying, similar to ICAT's maxEntities
max_documents: 1000
image_store_directory: /home/runner/og-images
auth:
private_key_path: /home/runner/work/operationsgateway-api/id_rsa
public_key_path: /home/runner/work/operationsgateway-api/id_rsa.pub
jwt_algorithm: RS256
access_token_validity_mins: 60
refresh_token_validity_days: 7
fedid_server_url: ldap://fed.cclrc.ac.uk:389
fedid_server_ldap_realm: FED.CCLRC.AC.UK
experiments:
user_office_wsdl_url: https://devapi.facilities.rl.ac.uk/ws/UserOfficeWebService?wsdl
scheduler_wsdl_url: https://devapis.facilities.rl.ac.uk/ws/ScheduleWebService?wsdl
# Credentials for user office/scheduler system
username: username
password: password
# When no experiments are stored in the database, this is the start date to use when
# contacting the Scheduler for the 'new experiments'. This setting is only used the
# first time that experiments are being populated into the database
first_scheduler_contact_start_date: 2019-01-02T00:00:00Z
# Flag to enable/disable the background task to contact the Scheduler
scheduler_background_task_enabled: false
# Cron job string format. Every Monday at 9:00am - 0 9 * * 1
scheduler_background_frequency: 0 9 * * 1
# Timezones as per dateutil.tz. https://stackoverflow.com/a/15454186 provides a way of
# listing available timezones
scheduler_background_timezone: Europe/London
# Number of minutes to wait before retrying if the background task of getting new
# experiments from the Scheduler fails
scheduler_background_retry_mins: 20
instrument_name: Gemini