r3 - 14 Jun 2006 - 15:16:17 - BrianMoseleyYou are here: OSAF >  Projects Web  >  CosmoHome > CosmoDevelopmentHome > CosmoRepository

Cosmo Repository

Schema Definitions

Custom namespace and node type definitions are provided in the "Compact Namespace and Node Type Definition" (CND) format at http://svn.osafoundation.org/server/cosmo/trunk/src/main/resources/cosmo-schema.cnd.

Repository Layout

Home directories are represented in the repository as nodes of type cosmo:homecollection. The account details for the user are stored on the same node as specified by the cosmo:user mixin type.

Home directory nodes are named as per the username of the owning user. They are separated from the workspace root node by two levels of "bucket" nodes (type nt:unstructured). A homedir node is allocated to the bucket nodes named by the first and the first and second characters of the username respectively (example bcm is located in the repository at /b/bc/bcm.

All node names are escaped using the URL hex-escaping scheme. For instance, the node for user b'cm is named b%27cm.

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.