Project

General

Profile

Activity

From 08/24/2016 to 09/22/2016

09/16/2016

03:29 PM Revision 9993 (metacat): Move some properies which are often configured to the beginging of the file.
Jing Tao

09/14/2016

10:08 PM Revision 9992 (metacat): Add a new feature on the 2.7.2 release note.
Jing Tao
10:03 PM Feature #7101 (Resolved): Metacat-index picks up the changes in log4j.properteis without restarting tomcat
In the initialize method of ApplicationControl class, the code like this was added:
PropertyConfigurator.configureAn...
Jing Tao
09:21 PM Feature #7101 (Resolved): Metacat-index picks up the changes in log4j.properteis without restarting tomcat
Metacat can pick up the changes in log4j.properteis without restarting tomcat. However, Metacat-index can't. This is... Jing Tao
10:00 PM Revision 9990 (metacat): Add the method PropertyConfigurator.configureAndWatch to monitor the change on log4j.properties file.
Jing Tao
11:09 AM Revision 9988 (metacat): Add more log information.
Jing Tao
11:07 AM Revision 9986 (metacat): Add a note to notify users that the reindex action is asynchronized.
Jing Tao
11:05 AM Revision 9984 (metacat): Add more log information.
Jing Tao
11:02 AM Revision 9982 (metacat): Add more log information.
Jing Tao

09/13/2016

02:53 PM Revision 9980 (metacat): Add more notes for 2.7.2 release.
Jing Tao
02:40 PM Feature #7096 (Resolved): Disable the feature of downloading external schemas for unregistered namespaces
Disable the downloading for both dtd and schema files. Jing Tao
02:39 PM Feature #7097 (Resolved): Provide clear messages to clients if the namespaces/formatids of the schemas of xml objects are not registered in Metacat
Add the customized message rather than the general SAX message. Jing Tao
02:38 PM Feature #7098 (Resolved): Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Implemented above plan and wrote a junit test class for testing. Jing Tao
01:12 PM Revision 9976 (metacat): Made the class implements the interface LexicalHandler.
Jing Tao
01:07 PM Revision 9974 (metacat): Add code to check if a dtd is registered when the parser processes the dtd part.
Jing Tao

09/12/2016

10:20 PM Revision 9972 (metacat): Fixed a bug that the public id can't be assigned.
Jing Tao
09:44 PM Revision 9969 (metacat): Change the debug level from debug to trace.
Jing Tao
08:51 PM Revision 9968 (metacat): Since we disable the schema downloading feature, this test doesn't work anymore.
Jing Tao
04:27 PM Bug #7100 (Resolved): Metacat Replication doesn't happen if an object is created by MN.create or CN.create
The problem is:
We use the method MNodeService.getInstance(request).create(session, guid, object, sysmeta) to create...
Jing Tao
03:47 PM Bug #7100 (Resolved): Metacat Replication doesn't happen if an object is created by MN.create or CN.create
I set up the replication between my local host and mn-demo.
In a test case, if an object is created by Metacat API...
Jing Tao
01:24 PM Revision 9966 (metacat): Add more test cases.
Jing Tao

09/09/2016

10:35 PM Revision 9964 (metacat): Change some debug statments from debug to trace.
Jing Tao
10:13 PM Revision 9962 (metacat): Change the debug level from debug to trace.
Jing Tao
09:58 PM Revision 9960 (metacat): Down the debug level from debug to trace.
Jing Tao
09:37 PM Revision 9958 (metacat): Removed a unused parameter - formatId from method writeReplication.
Jing Tao
09:17 PM Revision 9956 (metacat): Add the feature to support the noNamespaceSchemalLocation and refactory the code.
Jing Tao
05:32 PM Revision 9954 (metacat): Add the code to handle the exception which is throwed when the local schema can't be found for a given namespace or format id.
Jing Tao
05:30 PM Revision 9953 (metacat): Add the code to throw an exception to tell users that the namespace or format id was not registered in Metacat.
Jing Tao
03:16 PM Revision 9950 (metacat): Add the test methods for methods which can figure out the schema location.
Jing Tao
03:14 PM Revision 9948 (metacat): Add the methods to figure out the schema location base on namespace, format id or no-namespace-schema-location uri.
Jing Tao
01:56 PM Revision 9946 (metacat): Add a new constant for no-namespace schemas.
Jing Tao
11:39 AM Revision 9944 (metacat): Add a method to get the type.
Jing Tao
11:38 AM Revision 9943 (metacat): Add a method to get the type of the schema.
Jing Tao
10:30 AM Revision 9940 (metacat): Add a new class represent a schema without a namespace.
Jing Tao

09/08/2016

05:02 PM Revision 9938 (metacat): Change the type for the no-name-namespace schema from Schema to NoNamespaceSchema.
Jing Tao
04:38 PM Revision 9936 (metacat): Change the type for the no-name-namespace schema from Schema to NoNamespaceSchema.
Jing Tao
11:10 AM Revision 9934 (metacat): Add a junit test class.
Jing Tao
11:08 AM Revision 9932 (metacat): Add a test document with the noNamespaceSchemaLocation attribute.
Jing Tao
11:06 AM Revision 9930 (metacat): Add a SAX parser to determine the namespace of a xml object. It only parses the root element, then stops.
Jing Tao
09:41 AM Revision 9928 (metacat): Put the formatid and nonamespace_schema_location into one record for fgdc.
Jing Tao
09:23 AM Revision 9926 (metacat): Put the formatid and nonamespace_schema_location into one record for fgdc.
Jing Tao

09/07/2016

11:20 AM Revision 9924 (metacat): Add the code to create a new column on xml_catalog table.
Register the nonamespace format id or uni on the xml_catalog table. Jing Tao
11:08 AM Revision 9922 (metacat): Add the script to upgrade db to version 2.7.2
Jing Tao

09/06/2016

05:09 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
The system metadata is:
<?xml version="1.0" encoding="UTF-8"?> ...
Jing Tao
05:08 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
An example of nonamespaceschema xml document.
The uri can be:
https://www.fgdc.gov/schemas/metadata/fgdc-std-001...
Jing Tao
04:56 PM Revision 9920 (metacat): Add the fgdc schemas which downloaded from https://www.fgdc.gov/metadata/
Jing Tao
03:43 PM Revision 9918 (metacat): Disable the feature of downloading external schemas.
Jing Tao

09/02/2016

06:20 PM Revision 9916 (metacat): Change the log information a little bit.
Jing Tao
05:45 PM Revision 9914 (metacat): Add the test files.
Jing Tao
05:44 PM Revision 9913 (metacat): use the new rules to validate an xml object base on dtds.
Jing Tao
11:41 AM Revision 9906 (metacat): Add a dependency on servlet-api.jar with the scope "provided".
Jing Tao
11:14 AM Revision 9905 (metacat): Show the annotation target under the attribute name
Lauren Walker

09/01/2016

04:10 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
In case somebody can't read the google doc. Here is the content:... Jing Tao
02:53 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
The workflow we will use:
https://docs.google.com/document/d/1tRb1-S_gKfkuCRvYFamfnB2_pBLSus8NuYZ1fADiQ0U/edit?ts=...
Jing Tao
12:35 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
All dents are missing in above comment. I have to upload the file. Jing Tao
12:31 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Current workflow:
formatId = systemMetadata.getObjectFormatId(); // from Metacat API, this is null.
dtdText = ht...
Jing Tao
09:01 AM Feature #7096: Disable the feature of downloading external schemas for unregistered namespaces
Wow, that's quite a shift in behavior. I guess I missed the meeting when this was discussed, but sounds like there wa... ben leinfelder

08/31/2016

05:48 PM Bug #7094: Metacat is not expanding groups in the rightsHolder field during authorization
I wrote those docs, which do explicitly say that RightsHolder is of Type.Subject, which is defined as "An identifier ... Matt Jones
03:29 PM Bug #7094: Metacat is not expanding groups in the rightsHolder field during authorization
The docs aren't explicit about this, but I can see why you'd expect any Subject to work.
http://jenkins-1.dataone.or...
ben leinfelder

08/30/2016

06:32 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Jing -- I think at one point (and maybe currently) there was a chunk of code that used the name of the root element o... Jing Tao
02:23 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Jing, for documents coming in from the DataONE API, Metacat should have access to the formatId from the system metada... Matt Jones
02:17 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Since there is no target namespaces in the schema, in order to identify the schema, we have to use the object format ... Jing Tao
01:57 PM Feature #7098 (Resolved): Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Currently, Metacat caches the schemas with the combination keys of namespaces plus format ids. It set the property o... Jing Tao
06:31 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
I changed the title of this bug. It is different to the case we tried to figure out the xml schema location. The corr... Jing Tao
05:54 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
Jing -- I think at one point (and maybe currently) there was a chunk of code that used the name of the root element o... Matt Jones
04:34 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
Let's go back to the original issue. We have a record on xml_catalog table:
catalog_id | entry_type | source_doctyp...
Jing Tao
03:34 PM Feature #7099: Create a new admin page for Metacat admins to register schemas
This is good idea - we can avoid to create two copies of registered schemas in the registry process and the scenario ... Jing Tao
03:16 PM Feature #7099: Create a new admin page for Metacat admins to register schemas
I think this is a good idea, but I think we should go the other way -- have the copy in wepapps/metacat/schema be the... Matt Jones
02:34 PM Feature #7099: Create a new admin page for Metacat admins to register schemas
The schema locations is /tomcat-home/webapps/metacat/schema (in order to be accessible by the http), so the new insta... Jing Tao
02:27 PM Feature #7099 (New): Create a new admin page for Metacat admins to register schemas
Currently we add new schemas base on Metacat release sand occasionally add it by sql commands.
We will disable Meta...
Jing Tao
01:48 PM Feature #7097 (Resolved): Provide clear messages to clients if the namespaces/formatids of the schemas of xml objects are not registered in Metacat
I believe currently the message for schema not found depends on the sax parser exception. It is not clear, we need im... Jing Tao
01:41 PM Feature #7096 (Resolved): Disable the feature of downloading external schemas for unregistered namespaces
Currently, Metacat will download the schemas during the metadata object inserting if it finds the namespaces is not ... Jing Tao

08/26/2016

04:30 PM Task #7095: Improve error message for: User tried to update an access module when they dont have ‘ALL’ permission!"
Did a globe search and found the message is in the Eml200SAXHandler and Eml201SAXHandler classes. Jing Tao
04:14 PM Task #7095 (Closed): Improve error message for: User tried to update an access module when they dont have ‘ALL’ permission!"
We get this error all the time when doing various (apparently illegal) operations:
> User tried to update an acces...
Bryce Mecum
11:19 AM Bug #7094: Metacat is not expanding groups in the rightsHolder field during authorization
I'm targeting this for 2.8.0 since we have an immediate workaround on arcticdata.io. Chris Jones
10:24 AM Bug #7094 (Closed): Metacat is not expanding groups in the rightsHolder field during authorization
With a @SystemMetadata@ document like:... Chris Jones
10:04 AM Bug #7093 (New): Metacat-index is not indexing all package members correctly
Shirley pointed out that for the @urn:uuid:09fd1d96-c6b0-442d-b1cb-e2c4a2e476b6@ package on arcticdata.io:
https:/...
Chris Jones

08/25/2016

12:03 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
The problem is that even though we have a cached copy, we still need to modify the noNamespaceSchemaLocation attribut... Jing Tao
11:49 AM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
There are two common locations used for FGDC schemas, both appear to be functionally equivalent and yield identical s... Dave Vieglais
11:01 AM Bug #7092 (New): Upgrade xerces and xalan lib
Currently we are using xerces and xalan 2.7 version which came out in 2005. We need to upgraded it. Jing Tao

08/24/2016

05:21 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
The lib/schema directory was historically populated by first use, rather than during the build. It was only later th... Matt Jones
04:59 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
To register the entry on loaddtdschema-postgres.sql exists for a long time since we can see it on Metacat 1.9.0. Howe... Jing Tao
04:12 PM Bug #7091 (New): Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
The FGDC namespace is registered in our xml_catalog table:
27 | Schema | | | metad...
Jing Tao
10:05 AM Revision 9902 (metacat): Add the release note for 2.7.2
Jing Tao
10:01 AM Bug #7090 (Resolved): Change a Metacat member node's synchronization value on the admin page doesn't work
The problem was in Metacat. In the d1Admin page, those properties were modified by the Metacat way - throught the pro... Jing Tao
09:45 AM Revision 9900 (metacat): Every time when we modified the metacat.properties file through the PropertyService, the Setting class will be updated as well. Otherwise, the values on the Setting class are still the old one.
Jing Tao
 

Also available in: Atom