SAIF.Policy.RenewalNotice carries almost no configuration of its own. The
App.config deployed with the executable names the Environment API host, the
Oracle managed driver, and the log4net appender; everything that varies by
environment — the database instance behind policyDb, the Agency API base
address and key, the notice window, the print vendor drop path, and the summary
mail recipients — is retrieved at run time from the Environment API for the track
the executable is running on. The same binaries therefore run in DEV, TEST, and
PROD without a config transform.
Configuration is retrieved at runtime from the Environment API through IEnvironmentService.
Connection strings are not stored in <connectionStrings>; they are resolved from the database instance name returned for each DatabaseConfig's environment config key.†
Each entry is a DatabaseConfig passed to RegisterCommonDependencies in RegisterAppDependencies. Config name is the Autofac registration name used to resolve the corresponding IUnitOfWork.
Config name
Type
Environment config key
Database user
Stateless
Server
Purpose
policyDb
OracleConfig
policy.db.instance
POLICY_APP
No
Resolved per track from the Environment API
Reads POLICY.POLICY_TERM and POLICY.NOTICE_TEMPLATE, and writes POLICY.RENEWAL_NOTICE and POLICY.RENEWAL_NOTICE_QUEUE through the NHibernate unit of work.
Log outputs are resolved from machine-level environment variablesfile0–file4, scanned by ConsoleLogService at construction. Each variable's value is a log file path.†
Environment variable
Log id
Content written by this application
file0
LogType.File0
Run control log: header block, resolved arguments, notice window, per-100-notice progress lines, totals, and fatal errors
file1
LogType.File1
Notice detail: one line per generated notice with policy number, renewal effective date, agency number, servicing agent, and delivery channel; dry-run lines carry a WHATIF marker
file2
LogType.File2
Exception detail: one line per skipped or failed term with policy number, agency number, and the exception message