SAFplus Runtime Director API  3.0.5
aspApp Namespace Reference

Application bundle manager logic. More...

Classes

class  AppFile
 Represents a single archive file that is a particular application version. More...
 
class  App
 An application may consist of a bunch of application files, each corresponding to a different version of the application. More...
 
class  AppDb
 All applications and application versions and archives that are currently on the system. More...
 

Functions

def RemoveDefaultTemporaryBundleDir
 To be called when you are certain that no appDb instances exist to clean up from prior runs. More...
 

Variables

tuple TEMP_DIR = os.getenv("ASP_DIR",None)
 
string APP_CFG_FILE = "appcfg.xml"
 
tuple APP_CFG_FILE_VER = (1,0,0,0)
 
tuple AppArchiveDir = os.getenv("ASP_DIR",None)
 

Detailed Description

Application bundle manager logic.

This module opens applications bundles, parses the appcfg.xml file and presents all available application bundles as a hierarchial set of Python objects.

Function Documentation

def aspApp.RemoveDefaultTemporaryBundleDir ( )

To be called when you are certain that no appDb instances exist to clean up from prior runs.

Or just rm -rf /tmp/openclovis/

Variable Documentation

string aspApp.APP_CFG_FILE = "appcfg.xml"
tuple aspApp.APP_CFG_FILE_VER = (1,0,0,0)
string aspApp.AppArchiveDir = os.getenv("ASP_DIR",None)
string aspApp.TEMP_DIR = os.getenv("ASP_DIR",None)