Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  com 2532 over 18 years sgarg renaming enum to catalogEnum to prevent compila...
  edu 6534 over 12 years ben leinfelder cleaned up to use for populating a DataONE MN u...
  org 5030 over 14 years daigle Change location of PropertyService to propertie...
  perl 5714 over 13 years ben leinfelder use EML 2.1.1 and UTF-8
  php 3134 over 17 years perry added gpl header to php metacat lib
  python 3122 over 17 years perry Minor updates to python module ... default urls...
  query-client 2824 over 18 years tyburczy Unix port of transform.bat
  ruby 3132 over 17 years perry Initial import of Chad Burt's ruby metacat client
  scripts 6124 almost 13 years Chris Jones Merged in the D1_0_6_2_BRANCH changes that incl...
addforeignkeyfortable.sql 135 Bytes 1626 almost 21 years Jing Tao Create a foreign key for table accesssubtree.
alter-datafile-for-knbbackup.sql 1.66 KB 2662 over 18 years Jing Tao Add a new sql file to alter control file which ...
clear.sql 312 Bytes 704 about 23 years berkley added removal of relations
delete-xml-documents.sql 937 Bytes 3123 over 17 years Jing Tao Add a script to delete documents manually.
delete-xml-revisions.sql 110 Bytes 3125 over 17 years Jing Tao Add a script can delete xml_revision records.
drop-postgres.sql 2.24 KB 5956 about 13 years Matt Jones Updated DROP script that was missing tables and...
increase-xml-queryresult-size-postgres.sql 952 Bytes 3297 almost 17 years Jing Tao A sql to increase column size of queryresult_st...
loaddtd.sql 2.07 KB 4080 almost 16 years daigle Merge 1.9 changes into Head
loaddtdschema-oracle.sql 3.37 KB 6460 over 12 years ben leinfelder only include 0.6.4 schemas for D1. Will also ne...
loaddtdschema-postgres.sql 3.37 KB 6460 over 12 years ben leinfelder only include 0.6.4 schemas for D1. Will also ne...
loadschema.sql 395 Bytes 4080 almost 16 years daigle Merge 1.9 changes into Head
package-count.sql 373 Bytes 2283 over 19 years Matt Jones Added sql for counting packages.
rollback-db-from-1.9-oracle.sql 903 Bytes 4818 about 15 years daigle Add db rollback scripts
rollback-db-from-1.9-postgres.sql 465 Bytes 4818 about 15 years daigle Add db rollback scripts
showdoc.sql 340 Bytes 390 over 23 years Matt Jones Added new utility query to return all of the xm...
sqlcatlist.sql 253 Bytes 123 almost 24 years Matt Jones Modifying storage model to use DOM TEXT nodes
sqldoclist.sql 209 Bytes 531 over 23 years Matt Jones Changed utility query to include the user_owner...
sqlnodeslist.sql 94 Bytes 108 almost 24 years Matt Jones added utility files and queries
sqlnodesview.sql 358 Bytes 166 almost 24 years Matt Jones minor modifications to fix problems introduced ...
sqlrevisions.sql 205 Bytes 203 almost 24 years Matt Jones Merged in substantial changes to DBWriter and a...
tsvector.sql 788 Bytes 3751 about 16 years Jing Tao Add new code for xml_nodes table.
upgrade-db-to-1.10.0-oracle.sql 3.33 KB 6460 over 12 years ben leinfelder only include 0.6.4 schemas for D1. Will also ne...
upgrade-db-to-1.10.0-postgres.sql 3.3 KB 6460 over 12 years ben leinfelder only include 0.6.4 schemas for D1. Will also ne...
upgrade-db-to-1.2-oracle.sql 600 Bytes 4104 almost 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.2-postgres.sql 637 Bytes 4080 almost 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.3-oracle.sql 1.44 KB 4104 almost 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.3-postgres.sql 2.56 KB 4080 almost 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.4-oracle.sql 4.36 KB 4104 almost 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.4-postgres.sql 5.03 KB 4080 almost 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.5-oracle.sql 5.9 KB 4413 over 15 years daigle Add nodedatanumerical column and associated pop...
upgrade-db-to-1.5-postgres.sql 5.65 KB 4080 almost 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.6-oracle.sql 9.66 KB 4414 over 15 years daigle Re-add the xml_node id trigger. In oracle, thi...
upgrade-db-to-1.6-postgres.sql 7.66 KB 4080 almost 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.7-oracle.sql 509 Bytes 4104 almost 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.7-postgres.sql 509 Bytes 3052 over 17 years Matt Jones Modifications to the table definitions to add i...
upgrade-db-to-1.8-oracle.sql 214 Bytes 4104 almost 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.8-postgres.sql 1.43 KB 3607 over 16 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 about 15 years daigle Add db rollback scripts
upgrade-db-to-1.9-postgres.sql 903 Bytes 4797 about 15 years daigle Add the service registration xml schema to the ...
upgrade-db-to-1.9.1-oracle.sql 127 Bytes 4873 about 15 years daigle Update version to 1.9.1. Add nrs ldap properti...
upgrade-db-to-1.9.1-postgres.sql 125 Bytes 4873 about 15 years daigle Update version to 1.9.1. Add nrs ldap properti...
upgrade-db-to-1.9.2-oracle.sql 1.7 KB 5311 about 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 14 years daigle Added end time to workflow scheduler.
upgrade-db-to-1.9.3-oracle.sql 127 Bytes 5507 over 13 years ben leinfelder add 1.9.3 upgrade scripts to trunk
upgrade-db-to-1.9.3-postgres.sql 125 Bytes 5507 over 13 years ben leinfelder add 1.9.3 upgrade scripts to trunk
upgrade-db-to-1.9.4-oracle.sql 127 Bytes 6209 almost 13 years ben leinfelder merge changes from 1.9.5 branch for upgrade pro...
upgrade-db-to-1.9.4-postgres.sql 125 Bytes 6209 almost 13 years ben leinfelder merge changes from 1.9.5 branch for upgrade pro...
upgrade-db-to-1.9.5-oracle.sql 195 Bytes 6209 almost 13 years ben leinfelder merge changes from 1.9.5 branch for upgrade pro...
upgrade-db-to-1.9.5-postgres.sql 194 Bytes 6209 almost 13 years ben leinfelder merge changes from 1.9.5 branch for upgrade pro...
xmlpackage.sql 1.94 KB 439 over 23 years berkley sql file defining the table structure for eml-p...
xmltables-oracle.sql 24.5 KB 6377 over 12 years ben leinfelder remove ORE mapping from system metadata
xmltables-postgres.sql 21.7 KB 6377 over 12 years ben leinfelder remove ORE mapping from system metadata
xmltables-sqlserver.sql 12.2 KB 6012 about 13 years ben leinfelder add support for temporal element query in pathq...

Latest revisions

# Date Author Comment
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

6533 10/12/2011 07:19 PM Chris Jones

IdentifierManager.getSystemMetadata() was missing the number_replicas and replication_allowed fields when building a ReplicationPolicy section of a SystemMetadata document being returned. Add in these two attributes.

6532 10/12/2011 11:17 AM ben leinfelder

update D1 jars to include recent SubjectList -> SubjectInfo refactoring and the SUBJECT_PUBLIC constant

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)

6530 10/12/2011 10:00 AM ben leinfelder

throw InvalidToken when the Session parameter is null for create()
https://redmine.dataone.org/issues/1850

6528 10/09/2011 02:50 PM Chris Jones

Once a CN calls replicate() on an MN, the MN needs to call getReplica() on the source MN (not get()). Once the bytes are retrieved, the MN must then call back to the CN with setReplicationStatus() to indicate that the replication status is complete. Modify MNodeService to do so.

6527 09/29/2011 11:43 PM Matt Jones

Bug fix for access control rules coming in from the dataone system metadata. Previously, the code used getLocalId() to get the docid to insert into the XML access table, but that docid included the revision number (e.g., foo.1.1), which it shouldn't. Now use the AccessionNumber class to strip off the rev to get a real docid for insertion into the table.

6526 09/28/2011 07:28 PM ben leinfelder

allow the XML namespace to be given in both double and single quotes. The regex pattern was only looking for xmlns values that were in double quotes. This was brought to light by LTER:
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5497

6525 09/26/2011 10:59 PM ben leinfelder

set date uploaded and date system metadata updated date to current time when calling MN.create() and MN.update()

6522 09/26/2011 12:07 PM ben leinfelder

do not allow system metadata to have obsoletes or obsoletedBy fields when calling the create() method -- these are only allowed for updates so that we do not subvert object versioning by [un]knowingly submitting system metadata that directs one id to another.

View revisions

Also available in: Atom