Project

General

Profile

« Previous | Next » 

Revision 6712

optionally include ORE generation/insertion into Metacat when generating SystemMetadata
https://redmine.dataone.org/issues/2056

View differences:

MetacatHandler.java
1851 1851
                  // handle inserts
1852 1852
                  try {
1853 1853
                	// create the system metadata  
1854
                    sysMeta = SystemMetadataFactory.createSystemMetadata(newdocid);
1854
                    sysMeta = SystemMetadataFactory.createSystemMetadata(newdocid, true);
1855 1855
                    
1856 1856
                    // save it to the map
1857 1857
                    HazelcastService.getInstance().getSystemMetadataMap().put(sysMeta.getIdentifier(), sysMeta);
......
2995 2995
                                    username, groupnames);
2996 2996
                            
2997 2997
                            // generate system metadata about the doc
2998
                            SystemMetadata sm = SystemMetadataFactory.createSystemMetadata(docid);
2998
                            SystemMetadata sm = SystemMetadataFactory.createSystemMetadata(docid, true);
2999 2999
							
3000 3000
					        // manage it in the store
3001 3001
                            HazelcastService.getInstance().getSystemMetadataMap().put(sm.getIdentifier(), sm);

Also available in: Unified diff