Not supported in the current XMLRepositoryManager, Luca,
but would be a GREAT improvement to add a property like
org.apache.oodt.cas.filemgr.repositorymgr.xml.recursePolicy
and if true, it will take each
org.apache.oodt.cas.filemgr.repositorymgr.dirs
value (after splitting on comma), and then treat the given list
(could be just one) as a folder which is expected to have sub-folders
which in turn have the 3 XML policy files in it. For example, a
sample filemgr.properties for this would look like:

# new feature
org.apache.oodt.cas.filemgr.repositorymgr.xml.recursePolicy=true

org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:[OODT_HOME]/cas-filemgr
/policy


Which in turn would load:

core
trace
geo 

And each of the above sub directories would have the 3 policy
files. This sound like a good improvement?

Cheers,
Chris





-----Original Message-----
From: "Cinquini, Luca (398G)" <[email protected]>
Reply-To: <[email protected]>
Date: Tuesday, June 9, 2015 at 8:07 AM
To: "[email protected]" <[email protected]>
Subject: question on FM/WM configuration

>Hello all,
>       I have a quick question about configuring the File Manager and Workflow
>Manager to support multiple projects…
>
>Clearly, you can list all policy/ directories in the two files
>etc/filemgr.properties and etc/workflow.properties, for example:
>
>org.apache.oodt.cas.filemgr.repositorymgr.dirs=file://[OODT_HOME]/cas-file
>mgr/policy/core,file://[LABCAS_HOME]/biomarker-discovery/policy,….
>
>But this becomes unwieldy if you have lots of projects, or if you need to
>create the configuration dynamically. Is there any alternative to
>explicit listing ? For example,
>recursion into subdirectories doesn’t seem to be supported, correct ?
>
>thanks, Luca


Reply via email to