Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6226 06/28/2011 08:04 AM Chris Jones

Implement [MN|CN]Read.get() in D1NodeService. Added setParamsFromRequest() to pass through parameters from the request object. Since the D1 Authorization API doesn't specify which authentication system a subject belongs to, we don't know if the subject listed is a KNB LDAP DN. isAuthorized() may return true for a mapped identity, but we don't know the DN of the KNB identity per se. This needs to be tested.

6225 06/27/2011 02:39 PM ben leinfelder

-use every Subject in the session (alt Ids and Group membership)
-consolidate to single isAuthorized method

6223 06/27/2011 01:19 PM ben leinfelder

throw exception for unimplemented methods

6222 06/27/2011 12:22 PM ben leinfelder

implement resolve() method

6221 06/27/2011 11:56 AM ben leinfelder

implement assertRelation

6220 06/27/2011 11:41 AM ben leinfelder

implement CNReplication.setReplicationStatus() but with a note about selecting which replica's status should be set (right now it is all)

6219 06/27/2011 11:29 AM ben leinfelder

implement CNReplication.setReplicationPolicy

6218 06/27/2011 11:13 AM ben leinfelder

correction: implementation is CN-specific

6217 06/27/2011 11:12 AM ben leinfelder

implement getChecksum() in the superclass

6216 06/27/2011 11:07 AM ben leinfelder

implement getChecksum (retrieves from system metadata)

6215 06/27/2011 10:59 AM ben leinfelder

use shared get() method from superclass

6214 06/27/2011 10:55 AM ben leinfelder

use shared getLogRecords method

6213 06/27/2011 10:28 AM Chris Jones

Remove isAuthorized(), setAccessPolicy(), and getLogRecords() methods since they're implemented in the superclass.

6212 06/27/2011 10:15 AM ben leinfelder

use Permission, not Event for isAuthorized() methods

6195 06/23/2011 04:10 PM ben leinfelder

CNCoreImpl is replaced by CNodeService

6194 06/23/2011 03:58 PM ben leinfelder

implement CNAuthorization

6189 06/23/2011 02:26 PM ben leinfelder

Metacat does not implement CNIdentity - it is a stand-alone service

6188 06/23/2011 02:20 PM ben leinfelder

implement registerSystemMetadata

6187 06/23/2011 02:19 PM ben leinfelder

implement object format methods - using a separate class to do the actual metacat lookup/caching so that teh CN implementation looks cleaner

6186 06/23/2011 02:17 PM ben leinfelder

implement getLogRecords

6185 06/23/2011 01:54 PM ben leinfelder

include latest D1 common/lib changes

6179 06/22/2011 11:03 AM Chris Jones

Initial check in of the MNodeService stub methods that implement the D1 MN* interfaces. CrudService methods will be transitioned into this class. The methods follow the D1 0.6.2 API thus far.

Also changed CNodeService to reflect minor changes to the D1NodeService class.

6178 06/22/2011 08:13 AM Chris Jones

Add a static getInstance() method to CNodeService and make CNodeService a singleton.

6177 06/22/2011 08:06 AM Chris Jones

Initial check in of the CNodeService stub methods that implement the D1 CN* interfaces. CNCoreImpl methods will be transitioned into this class. The methods follow the D1 0.6.2 API thus far.

6176 06/22/2011 07:50 AM Chris Jones

CNAuthorization.isAuthorized() and MNAuthorization.isAuthorized() differ. Removed it from the base class.

6175 06/22/2011 06:12 AM Chris Jones

getChecksum() is intentionally different on the CN vs MN, so I'm removing it as a common method.

6174 06/21/2011 03:42 PM Chris Jones

Initial check in of the D1NodeService class that provides methods common to both CNodeService and MNodeService implementation classes. The common API methods are:

Methods common to CNCore and MNCore APIs
getLogRecords()

Methods common to CNRead and MNRead APIs...

6149 06/16/2011 10:33 AM ben leinfelder

take getLogRecords impl form CrudService and use in CNCoreImpl

6139 06/15/2011 08:48 AM Chris Jones

Updated CNCoreImpl to implement listFormats() and getFormat(), and changed calls to ObjectFormatCache in IdentifierManager, MetacatHandler to call getInstance(). Removed the ObjectFormatService registration from MetaCatServlet since it is replaced by CNCoreImpl.

6129 06/07/2011 12:08 PM ben leinfelder

include create() and reserveIdentifier() methods

6128 06/07/2011 11:14 AM ben leinfelder

include override annotation for register method

6127 06/07/2011 11:09 AM ben leinfelder

use Date not joda's DateTime

6125 06/07/2011 10:27 AM ben leinfelder

force replication for newly-registered system metadata

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

6121 06/06/2011 12:08 PM ben leinfelder

implement the old interface for now (until 0.6.2)

6120 06/03/2011 12:51 PM ben leinfelder

include CNCore implementation - only registerSystemMetadata is implemented at the moment. also - updated d1 jar (0.6.2) should be used since that is where the method is defined.
would like to consider making ResourceHandler more modular - seems like it does A LOT of different things

6108 05/27/2011 11:55 AM ben leinfelder

read and write D1 access policy rules from metacat xml_access table.
still TBD: which mechanism takes precedence when there are systemMetadata access rules and EML access rules and other access rules?

6099 05/25/2011 11:59 AM ben leinfelder

-remove system metadata guid -> local id mapping (there is no document for system metadata now)
-include system metadata elements when replicating data objects (TODO: transfer all system metadata structures with the docinfo request).
TODO: remove docid+rev from the systemMetadata table definition

6097 05/24/2011 04:18 PM ben leinfelder

do not use XML files for storing SystemMetadata - use DB tables only.

6092 05/19/2011 01:52 PM Matt Jones

Modified Metacat to build against the D1_SCHEMA_0_6_1 branch of the dataone schemas by incorporating the 0.6.1-SNAPSHOT version of d1_common and d1_libclient libraries, and refactoring Metacat code references to the d1 schema changed types.

6091 05/18/2011 04:32 PM Chris Jones

In order to sync up with DataONE 0.6.1 changes, I'm backing out ObjectFormatService changes temporarily in Metacat. Most functionality will be rolled back in using the DataONE 0.6.2 tag, but some methods in ObjectFormatService (such as getListFromDisk()) will be moved into d1_libclient_java.

6088 05/17/2011 08:02 PM Chris Jones

Changes in the DataONE ObjectFormat class deprecate the convert() method, and we're now using Metacat's ObjectFormatService to look up object format attributes. The following changes replace ObjectFormat.convert() with ObjectFormatService.getFormat() in several classes....

6068 05/05/2011 10:45 AM rnahf

generateMissingSystemMetadata was swallowing Exceptions instead of throwing. Refactored so that specific exceptions are thrown, affecting [create/update]SystemMetadata methods, too.

6001 03/02/2011 02:12 PM Chris Jones

DocumentImpl.delete() now throws finer grained exceptions (not a general exception). Consequently, the classes that call it have been updated to handle the thrown exceptions, including CrudService, ReplicationHandler, and ReplicationService.

5957 02/15/2011 02:08 PM berkley

fixed bug where the wrong checksum alg got written to the db

5953 02/13/2011 11:20 AM Chris Jones

To support the generatemissingsystemmetadata REST call, modified CrudService.createSystemMetadata() to use DataoneEMLParser and further determine object formats from EML metadata. Formats currently supported are text/plain, text/csv, image/[jpg|jp2|bmp|tiff|png], and only for EML documents with 'ecogrid://' defined entity urls....

5921 02/04/2011 06:14 PM Matt Jones

Cleaned up warnings, removed dead code.

5920 02/04/2011 05:53 PM Matt Jones

Updated to most recent DataONE libraries. Updated CrudService to set the correct origin MN and auth MN in system metadata. Refactored exception passing. More work to come in generating SystemMetadata.

5895 02/03/2011 03:25 PM berkley

added code to do database query for listObjects

5893 02/03/2011 01:19 PM Matt Jones

Cleaned up unused imports.

5887 02/02/2011 03:52 PM berkley

adding fields for additional system metadata info

5870 01/31/2011 01:30 PM berkley

added code to run an squery for listObjects instead of an anyfield query

5851 01/27/2011 03:08 PM berkley

refactor checksum and some other stuff

5838 01/24/2011 03:32 PM berkley

replicate works on metacat now. just waiting for roberts changes to the mmp clients

5802 01/13/2011 11:58 AM berkley

removing code I just added

5801 01/13/2011 11:54 AM berkley

adding default url to test against

5798 01/13/2011 11:33 AM berkley

fixes for creating SM for legacy docs

5796 01/12/2011 11:57 AM berkley

fixing generateSystemMetadata

5770 01/04/2011 04:04 PM berkley

implemented health api

5764 01/04/2011 11:26 AM berkley

new class

5763 01/04/2011 11:26 AM berkley

implemented ping

5750 12/20/2010 02:19 PM berkley

fix for paths with semi-colons or other 'reserved' characters in them for D1 rest services

5746 12/17/2010 11:25 AM berkley

added semi-colon id test

5693 12/07/2010 02:03 PM ben leinfelder

allow public access to log information when docid is given. IP and principal are not returned unless an administrator makes the request.

5683 12/02/2010 11:09 AM berkley

organized code for inputstream handling

5681 12/01/2010 03:06 PM berkley

fixed date problem

5680 12/01/2010 02:21 PM berkley

add a timer to delete the temp file

5679 12/01/2010 02:13 PM berkley

removed dependency on InputStreamToOutputStream so that exceptions will be passed correctly.

5670 11/30/2010 03:30 PM berkley

got getChecksum working. working on delete now. all tests in d1clienttest now pass

5654 11/18/2010 11:57 AM berkley

implemented crud.delete

5652 11/17/2010 11:53 AM berkley

changed date format a bit to get the parser to like it

5648 11/16/2010 11:46 AM berkley

implemented crud.describe

5644 11/15/2010 03:26 PM berkley

adding getChecksum method

5643 11/15/2010 12:08 PM berkley

added milliseconds back onto date format

5630 10/28/2010 02:11 PM berkley

fixed a couple bugs with dates and fixed a major bug where metacat was reading the entire document from the database everytime a DocumentImpl instance was created even though it didn't need to

5629 10/27/2010 10:51 AM berkley

changes for dataone .5 schema updates

5624 10/20/2010 11:17 AM berkley

updated all exception codes to match spec

5622 10/20/2010 11:02 AM berkley

fixed task 729

5621 10/19/2010 09:33 AM berkley

fixed a bunch of small errors, did some reformatting, and fixed a bug that I thought was fixed last week

5582 09/23/2010 11:41 AM berkley

changed log labels per trac 843

5577 09/22/2010 11:55 AM berkley

fixed bug 818

5559 09/21/2010 11:26 AM berkley

better log message

5557 09/21/2010 10:47 AM berkley

more debugging for objectInfo problem

5556 09/20/2010 03:23 PM berkley

checking for a null objectformat

5555 09/20/2010 03:07 PM berkley

checking for a null objectformat

5554 09/20/2010 02:52 PM berkley

checking for a null objectformat

5553 09/20/2010 02:49 PM berkley

backtracking

5552 09/20/2010 02:40 PM berkley

add some error output

5551 09/20/2010 02:38 PM berkley

add some error output

5550 09/20/2010 02:06 PM berkley

added a check for bad data into listObjects

5549 09/17/2010 04:29 PM berkley

commented out a println

5547 09/17/2010 10:48 AM berkley

updated DB scripts for D1 schemas

5523 08/27/2010 11:09 AM berkley

moved the dataone types to the metacat.properties file

5521 08/27/2010 08:25 AM berkley

changes to work with new dataone jars

5510 08/23/2010 02:41 PM berkley

fixed bug where the query cache was not getting reset by a REST insert/query combo.

5481 08/06/2010 01:11 PM berkley

new todos from code review with roger

5466 08/02/2010 02:29 PM berkley

added TODOs and cleaned up the code a bit

5462 07/29/2010 12:22 PM berkley

fixed mime multipart problems so that roger can try to use the d1client

5461 07/28/2010 03:09 PM berkley

fixed error where insert/update errors were not getting caught as exceptions

5460 07/28/2010 10:53 AM berkley

fixed bug with logger where localid didn't get appended when inserting a data file