Configuration Manager Service
IConfigurationManager
in assembly SanteDB.Core.Api version 2.1.151.0
Summary
Contract for service implementations that manage the core SanteDB configuration
Description
SanteDB plugins are expected to be portable and can run on a variety of platforms, in a variety of deployments, and a variety of environments. This necessitates a consistent manner to manage configuration data for the SanteDB services. The IConfigurationManager is responsible for this duty. Example implementations of this service may include:
Loading configuration from a file stored on a local file system
Loading configuration from a shared document-based database (for distributed configurations)
Loading configuration from environment variables or synthesization classes (like in Docker)
Loading/chaining configuration from another or central iCDR instance
Properties
Operations
Implementations
DockerConfigurationManager - (SanteDB.Docker.Core)
TODO: Document this
Service Registration
Local File Configuration Manager - (SanteDB.Server.Core)
Provides a redirected configuration service which reads configuration information from a file
Description
This configuration manager implementation reads from the configuration file santedb.config.xml
in the same directory as the installed iCDR instance. This file is create either manually (as documented here), or using the Configuration Tool.
Service Registration
Example Implementation
References
Last updated