BNCS Configuration

<< Click to Display Table of Contents >>

Navigation:  Containerisation >

BNCS Configuration

A traditional Windows hosted BNCS driver would access the various BNCS configuration files from its local filesystem - normally c:/bncs/<systemname>/config.

 

In a containerised environment, however, this is problematic so a new configuration server component has been developed that enables drivers to access configuration via a REST API.  The configuration and operation of this component is documented separately as the BNCS Config API module.

 

To enable Config API support, two additional fields have been added to the BncsFramework.Init method.  To enable the Config API set useConfigApi = true and provide the address of the configAPI server as configApiAddress.

 

Suitable command line options are also provided as part of the DefaultOptions class.

 

It is important to note that the BncsFramework.Init method must be called and allowed to complete at the very beginning of the driver execution otherwise any attempt to access configuration information will fail.