[2615] | 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! |
---|
[3893] | 12 | server: http://localhost |
---|
[3842] | 13 | #server: http://superglue.badc.rl.ac.uk:8083 |
---|
| 14 | ## This is the proxied server root |
---|
[3893] | 15 | #server: http://superglue.badc.rl.ac.uk/ndg-test |
---|
[2934] | 16 | |
---|
[2615] | 17 | # |
---|
| 18 | # the following is the server on which the NDG discovery service is running! (Not to be confused with |
---|
[2860] | 19 | # the server on which the NDG discovery web service is running). This can and probably should be the local |
---|
[3893] | 20 | # server (i.e. don't change it!) |
---|
[2615] | 21 | # |
---|
| 22 | ndgServer: %(server)s |
---|
| 23 | # |
---|
[3842] | 24 | ##!NOTE: These are changed to reflect the proxy prefix |
---|
[3893] | 25 | #layout: /ndg-test/layout/ |
---|
| 26 | #icondir: /ndg-test/layout/icons/ |
---|
| 27 | layout: /layout/ |
---|
| 28 | icondir: /layout/icons/ |
---|
| 29 | |
---|
[2615] | 30 | # |
---|
[3842] | 31 | mailserver: xxxoutbox.rl.ac.uk |
---|
[2646] | 32 | metadataMaintainer: b.n.lawrence@rl.ac.uk |
---|
[3842] | 33 | repository: %(server)s |
---|
[2860] | 34 | tbrecipient: b.n.lawrence@rl.ac.uk |
---|
[2615] | 35 | |
---|
[2860] | 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/ |
---|
[3119] | 38 | disclaimer: |
---|
[2626] | 39 | |
---|
[2615] | 40 | [SEARCH] |
---|
[2655] | 41 | advancedURL: %(ndgServer)s/discovery |
---|
[2615] | 42 | discoveryURL: %(ndgServer)s/discovery |
---|
| 43 | helpURL: %(ndgServer)s/discovery?help=1 |
---|
| 44 | |
---|
| 45 | [logging] |
---|
| 46 | debuglog: discovery.log |
---|
| 47 | |
---|
| 48 | [layout] |
---|
| 49 | ###### user customisable: |
---|
[3893] | 50 | localLink: %(ndgServer)s/layout/ |
---|
[4466] | 51 | localImage: %(icondir)sndg_logo_circle.gif |
---|
[2615] | 52 | localAlt: visit badc |
---|
| 53 | ###### ought to be the end of the customisations |
---|
[3893] | 54 | ndgLink: http://ndg.nerc.ac.uk/ |
---|
[4466] | 55 | ndgImage: %(icondir)sndg_logo_circle.gif |
---|
[2615] | 56 | ndgAlt: visit ndg |
---|
[2672] | 57 | stfcLink: http://ceda.stfc.ac.uk/ |
---|
[4466] | 58 | stfcImage: %(icondir)sstfc-circle-sm.gif |
---|
[2976] | 59 | key: %(icondir)spadlock.png |
---|
| 60 | Xicon: %(icondir)sxml.png |
---|
[3417] | 61 | plot: %(icondir)splot.png |
---|
[2976] | 62 | printer: %(icondir)sprinter.png |
---|
| 63 | helpIcon: %(icondir)shelp.png |
---|
[4466] | 64 | HdrLeftAlt: %(icondir)s Natural Environment Research Council |
---|
| 65 | HdrLeftLogo: %(icondir)sNERC_Logo.gif |
---|
| 66 | navMinus: %(icondir)snavigate_minus.png |
---|
| 67 | navPlus: %(icondir)snavigate_plus.png |
---|
[2615] | 68 | |
---|
[2672] | 69 | pageLogo: %(layout)s20050502_albert-park_silhouetted-trees-and-clouds_02_cropped.jpg |
---|
| 70 | |
---|
[2615] | 71 | [HELP] |
---|
[4259] | 72 | helpFile: %(layout)shelp.html |
---|
[2615] | 73 | |
---|
[4420] | 74 | [ATOM_EDITOR] |
---|
[4477] | 75 | # if set to True, the editor will be available |
---|
| 76 | enabled: True |
---|
[4420] | 77 | # if set to True, errors output with stacktrace to templates |
---|
| 78 | debug: True |
---|
| 79 | |
---|
[2615] | 80 | [NDG_A_SERVICE] |
---|
| 81 | badc.nerc.ac.uk: http://glue.badc.rl.ac.uk/cgi-bin/dxui |
---|
[3417] | 82 | icon: %(icondir)splot.png |
---|
| 83 | #%(icondir)sdata_aservice.png |
---|
[2615] | 84 | icon_alt: A Service |
---|
| 85 | service_name: A |
---|
| 86 | icon_title: LINKS to a DATA BROWSE view of this dataset |
---|
| 87 | instance: 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 | # |
---|
[2655] | 95 | neodc.nerc.ac.uk: %(server)s |
---|
| 96 | badc.nerc.ac.uk: %(server)s |
---|
[2860] | 97 | www.npm.ac.uk: http://wwwdev.neodaas.ac.uk/projects/ndg |
---|
| 98 | grid.bodc.nerc.ac.uk: http://grid.bodc.nerc.ac.uk |
---|
| 99 | ndg.noc.soton.ac.uk: http://ndg.noc.soton.ac.uk:8001 |
---|
[2976] | 100 | icon: %(icondir)sbrowse_bservice.png |
---|
[2615] | 101 | icon_alt: B Service |
---|
| 102 | icon_title: Links to a METADATA BROWSE view of this dataset |
---|
| 103 | service_name: B |
---|
[2655] | 104 | instance: SERVICEHOST/view/URI |
---|
[2615] | 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. |
---|
[2775] | 112 | # The list should be of the form repository: hostname where repository |
---|
[2615] | 113 | # is the NDG identifier. |
---|
| 114 | # |
---|
[2976] | 115 | local: chinook.badc.rl.ac.uk |
---|
[2615] | 116 | badc.nerc.ac.uk: chinook.badc.rl.ac.uk |
---|
| 117 | neodc.nerc.ac.uk: chinook.badc.rl.ac.uk |
---|
| 118 | grid.bodc.nerc.ac.uk: grid.bodc.nerc.ac.uk |
---|
| 119 | ndg.noc.soton.ac.uk: ndg.noc.soton.ac.uk |
---|
[2860] | 120 | www.npm.ac.uk: pgsql.npm.ac.uk |
---|
[2878] | 121 | passwordFile: ./passwords.txt |
---|
[2615] | 122 | |
---|
[3893] | 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 |
---|
[2934] | 133 | #sslServer: https://localhost |
---|
[3893] | 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 | # |
---|
[3919] | 145 | ## Logout URI running on Single Sign On Service - omit to default to logout |
---|
| 146 | ## running on THIS paster instance |
---|
[3893] | 147 | #logoutURI: https://localhost/sso/logout |
---|
[2929] | 148 | |
---|
[3893] | 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 |
---|
| 158 | sslServer: 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. |
---|
| 164 | server: http://localhost |
---|
| 165 | |
---|
[3919] | 166 | enableOpenID: True |
---|
| 167 | |
---|
[2929] | 168 | # Redirect SOAP output to a file e.g. open(<somefile>, 'w') |
---|
[2934] | 169 | tracefile: None |
---|
| 170 | #tracefile: sys.stderr |
---|
[2615] | 171 | |
---|
[2748] | 172 | # Service addresses |
---|
[3893] | 173 | sessionMgrURI: https://localhost/SessionManager |
---|
| 174 | #sessionMgrURI: https://ndgbeta.badc.rl.ac.uk/SessionManager |
---|
| 175 | attAuthorityURI: http://localhost:5000/AttributeAuthority |
---|
| 176 | #attAuthorityURI: http://aa.ceda.rl.ac.uk |
---|
[2748] | 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 |
---|
[3893] | 182 | # dropped. Include CA certs for all the sites trusted |
---|
| 183 | sslCACertFilePathList: certs/ndg-test-ca.crt |
---|
[2748] | 184 | |
---|
[3919] | 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 |
---|
[2748] | 190 | |
---|
[3919] | 191 | # Overrides the http_proxy environment variable setting - may be omitted |
---|
| 192 | #httpProxyHost: wwwcache.rl.ac.uk:8080 |
---|
| 193 | |
---|
[3992] | 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 |
---|
[3919] | 198 | |
---|
[3893] | 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 |
---|
| 214 | signingCertFilePath=certs/clnt.crt |
---|
| 215 | |
---|
| 216 | # file path to PEM encoded private key file |
---|
| 217 | signingPriKeyFilePath=certs/clnt.key |
---|
| 218 | |
---|
| 219 | # Password protecting private key. Leave blank if there is no password. |
---|
| 220 | signingPriKeyPwd= |
---|
| 221 | |
---|
| 222 | # Provide a space separated list of file paths. CA Certs should be included |
---|
| 223 | # for all the sites this installation trusts |
---|
| 224 | caCertFilePathList=certs/ndg-test-ca.crt |
---|
| 225 | |
---|
| 226 | # Set the ValueType for the BinarySecurityToken added to the WSSE header for a |
---|
| 227 | # signed message. |
---|
| 228 | reqBinSecTokValType=X509v3 |
---|
| 229 | |
---|
| 230 | # Add a timestamp element to an outbound message |
---|
| 231 | addTimestamp=True |
---|
| 232 | |
---|
| 233 | # For WSSE 1.1 - service returns signature confirmation containing signature |
---|
| 234 | # value sent by client |
---|
| 235 | applySignatureConfirmation=False |
---|
| 236 | |
---|
[3901] | 237 | # |
---|
| 238 | # Gatekeeper settings |
---|
| 239 | # |
---|
| 240 | [NDG_SECURITY.gatekeeper] |
---|
| 241 | # |
---|
| 242 | # Policy Enforcement Point calls a Policy Decision Point interface: |
---|
[3893] | 243 | |
---|
[3901] | 244 | # File path to Python module containing the PDP class - leave blank if the |
---|
| 245 | # module is in PYTHONPATH env var |
---|
| 246 | pdpModFilePath: |
---|
| 247 | |
---|
| 248 | # Name of PDP Python module |
---|
| 249 | pdpModName: ndg.security.common.authz.pdp.browse |
---|
| 250 | |
---|
| 251 | # Name of PDP class used |
---|
| 252 | pdpClassName: 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 |
---|
| 260 | pdpCfgSection: NDG_SECURITY.gatekeeper |
---|
| 261 | |
---|
| 262 | # |
---|
| 263 | # Settings for Policy Decision Point called by the PEP |
---|
| 264 | |
---|
| 265 | # Address of Attribute Authority for Data Provider |
---|
[3943] | 266 | #aaURI: http://aa.ceda.rl.ac.uk |
---|
| 267 | aaURI: http://localhost:5000/AttributeAuthority |
---|
[3901] | 268 | |
---|
[3992] | 269 | # Verify peer cert for SSL connections to Session Manager |
---|
| 270 | sslCACertFilePathList: certs/ndg-test-ca.crt |
---|
[3901] | 271 | |
---|
| 272 | # Set to file object to dump SOAP message output for debugging |
---|
| 273 | tracefile: |
---|
| 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. |
---|
| 278 | acCACertFilePathList: 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 |
---|
| 283 | acIssuer: /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. |
---|
| 293 | wssCfgSection: NDG_SECURITY.wssecurity |
---|
| 294 | |
---|
[2615] | 295 | [RELATED] |
---|
[2976] | 296 | icon: %(icondir)srelated_link.png |
---|
[2615] | 297 | icon_alt: Related |
---|
| 298 | service_name: Related |
---|
| 299 | icon_title: Links to a RELATED URL |
---|
| 300 | instance: uri |
---|
| 301 | |
---|
| 302 | [DISCOVERY] |
---|
[2976] | 303 | icon: %(icondir)scatalogue_dservice.png |
---|
[2615] | 304 | icon_alt: Catalogue |
---|
| 305 | service_name: Catalogue |
---|
[2655] | 306 | default: %(server)s |
---|
[2615] | 307 | formatDefault=DIF |
---|
| 308 | icon_title: Links to the DISCOVERY RECORD for this dataset |
---|
[3893] | 309 | #standalone: True |
---|
| 310 | standalone: False |
---|
[4259] | 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 |
---|
[2861] | 313 | |
---|
[4466] | 314 | [MILK_SERVER] |
---|
[2861] | 315 | # |
---|
[4466] | 316 | # Configure the MILK_SERVER framework here |
---|
[2861] | 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 | |
---|