source: ndgCommon/trunk/ndg/common/src/clients/xmldb/eXist/dbconstants.py @ 4926

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/ndgCommon/trunk/ndg/common/src/clients/xmldb/eXist/dbconstants.py@4926
Revision 4926, 1.4 KB checked in by cbyrom, 11 years ago (diff)

Create simple data struct to store the path details for the atom based
eXist db.

Line 
1"""
2Constants to use with the eXist client
3
4NERC Data Grid Project
5"""
6__author__ = "C Byrom - Tessella"
7__date__ = "02/02/09"
8__copyright__ = "(C) 2008 STFC & NERC"
9__license__ = \
10"""This software may be distributed under the terms of the Q Public
11License, version 1.0 or later."""
12__contact__ = "b.n.lawrence@rl.ac.uk"
13__revision__ = '$Id: $'
14   
15# default collections for the various file types in eXist
16ATOM_COLLECTION_PATH = "/db/atoms/"
17OLD_COLLECTION_PATH = "old/"
18PUBLISHED_COLLECTION_PATH = "Published/"
19SMALL_P_PUBLISHED_COLLECTION_PATH = "published/"
20WORKING_COLLECTION_PATH = "working/"
21BACKUP_COLLECTION_PATH = "/db/atoms_backup/"
22GRANULE_COLLECTION_PATH = "data_granules/"
23DEPLOYMENT_COLLECTION_PATH = "deployment_data/"
24DEPLOYMENTS_COLLECTION_PATH = "deployments/"
25DE_COLLECTION_PATH = "data_entities/"
26NDG_A_COLLECTION_PATH = "/db/ndg_A_metadata/"
27NDG_A_COLLECTION_PATH_BACKUP = "/db/ndg_A_metadata_backup/"
28DIF_COLLECTION_PATH = "/db/DIF/"
29MOLES_COLLECTION_PATH = '/db/ndg_B_metadata/'
30NUMSIM_COLLECTION_PATH = '/db/NumSim/'
31XQUERY_COLLECTION_PATH = '/db/xqueryLib'
32
33PROVIDER_FEED_PATH = ATOM_COLLECTION_PATH + "providerFeeds/"
34SCHEMAS_COLLECTION_PATH = ATOM_COLLECTION_PATH + "schemas"
35# collection for storing misc files - e.g. the org data snippets
36RESOURCES_COLLECTION_PATH = ATOM_COLLECTION_PATH + "resources"
37EXIST_CONFIG_PATH = "/db/system/config/"
38
39
40
41XML_RPC_CLIENT = "xmlrpc"
42RESTFUL_CLIENT = "restful"
Note: See TracBrowser for help on using the repository browser.