Project

General

Profile

« Previous | Next » 

Revision 8771

change the hazelcast group name to be the default "metacat" instance so that the metacat-index tests pass without additional local configuration, at least when running a default metacat deployment.

View differences:

lib/hazelcast.xml
3 3
  xmlns="http://www.hazelcast.com/schema/config"
4 4
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 5
  <group>
6
    <name>DataONE</name>
6
    <name>metacat</name>
7 7
    <password>password</password>
8 8
  </group>
9 9

  
src/edu/ucsb/nceas/metacat/admin/PropertiesAdmin.java
429 429
                //System.out.println("============================== the web.xml file is "+indexConfigFile);
430 430
                String configContents = FileUtil.readFileToString(hzConfigFile, "UTF-8");
431 431
                //System.out.println("============================== the content of web.xml file is "+configContents);
432
                configContents = configContents.replace("<name>DataONE</name>", "<name>" + metacatContext + "</name>");
432
                configContents = configContents.replace("<name>metacat</name>", "<name>" + metacatContext + "</name>");
433 433
                FileUtil.writeFile(hzConfigFile, new StringReader(configContents), "UTF-8");
434 434
            }
435 435
            

Also available in: Unified diff