![]() |
AOSharedServiceLibrary
|
Application Session which manages configuration elements. More...
#include <app_profile.h>

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. | |
| KeyValueStoreInterface * | get_cli () |
| Get the Command Line Interface. | |
| KeyValueStoreInterface * | get_props () |
| Get the Properties File Reader. | |
| ConsulInterface * | get_consul () |
| Get the Consul Interface. | |
| VaultInterface * | get_vault () |
| Get the Vault Interface. | |
| UuidInterface * | get_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. | |
Application Session which manages configuration elements.
Provides access to all of the config elements, but does not have a KV Store
1.8.11