AOSharedServiceLibrary
Public Member Functions | List of all members
AOSSL::ApplicationProfile Class Reference

Application Session which manages configuration elements. More...

#include <app_profile.h>

Inheritance diagram for AOSSL::ApplicationProfile:
Inheritance graph
[legend]

Public Member Functions

 ApplicationProfile (int argc, char *argv[])
 Create a new Application Session with Command Line Arguments.
 
 ApplicationProfile (int argc, char *argv[], std::string app_name, std::string prof_name)
 Create a new Application Session with Command Line Arguments.
 
 ApplicationProfile (const std::vector< std::string > &args)
 Create a new Application Session with Command Line Arguments.
 
 ApplicationProfile (const std::vector< std::string > &args, std::string app_name, std::string prof_name)
 Create a new Application Session with Command Line Arguments.
 
 ApplicationProfile (std::string app_name, std::string prof_name)
 Create a new Application Session without any Command Line Arguments.
 
void set_property_file (std::string &filename)
 Set the location of the properties file.
 
void set_consul_address (std::string caddr)
 Set the address of the consul agent.
 
void set_consul_address (std::string caddr, int tout, std::string ssl_cert)
 Set the address of the consul agent.
 
void set_consul_address (std::string caddr, int tout, std::string ssl_cert, std::string acl_token)
 Set the address of the consul agent.
 
void set_vault_address (std::string &vaddr, std::string &secrets_path, int tout, std::string &cert, int auth_type, std::string &un, std::string &pw)
 Update the Vault connectivity information.
 
void set_vault_address (std::string &vaddr, std::string &secrets_path, int tout, int auth_type, std::string &un, std::string &pw)
 Update the Vault connectivity information.
 
KeyValueStoreInterfaceget_cli ()
 Get the Command Line Interface.
 
KeyValueStoreInterfaceget_props ()
 Get the Properties File Reader.
 
ConsulInterfaceget_consul ()
 Get the Consul Interface.
 
VaultInterface * get_vault ()
 Get the Vault Interface.
 
UuidInterfaceget_uuid ()
 Get the UUID Interface.
 
std::string get_app_name ()
 Get the Application Name.
 
std::string get_profile_name ()
 Get the Profile Name.
 
void set_app_name (std::string name)
 Get the Application Name.
 
void set_profile_name (std::string prof)
 Get the Profile Name.
 

Detailed Description

Application Session which manages configuration elements.

Provides access to all of the config elements, but does not have a KV Store


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