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! |
---|
12 | #server: http://localhost |
---|
13 | server: http://localhost:8080 |
---|
14 | |
---|
15 | # |
---|
16 | # the following is the server on which the NDG discovery service is running! (Not to be confused with |
---|
17 | # the server on which the NDG discovery web service is running). This can and probably should be the local |
---|
18 | # server (i.e. dont change it!) |
---|
19 | # |
---|
20 | ndgServer: %(server)s |
---|
21 | # |
---|
22 | # this is the physical file location of the layout directory on this machine |
---|
23 | # |
---|
24 | layoutdir: /home/bnl/sandboxes/ndg/TI07-MOLES/trunk/PythonCode/wsgi/ |
---|
25 | # |
---|
26 | # this should never be changed |
---|
27 | # |
---|
28 | layout: /layout/ |
---|
29 | icondir: /layout/icons/ |
---|
30 | # |
---|
31 | mailserver: outbox.rl.ac.uk |
---|
32 | metadataMaintainer: b.n.lawrence@rl.ac.uk |
---|
33 | repository: http://localhost:8080 |
---|
34 | tbrecipient: 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 |
---|
37 | proxyServer: http://wwwcache3.rl.ac.uk:8080/ |
---|
38 | |
---|
39 | [SEARCH] |
---|
40 | advancedURL: %(ndgServer)s/discovery |
---|
41 | discoveryURL: %(ndgServer)s/discovery |
---|
42 | helpURL: %(ndgServer)s/discovery?help=1 |
---|
43 | |
---|
44 | [logging] |
---|
45 | debuglog: discovery.log |
---|
46 | |
---|
47 | [layout] |
---|
48 | ###### user customisable: |
---|
49 | localLink: http://ndg.nerc.ac.uk/ |
---|
50 | localImage: %(layout)sndg_logo_circle.gif |
---|
51 | localAlt: visit badc |
---|
52 | ###### ought to be the end of the customisations |
---|
53 | ndgLink: http://ndg.nerc.ac.uk/ |
---|
54 | ndgImage: %(layout)sndg_logo_circle.gif |
---|
55 | ndgAlt: visit ndg |
---|
56 | stfcLink: http://ceda.stfc.ac.uk/ |
---|
57 | stfcImage: %(layout)sstfc-circle-sm.gif |
---|
58 | key: %(icondir)spadlock.png |
---|
59 | keyGrey: %(layout)skeyG.gif |
---|
60 | selectI: %(layout)stick.png |
---|
61 | Xicon: %(icondir)sxml.png |
---|
62 | printer: %(icondir)sprinter.png |
---|
63 | helpIcon: %(icondir)shelp.png |
---|
64 | HdrLeftAlt: %(layout)sNatural Environment Research Council |
---|
65 | HdrLeftLogo: %(layout)sNERC_Logo.gif |
---|
66 | |
---|
67 | pageLogo: %(layout)s20050502_albert-park_silhouetted-trees-and-clouds_02_cropped.jpg |
---|
68 | |
---|
69 | ndgJavascript: %(layout)sndgJavascript.js |
---|
70 | |
---|
71 | [HELP] |
---|
72 | helpFile: %(layoutdir)s%(layout)shelp.html |
---|
73 | |
---|
74 | [NDG_A_SERVICE] |
---|
75 | badc.nerc.ac.uk: http://glue.badc.rl.ac.uk/cgi-bin/dxui |
---|
76 | icon: %(icondir)sdata_aservice.png |
---|
77 | icon_alt: A Service |
---|
78 | service_name: A |
---|
79 | icon_title: LINKS to a DATA BROWSE view of this dataset |
---|
80 | instance: datasetURI_%s |
---|
81 | |
---|
82 | [NDG_B_SERVICE] |
---|
83 | # |
---|
84 | #These are the hosts which are publicly available on which the browse |
---|
85 | #service is running. The list should be of the form repository: hostname |
---|
86 | #where repository is the NDG identifier .... |
---|
87 | # |
---|
88 | neodc.nerc.ac.uk: %(server)s |
---|
89 | badc.nerc.ac.uk: %(server)s |
---|
90 | www.npm.ac.uk: http://wwwdev.neodaas.ac.uk/projects/ndg |
---|
91 | grid.bodc.nerc.ac.uk: http://grid.bodc.nerc.ac.uk |
---|
92 | ndg.noc.soton.ac.uk: http://ndg.noc.soton.ac.uk:8001 |
---|
93 | icon: %(icondir)sbrowse_bservice.png |
---|
94 | icon_alt: B Service |
---|
95 | icon_title: Links to a METADATA BROWSE view of this dataset |
---|
96 | service_name: B |
---|
97 | instance: SERVICEHOST/view/URI |
---|
98 | |
---|
99 | [NDG_EXIST] |
---|
100 | # |
---|
101 | # following is a list of repository servers, actually only one is needed, |
---|
102 | # at any one location running browse, and that is the local one. The |
---|
103 | # entire purpose of the rest of the list is to simplify updates. These |
---|
104 | # hosts do not need to be visible outside of corporate firewalls. |
---|
105 | # The list should be of the form repository: hostname where repository |
---|
106 | # is the NDG identifier. |
---|
107 | # |
---|
108 | local: chinook.badc.rl.ac.uk |
---|
109 | badc.nerc.ac.uk: chinook.badc.rl.ac.uk |
---|
110 | neodc.nerc.ac.uk: chinook.badc.rl.ac.uk |
---|
111 | grid.bodc.nerc.ac.uk: grid.bodc.nerc.ac.uk |
---|
112 | ndg.noc.soton.ac.uk: ndg.noc.soton.ac.uk |
---|
113 | www.npm.ac.uk: pgsql.npm.ac.uk |
---|
114 | #passwordFile: /home/bnl/sandboxes/ndg/TI05-delivery/ows_framework/trunk/ows_server/passwords.txt |
---|
115 | passwordFile: ./passwords.txt |
---|
116 | |
---|
117 | [NDG_SECURITY] |
---|
118 | # Server address for secure connections |
---|
119 | #sslServer: https://localhost |
---|
120 | sslServer: https://ndgbeta.badc.rl.ac.uk |
---|
121 | |
---|
122 | # Redirect SOAP output to a file e.g. open(<somefile>, 'w') |
---|
123 | tracefile: None |
---|
124 | #tracefile: sys.stderr |
---|
125 | |
---|
126 | # Service addresses |
---|
127 | #sessionMgrURI: https://localhost:5700/SessionManager |
---|
128 | sessionMgrURI: https://ndgbeta.badc.rl.ac.uk/SessionManager |
---|
129 | #attAuthorityURI: http://localhost:5000/AttributeAuthority |
---|
130 | attAuthorityURI: http://aa.ceda.rl.ac.uk |
---|
131 | |
---|
132 | # WS-Security signature handler |
---|
133 | # This is an application certificate ... (which may be a machine certificate) |
---|
134 | # X.509 certificate sent with outbound signed messages |
---|
135 | wssCertFilePath: secpem/Junk-cert.pem |
---|
136 | |
---|
137 | # Private key used to sign messages |
---|
138 | # This is an application certificate ... (which may be a machine certificate) |
---|
139 | wssKeyFilePath: secpem/Junk-key.pem |
---|
140 | |
---|
141 | # Password for private key - comment out if the file is not password protected |
---|
142 | wssKeyPwd: Junk |
---|
143 | |
---|
144 | # Space separated list of CA cert. files to validate certs against when |
---|
145 | # verifying responses |
---|
146 | wssCACertFilePathList: secpem/cacert.pem |
---|
147 | |
---|
148 | # SSL Connections |
---|
149 | # |
---|
150 | # Space separated list of CA cert. files. The peer cert. |
---|
151 | # must verify against at least one of these otherwise the connection is |
---|
152 | # dropped. |
---|
153 | sslCACertFilePathList: secpem/cacert.pem |
---|
154 | |
---|
155 | # Set an alternate CommonName to match with peer cert for SSL |
---|
156 | # Connections. If the CN=hostname of the peer then this option |
---|
157 | # can be commented out |
---|
158 | #sslPeerCertCN: |
---|
159 | |
---|
160 | # Gatekeeper Attribute Certificate check |
---|
161 | # Issuer - should match with the issuer element of the users Attribute |
---|
162 | # Certificate submitted in order to gain access |
---|
163 | acIssuer: /CN=AttributeAuthority/O=NDG/OU=BADC |
---|
164 | #acIssuer: /CN=Junk/O=NDG/OU=Gabriel |
---|
165 | |
---|
166 | # verification of X.509 cert back to CA |
---|
167 | acCACertFilePathList: secpem/cacert.pem |
---|
168 | |
---|
169 | [RELATED] |
---|
170 | icon: %(icondir)srelated_link.png |
---|
171 | icon_alt: Related |
---|
172 | service_name: Related |
---|
173 | icon_title: Links to a RELATED URL |
---|
174 | instance: uri |
---|
175 | |
---|
176 | [DISCOVERY] |
---|
177 | icon: %(icondir)scatalogue_dservice.png |
---|
178 | icon_alt: Catalogue |
---|
179 | service_name: Catalogue |
---|
180 | default: %(server)s |
---|
181 | formatDefault=DIF |
---|
182 | icon_title: Links to the DISCOVERY RECORD for this dataset |
---|
183 | |
---|
184 | [OWS_SERVER] |
---|
185 | # |
---|
186 | # Configure the OWS_SERVER framework here |
---|
187 | # |
---|
188 | |
---|
189 | # exception_type: whether OGC servers should send a valid ExceptionReport on errors |
---|
190 | # or use pylon's debugger. Very useful for debugging OWS controllers. Default is ogc |
---|
191 | #exception_type: ogc |
---|
192 | #exception_type: pylons |
---|
193 | |
---|