Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  com 2532 almost 19 years sgarg renaming enum to catalogEnum to prevent compila...
  edu 6575 over 12 years Chris Jones Minor indentation cleanup.
  org 5030 almost 15 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 6558 over 12 years ben leinfelder remove reference to tomcat5.5 in favor of tomca...
addforeignkeyfortable.sql 135 Bytes 1626 about 21 years Jing Tao Create a foreign key for table accesssubtree.
alter-datafile-for-knbbackup.sql 1.66 KB 2662 almost 19 years Jing Tao Add a new sql file to alter control file which ...
clear.sql 312 Bytes 704 over 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 over 13 years Matt Jones Updated DROP script that was missing tables and...
increase-xml-queryresult-size-postgres.sql 952 Bytes 3297 about 17 years Jing Tao A sql to increase column size of queryresult_st...
loaddtd.sql 2.07 KB 4080 about 16 years daigle Merge 1.9 changes into Head
loaddtdschema-oracle.sql 3.37 KB 6550 over 12 years ben leinfelder change upgrade scripts/routines to use 2.0.0 ve...
loaddtdschema-postgres.sql 3.37 KB 6550 over 12 years ben leinfelder change upgrade scripts/routines to use 2.0.0 ve...
loadschema.sql 395 Bytes 4080 about 16 years daigle Merge 1.9 changes into Head
package-count.sql 373 Bytes 2283 almost 20 years Matt Jones Added sql for counting packages.
rollback-db-from-1.9-oracle.sql 903 Bytes 4818 over 15 years daigle Add db rollback scripts
rollback-db-from-1.9-postgres.sql 465 Bytes 4818 over 15 years daigle Add db rollback scripts
showdoc.sql 340 Bytes 390 almost 24 years Matt Jones Added new utility query to return all of the xm...
sqlcatlist.sql 253 Bytes 123 about 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 about 24 years Matt Jones added utility files and queries
sqlnodesview.sql 358 Bytes 166 about 24 years Matt Jones minor modifications to fix problems introduced ...
sqlrevisions.sql 205 Bytes 203 about 24 years Matt Jones Merged in substantial changes to DBWriter and a...
tsvector.sql 788 Bytes 3751 over 16 years Jing Tao Add new code for xml_nodes table.
upgrade-db-to-1.2-oracle.sql 600 Bytes 4104 about 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.2-postgres.sql 637 Bytes 4080 about 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.3-oracle.sql 1.44 KB 4104 about 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.3-postgres.sql 2.56 KB 4080 about 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.4-oracle.sql 4.36 KB 4104 about 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.4-postgres.sql 5.03 KB 4080 about 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.5-oracle.sql 5.9 KB 4413 almost 16 years daigle Add nodedatanumerical column and associated pop...
upgrade-db-to-1.5-postgres.sql 5.65 KB 4080 about 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.6-oracle.sql 9.66 KB 4414 almost 16 years daigle Re-add the xml_node id trigger. In oracle, thi...
upgrade-db-to-1.6-postgres.sql 7.66 KB 4080 about 16 years daigle Merge 1.9 changes into Head
upgrade-db-to-1.7-oracle.sql 509 Bytes 4104 about 16 years daigle replace <script>.sql files with <script>-oracle...
upgrade-db-to-1.7-postgres.sql 509 Bytes 3052 almost 18 years Matt Jones Modifications to the table definitions to add i...
upgrade-db-to-1.8-oracle.sql 214 Bytes 4104 about 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 over 15 years daigle Add db rollback scripts
upgrade-db-to-1.9-postgres.sql 903 Bytes 4797 over 15 years daigle Add the service registration xml schema to the ...
upgrade-db-to-1.9.1-oracle.sql 127 Bytes 4873 over 15 years daigle Update version to 1.9.1. Add nrs ldap properti...
upgrade-db-to-1.9.1-postgres.sql 125 Bytes 4873 over 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 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 almost 15 years daigle Added end time to workflow scheduler.
upgrade-db-to-1.9.3-oracle.sql 127 Bytes 5507 almost 14 years ben leinfelder add 1.9.3 upgrade scripts to trunk
upgrade-db-to-1.9.3-postgres.sql 125 Bytes 5507 almost 14 years ben leinfelder add 1.9.3 upgrade scripts to trunk
upgrade-db-to-1.9.4-oracle.sql 127 Bytes 6209 about 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 about 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 about 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 about 13 years ben leinfelder merge changes from 1.9.5 branch for upgrade pro...
upgrade-db-to-2.0.0-oracle.sql 3.5 KB 6561 over 12 years ben leinfelder move the DataONE 1.0.0-SNAPSHOT
upgrade-db-to-2.0.0-postgres.sql 3.47 KB 6561 over 12 years ben leinfelder move the DataONE 1.0.0-SNAPSHOT
xmlpackage.sql 1.94 KB 439 almost 24 years berkley sql file defining the table structure for eml-p...
xmltables-oracle.sql 24.6 KB 6561 over 12 years ben leinfelder move the DataONE 1.0.0-SNAPSHOT
xmltables-postgres.sql 21.8 KB 6561 over 12 years ben leinfelder move the DataONE 1.0.0-SNAPSHOT
xmltables-sqlserver.sql 12.2 KB 6012 over 13 years ben leinfelder add support for temporal element query in pathq...

Latest revisions

# Date Author Comment
6575 11/01/2011 08:54 AM Chris Jones

Minor indentation cleanup.

6574 11/01/2011 06:48 AM Chris Jones

Modify isAuthorized() to get the most up to date system metadata from the hzSystemMetadata map.

6573 11/01/2011 06:40 AM Chris Jones

Add a placeholder setAccessPolicy() method in MNodeService that throws NotImplemented since this method is being deprecated. Note: need to confirm that this shouldn't be calling D1Client.getCN().setAccessPolicy().

6572 11/01/2011 06:37 AM Chris Jones

Update getSystemMetadata() to lock(); get(); unlock() to ensure we have the latest version of system metadata from the hzSystemMetadata map. Remove the setAccessPolicy() method since it is being deprecated in the MNAuthorization API.
change insertSystemMetadata() to use a finer grained Date object on insertion. Locking of the pid happens in the subclass prior to the insert.

6571 11/01/2011 06:33 AM Chris Jones

Add setAccessPolicy() to CNodeService since the CN should only make changes to access policies for objects registered with the D1 system. Increment the serial version after locling and getting the most up to fdate system metadata.
Note: CCIT meeting decision says the serial version of the system metadata (during the change) should equal the current serial version, but setAccessPolicy() does not pass in the entire system metadata object, so there's no way to check. For now, increment the latest system metadata from the hzSystemMetadata map.

6570 10/31/2011 04:37 PM Chris Jones

In CNodeService, separate the CN.create() functionality from the MN.create() functionality while still using the superclass to call create(). Deal with Hazelcast locks and setting serial versions only in the CN implementation.

6569 10/31/2011 01:13 PM Chris Jones

Change updateSystemMetadata() to evaluate the incoming system metadata serial version against that found in the hzSystemMetadata map. If they are the same, do the update. If not, throw an InvalidRequest explaining that they need the most current version.

6568 10/29/2011 07:21 PM Chris Jones

Modify CNodeService's registerSystemMetadata() with support for SystemMetadata's serialVersion field. Also, use the hzSystemMetadata map for all system metadata reads using a lock on the pid in order to get the very latest version. This affected isNodeAuthorized(), getChecksum(), and assertRelation(). Since we're using Hazelcast, exceptions are masked as RuntimeException, so throw a ServiceFailure with the underlying message.

6567 10/28/2011 09:46 PM Chris Jones

Modify CNodeService's updateSystemMetadata(), setReplicationStatus(), setReplicationPolicy(), and setOwner() with support for SystemMetadata's serialVersion field. Other methods still pending an update. Use the hzSystemMetadata map for all system metadata reads using a lock on the pid in order to get the very latest version.

6564 10/28/2011 04:05 PM Chris Jones

SystemMetadataManager's functionality is handled by IdentifierManager. Removing it and it's test.

View revisions

Also available in: Atom