Project

General

Profile

Statistics
| Revision:

# Date Author Comment
10480 12/14/2017 10:42 AM Jing Tao

Downgrade the debug level from error to warn for a not found exception.

10478 12/13/2017 03:43 PM Jing Tao

Use the recaptcha v2 version.

10468 12/08/2017 02:11 PM Jing Tao

In the mn/cn.listObject method, if the toDate or fromDate have an incorrect format, it will throw an exception.

10461 12/06/2017 04:07 PM Jing Tao

added a new format id for pangaea.

10460 12/06/2017 04:05 PM Jing Tao

Add the sql script for upgrading the db version to 2.8.6.

10449 11/29/2017 10:09 PM Jing Tao

Synchornized the refresh method to make it thread safe.

10445 11/13/2017 04:21 PM Jing Tao

Downgraded a debug level in order to make cn synchronization log more readable.

10443 11/08/2017 04:13 PM Jing Tao

Add the code to handle null pointer better in the get method.

10438 11/06/2017 03:25 PM Jing Tao

Don't set archive false in the system metadata when a resource map is obsoleted.

10428 10/12/2017 11:02 AM Jing Tao

For ticket https://projects.ecoinformatics.org/ecoinfo/issues/7214.
Use the lastindexof and substring methods to find the deployment directory.

10413 09/08/2017 11:13 AM Jing Tao

Change back to use URLDecoder to decode the code.

10387 09/06/2017 03:49 PM Jing Tao

Add the script to upgrade the version to 2.8.5

10382 08/18/2017 02:57 PM Jing Tao

Add the code to submit index task in every methods which modified the system metadata.

10381 08/18/2017 11:44 AM Jing Tao

Refactory the submit index methods.

10380 08/18/2017 11:01 AM Jing Tao

Add the methods submitting the update and delete tasks.

10379 08/16/2017 11:14 AM Jing Tao

Use the new manager class to get the messaging client.

10378 08/16/2017 11:14 AM Jing Tao

Use a singleton class to get the messaging client.

10377 08/14/2017 07:48 PM Jing Tao

Removed the code to initialize the index task client at the constructor.

10376 08/14/2017 04:01 PM Jing Tao

Add the client code to submit the index task to the message broker. Now I only added the code for the create method.

10370 07/22/2017 04:19 PM Chris Jones

Change isAuthorized() to prioritize user authz

Re-order the calls to userHasPermission(), isAdminAuthorized(), and isAuthoritativeMNodeAdmin() such that the user authorization comes first. This should drastically reduce the calls to CN.listNodes() and the resulting NodeList unmarsalling involved in comparing CN and MN Node Subjects to token or certificate Subjects. ...

10369 07/21/2017 06:16 PM Chris Jones

Convert System.out.println() calls

We've had these calls printing to the log on every REST call. Change them to a logger debug() level so we can filter them out.

10366 07/03/2017 04:10 PM Jing Tao

Use the EncodingUtilities method to decode a string.

10362 07/03/2017 11:37 AM Jing Tao

Add the code to handle query and view service.

10361 06/29/2017 10:44 AM Jing Tao

Add the code to read the MNPackage configuration.

10349 06/06/2017 03:20 PM Jing Tao

Add the script to upgrade the db version to 2.8.4.

10340 06/05/2017 03:35 PM Jing Tao

In the delete method, if we got not MdcDocNotFound exception, we will continue to delete the system metadata.

10338 06/02/2017 05:35 PM Jing Tao

Add the code to add the ldap group information for the given user.

10336 06/02/2017 05:29 PM Jing Tao

Add a new method to get all groups for a given user.

10334 06/02/2017 05:26 PM Jing Tao

Make a debug statement clearer.

10329 05/24/2017 05:13 PM Jing Tao

Modified the query to find the previous version of the ore document in the publish method.

10321 05/22/2017 12:52 PM Jing Tao

Fixed a bug that the eml object wasn't changed checksum but its content was modified in the publish method.

10310 05/20/2017 03:41 PM Jing Tao

Add the script which update the db to 2.8.3.

10302 05/19/2017 09:44 PM Jing Tao

Add the script to update db.

10300 05/18/2017 11:51 AM Jing Tao

Add the code to remove the pid from the identifier table if the update method failed.

10294 05/17/2017 08:45 PM Jing Tao

Add the checksum as the parameter to the method write.

10292 05/17/2017 08:42 PM Jing Tao

Add the code to computer the checksum.

10290 05/17/2017 08:39 PM Jing Tao

Add the checksum parameter to the write method.

10288 05/17/2017 08:37 PM Jing Tao

Move the checking if the checksum exists into the create method.

10286 05/17/2017 08:34 PM Jing Tao

Add the checksum parameter to the method DocumentImple.write.

10280 05/17/2017 03:32 PM Jing Tao

Add the checksum as a parameter to the method handleInsertOrUpdate.

10278 05/17/2017 03:26 PM Jing Tao

Add the checksum parameter to the handleInsertorUpdate method.

10276 05/17/2017 03:15 PM Jing Tao

Add the checksum parameter to the handleInsertAndUpdate method.

10274 05/17/2017 03:12 PM Jing Tao

Change the signature of the method handleInsertAndUpdate.

10272 05/17/2017 03:06 PM Jing Tao

Add code to check the check sum by the DigestOutputStream.

10270 05/17/2017 09:36 AM Jing Tao

Removed the duplicated code to check the checksum in the replicate method since the method D1Node.create, which is called by the replicate method, has the mechanism.

10249 05/11/2017 10:43 AM Jing Tao

Add some debug information.

10247 05/10/2017 08:12 AM Chris Jones

Change MetacatHandler.generateOutputName() to use the SystemMetadata.fileName value when it is available. Needs testing.

refs https://projects.ecoinformatics.org/ecoinfo/issues/7187

10245 05/04/2017 11:49 AM Matt Jones

Define location of the AWS binary so the tool works under CRON.

10244 05/03/2017 11:25 PM Matt Jones

Modified backup script to improve efficiency.

Now, lists of metadata and data files that were last backed up is stored in the /var/metacat/metacat-backup folder, and
these are diffed with the current file lists to discover new files. These are then copied to AWS S3. The AWS...

10239 05/02/2017 04:41 PM Jing Tao

Add the code to filter out the pids with white spaces in the query.

10237 04/25/2017 11:23 PM Matt Jones

Add backup script to copy files to Amazon S3.

10219 04/07/2017 04:33 PM Jing Tao

Make sure it is same as branch 2.8 except the mdq stuff

10218 04/07/2017 04:29 PM Jing Tao

Still use syncFailed.getPid to get identifier in the syncFailed method.

10217 04/06/2017 04:42 PM Jing Tao

Fixed typos in the vairable name.

10216 04/06/2017 04:36 PM Jing Tao

In the synchronizationFailed method, use syncExcpetion.getIdentifier method to try before the obsoleted method getPid.

10213 04/06/2017 04:22 PM Jing Tao

Change the version to 2.9.0

10209 04/06/2017 04:14 PM Jing Tao

Add the script to upgrade the db to 2.9.0

10207 04/06/2017 02:34 PM Jing Tao

Move a statement e.printStactTrace to the logMetacat.error method.

10206 04/06/2017 09:51 AM Chris Jones

Add the 'Collaborator' role to the list of roles in the EML Registry CGI.

refs https://github.com/NCEAS/metacatui/issues/78

10205 04/06/2017 08:54 AM Jing Tao

In the expandRightHolder method, we don't use the parameter count=-1 to query the cn. Now we use count=200 and will use the page query to query again if it is necessary.

10202 04/05/2017 03:06 PM Jing Tao

Add the debug statement.

10201 04/05/2017 03:04 PM Jing Tao

Add the debug statement.

10193 03/14/2017 03:57 PM Jing Tao

Add more debug statement on cn.create method.

10188 03/06/2017 04:22 PM ben leinfelder

extract EML creator[s] and use those names or organizations when registering DOI with EZID. https://github.nceas.ucsb.edu/KNB/arctic-data/issues/143

10186 03/01/2017 02:16 PM Jing Tao

In the archive method, add a new mechanism to check if the local id is in the xml_revision table if it is not in the xml_documents table.

10185 03/01/2017 02:14 PM Jing Tao

Add a new method to determine if a docid and rev is in the xml_revision table.

10180 02/28/2017 02:58 PM Jing Tao

Give the users having change-permission to archive an object which is from a v1 node.

10176 02/08/2017 05:19 PM Jing Tao

Check the change of the access rules on data objects only when we need to write access rules base on the access part of the eml document.

10175 02/08/2017 05:18 PM Jing Tao

Check the change of the access rules on data objects only when we need to write access rules base on the access part of the eml document.

10173 01/17/2017 01:07 PM ben leinfelder

Ensure XML run response from quality engine. Use mock http request to ensure correct save behavior of the resulting run. https://projects.ecoinformatics.org/ecoinfo/issues/7171 and https://github.com/NCEAS/mdqengine/issues/73

10172 01/06/2017 04:36 PM ben leinfelder

Trigger MDQ when inserting or updating metadata documents. https://projects.ecoinformatics.org/ecoinfo/issues/7171 and https://github.com/NCEAS/mdqengine/issues/73

10168 12/28/2016 01:38 PM Jing Tao

Fixed a typo.

10164 12/28/2016 10:42 AM Jing Tao

The indexall action will be run on another thread.

10147 12/21/2016 02:30 PM Jing Tao

Change the param from the class field to a local variable.

10143 12/21/2016 11:25 AM Chris Jones

Remove the inadvertant UTF-8 BOM from the beginning of the file, and initialize the contact variable properly (again).

10140 12/16/2016 12:02 PM Jing Tao

Change the condition that remove identifier from the identifier table in the method removeSystemMetaAndIdentifier.

10138 12/16/2016 10:48 AM Jing Tao

Add the pid in a debug statement.

10136 12/15/2016 07:31 PM Jing Tao

Add the sql to register schema files for the format id fgdc-st-001.1-1999.

10134 12/15/2016 07:29 PM Jing Tao

Add the sql to register schema files for the format id fgdc-st-001.1-1999.

10130 12/15/2016 02:41 PM Jing Tao

Add the code to check if the object does exist in the create method. If it doesn't, the system metadata and identifier will be removed.

10129 12/15/2016 02:40 PM Jing Tao

Change the calling code when the method insertOrUpdateDocument signature is changed.

10123 12/14/2016 03:18 PM Jing Tao

Add methods to determine if the object does exist with the given local id.

10118 12/13/2016 02:43 PM Jing Tao

Add some performace debug information.

10106 12/08/2016 02:15 PM Jing Tao

Add methods to check if there are circular obsoletes/obsoletedBy chains in the mn.updateSystemmetadata method.

10104 12/07/2016 04:06 PM Jing Tao

Don't share the same executor in the two classes.

10102 12/07/2016 01:34 PM Jing Tao

Call the cn.synchronize method asynchronously in the mn.updateSystemmetadata method.

10100 12/06/2016 04:38 PM Jing Tao

Add the version information on a log statement.

10098 12/06/2016 04:36 PM Jing Tao

Add the version information in a log statement.

10087 12/05/2016 05:42 PM Jing Tao

Add the class to upgrade the solr schema.

10085 12/05/2016 05:35 PM Jing Tao

Add a script to upgrade the db to 2.8.1

10084 12/05/2016 05:34 PM Jing Tao

Change the version to 2.8.1

10054 11/28/2016 11:40 AM Jing Tao

Add a smart test when we set the file name for the header of "content-deposition":
When the id doesn't end with the file extention, we set the file to be id+extension.

10050 11/28/2016 10:28 AM Jing Tao

To set the content-deposition header, the cn will look the file name in the system metadata first.

10047 11/22/2016 02:55 PM Matt Jones

Fix issue in getDefaultReplicationPolicy.

Previously, under some circumstances, a ReplicationPolicy was created but was missing the optional replicationAllowed and numReplicas attributes. These are critical to the policy, so ensure they are set to sensible defaults even when property parsing errors and other issues might skip them. Added a test of this method, but I note that other methods in SystemMetadataFactory do not have unit tests and should be added if they are modified.

10041 11/09/2016 05:26 PM Jing Tao

Use the "MNRead" to replace "MNStorage" to determine the version of the MN.

10030 10/26/2016 05:10 PM Jing Tao

Change an exception to more appropriate exception.

10029 10/24/2016 04:34 PM Jing Tao

Add more checks to avoid a null exception.

10027 10/24/2016 01:36 PM Jing Tao

Add more debug statement for deleting.

10021 10/19/2016 03:29 PM Jing Tao

Add some information about pid on the log statement.

10010 10/17/2016 11:54 AM Chris Jones

Change the ldapweb.cgi script to use an additional property called email.contact which provides a contat email (particularly when email.sender is set to noreply@...). Update the skin configurations with this property, as well as the metacat.properties default.