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

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

Replace 'viewItems' controller and flesh out selected Items controller - to allow user to plot results out in Google Earth and conTerra +
add wmc client section to config file to allow this to be specified as
an alternative service + tidy up some logging and unused code + update
prototype version to avoid IE problems.

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[WMC_CLIENT]
81# specify url for the client; if not specified it will not be possible to view WMS data for
82# discovered records
83url=
84
85[NDG_A_SERVICE]
86badc.nerc.ac.uk: http://glue.badc.rl.ac.uk/cgi-bin/dxui
87icon: %(icondir)splot.png
88#%(icondir)sdata_aservice.png
89icon_alt: A Service
90service_name: A
91icon_title: LINKS to a DATA BROWSE view of this dataset
92instance: datasetURI_%s
93
94[NDG_B_SERVICE]
95#
96#These are the hosts which are publicly available on which the browse
97#service is running. The list should be of the form repository: hostname
98#where repository is the NDG identifier ....
99#
100neodc.nerc.ac.uk: %(server)s
101badc.nerc.ac.uk: %(server)s
102www.npm.ac.uk: http://wwwdev.neodaas.ac.uk/projects/ndg
103grid.bodc.nerc.ac.uk: http://grid.bodc.nerc.ac.uk
104ndg.noc.soton.ac.uk: http://ndg.noc.soton.ac.uk:8001
105icon: %(icondir)sbrowse_bservice.png
106icon_alt: B Service
107icon_title: Links to a METADATA BROWSE view of this dataset
108service_name: B
109instance: SERVICEHOST/view/URI
110
111[NDG_EXIST]
112#
113# following is a list of repository servers, actually only one is needed,
114# at any one location running browse, and that is the local one. The
115# entire purpose of the rest of the list is to simplify updates. These
116# hosts do not need to be visible outside of corporate firewalls.
117# The list should be of the form repository: hostname where repository
118# is the NDG identifier.
119#
120local: chinook.badc.rl.ac.uk
121badc.nerc.ac.uk: chinook.badc.rl.ac.uk
122neodc.nerc.ac.uk: chinook.badc.rl.ac.uk
123grid.bodc.nerc.ac.uk: grid.bodc.nerc.ac.uk
124ndg.noc.soton.ac.uk: ndg.noc.soton.ac.uk
125www.npm.ac.uk: pgsql.npm.ac.uk
126passwordFile: ./passwords.txt
127
128#
129# NDG Security
130#
131
132# Security settings for configuration as a client to a Single Sign On Service
133# i.e. Where Are You From, login and logout operations are handled by a
134# separate standalone paster instance
135#[NDG_SECURITY.ssoClient]
136## THIS service's address for secure connections - the Single Sign On service
137## returns security parameters to this service along this channel
138#sslServer: https://localhost
139##sslServer: https://ndgbeta.badc.rl.ac.uk
140#
141## THIS service's address for unencrypted connections - when login is complete,
142## the BaseController redirects to an equivalent address under this host name.
143## sslServer and server settings must match for the sharing of cookies.
144#server: http://localhost
145#
146## WAYF running on Single Sign On Service - omit to default to WAYF running on
147## THIS paster instance
148#wayfURI:               https://localhost/sso/wayf
149#
150## Logout URI running on Single Sign On Service - omit to default to logout
151## running on THIS paster instance
152#logoutURI:             https://localhost/sso/logout
153
154# Security settings for running a Single Sign On Service from this paster
155# instance.  Either NDG_SECURITY.ssoClient or NDG_SECURITY.ssoService sections
156# should be set but NOT both
157
158# Single Sign On Service Settings
159[NDG_SECURITY.ssoService]
160
161# THIS service's address for secure connections - the Single Sign On service
162# returns security parameters to this service along this channel
163sslServer: https://localhost
164#sslServer: https://ndgbeta.badc.rl.ac.uk
165
166# THIS service's address for unencrypted connections - when login is complete,
167# the BaseController redirects to an equivalent address under this host name.
168# sslServer and server settings must match for the sharing of cookies.
169server: http://localhost
170
171enableOpenID: True
172
173# Redirect SOAP output to a file e.g. open(<somefile>, 'w')
174tracefile: None
175#tracefile: sys.stderr
176
177# Service addresses
178sessionMgrURI: https://localhost/SessionManager
179#sessionMgrURI: https://ndgbeta.badc.rl.ac.uk/SessionManager
180attAuthorityURI: http://localhost:5000/AttributeAuthority
181#attAuthorityURI: http://aa.ceda.rl.ac.uk
182
183# SSL Connections
184#
185# Space separated list of CA cert. files.  The peer cert.
186# must verify against at least one of these otherwise the connection is
187# dropped.  Include CA certs for all the sites trusted
188sslCACertFilePathList: certs/ndg-test-ca.crt
189
190# Web Services HTTP Proxy fine tuning
191#
192# For most situations, these settings can be ignored and instead make use of
193# the http_proxy environment variable.  They allow for the case where specific
194# settings are needed just for the security web services calls
195
196# Overrides the http_proxy environment variable setting - may be omitted
197#httpProxyHost: wwwcache.rl.ac.uk:8080
198
199# Web service clients pick up the no_proxy environment variable setting by
200# default.  Set this parameter to override no_proxy for web service
201# connections. 
202#noHttpProxyList: localhost, 127.0.0.1
203
204# WS-Security signature handler - set a config file with 'wssCfgFilePath'
205# or omit and put the relevant content directly in here under
206# 'NDG_SECURITY.wssecurity' section
207#wssCfgFilePath: wssecurity.cfg
208
209[NDG_SECURITY.wssecurity]
210
211# Settings for signature of an outbound message ...
212
213# Certificate associated with private key used to sign a message.  The sign
214# method will add this to the BinarySecurityToken element of the WSSE header. 
215# binSecTokValType attribute must be set to 'X509' or 'X509v3' ValueType. 
216# As an alternative, use 'signingCertChain' parameter
217
218# file path PEM encoded cert
219signingCertFilePath=certs/clnt.crt
220
221# file path to PEM encoded private key file
222signingPriKeyFilePath=certs/clnt.key
223
224# Password protecting private key.  Leave blank if there is no password.
225signingPriKeyPwd=
226
227# Provide a space separated list of file paths.  CA Certs should be included
228# for all the sites this installation trusts
229caCertFilePathList=certs/ndg-test-ca.crt
230
231# Set the ValueType for the BinarySecurityToken added to the WSSE header for a
232# signed message. 
233reqBinSecTokValType=X509v3
234
235# Add a timestamp element to an outbound message
236addTimestamp=True
237
238# For WSSE 1.1 - service returns signature confirmation containing signature
239# value sent by client
240applySignatureConfirmation=False
241
242#
243# Gatekeeper settings
244#
245[NDG_SECURITY.gatekeeper]
246#
247# Policy Enforcement Point calls a Policy Decision Point interface:
248
249# File path to Python module containing the PDP class - leave blank if the
250# module is in PYTHONPATH env var
251pdpModFilePath:
252
253# Name of PDP Python module
254pdpModName: ndg.security.common.authz.pdp.browse
255
256# Name of PDP class used
257pdpClassName: BrowsePDP
258
259# File Path to configuration file used by PDP class (environment variables
260# can be used in this path e.g. $PDP_CONFIG_DIR/pdp.cfg.  Omit this parameter
261# to make the PEP read the PDP settings from THIS config file
262#pdpCfgFilePath:
263
264# Read PDP params from THIS section
265pdpCfgSection: NDG_SECURITY.gatekeeper
266
267#
268# Settings for Policy Decision Point called by the PEP
269
270# Address of Attribute Authority for Data Provider
271#aaURI: http://aa.ceda.rl.ac.uk
272aaURI: http://localhost:5000/AttributeAuthority
273
274# Verify peer cert for SSL connections to Session Manager
275sslCACertFilePathList: certs/ndg-test-ca.crt
276
277# Set to file object to dump SOAP message output for debugging
278tracefile:
279
280# CA certificates used to verify the signature of user Attribute Certificates
281# - space delimited list but note that currently only the CA of this site
282# is needed because only mapped Attribute Certificates may be accepted.
283acCACertFilePathList: certs/ndg-test-ca.crt
284
285# X.509 Distinguished Name for Attribute Certificate issuer - should match with
286# the issuer element of the users Attribute Certificate submitted in order to
287# gain access
288acIssuer: /CN=AttributeAuthority/O=NDG Security Test/OU=Site A
289#acIssuer: /CN=AttributeAuthority/O=NDG/OU=BADC
290
291# WS-Security signature handler - set a config file with 'wssCfgFilePath'
292# or omit and put the relevant content directly in here under the section name
293# specified by 'wssCfgSection' below
294#wssCfgFilePath: wssecurity.cfg
295
296# Config file section for WS-Security settings - Nb. the gatekeeper shares the
297# same settings as the Single Sign On Service.
298wssCfgSection: NDG_SECURITY.wssecurity
299
300[RELATED]
301icon: %(icondir)srelated_link.png
302icon_alt: Related
303service_name: Related
304icon_title: Links to a RELATED URL
305instance: uri
306
307[DISCOVERY]
308icon: %(icondir)scatalogue_dservice.png
309icon_alt: Catalogue
310service_name: Catalogue
311default: %(server)s
312formatDefault=DIF
313icon_title: Links to the DISCOVERY RECORD for this dataset
314#standalone: True
315standalone: False
316#NB, if unset, this will default to the discovery service at ndg.badc.rl.ac.uk
317#discoveryServiceURL:http://localhost:8080/axis2/services/DiscoveryService
318
319[MILK_SERVER]
320#
321# Configure the MILK_SERVER framework here
322#
323
324# exception_type: whether OGC servers should send a valid ExceptionReport on errors
325#     or use pylon's debugger.  Very useful for debugging OWS controllers.  Default is ogc
326#exception_type: ogc
327#exception_type: pylons
328
Note: See TracBrowser for help on using the repository browser.