Deployment Configuration

Overview

Ensconce will load configuration from your environment variables as well as an optional “FixedStructure” deployment configuration file.

This section of the documentation will explain all about the deployment configuration file. A deployment configuration file has 4 sections, these are:

Basic Structure

The structure is defined in a XSD. An example structure can be seen below.


<Structure xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ClientCode>AAA</ClientCode>
  <Environment>PRD</Environment>
  <Properties>
    <Property name="Key1">Value1</Property>
    <Property name="Key2">Value2</Property>
    <Property name="KeyWithDynamic">{{ ClientCode }}-Value</Property>
  </Properties>
  <PropertyGroups>
    <PropertyGroup label="Group" identity="1">
      <Property name="GroupKey1">GroupValue1</Property>
      <Property name="GroupKey2">GroupValue2</Property>
    </PropertyGroup>
    <PropertyGroup label="Group" identity="2">
      <Property name="GroupKey1">GroupValue1</Property>
      <Property name="GroupKey2">GroupValue2</Property>
    </PropertyGroup>
  </PropertyGroups>
  <DbLogins>
    <DbLogin>
      <Name>LoginName</Name>
      <DefaultDb>master</DefaultDb>
      <Password>NoPasswordsRoundHere</Password>
    </DbLogin>
  </DbLogins>
</Structure>