source: MILK/trunk/milk_server/ndgDiscovery.config @ 4477

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/ndgDiscovery.config@4477
Revision 4477, 10.8 KB checked in by cbyrom, 11 years ago (diff)

Add tab for atom editor + add configuration option to enable/disable this.

Line 
1#
2# NDG Configuration File
3# At deployment time the only pieces that a user ought to need to customise
4# will be
5#    - the server address
6#    - it might be necessary to customise the location of the layout directory
7#    - the localLink, localImage and localAlt in the [layout] section
8#
9[DEFAULT]
10#
11# the following is the server on which this browse/discovery instance runs!
12server:         http://localhost
13#server:       http://superglue.badc.rl.ac.uk:8083
14## This is the proxied server root
15#server: http://superglue.badc.rl.ac.uk/ndg-test
16
17#
18# the following is the server on which the NDG discovery service is running! (Not to be confused with
19# the server on which the NDG discovery web service is running). This can and probably should be the local
20# server (i.e. don't change it!)
21#
22ndgServer:      %(server)s
23#
24##!NOTE: These are changed to  reflect the proxy prefix
25#layout:         /ndg-test/layout/
26#icondir:        /ndg-test/layout/icons/
27layout:          /layout/
28icondir:         /layout/icons/
29
30#
31mailserver:       xxxoutbox.rl.ac.uk
32metadataMaintainer: b.n.lawrence@rl.ac.uk
33repository:        %(server)s
34tbrecipient:      b.n.lawrence@rl.ac.uk
35
36# The following should only be needed for debugging some parts of the code when running on sandboxes behind a firewall
37proxyServer:      http://wwwcache3.rl.ac.uk:8080/
38disclaimer:       
39
40[SEARCH]
41advancedURL:        %(ndgServer)s/discovery
42discoveryURL:       %(ndgServer)s/discovery
43helpURL:            %(ndgServer)s/discovery?help=1
44
45[logging]
46debuglog:        discovery.log
47
48[layout]
49###### user customisable:
50localLink:      %(ndgServer)s/layout/
51localImage:     %(icondir)sndg_logo_circle.gif
52localAlt:       visit badc
53###### ought to be the end of the customisations
54ndgLink:        http://ndg.nerc.ac.uk/
55ndgImage:       %(icondir)sndg_logo_circle.gif
56ndgAlt:         visit ndg
57stfcLink:       http://ceda.stfc.ac.uk/
58stfcImage:      %(icondir)sstfc-circle-sm.gif
59key:            %(icondir)spadlock.png
60Xicon:          %(icondir)sxml.png
61plot:           %(icondir)splot.png
62printer:        %(icondir)sprinter.png
63helpIcon:       %(icondir)shelp.png
64HdrLeftAlt:     %(icondir)s Natural Environment Research Council
65HdrLeftLogo:    %(icondir)sNERC_Logo.gif
66navMinus:       %(icondir)snavigate_minus.png
67navPlus:                %(icondir)snavigate_plus.png
68
69pageLogo:       %(layout)s20050502_albert-park_silhouetted-trees-and-clouds_02_cropped.jpg
70
71[HELP]
72helpFile:       %(layout)shelp.html
73
74[ATOM_EDITOR]
75# if set to True, the editor will be available
76enabled: True
77# if set to True, errors output with stacktrace to templates
78debug: True             
79
80[NDG_A_SERVICE]
81badc.nerc.ac.uk: http://glue.badc.rl.ac.uk/cgi-bin/dxui
82icon: %(icondir)splot.png
83#%(icondir)sdata_aservice.png
84icon_alt: A Service
85service_name: A
86icon_title: LINKS to a DATA BROWSE view of this dataset
87instance: datasetURI_%s
88
89[NDG_B_SERVICE]
90#
91#These are the hosts which are publicly available on which the browse
92#service is running. The list should be of the form repository: hostname
93#where repository is the NDG identifier ....
94#
95neodc.nerc.ac.uk: %(server)s
96badc.nerc.ac.uk: %(server)s
97www.npm.ac.uk: http://wwwdev.neodaas.ac.uk/projects/ndg
98grid.bodc.nerc.ac.uk: http://grid.bodc.nerc.ac.uk
99ndg.noc.soton.ac.uk: http://ndg.noc.soton.ac.uk:8001
100icon: %(icondir)sbrowse_bservice.png
101icon_alt: B Service
102icon_title: Links to a METADATA BROWSE view of this dataset
103service_name: B
104instance: SERVICEHOST/view/URI
105
106[NDG_EXIST]
107#
108# following is a list of repository servers, actually only one is needed,
109# at any one location running browse, and that is the local one. The
110# entire purpose of the rest of the list is to simplify updates. These
111# hosts do not need to be visible outside of corporate firewalls.
112# The list should be of the form repository: hostname where repository
113# is the NDG identifier.
114#
115local: chinook.badc.rl.ac.uk
116badc.nerc.ac.uk: chinook.badc.rl.ac.uk
117neodc.nerc.ac.uk: chinook.badc.rl.ac.uk
118grid.bodc.nerc.ac.uk: grid.bodc.nerc.ac.uk
119ndg.noc.soton.ac.uk: ndg.noc.soton.ac.uk
120www.npm.ac.uk: pgsql.npm.ac.uk
121passwordFile: ./passwords.txt
122
123#
124# NDG Security
125#
126
127# Security settings for configuration as a client to a Single Sign On Service
128# i.e. Where Are You From, login and logout operations are handled by a
129# separate standalone paster instance
130#[NDG_SECURITY.ssoClient]
131## THIS service's address for secure connections - the Single Sign On service
132## returns security parameters to this service along this channel
133#sslServer: https://localhost
134##sslServer: https://ndgbeta.badc.rl.ac.uk
135#
136## THIS service's address for unencrypted connections - when login is complete,
137## the BaseController redirects to an equivalent address under this host name.
138## sslServer and server settings must match for the sharing of cookies.
139#server: http://localhost
140#
141## WAYF running on Single Sign On Service - omit to default to WAYF running on
142## THIS paster instance
143#wayfURI:               https://localhost/sso/wayf
144#
145## Logout URI running on Single Sign On Service - omit to default to logout
146## running on THIS paster instance
147#logoutURI:             https://localhost/sso/logout
148
149# Security settings for running a Single Sign On Service from this paster
150# instance.  Either NDG_SECURITY.ssoClient or NDG_SECURITY.ssoService sections
151# should be set but NOT both
152
153# Single Sign On Service Settings
154[NDG_SECURITY.ssoService]
155
156# THIS service's address for secure connections - the Single Sign On service
157# returns security parameters to this service along this channel
158sslServer: https://localhost
159#sslServer: https://ndgbeta.badc.rl.ac.uk
160
161# THIS service's address for unencrypted connections - when login is complete,
162# the BaseController redirects to an equivalent address under this host name.
163# sslServer and server settings must match for the sharing of cookies.
164server: http://localhost
165
166enableOpenID: True
167
168# Redirect SOAP output to a file e.g. open(<somefile>, 'w')
169tracefile: None
170#tracefile: sys.stderr
171
172# Service addresses
173sessionMgrURI: https://localhost/SessionManager
174#sessionMgrURI: https://ndgbeta.badc.rl.ac.uk/SessionManager
175attAuthorityURI: http://localhost:5000/AttributeAuthority
176#attAuthorityURI: http://aa.ceda.rl.ac.uk
177
178# SSL Connections
179#
180# Space separated list of CA cert. files.  The peer cert.
181# must verify against at least one of these otherwise the connection is
182# dropped.  Include CA certs for all the sites trusted
183sslCACertFilePathList: certs/ndg-test-ca.crt
184
185# Web Services HTTP Proxy fine tuning
186#
187# For most situations, these settings can be ignored and instead make use of
188# the http_proxy environment variable.  They allow for the case where specific
189# settings are needed just for the security web services calls
190
191# Overrides the http_proxy environment variable setting - may be omitted
192#httpProxyHost: wwwcache.rl.ac.uk:8080
193
194# Web service clients pick up the no_proxy environment variable setting by
195# default.  Set this parameter to override no_proxy for web service
196# connections. 
197#noHttpProxyList: localhost, 127.0.0.1
198
199# WS-Security signature handler - set a config file with 'wssCfgFilePath'
200# or omit and put the relevant content directly in here under
201# 'NDG_SECURITY.wssecurity' section
202#wssCfgFilePath: wssecurity.cfg
203
204[NDG_SECURITY.wssecurity]
205
206# Settings for signature of an outbound message ...
207
208# Certificate associated with private key used to sign a message.  The sign
209# method will add this to the BinarySecurityToken element of the WSSE header. 
210# binSecTokValType attribute must be set to 'X509' or 'X509v3' ValueType. 
211# As an alternative, use 'signingCertChain' parameter
212
213# file path PEM encoded cert
214signingCertFilePath=certs/clnt.crt
215
216# file path to PEM encoded private key file
217signingPriKeyFilePath=certs/clnt.key
218
219# Password protecting private key.  Leave blank if there is no password.
220signingPriKeyPwd=
221
222# Provide a space separated list of file paths.  CA Certs should be included
223# for all the sites this installation trusts
224caCertFilePathList=certs/ndg-test-ca.crt
225
226# Set the ValueType for the BinarySecurityToken added to the WSSE header for a
227# signed message. 
228reqBinSecTokValType=X509v3
229
230# Add a timestamp element to an outbound message
231addTimestamp=True
232
233# For WSSE 1.1 - service returns signature confirmation containing signature
234# value sent by client
235applySignatureConfirmation=False
236
237#
238# Gatekeeper settings
239#
240[NDG_SECURITY.gatekeeper]
241#
242# Policy Enforcement Point calls a Policy Decision Point interface:
243
244# File path to Python module containing the PDP class - leave blank if the
245# module is in PYTHONPATH env var
246pdpModFilePath:
247
248# Name of PDP Python module
249pdpModName: ndg.security.common.authz.pdp.browse
250
251# Name of PDP class used
252pdpClassName: BrowsePDP
253
254# File Path to configuration file used by PDP class (environment variables
255# can be used in this path e.g. $PDP_CONFIG_DIR/pdp.cfg.  Omit this parameter
256# to make the PEP read the PDP settings from THIS config file
257#pdpCfgFilePath:
258
259# Read PDP params from THIS section
260pdpCfgSection: NDG_SECURITY.gatekeeper
261
262#
263# Settings for Policy Decision Point called by the PEP
264
265# Address of Attribute Authority for Data Provider
266#aaURI: http://aa.ceda.rl.ac.uk
267aaURI: http://localhost:5000/AttributeAuthority
268
269# Verify peer cert for SSL connections to Session Manager
270sslCACertFilePathList: certs/ndg-test-ca.crt
271
272# Set to file object to dump SOAP message output for debugging
273tracefile:
274
275# CA certificates used to verify the signature of user Attribute Certificates
276# - space delimited list but note that currently only the CA of this site
277# is needed because only mapped Attribute Certificates may be accepted.
278acCACertFilePathList: certs/ndg-test-ca.crt
279
280# X.509 Distinguished Name for Attribute Certificate issuer - should match with
281# the issuer element of the users Attribute Certificate submitted in order to
282# gain access
283acIssuer: /CN=AttributeAuthority/O=NDG Security Test/OU=Site A
284#acIssuer: /CN=AttributeAuthority/O=NDG/OU=BADC
285
286# WS-Security signature handler - set a config file with 'wssCfgFilePath'
287# or omit and put the relevant content directly in here under the section name
288# specified by 'wssCfgSection' below
289#wssCfgFilePath: wssecurity.cfg
290
291# Config file section for WS-Security settings - Nb. the gatekeeper shares the
292# same settings as the Single Sign On Service.
293wssCfgSection: NDG_SECURITY.wssecurity
294
295[RELATED]
296icon: %(icondir)srelated_link.png
297icon_alt: Related
298service_name: Related
299icon_title: Links to a RELATED URL
300instance: uri
301
302[DISCOVERY]
303icon: %(icondir)scatalogue_dservice.png
304icon_alt: Catalogue
305service_name: Catalogue
306default: %(server)s
307formatDefault=DIF
308icon_title: Links to the DISCOVERY RECORD for this dataset
309#standalone: True
310standalone: False
311#NB, if unset, this will default to the discovery service at ndg.badc.rl.ac.uk
312#discoveryServiceURL:http://localhost:8080/axis2/services/DiscoveryService
313
314[MILK_SERVER]
315#
316# Configure the MILK_SERVER framework here
317#
318
319# exception_type: whether OGC servers should send a valid ExceptionReport on errors
320#     or use pylon's debugger.  Very useful for debugging OWS controllers.  Default is ogc
321#exception_type: ogc
322#exception_type: pylons
323
Note: See TracBrowser for help on using the repository browser.