source: MILK/trunk/milk_server/milk.config @ 5801

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk.config@5801
Revision 5801, 10.1 KB checked in by sdonegan, 10 years ago (diff)

config also points to button pics for text or vocab search icon

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