Project

General

Profile

« Previous | Next » 

Revision 5916

Add in correct node references in system metadata.

View differences:

src/edu/ucsb/nceas/metacat/util/MetacatPopulator.java
46 46
import edu.ucsb.nceas.metacat.MetacatResultSet;
47 47
import edu.ucsb.nceas.metacat.MetacatResultSet.Document;
48 48
import edu.ucsb.nceas.metacat.dataone.CrudService;
49
import edu.ucsb.nceas.metacat.properties.PropertyService;
49 50
import edu.ucsb.nceas.metacat.restservice.InputStreamDataSource;
50 51

  
51 52
import org.dataone.service.exceptions.InvalidSystemMetadata;
......
328 329
            sm.setDateSysMetadataModified(dateUpdated);
329 330
        }
330 331
        NodeReference nr = new NodeReference();
331
        nr.setValue("KNB");
332
        nr.setValue(PropertyService.getProperty("dataone.memberNodeId"));
332 333
        sm.setOriginMemberNode(nr);
333 334
        sm.setAuthoritativeMemberNode(nr);
334 335
        

Also available in: Unified diff