<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <appSettings>
    <!-- services -->
    <add key="DataService_AssemblyPath" value="#{Xbap.Settings.Services.DataServiceAssemblyPath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="DataService_AssemblyPath_IsAbsolute" value="#{Xbap.Settings.Services.DataServiceAssemblyPathIsAbsolute}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="FamilyDataServiceMockFileLocation" value="#{Xbap.Settings.Services.FamilyDataServiceMockFileLocation}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="SecurityDataServiceMockFileLocation" value="#{Xbap.Settings.Services.SecurityDataServiceMockFileLocation}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ClientSettingsProvider.ServiceUri" value="#{Xbap.Settings.Services.ClientSettingsProviderServiceUri}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- security -->
    <add key="CrossroadsSecureServiceEncryptionKey" value="#{Services.Wcf.Settings.Security.CrossroadsSecureServiceEncryptionKey}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CrossroadsPhalconServiceUriEncryptionKey" value="#{Xbap.Settings.Security.CrossroadsPhalconServiceUriEncryptionKey}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- offline configuration -->
    <add key="IsHubServerFileName" value="#{Xbap.Settings.Offline.IsHubServerFileName}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="OfflineServerFileName" value="#{Xbap.Settings.Offline.OfflineServerFileName}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- logging -->
    <add key="LoggingQueuePath" value="#{Xbap.Settings.Logging.LoggingQueuePath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="LogSaver_ClassName" value="#{Xbap.Settings.Logging.LogSaverClassName}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="LogSaver_AssemblyPathIsAbsolute" value="#{Xbap.Settings.Logging.LogSaverAssemblyPathIsAbsolute}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- caching -->
    <add key="CacheSettings" value="#{Xbap.Settings.Caching.CacheSettings}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CacheCleanupInterval" value="#{Xbap.Settings.Caching.CacheCleanupInterval}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CacheMaximumDiskSpaceUsage" value="#{Xbap.Settings.Caching.CacheMaximumDiskSpaceUsage}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CacheUtilizesIsolatedStorage" value="#{Xbap.Settings.Caching.CacheUtilizesIsolatedStorage}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- login/account -->
    <add key="PrepopulateLoginName" value="#{Xbap.Settings.Login.PrepopulateLoginName}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="PasswordRetrievalUrl" value="#{Xbap.Settings.Login.PasswordRetrievalUrl}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="PasswordChangeUrl" value="#{Xbap.Settings.Login.PasswordChangeUrl}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- resources/files -->
    <add key="AssessmentQuestionTypes_XmlPath" value="#{Xbap.Settings.Resources.AssessmentQuestionTypesXmlPath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="RightsandResponsibilities_TextPath" value="#{Xbap.Settings.Resources.RightsAndResponsibilitiesTextPath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ReleaseForm_TextPath" value="#{Xbap.Settings.Resources.ReleaseFormTextPath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ReturnAgreement_TextPath" value="#{Xbap.Settings.Resources.ReturnAgreementTextPath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="UploadedDirectory" value="#{Xbap.Settings.Resources.UploadedDirectory}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- urls -->
    <add key="HelpSystemURL" value="#{Xbap.Settings.Urls.HelpSystemUrl}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="WicDefaultLogoPath" value="#{Xbap.Settings.Urls.WicDefaultLogoPath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- reports -->
    <add key="ReportsViewerUrl" value="#{Xbap.Settings.Reports.ReportsViewerUrl}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CrossroadsReportsUriEncryptionKey" value="#{Xbap.Settings.Reports.CrossroadsReportsUriEncryptionKey}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
	  <add key="ReportsBrowser" value="#{Xbap.Settings.Reports.ReportsBrowser}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ReportSearchPath" value="#{Xbap.Settings.Reports.ReportSearchPath}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- update -->
    <add key="ApplicationUpdateStartHour" value="#{Xbap.Settings.Update.ApplicationUpdateStartHour}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ApplicationUpdateTimeSpan" value="#{Xbap.Settings.Update.ApplicationUpdateTimeSpan}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!--cash value benefit override-->
    <add key="CvbOverrideStartDate" value="#{Xbap.Settings.Cvb.CvbOverrideStartDate}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideEndDate" value="#{Xbap.Settings.Cvb.CvbOverrideEndDate}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity" value="#{Xbap.Settings.Cvb.CvbOverrideQuantity}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity2" value="#{Xbap.Settings.Cvb.CvbOverrideQuantity2}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity3" value="#{Xbap.Settings.Cvb.CvbOverrideQuantity3}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity4" value="#{Xbap.Settings.Cvb.CvbOverrideQuantity4}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- other -->
    <add key="ConfigurationRefreshWaitTimeInMinutes" value="#{Xbap.Settings.Other.ConfigurationRefreshWaitTimeInMinutes}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ShowClientType" value="#{Xbap.Settings.Other.ShowClientType}" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
  </appSettings>
  <system.serviceModel>
    <client>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.AppointmentDataService}"
                contract="AppointmentDataService.IAppointmentDataService"
                name="WSHttpBinding_IAppointmentDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)" />
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.CarePlanDataService}"
                contract="CarePlanDataService.ICarePlanDataService"
                name="WSHttpBinding_ICarePlanDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.CertificationDataService}"
                contract="CertificationDataService.ICertificationDataService"
                name="WSHttpBinding_ICertificationDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.CommonDataService}"
                contract="CommonDataService.ICommonDataService"
                name="WSHttpBinding_ICommonDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.FileService}"
                contract="CrossroadsFileService.ICrossroadsFileService"
                name="HttpsBinding_ICrossroadsFileService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.DataSyncDataService}"
                contract="DataSyncDataService.IDataSyncDataService"
                name="WSHttpBinding_IDataSyncDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.DocumentGenerationDataService}"
                contract="DocumentGenerationDataService.IDocumentGenerationDataService"
                name="WSHttpBinding_IDocumentGenerationDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.FamilyDataService}"
                contract="FamilyDataService.IFamilyDataService"
                name="WSHttpBinding_IFamilyDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.FinanceDataService}"
                contract="FinanceDataService.IFinanceDataService"
                name="WSHttpBinding_IFinanceDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.FoodDataService}"
                contract="FoodDataService.IFoodDataService"
                name="WSHttpBinding_IFoodDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.InventoryDataService}"
                contract="InventoryDataService.IInventoryDataService"
                name="WSHttpBinding_IInventoryDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.LogSaverService}"
                contract="LogSaverService.ILogSaver"
                name="WSHttpBinding_ILogSaverService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.RedemptionDataService}"
                contract="RedemptionDataService.IRedemptionDataService"
                name="WSHttpBinding_IRedemptionDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.SecurityDataService}"
                contract="SecurityDataService.ISecurityDataService"
                name="WSHttpBinding_ISecurityDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.SyncService}"
                contract="SyncService.ISyncService"
                name="WSHttpBinding_ISyncService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.VendorDataService}"
                contract="VendorDataService.IVendorDataService"
                name="WSHttpBinding_IVendorDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.VersioningDataService}"
                contract="VersioningDataService.IVersioningDataService"
                name="WSHttpBinding_IVersioningDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="#{Xbap.Wcf.Client.Endpoints.LoginDataService}"
                contract="LoginDataService.ILoginDataService"
                name="WSHttpBinding_ILoginDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
    </client>
  </system.serviceModel>
  <system.net>
    <mailSettings>
      <smtp from="no-reply">
        <network 
          host="#{Xbap.Settings.Smtp.Host}"
          port="#{Xbap.Settings.Smtp.Port}" 
          defaultCredentials="#{Xbap.Settings.Smtp.DefaultCredentials}" 
          xdt:Transform="SetAttributes" />
      </smtp>
    </mailSettings>
  </system.net>
</configuration>