hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
hlccOldbloader.hlccOldbloader.HlccOldbLoader Class Reference

Public Member Functions

def __init__ (self, log_level, override, abort_on_error, deployment)
 HlccOldbLoader constructor.
 
def load_config_file (self)
 Loads from the configuration file corresponding to our deployment the list of all the oldb specification files and correspondent prefix.
 
def locate_file_and_move_cwd (self, file_name)
 Tries to locate the given file name, if successful it will move the current working directory for that location otherwise return false.
 
def load_oldb (self)
 This method loads the oldb datapoint described in the oldbfiles list and return the number of problems encountered.
 
def check_oldb (self)
 This method Checks the oldb datapoint described in the in the oldbfiles list and return the number of problems encountered.
 
def clean_oldb (self)
 Clean all the datapoints especified in the oldfiles listed for the current deployment.
 

Static Public Member Functions

def parse_args (arguments)
 Static methods.
 
def main (arguments)
 Execute the main using the command line arguments passed as a list.
 

Public Attributes

 deployment_config
 
 files_processed
 
 files_with_errors
 
 arg_log_level
 
 arg_override
 
 arg_abort_on_error
 
 arg_deployment
 
 current_oldb_files
 
 deployment_id_uri
 

Constructor & Destructor Documentation

◆ __init__()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.__init__ (   self,
  log_level,
  override,
  abort_on_error,
  deployment 
)

HlccOldbLoader constructor.

Member Function Documentation

◆ check_oldb()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.check_oldb (   self)

This method Checks the oldb datapoint described in the in the oldbfiles list and return the number of problems encountered.

◆ clean_oldb()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.clean_oldb (   self)

Clean all the datapoints especified in the oldfiles listed for the current deployment.

◆ load_config_file()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.load_config_file (   self)

Loads from the configuration file corresponding to our deployment the list of all the oldb specification files and correspondent prefix.

◆ load_oldb()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.load_oldb (   self)

This method loads the oldb datapoint described in the oldbfiles list and return the number of problems encountered.

◆ locate_file_and_move_cwd()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.locate_file_and_move_cwd (   self,
  file_name 
)

Tries to locate the given file name, if successful it will move the current working directory for that location otherwise return false.

◆ main()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.main (   arguments)
static

Execute the main using the command line arguments passed as a list.

If you pass the command line arguments, first remove argv[0] by passing:

sys.argv[1:]

◆ parse_args()

def hlccOldbloader.hlccOldbloader.HlccOldbLoader.parse_args (   arguments)
static

Static methods.

Parses the command line arguments passed as a list If you pass the command line arguments, first remove argv[0] by passing:

sys.argv[1:]

Member Data Documentation

◆ arg_abort_on_error

hlccOldbloader.hlccOldbloader.HlccOldbLoader.arg_abort_on_error

◆ arg_deployment

hlccOldbloader.hlccOldbloader.HlccOldbLoader.arg_deployment

◆ arg_log_level

hlccOldbloader.hlccOldbloader.HlccOldbLoader.arg_log_level

◆ arg_override

hlccOldbloader.hlccOldbloader.HlccOldbLoader.arg_override

◆ current_oldb_files

hlccOldbloader.hlccOldbloader.HlccOldbLoader.current_oldb_files

◆ deployment_config

hlccOldbloader.hlccOldbloader.HlccOldbLoader.deployment_config

◆ deployment_id_uri

hlccOldbloader.hlccOldbloader.HlccOldbLoader.deployment_id_uri

◆ files_processed

hlccOldbloader.hlccOldbloader.HlccOldbLoader.files_processed

◆ files_with_errors

hlccOldbloader.hlccOldbloader.HlccOldbLoader.files_with_errors

The documentation for this class was generated from the following file: