Project

General

Profile

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

# Date Author Comment
9269 07/29/2015 02:42 PM ben leinfelder

check for optional "failure" param instead of throwing exception when it is missing (often is). https://redmine.dataone.org/issues/7283

9268 07/29/2015 02:13 PM Jing Tao

Fixed a possible null pointer exception bug. https://redmine.dataone.org/issues/7280

9267 07/28/2015 04:22 PM Jing Tao

Add the code to test that non-cn session can't call some methods like registerSystemMetadata, updateSystemMetadata and et al.

9266 07/28/2015 03:31 PM Jing Tao

Use the getCNSession to replace the getTestSession which was a actual getCNSession.

9265 07/27/2015 05:15 PM Jing Tao

Only CNs can call those methods:
CNCore.registerSystemMetadata()
CNCore,updateSystemMetadata()
CNReplication.setReplicationStatus()
CNReplication.updateReplicationMetadata()
CNReplication.deleteReplicationMetadata()

9264 07/27/2015 04:21 PM Jing Tao

Add the test to test new rules: cn and other client calling the method on the authoritative node can call the mn.update.

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.

9262 07/24/2015 04:58 PM Jing Tao

Excluded a non-test class in the test target.

9261 07/24/2015 02:46 PM Jing Tao

Add some thread sleeping time to make checking wait the process.

9260 07/24/2015 11:06 AM Jing Tao

Deleted a unnecessary test class.

9259 07/23/2015 05:14 PM Jing Tao

Make more cap for the testing.

9258 07/21/2015 04:22 PM Jing Tao

When compare the dateUploaded, now we use sysmetadata.getDateUploaded().getTime(). It used systemmetadata.getDateUploaded() (Date objects) to compare.

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.

9255 07/17/2015 10:20 AM Jing Tao

Add a new version of this document from the svn trunk. The changes are all documentation.

9254 07/16/2015 02:52 PM Jing Tao

Add v2 to the service.version list.

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

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

9252 07/15/2015 03:57 PM Jing Tao

Insert a document with different authoritative node id. So we can test querySystemMetadata by more cases.

9251 07/15/2015 02:35 PM Jing Tao

Add a junit test to test the querySystemMetadata method.

9250 07/15/2015 01:46 PM Lauren Walker

Use MetacatUI 1.7.1 tag in Metacat build

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

9247 07/14/2015 04:56 PM Jing Tao

Change the signature of listObject method - remove replicaStatus and add nodeId.

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

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

9245 07/13/2015 04:35 PM Jing Tao

Throw an exception if the request doesn't specify the name of the theme in the view method.

9244 07/13/2015 03:28 PM ben leinfelder

use objectFormat.extension in cases where we need to construct a filename for download. https://redmine.dataone.org/issues/3312

9243 07/10/2015 02:23 PM Jing Tao

Add the code to insert entries in xml_catalog for the iso119139 objects.

9242 07/10/2015 02:21 PM Jing Tao

Add the code to insert entries in xml_catalog for the iso119139 objects.

9241 07/09/2015 05:18 PM Jing Tao

Add a junit test class to test the insert of iso119139 object.

9240 07/09/2015 04:38 PM Jing Tao

Add the sql command to insert schemas for iso119139.

9239 07/09/2015 04:37 PM Jing Tao

Add the sql command to insert schemas for iso119139.

9238 07/09/2015 03:19 PM Jing Tao

Add the schemas for ISO-119139/isotc211.object.

9237 07/09/2015 02:09 PM ben leinfelder

use v1 and v2 xsl as appropriate for rendering d1 types (object format list, mostly)

9236 07/09/2015 01:59 PM Jing Tao

Add an iso text file.

9235 07/08/2015 05:03 PM ben leinfelder

use MediaType from v2.SystemMetadata and v2.ObjectFormat to better determine mime-type, charset and filename for the get() method. https://redmine.dataone.org/issues/3309

9234 07/08/2015 05:01 PM ben leinfelder

correct logout method (old change still in workspace)

9233 07/08/2015 02:42 PM Jing Tao

Add a junit test case to test the write/read of new fields in the system metadata.

9232 07/08/2015 01:07 PM Jing Tao

Add the test suite.

9231 07/08/2015 11:53 AM Jing Tao

Fixed a bug that two columns were missing in the sql command.

9230 07/07/2015 04:35 PM Jing Tao

Add the code to read/write the new system metadata fields - file name, media type and media type properties into the db tables.

9229 07/06/2015 04:22 PM Jing Tao

Add code to update smmediatypeproperties table.

9228 06/23/2015 08:48 AM ben leinfelder

add logout implementation - calls server and clears cookie jar.

9227 06/01/2015 02:25 PM Jing Tao

Add the code to create smMediaTypeProperties table.

9226 05/29/2015 10:01 PM Jing Tao

Add the code to create a new table smMediaTypeProperties.

9225 05/29/2015 10:00 PM Jing Tao

Change the name of the foreign key on the smMediaTypeProperties.

9224 05/29/2015 09:49 PM Jing Tao

Add a new table smMediaTypeProperties to store the properties associated with a media type.

9223 05/29/2015 02:59 PM Jing Tao

Add a new version of the schema.

9220 05/28/2015 03:11 PM Jing Tao

Throw an exception if the saving system metadata fails.

9219 05/28/2015 01:19 PM Jing Tao

Add the code to roll back the saved system metadata if the object can't be saved.

9218 05/20/2015 02:49 PM Jing Tao

Add the media_type and file_name columns.

9217 05/20/2015 02:49 PM Jing Tao

Add the media_type and file_name columns.

9216 05/20/2015 02:48 PM Jing Tao

Add two columns media_type and file_name.

9215 05/20/2015 02:47 PM Jing Tao

Add the media_type and file_name columns.

9214 05/15/2015 10:19 AM Lauren Walker

Index science metadata fields for the Dublin Core Extended metadata format. - Use d1_cn_index_processor 1.4.5 in metacat-index and update beans with new dcx subprocessor and xsi namespace

9212 05/13/2015 04:25 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.

9211 05/13/2015 04:24 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.
Fixed the bug the new column should be series_id rather than guid.

9210 05/13/2015 04:23 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.

9209 05/13/2015 04:22 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.

9208 05/13/2015 03:35 PM Jing Tao

Add the data schema from dataone svn trunk. It maybe needs to be updated in future.

9207 05/13/2015 02:39 PM Jing Tao

Add a hash of a new index schema.

9206 05/11/2015 10:43 PM Jing Tao

Don't use ssClient as a class field. Now it is a local variable. This fixed an issue that two statements using the client caused the exception - java.net.SocketTimeoutException: Read timed out.

9205 05/11/2015 05:19 PM Jing Tao

Uncomment the code to copy the log4j.properties file to web-inf.

9204 05/11/2015 02:09 PM rnahf

refs: #7092. found another unclosed inputStream, this time in ReplicationService.handleForceReplicationDataFileRequest(...).

9203 05/11/2015 12:28 PM rnahf

fixes #7092: added finally clause to ReplicationHandler.update method to unconditionally close the inputStreams it keeps in a Vector. Needs testing.

9202 05/08/2015 11:11 AM Jing Tao

Use the wild card in the class path. So it will not be pain if the jar files were changed.

9201 05/07/2015 06:14 PM Jing Tao

Add the code to test scenario that a user tries to update an archived object.

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.

9199 05/07/2015 12:22 PM Lauren Walker

Move the dataset metadata label for metacatui EML

9198 05/07/2015 10:41 AM Lauren Walker

Mark the entity metadata sections in metacatui EML transformations

9197 05/06/2015 05:35 PM Jing Tao

Use the ecogrid 1.2.3 tag to replace the branch.

9195 05/06/2015 05:04 PM Jing Tao

Fixed an null pointer issue in this class.

9194 05/05/2015 04:29 PM Lauren Walker

Changed the FGDC MetacatUI theme translation so that it displays nicely in MetacatUI and works correctly

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.