Projects
XAOP Labs 
Configuration
When you use ActiveCMIS.load_config without specifying a configuration file, ActiveCMIS will look first for a file named cmis.yml in the current directory and if that's not found for a file named .cmis.yml in your home folder. If you provide a second parameter that will be interpreted as the filename of the configuration that you want to use.
The configuration file needs to be a valid YAML file, containing a hash. The keys of this Hash are what you use as a first parameter to load_config to determine a specific configuration you want to use.
A valid configuration needs at least a server_url and a repository_id, to identify the CMIS server and repository respectively. All other parameters are optional.
Pameters that can be provided for authentication are:
- server_login: A login name used to authenticate to the Server
- server_password: The password used to authenticate
- repository_login: A login name used to authenticate to the Repository
- repository_password: The password used to authenticate to the Repository
If you do need authentication for a repository it may be better not to expose the password in a configuration file, and log in to the Repository with the methods provided in the Server class.
Logging related parameters:
- log_level: A number (lower means more logging), or a string (DEBUG, WARN, INFO, ERROR, FATAL, UNKNOWN)
- log_file: The file where logging will be sent to (defaults to the standard output, this may change in future versions)
Learn more
ActiveCMIS is managed on Github,
