Project

General

Profile

Statistics
| Revision:
  • svn:ignore: build
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH:6107-6121

# Date Author Comment
9193 05/05/2015 09:48 AM Jing Tao

comment the statement related to the removed file lib/oa4mp_client.xml.

9192 05/01/2015 04:56 PM Jing Tao

Add a new method -updateSystemMetadata. It only can be called by CNs.

9191 05/01/2015 04:27 PM Jing Tao

Add more scenario for check isAuthorized.

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

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

9189 05/01/2015 02:59 PM Jing Tao

Committed the change which Andreit did.
1. Add the code for synchronize(not implemented)
2. Add the code for addForm.

9188 05/01/2015 02:27 PM Jing Tao

Make target and source code to be compatiable to java 1.7 rather than 1.6.

9187 05/01/2015 11:37 AM Jing Tao

Get the node id from the metacat.properties instead of the hard coded one.

9186 05/01/2015 11:08 AM Jing Tao

Modified the dataone.nodeid from blank to urn:node:METACAT_TEST. Now the mn.updateSystemMetadata only allows be called on the authoritative node of a pid. In order to make junit test work, we need to have a value there.

9185 04/30/2015 02:11 PM Jing Tao

Remove the obsoleted test class.

9184 04/30/2015 02:10 PM Jing Tao

Removed the obsoleted test class.

9183 04/30/2015 01:28 PM ben leinfelder

remove portal servlet and configuration - no need for this if we are supporting auth tokens from authentication service.

9182 04/30/2015 01:22 PM ben leinfelder

defer to D1 PortalCertificateManager to pull authentication credentials from the request before defering to old Metacat cookie session

9181 04/30/2015 10:40 AM Jing Tao

Now for the untrusted certificate, the client throws an exception rather than returning null.

9180 04/30/2015 09:52 AM Jing Tao

Add a initial test.

9179 04/30/2015 09:38 AM Jing Tao

Add a test in it. Otherwise it failed and said there is not tests found.

9178 04/29/2015 04:41 PM Jing Tao

Add the code to check the authorization of the client which is reindexing a pid.

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

Created the updateSystemMetadata method.

9176 04/22/2015 03:52 PM Jing Tao

Add the code to check if the current node is the authoritative node for the the given pid.

9175 04/21/2015 02:35 PM Jing Tao

Add the check of permission to update the system metadata.

9174 04/15/2015 10:33 AM ben leinfelder

include 2.4.3 release notes from branch

9173 04/14/2015 04:40 PM ben leinfelder

add whoami endpoint to make debugging authn/authz easier as we use additional mechanisms for proving identity.

9172 04/14/2015 02:46 PM ben leinfelder

include 2.4.3 upgrade scripts in the trunk (merged from branch)

9171 04/14/2015 02:44 PM Jing Tao

Change the test case base on the change on checking sid of the create method.

9170 04/14/2015 02:43 PM Jing Tao

Remove the code to check sid on create and registerSystemMetadata.

9169 04/14/2015 02:35 PM ben leinfelder

remove d1_annotator servlet from web xml - not used anymore

9168 04/14/2015 02:29 PM Jing Tao

Fixed a bug that put the detail code in a wrong position.

9167 04/13/2015 06:19 PM Jing Tao

Add the junit test for testing the updateSystemMetadata method.

9166 04/13/2015 06:18 PM Jing Tao

Add the code to check if a user tries to modify an immutable field on system metadata.

9165 04/10/2015 04:19 PM Jing Tao

If an Event object is null in the v1 log entry, we won't add it to the log.

9164 04/10/2015 10:21 AM ben leinfelder

use singleton for getting JWT token - refactor in d1_portal project

9163 04/08/2015 04:18 PM Lauren Walker

Remove the "#none" href attribute from links in the MetacatUI metadata entry form.

9162 04/07/2015 09:33 AM ben leinfelder

add notes about when metacat-index.war and metacatui.war files should be deployed.

9161 04/03/2015 10:38 AM ben leinfelder

use secure context url for loading XSLTs in db transform

9160 04/01/2015 06:03 AM ben leinfelder

remove d1_annotator and tests from project -- should be used elsewhere.

9159 03/31/2015 04:07 PM ben leinfelder

include d1_annotator dependency

9158 03/31/2015 04:06 PM Jing Tao

Add a code to test the getLogRecord method handling SID.

9157 03/24/2015 01:24 PM Jing Tao

Change the schema test according the change on the schema itself.

9156 03/24/2015 01:14 PM rnahf

ReplicationServices.getUrlStream(url) callers were not closing the inputstream properly, as was revealed when switching to libclient v2 (a pooling connection manager in HttpClient) and encountering reasource leaks.

9155 03/19/2015 11:20 AM ben leinfelder

merge CN annotation context files to metacat (MN) to support semantic index fields.

9154 03/19/2015 09:45 AM ben leinfelder

merge CN solr schema to metacat (MN) to support prov and semantic index fields.

9153 03/18/2015 02:26 PM ben leinfelder

remove classes annotator classes that have moved to a different project under dataone's github.

9152 03/18/2015 12:09 PM rnahf

bullet-proofed exception handling in ReplicationService.getURLStream, to make sure client communication exceptions are handled and logged.

9151 03/17/2015 04:57 PM rnahf

fixed getSSLClient method.

9150 03/17/2015 02:47 PM rnahf

fixed class name typo.

9149 03/17/2015 02:15 PM rnahf

fixed private getSSLClient method for HttpClient v4.3 compatibility. Now also caching the RestClient for reuse to save overhead.

9148 03/09/2015 06:29 PM Jing Tao

Make the REST api work for views.

9147 03/09/2015 05:21 PM Jing Tao

Add the junit test method for listViews.

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.

9145 03/09/2015 03:37 PM Lauren Walker

Add classes and attributes to the object name and online distribution link elements in the MetacatUI theme.

9144 03/06/2015 05:38 PM Jing Tao

Add a test method to test v1.getFormat.

9143 03/06/2015 05:29 PM Jing Tao

Transform the ObjectFormat from v2 to v1 in getFormat method.

9142 03/06/2015 02:48 PM ben leinfelder

do not require site parameter if registry.show.siteList=false.
https://projects.ecoinformatics.org/ecoinfo/issues/6687

9141 03/06/2015 02:10 PM Jing Tao

Make them executable.

9140 03/05/2015 11:05 PM Jing Tao

Add a script file to restore knb db from a dumped file.

9139 03/05/2015 11:02 PM Jing Tao

Add a script to dump the knb database.

9138 03/05/2015 02:47 PM ben leinfelder

add step about enabling CGI module.
https://projects.ecoinformatics.org/ecoinfo/issues/6678

9137 03/05/2015 02:18 PM Jing Tao

Add a read timeout for the connection. See bug https://projects.ecoinformatics.org/ecoinfo/issues/6684:wq

9136 03/04/2015 03:23 PM ben leinfelder

remove unnecessary Make step in registry installation instructions.
https://projects.ecoinformatics.org/ecoinfo/issues/6678

9135 02/27/2015 02:44 PM Lauren Walker
  • Use the cite tag for the MetacatUI skin citation
  • Take out extra divs in the MetacatUI skin that are not necessary
  • Add a placeholder for the package contents table in the MetacatUI skin
  • Classify more of the HTML tags with their content type so MetacatUI can find content more efficiently...
9134 02/25/2015 12:35 PM Lauren Walker

Display text nodes in EML when the value is directly in the text node or in a <section> tag or in a <para> tag (in metacatui skin)

9132 02/19/2015 03:12 PM Jing Tao

It is tricky to determine if the type works since v2.SystemMetadata extends from v1.SystemMetadata.
We have to set true that the return object is v1.SystemMetadata, also set false that the return object is not v2.SystemMetadata.

9131 02/19/2015 02:54 PM Jing Tao

Convert the v2 system metadata object to v1 in the getSystemMetadata method.

9130 02/19/2015 02:51 PM Jing Tao

Add the test code for v1 api.

9129 02/18/2015 05:25 PM Jing Tao

Completed the 18 test cases.

9128 02/18/2015 05:22 PM Jing Tao

Use the log to the replace system.out.print.

9127 02/18/2015 11:47 AM Jing Tao

Add more test cases for the method getHeadVersion.

9126 02/17/2015 05:37 PM Jing Tao

Add more test cases for the method getHeadVersion.

9125 02/17/2015 04:01 PM Jing Tao

The setObsoletedBy only handles PID.

9124 02/17/2015 04:00 PM Jing Tao

The method setObsoletedBy only hanldes SID.

9123 02/17/2015 02:41 PM Jing Tao

Added the code to handle put method in meta url. See bug https://projects.ecoinformatics.org/ecoinfo/issues/6666

9122 02/17/2015 02:40 PM Jing Tao

Add the code to handle the PUT method for meta url. See https://projects.ecoinformatics.org/ecoinfo/issues/6666.

9120 02/13/2015 08:54 PM Jing Tao

Add test cases for the method getHeadPID.

9119 02/13/2015 04:37 PM Jing Tao

Add the code to get the head version.

9116 02/12/2015 03:32 PM Jing Tao

Add the timestamp for the printing out the start and end of hazelcast synchronization.

9112 02/09/2015 05:44 PM Jing Tao

Add a test case for testing sid chains.

9111 02/09/2015 05:38 PM Jing Tao

Call the method lock.lock() immediately after getting the lock. Otherwise, if an exception happened between the two calls (in another word, lock.lock() was called), lock.unlock() can cause an issue:
Current thread is not owner of lock!
See https://redmine.dataone.org/issues/6836.

9108 02/06/2015 04:47 PM Jing Tao

Add the code to test only 512 characters can be written to db.

9107 02/06/2015 04:46 PM Jing Tao

Add a cap to only write 512 characters of the user-agent to db.

9105 02/06/2015 03:46 PM Jing Tao

Add the code to make sure that the event, ip address, principal and userAgent were recorded.

9104 02/06/2015 03:23 PM Jing Tao

Handle the IOException which was added to MockCNode constructor.

9103 02/06/2015 03:22 PM Jing Tao

Change the constructor's signature since the super class - MultipartDCNode was changed.

9100 02/06/2015 12:23 PM Matt Jones

Add comments explaining limits on max_upload_size property.

9099 02/06/2015 12:10 PM Matt Jones

Modify v1 and v2 calls to MultipartRequestResolver to use MAX_UPLOAD_SIZE from configuration.

9098 02/06/2015 11:55 AM Jing Tao

The constrcutor of EventLogData missed the user-agent field. So the user-agent wasn't recorded.
The bug was fixed.

9097 02/06/2015 11:12 AM Matt Jones

Lower the file size limit to deal with max size of Integer issue.

9096 02/06/2015 09:21 AM ben leinfelder

organize imports. move exception-throwing method call into try block.

9095 02/06/2015 09:15 AM ben leinfelder

use HttpMultipartRestClient since the DefaultHttpMultipartRestClient was removed from d1_libclient_java

9094 02/06/2015 01:16 AM Matt Jones

Updated D1ResourceHandler to not hardcode a file size limit. This will allow
large, multi-gigabyte files to be uploaded, but still needs testing. The limit
is now drawn from the metacat.properties file. An alternative would be to inspect
the Content-Length header of the request and set the max to a value greater than the...

9093 02/04/2015 04:44 PM Jing Tao

The setReplicationStatus method only supports sid and the setRightsHolder method supports both PID and SID.

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.

9091 02/04/2015 02:28 PM Jing Tao

Fixed a bug that it should use getReplica rather than get method.

9090 02/04/2015 09:47 AM Jing Tao

Add the option -h for tar command in order to follow the link.

9089 02/03/2015 05:48 PM Jing Tao

Add the test case 18. Refer https://redmine.dataone.org/issues/6734.

9088 02/03/2015 02:32 PM Jing Tao

Add two more test cases. Refer https://redmine.dataone.org/issues/6734.

9087 02/03/2015 02:10 PM Jing Tao

The CN.setReplicationPolicy method now only support PIDs. Refer to https://redmine.dataone.org/issues/6734.

9086 02/02/2015 02:58 PM Jing Tao

Used the new concept - end to determine the head object of an SID chain.

9085 02/02/2015 01:52 PM Jing Tao

Add the case 15 refrence the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup.

9084 02/02/2015 10:28 AM Jing Tao

Add more test cases from the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup

9083 02/02/2015 09:50 AM Jing Tao

Went through the v2 ObjectFormatList and convert every v2 ObjectFormat to v1 ObjectFormat and put them into a v1 objectFormatList.

9082 01/30/2015 04:37 PM Jing Tao

Added the more test cases to get the head version of a SID.
See https://epad.dataone.org/pad/p/201501-MaintenanceStandup