<?xml version="1.0" encoding="utf-8"?>

<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->

<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">

  <enyim.com>
    <memcached>
      <servers>
        <add xdt:Transform="RemoveAll" />
        <add address="memcachedol01.dr.dk" port="11211" xdt:Transform="Insert" />
        <add address="memcachedol02.dr.dk" port="11211" xdt:Transform="Insert" />
      </servers>
    </memcached>
  </enyim.com>
  <!--
    In the example below, the "SetAttributes" transform will change the value of 
    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
    finds an attribute "name" that has a value of "MyDB".
  -->
  <connectionStrings>
    <add name="Dr_Redesign_ConfigurationEntities" 
          connectionString="metadata=res://*/Model.RedesignConfiguration.csdl|res://*/Model.RedesignConfiguration.ssdl|res://*/Model.RedesignConfiguration.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=sqldbol14.dr.dk;initial catalog=Dr_Redesign_Configuration;persist security info=True;user id=dr_redesign_app;password=z5Ki0x;multipleactiveresultsets=True;App=EntityFramework&quot;"
          xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
  </connectionStrings>
  <appSettings>
    <add key="ResultsDataUrl" value="http://www.dr.dk/tjenester/fv15-result-data/" xdt:Transform="Replace" xdt:Locator="Match(key)" />
    <add key="article-collider-api-url" value="http://www.dr.dk/tjenester/article-collider" xdt:Transform="Replace" xdt:Locator="Match(key)" />
    <add key="NewRelic.AppName" value="/tjenester/event-fv15" xdt:Transform="Insert"/>
    <add key="enable-web-stats" value="true" xdt:Transform="Replace" xdt:Locator="Match(key)" />
    <add key="SiteDisabled" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    <add key="ExternalBannerDisabled" value="false" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    <add key="ProxyAddress" value="proxyol.dr.dk" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    <add key="meningsmaaling-embed-url" value="http://www.dr.dk/tjenester/magazine-politics/comp/meningsmaling/external" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    <!--<add key="vaelgervandring-embed-url" value="http://www.dr.dk/tjenester/magazine-politics/comp/meningsmaling/ExternalCandidateMovement" xdt:Transform="Replace" xdt:Locator="Match(key)" />-->
	  <add key="vaelgervandring-embed-url" value="http://www.dr.dk/tjenester/esi/Meningsmaaling/CandidateMovement" xdt:Transform="Replace" xdt:Locator="Match(key)" />

	  
	  <add key="live-page-api-url" value="http://www.dr.dk/tjenester/live-page-api/" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    <add key="ImageScaler" value="//asset.dr.dk/imagescaler" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    <add key="PosterGeneratorUrl" value="http://www.dr.dk/nyheder/politik/plakat/" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    <add key="BaseUrl" value="http://www.dr.dk/nyheder/politik/valg2016/" xdt:Transform="Replace" xdt:Locator="Match(key)"/>
    
    <!-- Result test pages time constraint-->
    <add key="ResultTestStart" value="2015-06-17 09:00:00" xdt:Transform="Replace" xdt:Locator="Match(key)" />
    <add key="ResultTestEnd" value="2015-06-18 19:00:00" xdt:Transform="Replace" xdt:Locator="Match(key)" />
    
   
  </appSettings>
  <system.web>
    <compilation xdt:Transform="RemoveAttributes(debug)" />
    <!--
      In the example below, the "Replace" transform will replace the entire 
      <customErrors> section of your web.config file.
      Note that because there is only one customErrors section under the 
      <system.web> node, there is no need to use the "xdt:Locator" attribute.
      
      <customErrors defaultRedirect="GenericError.htm"
        mode="RemoteOnly" xdt:Transform="Replace">
        <error statusCode="500" redirect="InternalError.htm"/>
      </customErrors>
    -->
  </system.web>
</configuration>
