Revision 8265
Added by ben leinfelder about 11 years ago
testing-metacat.html | ||
---|---|---|
149 | 149 |
<div class="code"><workspace>/metacat/test/test.properties</div> |
150 | 150 |
This should only hold one property: metacat.contextDir. This should point to |
151 | 151 |
the context directory for the metacat server you are testing. For example: |
152 |
<div class="code">metacat.contextDir=/var/lib/tomcat6/webapps/knb</div>
|
|
152 |
<div class="code">metacat.contextDir=/var/lib/tomcat6/webapps/metacat</div>
|
|
153 | 153 |
The test classes will use this to determine where to look for the server |
154 | 154 |
metacat.properties file.</p> |
155 | 155 |
|
... | ... | |
159 | 159 |
You will need to verify that all test.* properties are set correctly: |
160 | 160 |
<ul> |
161 | 161 |
<li>test.printdebug - true if you want debug output, false otherwise </li> |
162 |
<li>test.metacatUrl - the url for the metacat servlet (i.e. http://localhost:8080/knb/metacat)</li>
|
|
163 |
<li>test.contextUrl - the url for the metacat web service (i.e. http://localhost:8080/knb)</li>
|
|
164 |
<li>test.metacatDeployDir - the directory where metacat is physically deployed (i.e. /usr/local/tomcat/webapps/knb)</li>
|
|
162 |
<li>test.metacatUrl - the url for the metacat servlet (i.e. http://localhost:8080/metacat/metacat)</li>
|
|
163 |
<li>test.contextUrl - the url for the metacat web service (i.e. http://localhost:8080/metacat)</li>
|
|
164 |
<li>test.metacatDeployDir - the directory where metacat is physically deployed (i.e. /usr/local/tomcat/webapps/metacat)</li>
|
|
165 | 165 |
<li>test.mcUser - the first metacat test user ("uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org" should be fine)</li> |
166 | 166 |
<li>test.mcPassword - the first metacat test password ("kepler" should be fine)</li> |
167 | 167 |
<li>test.mcAnotherUser - the second metacat test user. This user must be a member of the knb-usr |
... | ... | |
264 | 264 |
<p>For each Skin:</p> |
265 | 265 |
<ul> |
266 | 266 |
<li>View main skin page by going to: |
267 |
<div class="code">http://dev.nceas.ucsb.edu/knb/style/skins/<skin_name></div>
|
|
267 |
<div class="code">http://dev.nceas.ucsb.edu/metacat/style/skins/<skin_name></div>
|
|
268 | 268 |
for each skin, where <skin_name> is in: |
269 | 269 |
<div class="code">default, nceas, esa, knb, lter, ltss, obfs, nrs, sanparks, saeon</div> |
270 | 270 |
Note that the kepler skin is installed on a different metacat instance and can be found at: |
... | ... | |
299 | 299 |
<li>Use your search to find a document</li> |
300 | 300 |
<li>Choose the link to a document - you should see document details |
301 | 301 |
<li>In a separate browser, try the shortcut to the doc: |
302 |
<div class="code">http://dev.nceas.ucsb.edu/knb/metacat/<doc_id>/<skin_name></div>
|
|
302 |
<div class="code">http://dev.nceas.ucsb.edu/metacat/metacat/<doc_id>/<skin_name></div>
|
|
303 | 303 |
You should see the same results as going to the doc via search.</li> |
304 | 304 |
</ul> |
305 | 305 |
</li> |
Also available in: Unified diff
Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082