Project

General

Profile

Statistics
| Revision:

metacat / src / edu / ucsb / nceas / metacat / util @ 6692

# Date Author Comment
6561 10/27/2011 05:51 PM ben leinfelder

move the DataONE 1.0.0-SNAPSHOT

6539 10/14/2011 05:49 PM ben leinfelder

use default fmtid if we can't find the user-supplied data mime type in our list

6538 10/14/2011 05:13 PM ben leinfelder

including newer d1 libclient that uses Foresite (and Jena) to construct/parse ORE resource maps for DataONE

6534 10/13/2011 05:13 PM ben leinfelder

cleaned up to use for populating a DataONE MN using the D1 api. Retrieves packages from a Metacat and generates system metadata for them before calling MN.create() for both data and metadata.
NOTE: you need a client certificate that the target server accepts (either DataONE-generated for testing or a CILogon one for more official use). I was only able to get the former certificate type to work with our existing MN servers

6531 10/12/2011 11:08 AM ben leinfelder

include SystemMetadata when replicating data and metadata documents -- this allows us to establish the guid-to-docid mapping that is crucial for being able to read the replicated document by guid (d1 api)

6448 09/16/2011 03:17 PM ben leinfelder

do not send <systemMetadata> with the <docInfo> replication information - this is handled by the Hazelcast shared map

6397 09/07/2011 05:16 PM ben leinfelder

changes for schema update (d1_common)

6386 08/31/2011 02:39 PM Chris Jones

Update MetacatPopulator to use the DataONE 0.6.4 schema and types.

6366 07/27/2011 04:25 PM ben leinfelder

use new "v1" types from DataONE

6359 07/20/2011 01:51 PM ben leinfelder

-handle NotFound object format when generating system metadata
-improve EML DML for null entity/attribute elements

6152 06/17/2011 09:41 AM ben leinfelder

placeholder for setting up certificate manager

6151 06/17/2011 09:17 AM ben leinfelder

remove AuthToken (use session). Remove login() call. Use AccessPolicu object to set public read permission

6144 06/15/2011 09:03 AM Chris Jones

Updated MetacatPopulator to now use ObjectFormatCache.getInstance(). Note: problems remain with the authentication API changes - calls to mn.login(), etc. need to be addressed.

6134 06/08/2011 02:35 PM ben leinfelder

use Data Manager Library to parse EML when needed in DataONE classes.
(augmented DML to parse data format elements in EML to estimate MIME type)
https://redmine.dataone.org/issues/1634

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.

6102 05/25/2011 03:53 PM ben leinfelder

transfer full System Metadata (as XML) during document and data replication

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....

6051 04/28/2011 01:05 PM rnahf

zero padded date string in DocumentUtil.generateDocumentId() for readability

5916 02/04/2011 11:30 AM Matt Jones

Add in correct node references in system metadata.

5914 02/04/2011 06:17 AM ben leinfelder

remove httpclient 3.1 and custom-built httpclient.jar
rework MetacatClient (and other classes) to use httpclient 4
updated build to not create httpclient.jar
encoding tests now pass.

5881 02/01/2011 12:13 PM berkley

some new code for debugging mmp

5874 01/31/2011 03:48 PM berkley

updated the populator

5867 01/31/2011 11:55 AM ben leinfelder

always re-write web.xml in case geoserver has been redeployed
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4307

5860 01/28/2011 03:52 PM Matt Jones

Modified MetacatPopulator to deal with change in D1Client static methods.

5847 01/26/2011 04:11 PM ben leinfelder

rework geoserver configuration:
-geoserver context is set to 'geoserver' by default, but can be reconfigured
-data directory is set in the geoserver web.xml file (we have a template, set the value accordingly, then overwrite the deployed version in the geoserver webapp)...

5791 01/10/2011 10:51 AM berkley

fixed bug with http/https port

5760 12/27/2010 02:47 PM ben leinfelder

use detected document encoding or Metacat's default encoding (UTF-8)

5577 09/22/2010 11:55 AM berkley

fixed bug 818

5568 09/21/2010 03:56 PM berkley

updated the metacatpopulator to use the d1 eml parser to create system metadata in a smarter fashion.

5545 09/14/2010 01:28 PM berkley

changed improper use of getFS() to a /. getFS() should never be used with a URL since it will return \ on windows which is not a valid separator in a URL.

5522 08/27/2010 08:27 AM berkley

updated for new dataone jars

5452 07/26/2010 02:47 PM berkley

fixed identifier manager problem with getting guid for systememtadaa doc

5441 07/22/2010 03:30 PM berkley

added functionality to set access permissions to system metadata the same as the document that it describes

5397 06/23/2010 03:45 PM berkley

MetacatPopulator is now working. It allows you to do a query from one metacat instance, then insert any returned docs into another metacat instance

5394 06/23/2010 12:25 PM berkley

tracked down streaming bug. now need to figure out a better way to fix it.

5374 06/08/2010 12:34 PM berkley

refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.

5311 04/14/2010 11:31 AM daigle

Merge 1.9.2 changes back into the trunk

5286 03/18/2010 03:11 AM Matt Jones

Added support to ResourceHandler to allow the putObject method to use
arbitrary guid strings as input. These strings are examined, and if they
match the Metacat docid format (scope.id.rev), they are used directly. If
the id is a string in another format, a new localId is generated based on...

5208 02/03/2010 01:29 PM daigle

Move the chunking of large test element data to centralized location in DBSAXNode.writeChildNodeToDB(). Beff up logging

5195 01/19/2010 10:25 AM daigle

Pass the doc xml as a string to docImpl.write and writeRepication. This is so a reader can be create for the parsing and for the write to disk. Also created a db access class for xml query result deletion.

5076 10/06/2009 10:55 AM daigle

Change RequestUtil forwardRequest() method to throw MetacatUtilException.

5072 10/02/2009 01:11 PM daigle

Add authorization functionality

5070 10/02/2009 12:59 PM daigle

Add user name to SessionData object

5043 08/27/2009 12:03 PM daigle

change pw.println to print to remove newline at end of url

5030 08/24/2009 02:34 PM daigle

Change location of PropertyService to properties directory

5027 08/14/2009 02:26 PM daigle

Change MetaCatVersion to MetacatVersion

5025 08/14/2009 02:22 PM daigle

Move document specific utilities to DocumentUtil from MetacatUtil. This makes it easier to define a layer between the core metacat services and the rest of the code.

5015 08/04/2009 02:32 PM daigle

Create database and shared directories for database management code and shared code respectively.

5013 07/31/2009 04:47 PM daigle

Add the ability to delete a scheduled workflow (move status to deleted in database)

4984 07/19/2009 11:18 PM daigle

Created new AuthStub class to always authenticate.

4967 07/01/2009 10:29 AM daigle

Workflow scheduler and archiving fixes for TPC workflow engine

4959 06/18/2009 10:24 AM daigle

Added generic scheduler and workflow scheduling functionality.

4952 06/12/2009 04:47 PM daigle

Add scheduler and workflow schedule functionality

4951 06/12/2009 04:41 PM daigle

Add scheduler and workflow schedule functionality

4854 03/23/2009 02:56 PM daigle

Beef up exception handling from file utilities. Move UtilException to MetacatUtilException to eliminate conflict with similar exception in utility package.

4812 02/18/2009 04:30 PM daigle

Format indexPaths in metacat.properties. Remove from build.properties and build.xml. Move indexPath list getter from MetacatUtil to SystemUtil.

4805 02/17/2009 09:28 AM daigle

Separate the concept of a backup file location and a metacat external directory location. These can be totally different.

4795 02/03/2009 04:01 PM daigle

Allow for backup properties to be written to context based subdirectory of the external configuration directory. This allow multiple instances of metacat to be run side by side.

4785 01/27/2009 04:31 PM daigle

Change name of writeTempFile to writeTempUploadFile since this instance deals with the temporary upload dir specifically

4781 01/27/2009 10:27 AM daigle

writeTempFile was trying to write the same file as the registry. Changed to write the file to an "upload" subdirectory. Also throws IOException so errors get reported back to api.

4780 01/26/2009 04:38 PM daigle

Handle sessions with null ids gracefully.

4776 01/26/2009 10:19 AM daigle

Get the organization list from org.name.<orgname>= property. Add these values back into metacat.properties.

4725 01/02/2009 08:16 AM daigle

Try to create the backup directories before creating th ebackup files.

4712 12/26/2008 01:22 PM daigle

Add external (backup) directory discovery methods.

4699 12/26/2008 01:09 PM daigle

Renamed MetaCatUtil to MetacatUtil

4674 12/13/2008 01:47 PM Jing Tao

Add method to save transforming message into files.

4673 12/12/2008 06:38 PM Jing Tao

Use a while loop to replace if.

4672 12/12/2008 05:59 PM Jing Tao

Add code to go through eml201 document list to transform them to eml210.

4671 12/10/2008 05:32 PM Jing Tao

Add a new class which will transform eml201 and eml 200 to eml210.

4662 12/09/2008 02:58 PM daigle

Discover the external (backup) directory based on OS

4628 11/25/2008 09:54 AM daigle

Catch login errors and report the details via an exception.

4627 11/24/2008 03:42 PM daigle

Added code to populate moderators from metacat.properties

4619 11/24/2008 11:51 AM daigle

Add release info property to provide a brief description of the release (release candidate info mostly)

4589 11/19/2008 03:25 PM daigle

Rename LDAPUtil to AuthUtil

4485 10/29/2008 11:42 AM daigle

Add some generic typing

4481 10/22/2008 02:45 PM daigle

Fix the deploy directory autodiscovery code so that it works regardless of where the metacat application directory is.

4475 10/21/2008 03:31 PM daigle

Add some generics typing

4422 10/08/2008 11:39 AM ben leinfelder

include context for replication server

4421 10/08/2008 11:29 AM ben leinfelder

use secure server for replication - note that this is WITHOUT "https://" prepended

4399 09/26/2008 03:43 PM ben leinfelder

adding document "cart" feature to metacat. will not be highly published as a feature until well-vetted.

4358 09/16/2008 05:32 PM walbridge

Replace usage of temp-dir with proper application.tempDir property

4335 08/29/2008 10:20 AM daigle

Move the DBAdaptor accessor into a DatabaseService class

4327 08/27/2008 04:47 PM ben leinfelder

remove skin.configs directory.
migrate those properties to the style/skins/* properties files
do not load them during Metacat init.

4299 08/22/2008 04:26 PM daigle

Added methods to get session data, parameters and cookies from request

4298 08/22/2008 04:24 PM daigle

change session attribute reference from "groups" to "groupname"

4212 08/05/2008 05:33 PM daigle

Continue to qualify property names

4207 08/04/2008 05:34 PM daigle

Intial addition of geoserver utility file

4202 08/04/2008 05:14 PM daigle

Remove commented lines

4201 08/04/2008 05:13 PM daigle

Add a post method

4196 08/04/2008 05:02 PM daigle

Remove the organization configuration stuff for the moment. Add geoserver configuration.

4189 07/31/2008 05:13 PM daigle

use context url to get cgi url

4185 07/31/2008 09:39 AM daigle

Change discoverTomcatDir to discoverDeployDir

4159 07/24/2008 01:52 PM daigle

Add support for separate LDAP and organization level configurations

4154 07/22/2008 02:20 PM daigle

Add functionality to allow developer to bypass configuration utility

4141 07/18/2008 09:32 AM daigle

FIx comments for getContextDir to reflect that we no long append webapps to the path

4132 07/16/2008 11:58 AM daigle

Differentiate between tomcat directory and deployment directory.

4110 07/11/2008 10:11 AM daigle

Move references to sql scripts into the WEB-INF directory.

4109 07/11/2008 10:10 AM daigle

Add method to return a map of db script suffixes from metacat.properties