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