You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2010/09/23 16:35:45 UTC

[jira] Resolved: (OODT-39) LuceneCatalogFactory default validation layer class is incorrect

     [ https://issues.apache.org/jira/browse/OODT-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann resolved OODT-39.
-----------------------------------

    Resolution: Fixed

- fixed in r1000482. Thanks for the catch, Paul! I took the approach of setting the default val layer in the LuceneCat to be the XMLValidationLayer.

> LuceneCatalogFactory default validation layer class is incorrect
> ----------------------------------------------------------------
>
>                 Key: OODT-39
>                 URL: https://issues.apache.org/jira/browse/OODT-39
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>            Reporter: Paul Ramirez
>            Assignee: Chris A. Mattmann
>             Fix For: 0.1-incubating
>
>
> The following is what is used if the System property is not set for the validation layer:
> String validationLayerFactoryClass = System.getProperty("filemgr.validationLayer.factory","org.apache.oodt.cas.validation.DataSourceValidationLayerFactory");
> First the default class does not exist "org.apache.oodt.cas.validation.DataSourceValidationLayerFactory" and should be changed to "org.apache.oodt.cas.filemgr.validation.DataSourceValidationLayerFactory". Actually this probably would be better as the following:
> String validationLayerFactoryClass = System.getProperty("filemgr.validationLayer.factory", org.apache.oodt.cas.filemgr.validation.XMLValidationLayerFactory.class.getName());
> This way the compile time check will be made. As noted above I'm thinking the default for LuceneCatalogFactory should be XML based one and not the DataSource one. Since it was already broken this should not affect backwards compatibility.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.