Dashboard > Penrose > ... > Penrose 0.9.8 Penrose Server User Guide > Penrose 0.9.8 Partition
Penrose 0.9.8 Partition
Added by Endi S. Dewata, last edited by Endi S. Dewata on Dec 02, 2005  (view change)
Labels: 
(None)


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>

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators