Project

General

Profile

  • svn:keywords: Author, Date, RCSfile

# Date Author Comment
9481 01/05/2016 02:06 PM Jing Tao

Use the ServiceFailure to replace the InvalidRequest when it is the read-only mode (CN throws the exception).

9480 01/05/2016 09:42 AM Jing Tao

In the replicate method, the checking of the read-only mode was moved from MNodeService class to the MNResourceHandler class since it is asynchronized.

9479 01/04/2016 05:23 PM Jing Tao

The systemmetadataChanged method is asynchronized, so we put the read-only checking on the ResourceHandler class.

9478 01/04/2016 03:09 PM Jing Tao

Add the code to check if the mn is on the read-only mode.

9387 11/02/2015 04:44 PM Lauren Walker

Move the editScienceMetadata method to the MNodeService class - only update packageId in EML on publish()

9384 10/29/2015 04:00 PM Jing Tao

The archived field can't be reset to false if it is true in the systemMetadataChanged method.

9382 10/28/2015 11:14 AM Jing Tao

In the systemMetadataChanged method, we will update system metadata when the local serial version is less than or equals the comming one.

9380 10/27/2015 03:42 PM rnahf

refs #7453: modified the metacatLog message from mn.synchronizationFailed to include the syncFailed.message field. Also increased the log level to WARN.

9376 10/22/2015 12:15 PM Jing Tao

Remove the method editScienceMetadata from the update method. This method will add a packageId attribute into the eml document. Lauren will add the method to the publish method.

9375 10/21/2015 04:52 PM Jing Tao

In the systemMetadataChanged method, the object will be archived if the new archive value is true and old value is false.
The log event is recorded in the systemMetadataChanged method as well.

9374 10/21/2015 03:31 PM Jing Tao

Make the isAuthoritativeNode throw exception if some value is null.

9373 10/20/2015 04:11 PM Jing Tao

In the updateSystemMetadata method, we avoid to log the event twice for archive=true.

9354 10/01/2015 05:33 PM Jing Tao

Add the case the mn.updateSystemMetadata and cn.updateSystemMetadata will call the archive method internally.

9353 10/01/2015 03:01 PM Jing Tao

Refactory the mn.archive and cn.archive method so the mn.update and cn.update can reuse them.

9352 10/01/2015 02:23 PM Lauren Walker

Update the packageId attribute in EML documents on update. Never display the local docid in the rendered EML.

9340 09/28/2015 01:47 PM Jing Tao

Add a flag on the systemMetadataChanged method. If it is true, the authoritative member node will only accepts the serial version and replica list; the replica node accepts everything. If it is false, it will accept everything.

9335 09/24/2015 04:58 PM Jing Tao

Add the code to check the date of system metadata modification match in MN.updateSystemMetadata only. CN.updateSystemMetadata doesn't check.

9322 09/15/2015 03:15 PM Jing Tao

Add the code to check if we can't get the current system metadata from the node in the mn.systemMetadataChanged method.
If we can't find it, an InvalidRequest will be thrown.

9314 09/02/2015 11:22 AM Jing Tao

Fixed some incorrect exceptions in the getReplica method.

9305 08/25/2015 03:25 PM Jing Tao

Use the application/bagit-097 to replace application/bagit.

9295 08/14/2015 04:06 PM Jing Tao

Use the D1NodeVersionChecker to determine the mn's version rather than using ping.

9290 08/10/2015 04:57 PM Jing Tao

Only support the application/bagit format in the getPackage method.

9288 08/07/2015 08:02 AM Jing Tao

Use the status of mn.ping to guess the version of the source node in the replicate method.

9287 08/06/2015 05:23 PM Jing Tao

In the replicate method, it will use the v1.getReplica method if the source node only supports v1 replication service.

9283 08/06/2015 01:57 PM Jing Tao

Increase the version number after updating the existing object's system metadata in the update method.

9263 07/27/2015 04:20 PM Jing Tao

On mn.update and mn.updateSystemMetadata, those clients are allowed:
1. CNs.
2. Clients with appropriate permission calling the method on the authoritative nodes.

9257 07/21/2015 01:32 PM Jing Tao

Add code to catch the BaseException in the updateSystemMetadata method.

9256 07/20/2015 03:21 PM Jing Tao

Add the code to handle if the cn is null.

9253 07/16/2015 02:51 PM Jing Tao

Handle multiple versions (v1 and v2) of a service in getCapacity method.

9249 07/15/2015 11:07 AM Jing Tao

Use the NodeReference object to replace the replicaStatus to restrict the listObjects method.

9248 07/15/2015 10:44 AM ben leinfelder

[re]register DOI when system metadata is updated (typically access policy). https://projects.ecoinformatics.org/ecoinfo/issues/6796

9246 07/14/2015 04:42 PM Jing Tao

Add the code to call cn.synchroinize at the method of updateSystemMetadata.

9200 05/07/2015 06:13 PM Jing Tao

Add the code to check if the client is trying to update an archived object. If it is, reject it.

9190 05/01/2015 04:25 PM Jing Tao

Refactory the authorize methods on D1NodeService.
Add the check for whom can call mn.updatesystemMetadata.

9177 04/22/2015 05:01 PM Jing Tao

Created the updateSystemMetadata method.

9146 03/09/2015 05:19 PM Jing Tao

Add the code to support CNView interface in CNodeService. Both CNodeService and MNodeService share the same code base.

9092 02/04/2015 03:10 PM Jing Tao

Add the code transform a sid to a pid in publish, getPackage and view method. Fefer dataONE #6734.

9071 01/16/2015 02:22 PM Jing Tao

The MN.listobjects and CN.listobjects methods will call the one in the D1NodeService class.

9068 01/15/2015 05:27 PM Jing Tao

Moved the rules for the SID from D1NodeService.create to MNodeService.create.
Also moved the code to check the validation of an pid from D1NodeService.create to MNodeService.create, MNodeService.replicate and CNodeService.create.

9056 01/06/2015 03:32 PM Jing Tao

Add the code to check the if the new series id is legitimate in the systemMetadataChanged method.

9051 12/31/2014 03:49 PM Jing Tao

Add the code to support the sereis id on isAuthorized and systemMetadataChanged method.

9050 12/30/2014 04:34 PM Jing Tao

Add the code to handle the sid in the delete and archive method.

9048 12/30/2014 02:09 PM Jing Tao

Fixed a bug in comparing two identifiers in the update method.

9047 12/30/2014 11:04 AM Jing Tao

Add a check that the sid shouldn't equals the pid in the update and create method.

9046 12/29/2014 05:10 PM Jing Tao

Add the code the check if the format of the sid is valid in the system metadata.

9044 12/29/2014 04:26 PM Jing Tao

Enforce the sid requirement in the update method.

9040 12/29/2014 11:42 AM Jing Tao

Enforce the mn.getChecksum only to handle an PID.

9024 12/16/2014 06:50 PM Jing Tao

Fixed a bug that the method getLocalId swallowed an exception incorrectly in the IdentifierManager.

8948 10/31/2014 05:36 PM Jing Tao

Write the input stream into the file system without alteration in dataone create and update methods.

8810 07/23/2014 04:19 PM ben leinfelder

add support for v2 DataONE API.

8800 05/28/2014 11:49 AM ben leinfelder

Include PDF version of the metadata in the package download. https://projects.ecoinformatics.org/ecoinfo/issues/6053

8795 05/22/2014 01:59 PM ben leinfelder

take advantage of the ezidclient for multi-threaded/asynchronous DOI registration. This will be most useful for doing large batch updates and not so much for the one-at-a-time publish actions but works in either context. https://projects.ecoinformatics.org/ecoinfo/issues/6440

8745 04/23/2014 10:19 AM ben leinfelder

correct the ORE lookup query syntax and add junit assertion to check that it continues to function as expected. https://projects.ecoinformatics.org/ecoinfo/issues/6529

8647 02/25/2014 04:14 PM ben leinfelder

recursively submit obsoleted objects for indexing when instructed. https://projects.ecoinformatics.org/ecoinfo/issues/6424

8599 02/13/2014 02:08 PM ben leinfelder

add comment (and commented out code) for possibly inspecting the /dirtySysMeta call for archive=true flag. https://projects.ecoinformatics.org/ecoinfo/issues/6417

8594 02/12/2014 01:56 PM ben leinfelder

make all objects in a package publicly readable when published. https://projects.ecoinformatics.org/ecoinfo/issues/6415

8591 02/11/2014 01:43 PM ben leinfelder

make all package contents publicly readable when publishing with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6415

8464 01/07/2014 01:56 PM ben leinfelder

Unify solr indexing with an IndexTask that is added to the queue -- allows us to send more than just the systemMetadata to the indexer. Initially this is for READ event counts for each document. https://projects.ecoinformatics.org/ecoinfo/issues/6346

8437 12/17/2013 09:42 AM Lauren Walker

retrieve the given file names (entityName) of the data files from the EML and use those for our file names in the BagIt content.

8436 12/13/2013 03:42 PM Lauren Walker

Change the BagIt file names to the pid+resource type. Create new Files instead of createTempFile to avoid the randomly generated numbers in the name.

8414 11/25/2013 01:40 PM Jing Tao

Add the code to set the replication status when some exceptions happen.

8362 11/04/2013 01:56 PM ben leinfelder

generate ORE object when publishing even if there was not an ORE for the original package. https://projects.ecoinformatics.org/ecoinfo/issues/6194

8360 10/31/2013 01:07 PM Jing Tao

Add the methond named isAuthoritativeMNodeAdmin method. It applies to both CN and MN methods.

8267 09/24/2013 04:21 PM ben leinfelder

do not modify existing SystemMetadata on MN.update() if something goes wrong during content insertion. https://projects.ecoinformatics.org/ecoinfo/issues/6101

8210 09/16/2013 04:33 PM ben leinfelder

require authenticated session when minting a DOI/other identifier. https://projects.ecoinformatics.org/ecoinfo/issues/6086

8200 09/13/2013 03:53 PM ben leinfelder

only attempt to generate OREs for objects that we know not to have them already. https://projects.ecoinformatics.org/ecoinfo/issues/6061

8190 09/12/2013 04:50 PM ben leinfelder

better checking for ORE maps when publishing DOIs (need to update the packages that contain sci meta). https://projects.ecoinformatics.org/ecoinfo/issues/6061

8162 08/23/2013 04:01 PM Jing Tao

Add code to throw an exception if the pathquery is not enabled.
We also need to disable building index if the pathquery is disabled.

8160 08/22/2013 04:04 PM ben leinfelder

use consistent file names and zip content names. Opted for "-" separator so that the zip writer does not remove the unique part of the filename. https://projects.ecoinformatics.org/ecoinfo/issues/6054

8141 08/13/2013 12:57 PM ben leinfelder

copy the original systemMetadata when publishing a revision in order to avoid overwriting the original values - the shared map is listening! https://projects.ecoinformatics.org/ecoinfo/issues/6014

8026 07/18/2013 08:13 AM ben leinfelder

use custom FileInputStream subclass to delete the temporary bagit zip when the inputstream is closed (after someone has downloaded the zip).

8025 07/18/2013 08:02 AM ben leinfelder

use ObjectFormatCache instead of ObjectFormatService because we are not calling it as a CN.

8014 07/16/2013 04:21 PM ben leinfelder

include the localid when rendering the view (used in stylesheets)

8013 07/16/2013 04:05 PM ben leinfelder

use ObjectFormatCache.getInstance().getFormat() instead of the CN service (the MN does not typically act as a CN!)

7864 07/09/2013 10:40 AM ben leinfelder

include mn.publish() REST endpoint handling. https://projects.ecoinformatics.org/ecoinfo/issues/6024

7861 07/08/2013 06:10 PM ben leinfelder

implement the view service (uses existing skin-based dbtransform) - and include the REST endpoint. https://projects.ecoinformatics.org/ecoinfo/issues/6028

7860 07/08/2013 05:51 PM ben leinfelder

use StreamSource instead of StringReader for method signature -- can be used with different sources this way. https://projects.ecoinformatics.org/ecoinfo/issues/6019

7855 07/08/2013 12:14 PM ben leinfelder

include GET /package/{pid} endpoint in MN service. https://projects.ecoinformatics.org/ecoinfo/issues/6027

7853 07/05/2013 06:33 PM ben leinfelder

MN.getPackage() - test with ORE that includes 2 data files and a "metadata" file (still should be using EML for that test). https://projects.ecoinformatics.org/ecoinfo/issues/6026

7850 07/04/2013 12:33 PM ben leinfelder

First pass at MN.getPackage() implementation using Bagit library from LOC. https://projects.ecoinformatics.org/ecoinfo/issues/6026

7849 07/03/2013 09:58 PM ben leinfelder

add method for publishing existing object (usually assumed to be scimeta) with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6014

7812 06/20/2013 04:49 PM ben leinfelder

use an independent ISet<SystemMetadata> structure to communicate objects that should be indexed by metacat-index. https://projects.ecoinformatics.org/ecoinfo/issues/5943

7781 05/28/2013 01:20 PM Jing Tao

Solr will be enabled if it is in the db.enabledEngines.

7772 05/23/2013 06:39 PM Jing Tao

Use some contants from the EnabledQueryEngines.

7757 05/23/2013 10:20 AM ben leinfelder

use ContentTypeInputStream interface (and ByteArray implementation) to specify the desired content-type of the InputStream returned by MN.query().

7680 05/09/2013 10:04 AM Jing Tao

Use the set of subjects to replace the user and groups for the solr query.

7662 05/02/2013 12:47 PM Jing Tao

Use a new class to handle the solr query engine description request.

7648 05/01/2013 02:38 PM Jing Tao

Add the access query filter.

7634 04/29/2013 04:59 PM Jing Tao

Add code to handle the solr index information. we still need to figure out how to get the information.

7625 04/25/2013 05:09 PM Jing Tao

Add the solr engine to the engine list.

7620 04/24/2013 05:00 PM Jing Tao

Add code to handle solr query.

7600 04/20/2013 06:19 PM Chris Jones

Merging the METACAT_2_0_6_BRANCH changes for [M|C]NodeService into the trunk.

7512 03/12/2013 04:44 PM ben leinfelder

refactor DOI registration into separate class. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513

7511 03/12/2013 04:26 PM ben leinfelder

refactor using ezid-client changes that split field names and values into separate enums. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513

7510 03/12/2013 03:20 PM ben leinfelder

Correctly mint and register DOIs in teh MN API implementation. Add tests to exercise minting and creating. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513

7507 03/11/2013 04:48 PM ben leinfelder

register DOIs with minimal DataCite metadata. still need to determine which details to include and when, but the plumbing is in place as we refine those rules. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5513

7503 02/26/2013 10:27 AM ben leinfelder

disable EZID/DOI minting by default since we do not yet have a means of tracking minted DOIs and augmenting metadata for them when we actually receive the object in a subsequent create() or update() call. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5753

7489 01/31/2013 04:02 PM ben leinfelder

generate ID from UUID. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5840

7486 01/18/2013 02:12 PM ben leinfelder

make sure serial version is included or set on MN.update().
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5793

7448 12/02/2012 08:58 AM ben leinfelder

first pass at DOI minting using the EZID service in mn.generateIdentifier()
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5755