﻿<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <appSettings>
    <!-- services -->
    <add key="DataService_AssemblyPath" value="Crossroads.ProxyService.dll" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="DataService_AssemblyPath_IsAbsolute" value="N" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="FamilyDataServiceMockFileLocation" value="\\storageacctwicncprod.file.core.windows.net\files\xr-files\Cnds\" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="SecurityDataServiceMockFileLocation" value="\\storageacctwicncprod.file.core.windows.net\files\xr-files\ActiveDirectory\" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ClientSettingsProvider.ServiceUri" value="" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- security -->
    <add key="CrossroadsSecureServiceEncryptionKey" value="QcYSBqR9qxJUCpoo1GLdakyttBX69du7DSnrYjJdrK4=" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CrossroadsPhalconServiceUriEncryptionKey" value="XRn5$!~j" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- offline configuration -->
    <add key="IsHubServerFileName" value="IsHub.dat" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="OfflineServerFileName" value="OfflineServerName.dat" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- logging -->
    <add key="LoggingQueuePath" value=".\private$\Logger" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="LogSaver_ClassName" value="Crossroads.Clinic.ViewModel.LogSaver" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="LogSaver_AssemblyPathIsAbsolute" value="N" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- caching -->
    <add key="CacheSettings" value="Crossroads.Clinic.View.Dashboard,10,30,True|Crossroads.Clinic.View.Shell,10,30,True|Crossroads.Model.Child,10,30,True|Crossroads.Model.Woman,10,30,True|Crossroads.Model.Family,10,300,True|Crossroads.Model.Clinic,5,600,True|Crossroads.Model.CachingTest,10,30,True|Crossroads.Model.CachingTest2,5,180,True" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CacheCleanupInterval" value="600" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CacheMaximumDiskSpaceUsage" value="60" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CacheUtilizesIsolatedStorage" value="Y" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- login/account -->
    <add key="PrepopulateLoginName" value="true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="PasswordRetrievalUrl" value="https://ncid.nc.gov" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="PasswordChangeUrl" value="https://ncid.nc.gov" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- resources/files -->
    <add key="AssessmentQuestionTypes_XmlPath" value="Resources\Xml\AssessmentQuestionTypes.xml" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="RightsandResponsibilities_TextPath" value="Resources\Text\RightsandResponsibilities.txt" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ReleaseForm_TextPath" value="Resources\Text\ReleaseAgreement.txt" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ReturnAgreement_TextPath" value="Resources\Text\ReturnAgreement.txt" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="UploadedDirectory" value="\\storageacctwicncprod.file.core.windows.net\files\xr-files\Crossroads" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- urls -->
    <add key="HelpSystemURL" value="https://crossroads-wic.ncdhhs.gov/help/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="WicDefaultLogoPath" value="https://crossroads-wic.ncdhhs.gov/wcf/Images/CrossroadsHeaderLogo.png" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- reports -->
    <add key="ReportsViewerUrl" value="https://reportproxy-wic.ncdhhs.gov/proxy/View/Reporting.aspx?" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CrossroadsReportsUriEncryptionKey" value="XRn5$!~j" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ReportsBrowser" value="MSEdge.exe" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ReportSearchPath" value="/NC/production-nc" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- update -->
    <add key="ApplicationUpdateStartHour" value="19" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ApplicationUpdateTimeSpan" value="11" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!--cash value benefit override-->
    <add key="CvbOverrideStartDate" value="9/30/2022" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideEndDate" value="10/30/2023" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity" value="2500" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity2" value="4400" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity3" value="4900" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="CvbOverrideQuantity4" value="7350" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <!-- other -->
    <add key="ConfigurationRefreshWaitTimeInMinutes" value="120" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
    <add key="ShowClientType" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
	<add key="UseLegacyLogin" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
	<add key="UseNCIDLogin" value="true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
	<add key="OidcAuthority" value="https://id-ncuat.cnpmis.gcomdev.com/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
	<add key="OidcClientId" value="crossroads-xbap-client" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
	<add key="OidcRedirectUri" value="http://127.0.0.1:55500/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
  </appSettings>
  <system.serviceModel>
    <client>
      <!-- legacy app -->
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/appointmentdataservice.svc"
                contract="AppointmentDataService.IAppointmentDataService"
                name="WSHttpBinding_IAppointmentDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)" />
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/careplandataservice.svc"
                contract="CarePlanDataService.ICarePlanDataService"
                name="WSHttpBinding_ICarePlanDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/certificationdataservice.svc"
                contract="CertificationDataService.ICertificationDataService"
                name="WSHttpBinding_ICertificationDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/commondataservice.svc"
                contract="CommonDataService.ICommonDataService"
                name="WSHttpBinding_ICommonDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/crossroadsfileservice.svc"
                contract="CrossroadsFileService.ICrossroadsFileService"
                name="HttpsBinding_ICrossroadsFileService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/datasyncdataservice.svc"
                contract="DataSyncDataService.IDataSyncDataService"
                name="WSHttpBinding_IDataSyncDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/documentgenerationdataservice.svc"
                contract="DocumentGenerationDataService.IDocumentGenerationDataService"
                name="WSHttpBinding_IDocumentGenerationDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/familydataservice.svc"
                contract="FamilyDataService.IFamilyDataService"
                name="WSHttpBinding_IFamilyDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/financedataservice.svc"
                contract="FinanceDataService.IFinanceDataService"
                name="WSHttpBinding_IFinanceDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/fooddataservice.svc"
                contract="FoodDataService.IFoodDataService"
                name="WSHttpBinding_IFoodDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/inventorydataservice.svc"
                contract="InventoryDataService.IInventoryDataService"
                name="WSHttpBinding_IInventoryDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/logsaver.svc"
                contract="LogSaverService.ILogSaver"
                name="WSHttpBinding_ILogSaverService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/redemptiondataservice.svc"
                contract="RedemptionDataService.IRedemptionDataService"
                name="WSHttpBinding_IRedemptionDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/securitydataservice.svc"
                contract="SecurityDataService.ISecurityDataService"
                name="WSHttpBinding_ISecurityDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/syncservice.svc"
                contract="SyncService.ISyncService"
                name="WSHttpBinding_ISyncService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/vendordataservice.svc"
                contract="VendorDataService.IVendorDataService"
                name="WSHttpBinding_IVendorDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/versioningdataservice.svc"
                contract="VersioningDataService.IVersioningDataService"
                name="WSHttpBinding_IVersioningDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/logindataservice.svc"
                contract="LoginDataService.ILoginDataService"
                name="WSHttpBinding_ILoginDataService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
      <!-- wpf app -->
      <endpoint address="https://crossroads-wic.ncdhhs.gov/wcf/versioningdataservice.svc"
                contract="Crossroads.Model.IVersioningDataService"
                name="VersioningService"
                xdt:Transform="SetAttributes" xdt:Locator="Match(contract,name)">
      </endpoint>
    </client>
  </system.serviceModel>
  <system.net>
    <mailSettings>
      <smtp from="no-reply">
        <network 
          host="outbound.mail.nc.gov"
          port="25" 
          defaultCredentials="true" 
          xdt:Transform="SetAttributes" />
      </smtp>
    </mailSettings>
  </system.net>
</configuration>