Partitions
Partition is a collection of trees in the virtual directory. In a partition you define the virtual entries including their mapping to the data source.
Partition Configuration
Partition configuration is stored in several files:
- mapping.xml
- connections.xml
- sources.xml
- modules.xml
The mapping.xml contains the definition of the virtual entries, the mapping of the attributes, access control, etc.
The connections.xml specifies the connection parameters to the mapped data sources.
The sources.xml specifies of structure of the mapped tables/subtree.
In the modules.xml you can specify modules to extend Penrose functionality.
These files have to be stored in the same directory.
Penrose Configuration
To use a partition you have to include it in the server.xml. You need to specify the partition name and the path to the partition directory.
<server> <partition name="DEFAULT" path="conf"/> <partition name="example" path="samples/conf"/> </server>