incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (OODT-39) LuceneCatalogFactory default validation layer class is incorrect
Date Thu, 23 Sep 2010 14:33:32 GMT

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

Chris A. Mattmann reassigned OODT-39:
-------------------------------------

    Assignee: Chris A. Mattmann

> 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.


Mime
View raw message