Project

General

Profile

Statistics
| Revision:

# Date Author Comment
9023 12/12/2014 04:25 PM Jing Tao

Fixed a bug that some service failure exceptions were handled as the NotFound exception.

9017 12/11/2014 03:24 PM Jing Tao

1. In the identifierExists method, the code to check if the identifier exist on the serial-id fields of the system metadata table.
2. Fixed a bug on the identifierExists - it considered an identifier didn't exist when the determining process threw an exception.

9016 12/10/2014 04:33 PM Jing Tao

Add a method to check if a serial id exists.

9015 12/09/2014 05:03 PM Jing Tao

Add a method to get the pid of the head version of a sid.

9014 12/09/2014 01:10 PM ben leinfelder

add Annotator Store implementation -- pass through to D1 API for the AnnotatorJS API

9012 12/09/2014 08:38 AM ben leinfelder

use 2.5.0 for current DB version

9011 12/02/2014 05:15 PM Jing Tao

Don't remove postgresql 8.4 and 9.1
Don't remove data directory of postgresql 8.4

9009 12/02/2014 02:08 PM ben leinfelder

include person's full name in the JWT returned from /token

8993 11/20/2014 09:21 AM Chris Jones

Merge changes in the 2.4 branch into the trunk for the ORNL Mercury schema support. References https://projects.ecoinformatics.org/ecoinfo/issues/6619.

This schema is maintained by Jim Green () and Ranjeet Devarakonda (). The schema uses a subset of the FGDC 1998 CSDGM elements, along with custom elements specific to the Mercury Metadata web application. Support is included in Metacat for Coordinating Node operations in the DataONE network.

8991 11/20/2014 09:00 AM Jing Tao

Fixed a bug that the reindex of data objects may index an archived data object.

8986 11/19/2014 04:59 PM Jing Tao

Fixed a bug that the solr index of data files doesn't reflect the change of access control.

8983 11/19/2014 12:52 PM ben leinfelder

[merge from 2.4 branch] use solr schema upgrader for 2.4.2 release -- need to replace the solr schema to include geohash fields

8979 11/19/2014 12:20 PM ben leinfelder

add 2.4.2 upgrade scripts so they are available in the 2.5.0 release as well

8977 11/19/2014 12:17 PM ben leinfelder

remove AnnotatorService completely - was moved to cn-index-processor

8972 11/17/2014 09:29 PM ben leinfelder

let metacat-index lookup annotations for indexing rather than the metacat "reindex" action.

8971 11/17/2014 04:30 PM Jing Tao

Add delete log for data objects on CNs.

8964 11/14/2014 11:20 AM ben leinfelder

only index non-empty comment text

8963 11/14/2014 11:13 AM ben leinfelder

index both tags and text from annotateit.org

8961 11/13/2014 05:59 PM ben leinfelder

query by consumerKey until the pid search facets are fully supported on annotateit.org

8960 11/10/2014 02:34 PM ben leinfelder

add JkOptions directive and encoded slash options for dataone and solr query support in the URLs that metacat can get (they were in the -ssl version of this file already)

8959 11/10/2014 02:22 PM Jing Tao

During the replication, the remote content will be saved without alteration.

8953 11/05/2014 01:42 PM ben leinfelder

allow per-document reindexing to be initiated by any user (to support third-party annotations)

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.

8946 10/31/2014 05:09 PM ben leinfelder

look up annotations when reindexing a given pid. still very much a prototype in that we are looking up annotations from an external annotator-store. TODO: add pid filtering to query when annotateit.org supports it (pending upgrade on their site).

8945 10/31/2014 04:07 PM Jing Tao

add the code to install xmlstarlet.

8944 10/30/2014 07:58 PM Jing Tao

Find files of which type is link.

8942 10/28/2014 08:23 PM Jing Tao

Keep /var/lib/postgresql/8.4/main directory.

8941 10/28/2014 04:11 PM Jing Tao

Add the code to stop tomcat and apache.

8940 10/28/2014 04:03 PM Jing Tao

Add the "-y" option to force removing the old postgresql without prompting a y/n question.

8939 10/28/2014 02:07 PM Jing Tao

Restore the database for a gzipped sql file.

8938 10/28/2014 01:35 PM Jing Tao

Added the code to gzip the output file in the dumpall command. This will save disk space.

8937 10/24/2014 03:46 PM Jing Tao

Modified the redirect rules which didn't work.

8936 10/24/2014 02:50 PM Jing Tao

Add the code to add the attribute useHttpOnly='false' to the Context element in the context.xml file.

8935 10/24/2014 01:02 PM Jing Tao

Fixed a bug the code can get the argument from the command line.

8934 10/24/2014 12:47 PM Jing Tao

Added the code to change the permission of the backup file so the postgres user can read it.

8933 10/24/2014 12:24 PM Jing Tao

Added the code to check if the metacat backup file exists.
Added the code "exist 0" at the end of the scripts.

8932 10/24/2014 12:08 PM Jing Tao

Added the .conf to those site files since the new apache server only loads the sites with the extension.

8931 10/24/2014 09:45 AM Jing Tao

Add the code to vacuum the db.

8930 10/23/2014 04:32 PM Jing Tao

Add the code to enable the 8009 port for ajp connection in the server.xml of tomcat7.

8929 10/22/2014 12:29 PM Jing Tao

Added the code to modify the geo data directory in the metacat.properties file.

8928 10/22/2014 11:43 AM Jing Tao

Fixed some bugs to restore postgresql data.

8927 10/21/2014 09:30 PM Jing Tao

Add the code install some components for installing tomcat7

8926 10/21/2014 09:13 PM Jing Tao

Use a variable to replace the hard code.

8925 10/21/2014 07:30 PM Jing Tao

Use the version directly.

8924 10/21/2014 07:28 PM Jing Tao

Fixed a typo.

8923 10/21/2014 07:26 PM Jing Tao

put the date to an output file.

8922 10/21/2014 06:56 PM Jing Tao

A script for vacuum the db.

8921 10/21/2014 06:32 PM Jing Tao

Add a script to move the db from 8.3 to 9.1 base on a dumped file.

8920 10/21/2014 10:58 AM Jing Tao

Use the pg_dumpall command to back up all information of the database.

8919 10/20/2014 07:35 PM Jing Tao

Add the code to backup the cerificate/key of the apache server.

8918 10/20/2014 04:46 PM Jing Tao

Removed the code to write the backup file to a dvd drive.

8917 10/20/2014 02:56 PM Jing Tao

Added the code to copy Metacat and other web applications from the webapps directory in tomcat6 to tomcat7.
It also update the value of deploy.applicationDir in the metacat.properties file as well.

8916 10/20/2014 01:10 PM Jing Tao

Only insert new configuration lines once to the /etc/tomcat7/catalina.properties.

8915 10/20/2014 11:34 AM Jing Tao

Used variables to replace hard code in sed command. Also we have to escape the variables.

8913 10/20/2014 09:42 AM Jing Tao

Used variables to replace the hard code.

8912 10/17/2014 06:15 PM Jing Tao

Add the code to modify the workers.properties file.

8911 10/17/2014 05:13 PM Jing Tao

Fixed typo.

8910 10/17/2014 05:02 PM ben leinfelder

use http://tools.ietf.org/rfc/rfc3023 spec for conformsTo property. use the full xpath for EML dataTable and attribute selectors

8909 10/17/2014 04:49 PM Jing Tao

Add a script to install openjdk 7 and tomcat 7.
It also configures java, javac,keytools and tomcat7.

8903 10/15/2014 04:34 PM Jing Tao

Added the code to inform users the pid was deleted in the NotFound exception.

8901 10/14/2014 06:11 PM Jing Tao

Added the code to check if a not-found object was deleted in the isAuthorized method.

8899 10/14/2014 06:01 PM Jing Tao

Move the code to get the object in front of the method to get the system metadata.

8896 10/14/2014 01:44 PM Jing Tao

Add a utility method for determine if there is a delete event for a given id.

8889 10/10/2014 02:16 PM Jing Tao

Removed the method which had the byte array attribute.

8887 10/10/2014 02:10 PM Jing Tao

Remove the system metadata for data objects.

8884 10/10/2014 02:01 PM Jing Tao

change the way to delete the solr index of a resource map.

8883 10/10/2014 01:23 PM Jing Tao

Backup the /etc/apache2/site-enabled directory.

8882 10/09/2014 04:40 PM Jing Tao

Remove the code to stop/start ldap server.
Change the script name to stop/start tomcat.
Also backup metacat.properties.

8880 10/06/2014 10:32 PM Jing Tao

Replace the operator "=~' by "eq" in comparing the two password fields.

8877 10/06/2014 05:42 PM Jing Tao

dd a new routine to check if the uid has been taken already in the production space during the creation process.

8874 09/23/2014 06:27 PM ben leinfelder

add /token endpoint for annotatorJS/annotateIt.org integration. https://github.com/DataONEorg/sem-prov-design/issues/18

8869 09/18/2014 03:12 PM Jing Tao

Persitence the system metadata object in the memory before deleting it from hazelcast.

8866 09/16/2014 05:18 PM Jing Tao

Add the code to handle the delete of the resource map.

8854 09/12/2014 04:17 PM Jing Tao

Make the delete method work.

8852 09/12/2014 04:03 PM Jing Tao

Make the deleteSystemmetadata method really roll-backable.

8850 09/12/2014 03:56 PM Jing Tao

Add the code to delete systemmetadata.

8846 09/04/2014 03:24 PM Jing Tao

Add the code to delete the records in the xml_accesssubtree table.

8844 09/02/2014 02:07 PM ben leinfelder

use configured auth.base rather than hard-coded dc=ecoinformatics,dc=org. https://projects.ecoinformatics.org/ecoinfo/issues/6592

8842 08/22/2014 05:50 PM Jing Tao

Add a code to check if the pathquery engine is enabled in the checkIndexPaths method.

8829 08/06/2014 01:48 PM ben leinfelder

convert v2 SM to v1 SM for the v1 service call response

8826 08/06/2014 01:09 PM ben leinfelder

update to use v2 types for indexing

8821 08/04/2014 04:08 PM Jing Tao

For the existing uidnumber, we decrease the size of vector for sorting.

8820 08/04/2014 10:04 AM Lauren Walker

Login automatically via curl rather than manually entering the cookie info for the registry test script

8819 08/01/2014 09:20 AM Jing Tao

Add the code to check if the existing highest uidNumber really exists.

8818 07/31/2014 06:10 PM Jing Tao

In the getNextUidNumber method, a mechanism to look up the highest existing udiNumber was added.

8816 07/29/2014 05:33 PM Lauren Walker

Create a lock file for the registry
if one doesn't exist

8815 07/29/2014 04:35 PM Lauren Walker

Allow the registry form to specify a docid scope

8814 07/29/2014 03:53 PM Lauren Walker

Only lock the local docid file when creating a new docid, not when inserting, for faster upload times. Remove extra debug messages from testing.

8813 07/28/2014 05:22 PM Lauren Walker

Fix bug in the online registry where data files were not using the new docid creation process

8812 07/28/2014 03:57 PM Lauren Walker

Lock a local file while docids are being created so multiple docs can be uploaded at once

8811 07/24/2014 10:25 AM ben leinfelder

remove CN.systemMetadataChanged in favor of the CN.updateSystemMetadata method. Otherwise there's no good way to know where to fetch the auth copy from since the SM change might be to switch the authMN!

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

add support for v2 DataONE API.

8802 05/29/2014 02:53 PM ben leinfelder

remove dependency on HttpMessage that was in the utilities project but is now removed in favor of newer (standard) http client library code.

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

8794 05/21/2014 06:24 PM ben leinfelder

use a member instance of ezid service that only logs in every 24 hours (or other time TBD) instead of every time there is an interaction with the service. Saves us many calls when doing batch updates to ezid but keeps us from trying to use expired sessions. Motivated by https://projects.ecoinformatics.org/ecoinfo/issues/6440

8792 05/20/2014 04:11 PM ben leinfelder

prevent js scriptlets from running when we return error messages to the client by escaping any potentially harmful xml blocks. https://projects.ecoinformatics.org/ecoinfo/issues/6224

8791 05/20/2014 04:09 PM ben leinfelder

allow updates to all doi: prefixes - realized we are already restricting to specific replica servers when updating these. worst case is we try to update a registration for which we are not the owner. https://projects.ecoinformatics.org/ecoinfo/issues/6440

8790 05/20/2014 04:08 PM ben leinfelder

show the SM and ORE generation buttons even if they have not registered/configured dataone. many potential MNs want to see their generated SM before registering (and we want them to too!).

8789 05/20/2014 10:40 AM ben leinfelder

restrict DOI updates to DOIs that match our server shoulder -- may consider opening this up to any "doi:" prefix if this is too restrictive. https://projects.ecoinformatics.org/ecoinfo/issues/6440