source: cows_wps/trunk/test.ini @ 5615

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows_wps/trunk/test.ini@7084
Revision 5615, 4.2 KB checked in by spascoe, 10 years ago (diff)

COWS WPS package copied from
 http://proj.badc.rl.ac.uk/svn/dcip/cows-wps/trunk.

This is a stripped down version of the DDP WPS. Some features are
removed and others have been deactivated until we reimplement them in a
more generic way.

Line 
1#
2# cows_wps - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7debug = true
8# Uncomment and replace with the address which should receive any error reports
9#email_to = you@yourdomain.com
10smtp_server = localhost
11error_email_from = paste@localhost
12
13############################################################################
14
15[server:main]
16use = egg:Paste#http
17host = 127.0.0.1
18port = 8080
19
20############################################################################
21[app:main]
22use = egg:cows_wps
23full_stack = true
24cache_dir = %(here)s/data
25
26# If behind a proxy uncomment this and edit the filter:proxy-prefix section
27#filter-with = proxy-prefix
28
29# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
30# Debug mode will enable the interactive debugging tool, allowing ANYONE to
31# execute malicious code after an exception is raised.
32#set debug = false
33
34####################
35# WPS config section
36
37#!NOTE: wps.logs_dir is removed.  Use logging config section below
38
39# Path to the whole DDP stack.  Used for reading configuration files
40
41wps.ddp_path = %(here)s/..
42
43# Directory where process output directories are stored.  Needs to be shared
44# across all nodes under the same path
45wps.proc_output_dir = %(here)s/proc_outputs
46#wps.proc_output_dir = /disks/westerly1/pnorton/test_outputs
47
48# Place where config initialisation files are stored.  Theoretically doesn't
49# need to be visible to execute hosts but some processes might rely on it.
50wps.proc_config_dir = %(here)s/configs
51
52wps.outputs_rules = %(here)s/outputs_rules.ini
53
54# Metadata output options
55wps.max_len_metadata_line = 42
56
57# Initiation file for the process output rules
58wps.outputs_rules = %(here)s/outputs_rules.ini
59
60# Database backend options
61wps.database_url = sqlite:///:memory:
62#wps.database_url = sqlite:////disks/westerly1/pnorton/db/example.db
63#wps.database_url = postgres://wps:m0nGOliA_^!@localhost/cows_wps
64
65#Test email sending arguments
66wps.test_email_sending = true
67wps.test_email_lookup_file = /disks/westerly1/pnorton/test_mail/address_lookup.csv
68wps.test_email_output = /disks/westerly1/pnorton/test_mail/mail_output.csv
69
70#Email sending arguments
71wps.notify_email_from = no-reply@wps
72wps.mailhost = <mailhost>
73wps.ukcp_helpdesk_url = http://ukclimateprojections.defra.gov.uk/content/view/518/681/
74wps.ui_url_to_jobs_page = http://localhost/jobs/page/path/jobs.php
75
76#User database connection
77wps.userdb_url = postgres://user:pass@server/name
78wps.userdb_test = false
79
80# Sun Grid Engine options
81wps.sge_root = /usr/local/sge
82wps.sge_cell = default
83wps.max_proc_duration = 300
84wps.sge_queue_l = test_l.q
85wps.sge_queue_s = test_s.q
86wps.max_l_proc = 1
87wps.max_s_proc = 2
88wps.sge_queue_timeout = 5
89wps.runproc_path = %(here)s/../buildout/bin/ddp_runproc
90
91# Nappy configuration
92wps.nappy_base = %(here)s/../../nappy
93wps.nappy_locals = %(here)s/../config/nappy_ukcp09_attributes.ini
94wps.nappy_annotations = %(here)s/../config/ukcp09_nappy_annotations.ini
95
96# Threshold Detector options
97wps.td_config = %(here)s/../lib/ddp/threshold_detector/td.ini
98
99
100# VNC options
101# Where vncserver will put config information
102wps.vnc_user_dir = %(here)s/.vncctrl
103
104wps.caching_enabled = true
105wps.mpl_configdir = %(here)s/.matplotlib
106wps.worker_pool = 5
107
108############################
109# COWS configuration section
110
111capabilities_config = %(here)s/capabilities.conf
112ows_server.capabilities_config = %(here)s/capabilities.conf
113
114#############################################################################
115
116#
117# Edit this to work behind a proxy.  It should match the apache ProxyPass directive
118#
119[filter:proxy-prefix]
120use = egg:PasteDeploy#prefix
121prefix = /wps-ng
122
123#############################################################################
124# Logging configuration
125#[loggers]
126#keys = root, cows_wps
127#
128#[handlers]
129#keys = console
130#
131#[formatters]
132#keys = generic
133#
134#[logger_root]
135#level = INFO
136#handlers = console
137#
138#[logger_cows_wps]
139#level = DEBUG
140#handlers =
141#qualname = cows_wps
142#
143#[handler_console]
144#class = StreamHandler
145#args = (sys.stderr,)
146#level = NOTSET
147#formatter = generic
148#
149#[formatter_generic]
150#format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
151#datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.