Project

General

Profile

« Previous | Next » 

Revision 5874

Added by berkley almost 14 years ago

updated the populator

View differences:

test/edu/ucsb/nceas/metacat/util/MetacatPopulatorTest.java
101 101
            MetacatPopulator mp = new MetacatPopulator(
102 102
                    "http://knb.ecoinformatics.org/knb", 
103 103
                    /*"http://localhost:8080/knb"*/
104
                    "http://knb-mn.ecoinformatics.org/knb", 
105
                    /*"msucci"*/"connolly.301", "uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org", "kepler");
104
                    "http://knb-test-1.dyndns.org/knb/d1", 
105
                    /*"msucci"*//*"connolly.301"*/ "frog", 
106
                    "uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org", 
107
                    "kepler");
106 108
            mp.populate();
107 109
        }
108 110
        catch(Exception e)
src/edu/ucsb/nceas/metacat/util/MetacatPopulator.java
127 127
        
128 128
        
129 129
        printHeader("Parsing source results");
130
        System.out.println("creating MN with url: " + destinationUrl + "/");
130 131
        MNode mn = D1Client.getMN(destinationUrl + "/");
131 132
        
132 133
        printHeader("Processing " + docs.size() + " results.");

Also available in: Unified diff