Cyc Administrator Handbook/XML-Based Parameter Configuration

From Public Domain Knowledge Bank
Jump to: navigation, search


Prev: Network Service Parameters Up: Server Configuration Up2: Setup and Operation Home:Cyc Administrator Handbook Next: External Service Parameters
This page is based on the original document Enterprise Cyc Administrator Handbook at https://www.cyc.com/documentation/enterprise-cyc-administrator-handbook/ There is no intent to infringe on Cycorp's Copyright.
It is Copyright (c) Cycorp 2019
Cycorp's address is 7718 Wood Hollow Drive Suite 250 Austin, TX 78731 USA
mailto:info@cyc.com   Main Phone: 512.342.4000

Introduction

All of the system parameters mentioned in the section on Server Configuration above that are changed inside init/parameters.lisp can also be managed via an XML file, init/systemParameters.xml.
The structure of that XML file is given by init/systemParameter.xsd.
System parameters are defined using the param tag; the name sub-tag has an equiv attribute that ties the parameter back to the SubL parameter name used in init/parameters.lisp.

Precedence

Upon Server launch time, any values configured in init/systemParameters.xml file are used to overwrite the respective values in init/parameters.lisp.

Capturing Current Configuration

Use the API method (GENERATE-SYSTEM-PARAMETER-XML-FILE xml-file) to generate an XML file that captures the current setting of the system parameters.
For example, the file init/systemParameters.xml was generated using the following
SubL expression: (GENERATE-SYSTEM-PARAMETER-XML-FILE “init/systemParameters.xml”).