Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  com 2532 over 19 years sgarg renaming enum to catalogEnum to prevent compila...
  edu 5977 almost 14 years Chris Jones These are fairly significant changes to Metacat...
  org 5030 over 15 years daigle Change location of PropertyService to propertie...
  perl 5714 about 14 years ben leinfelder use EML 2.1.1 and UTF-8
  php 3134 about 18 years perry added gpl header to php metacat lib
  python 3122 about 18 years perry Minor updates to python module ... default urls...
  query-client 2824 about 19 years tyburczy Unix port of transform.bat
  ruby 3132 about 18 years perry Initial import of Chad Burt's ruby metacat client
  scripts 5311 over 14 years daigle Merge 1.9.2 changes back into the trunk
addforeignkeyfortable.sql 135 Bytes 1626 over 21 years Jing Tao Create a foreign key for table accesssubtree.
alter-datafile-for-knbbackup.sql 1.66 KB 2662 about 19 years Jing Tao Add a new sql file to alter control file which ...
clear.sql 312 Bytes 704 almost 24 years berkley added removal of relations
delete-xml-documents.sql 937 Bytes 3123 about 18 years Jing Tao Add a script to delete documents manually.
delete-xml-revisions.sql 110 Bytes 3125 about 18 years Jing Tao Add a script can delete xml_revision records.
drop-postgres.sql 2.24 KB 5956 almost 14 years Matt Jones Updated DROP script that was missing tables and...
increase-xml-queryresult-size-postgres.sql 952 Bytes 3297 over 17 years Jing Tao A sql to increase column size of queryresult_st...
loaddtd.sql 2.07 KB 4080 over 16 years daigle Merge 1.9 changes into Head
loaddtdschema-oracle.sql 3.37 KB 5709 about 14 years ben leinfelder add support for EML 2.1.1
loaddtdschema-postgres.sql 3.37 KB 5709 about 14 years ben leinfelder add support for EML 2.1.1
loadschema.sql 395 Bytes 4080 over 16 years daigle Merge 1.9 changes into Head
package-count.sql 373 Bytes 2283 over 20 years Matt Jones Added sql for counting packages.
rollback-db-from-1.9-oracle.sql 903 Bytes 4818 almost 16 years daigle Add db rollback scripts
rollback-db-from-1.9-postgres.sql 465 Bytes 4818 almost 16 years daigle Add db rollback scripts
showdoc.sql 340 Bytes 390 over 24 years Matt Jones Added new utility query to return all of the xm...
sqlcatlist.sql 253 Bytes 123 over 24 years Matt Jones Modifying storage model to use DOM TEXT nodes
sqldoclist.sql 209 Bytes 531 about 24 years Matt Jones Changed utility query to include the user_owner...
sqlnodeslist.sql 94 Bytes 108 over 24 years Matt Jones added utility files and queries
sqlnodesview.sql 358 Bytes 166 over 24 years Matt Jones minor modifications to fix problems introduced ...
sqlrevisions.sql 205 Bytes 203 over 24 years Matt Jones Merged in substantial changes to DBWriter and a...
tsvector.sql 788 Bytes 3751 almost 17 years Jing Tao Add new code for xml_nodes table.
upgrade-db-to-1.10.0-oracle.sql 1.78 KB 5917 almost 14 years berkley fixed bugs in listObjects
upgrade-db-to-1.10.0-postgres.sql 1.83 KB 5917 almost 14 years berkley fixed bugs in listObjects
upgrade-db-to-1.2-oracle.sql 600 Bytes 4104 over 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.2-postgres.sql 637 Bytes 4080 over 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.3-oracle.sql 1.44 KB 4104 over 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.3-postgres.sql 2.56 KB 4080 over 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.4-oracle.sql 4.36 KB 4104 over 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.4-postgres.sql 5.03 KB 4080 over 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.5-oracle.sql 5.9 KB 4413 about 16 years daigle Add nodedatanumerical column and associated pop...
upgrade-db-to-1.5-postgres.sql 5.65 KB 4080 over 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.6-oracle.sql 9.66 KB 4414 about 16 years daigle Re-add the xml_node id trigger. In oracle, thi...
upgrade-db-to-1.6-postgres.sql 7.66 KB 4080 over 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.7-oracle.sql 509 Bytes 4104 over 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.7-postgres.sql 509 Bytes 3052 about 18 years Matt Jones Modifications to the table definitions to add i...
upgrade-db-to-1.8-oracle.sql 214 Bytes 4104 over 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.8-postgres.sql 1.43 KB 3607 about 17 years Jing Tao A file rename from 1.7.1 since we decide to rel...
upgrade-db-to-1.9-oracle.sql 1.03 KB 4818 almost 16 years daigle Add db rollback scripts
upgrade-db-to-1.9-postgres.sql 903 Bytes 4797 almost 16 years daigle Add the service registration xml schema to the ...
upgrade-db-to-1.9.1-oracle.sql 127 Bytes 4873 almost 16 years daigle Update version to 1.9.1. Add nrs ldap properti...
upgrade-db-to-1.9.1-postgres.sql 125 Bytes 4873 almost 16 years daigle Update version to 1.9.1. Add nrs ldap properti...
upgrade-db-to-1.9.2-oracle.sql 1.7 KB 5311 over 14 years daigle Merge 1.9.2 changes back into the trunk
upgrade-db-to-1.9.2-postgres.sql 1.34 KB 5012 over 15 years daigle Added end time to workflow scheduler.
upgrade-db-to-1.9.3-oracle.sql 127 Bytes 5507 over 14 years ben leinfelder add 1.9.3 upgrade scripts to trunk
upgrade-db-to-1.9.3-postgres.sql 125 Bytes 5507 over 14 years ben leinfelder add 1.9.3 upgrade scripts to trunk
upgrade_db_to_1_5.java 5.77 KB 5031 over 15 years daigle Change location of PropertyService to propertie...
xmlpackage.sql 1.94 KB 439 over 24 years berkley sql file defining the table structure for eml-p...
xmltables-oracle.sql 23.2 KB 5917 almost 14 years berkley fixed bugs in listObjects
xmltables-postgres.sql 20.2 KB 5917 almost 14 years berkley fixed bugs in listObjects
xmltables-sqlserver.sql 12.2 KB 4080 over 16 years daigle Merge 1.9 changes into Head

Latest revisions

# Date Author Comment
5977 02/17/2011 02:57 AM Chris Jones

These are fairly significant changes to MetacatHandler.handleInsertOrUpdateAction() that add in support for creation or update of GUIDs and SystemMetadata. Upon insertion or update of DataPackages from non-DataONE aware clients (such as Morpho), the identifier table is updated by creating a GUID, and the systemmetadata table is updated with fields after the EML document is parsed for distribution information and entity typing. System Metadata documents are also generated and inserted into Metacat. The list of data entities is iterated over and System Metadata is generated for each data file as well.

5976 02/17/2011 02:39 AM Chris Jones

In MetacatHandler I've removed updateSystemMetadata() in favor of additions to insertOrUpdateSystemMetadata(). Modified createSystemMetadata() to reflect the changes as well.

5975 02/16/2011 06:23 PM Chris Jones

Modified MetacatHandler.createSystemMetadata() to take a localId, not a guid as an argument since there are times when the guid has yet to have been created, and it is created in this method if so.
Also, put the read() call to get the InputStream of the data/metadata document into it's own try/catch statement.

5968 02/16/2011 01:56 PM Chris Jones

Somehow missed adding in javadoc for read(). Here it is.

5967 02/16/2011 01:52 PM Chris Jones

For now, getSystemMetadata() will be private like the other *SystemMetadata() methods.

5966 02/16/2011 01:47 PM Chris Jones

Modified MetacatHandler, updated the getSystemMetadata() method to now use read() and deserializeSystemMetadata() to produce the SystemMetadata object. Exceptions are pushed up the stack, and so accordingly, modified createSystemMetadata() to reflect the changes.

5962 02/16/2011 09:25 AM Chris Jones

Modified MetacatHandler, added createSystemMetadata() - generates SystemMetadata objects for newly inserted data or documents. This is intended to be used from handleInsertOrUpdateAction(), and only for documents being inserted from clients that don't support the DataONE interface. The method parses EML documents to discover data entities, and updates the system metadata for those entries, with support for describes and describedBy metadata. Currently doesn't handle FGDC, etc. documents....

5961 02/16/2011 09:14 AM Chris Jones

Modified MetacatHandler, added three methods:
getSystemMetadata() - returns a SystemMetadata object from the systemmetadata table using the given GUID. Stub only.
updateSystemMetadata() - updates the systemmetadata table using the given SystemMetadata object....

5960 02/16/2011 09:10 AM Chris Jones

Modified MetacatHandler and added two methods:
serializeSystemMetadata() - Serialize a SystemMetadata object to XML string
deserializeSystemMetadata() - Deserialize a SystemMetadata object from an XML string

5959 02/16/2011 09:07 AM Chris Jones

Modified MetacatHandler, added read() - Read a document from metacat and return an InputStream. The XML or data document should be on disk, but if not, read from the metacat database. This method should be optimized, along with others, to not write stream data to disk for performance reasons.

View revisions

Also available in: Atom