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

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

adjust config to allow ndg browse icon definition

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