-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeb.config
212 lines (211 loc) · 13.4 KB
/
Web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<?xml version="1.0" encoding="utf-8"?>
<!--
GuruConfiguration/Origination/CollectionConfigTEST.json
201184
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=301879
-->
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="rock.framework" type="Rock.Framework.Settings.Configuration.RockFrameworkSection, Rock.Framework" />
</configSections>
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-GURU-20160823105354.mdf;Initial Catalog=aspnet-GURU-20160823105354;Integrated Security=True" providerName="System.Data.SqlClient" />
<add name="Authorizer" providerName="System.Data.SqlClient" connectionString="Data Source=QLDMZDBDEV2;Initial Catalog=Authorizer;Persist Security Info=True;Integrated Security=True;" />
<add name="GURUDB" providerName="System.Data.SqlClient" connectionString="Data Source=dsc-originationgurutest.mi.corp.rockfin.com;Initial Catalog=ORIGINATIONGURU;Integrated Security=True;MultipleActiveResultSets=True" />
<add name="QLMSGURUDB" providerName="System.Data.SqlClient" connectionString="Data Source=dsc-qlmsgurutest.mi.corp.rockfin.com;Initial Catalog=QLMSGURU;Integrated Security=True;MultipleActiveResultSets=True" />
</connectionStrings>
<appSettings>
<add key="AppName" value="Origination GURU"/>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="RegionFileLocation" value="\\mi\data\CSA\Send\GURU\TMDivision.json" />
<add key="GuruCollections" value="GuruConfiguration/Origination/CollectionConfigTEST.json" />
<add key="FilePath" value="I:\GURU\Scripts\therealtest\"/>
<!-- sevicing = GuruConfiguration/Servicing/CollectionConfig.json origination = GuruConfiguration/Origination/CollectionConfigTEST.json -->
<add key="GsaBaseUrl" value="http://gsatest/" />
<add key="GuruResourcesBasePath" value="file://test.rockfin.com/data/"/>
</appSettings>
<system.web>
<customErrors mode="Off"></customErrors>
<authentication mode="Windows" />
<compilation debug="true" targetFramework="4.5.2">
<buildProviders>
<add extension=".htm" type="System.Web.Compilation.PageBuildProvider" />
<add extension=".html" type="System.Web.Compilation.PageBuildProvider" />
</buildProviders>
</compilation>
<httpRuntime targetFramework="4.5.2" />
<httpModules>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</httpModules>
</system.web>
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="mailrelay" />
</smtp>
</mailSettings>
</system.net>
<system.webServer>
<rewrite>
<rules>
<rule name="GURU Single Page App">
<match url="^search|^admin|^cmz|^grapevine|^qlmsgrapevine|^manager" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" pattern="(.*?)\.json" negate="true" />
<add input="{URL}" pattern="GuruSupplements" negate="true" />
<add input="{URL}" pattern="DIGGDownload" negate="true" />
<add input="{URL}" pattern="GuruAuth" negate="true" />
<add input="{URL}" pattern="GSA" negate="true" />
<add input="{URL}" pattern="Images" negate="true" />
</conditions>
<action type="Rewrite" url="/index.html"/>
</rule>
</rules>
</rewrite>
<modules>
<remove name="FormsAuthentication" />
<remove name="ApplicationInsightsWebTracking" />
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
</modules>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<validation validateIntegratedModeConfiguration="false" />
<staticContent>
<clientCache cacheControlMode="DisableCache" />
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
<security>
<authentication></authentication>
</security>
</system.webServer>
<location path="favicon.ico">
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</location>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.AI.Agent.Intercept" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.7.0" newVersion="2.0.7.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<rock.framework applicationId="201184">
<environment name="Dev" />
<hostingEnvironment name="OnPremises" />
<authorizer connectionStringName="Authorizer" />
<messaging>
<sonicSettings>
<!--this element is added only as an example 201184 for orginiation and 201217 for servicing-->
<!--<sonic name="Add queue/topic name" destination="Add destination" userName="Add username" password="Add password" />-->
</sonicSettings>
</messaging>
<logger>
<loggerConfigProvider>
<provider type="Rock.Framework.Logging.Configuration.FileConfigProvider, Rock.Framework" />
</loggerConfigProvider>
<loggerSettings loggingLevel="Debug" isLoggingEnabled="true">
<auditLogProvider type="Rock.Framework.Logging.Provider.CoreLogProvider, Rock.Framework" />
<!-- SOME LOGPROVIDERS SUPPORT THE ABILITY TO FORMAT MESSAGES (those that implement IFormatterTemplate).
SEE A LIST OF AVAILABLE TOKENS IN THE LogFormatter CLASS. YOU CAN ALSO VISIT THE CORE WEB SITE
AND LAUNCH THE EMAIL TEMPLATE BUILDER WHICH IS UNDER UTILITIES. THIS WILL PROVIDE A NICE
EMAIL TEMPLATE TO USE YOUR APPLICATIONS AS WELL AS ALLOW YOU TO CUSTOMIZE THE EMAIL TEMPLATE
EASILY. -->
<formatters>
<formatter name="email" template="<a href="http://core/LogEntries/List.aspx?Environment={environment}&Action=Search&qp_Application={applicationId}&qp_UserName={userName}&qp_UserDisplayName={userDisplayName}&qp_MachineName={machineName}&qp_LogLevel={level}&qp_CategoryId={category}&qp_UserIPAddress={userIPAddress}&qp_MachineIPAddress={machineIPAddress}&qp_Url_Values={url}&qp_UserCommonId={userCommonId}">View Application Logs</a><p><h3>LOG INFO</h3><b>Message:</b> {message}<br /><b>Affected System:</b> {affectedSystem}<br /><b>Category:</b> {category}<br /><b>Create Time:</b> {createTime}<br /><b>Type of Message:</b> {level} <br /><b>Machine IP Address:</b> {machineIPAddress}<br /><b>Machine Name:</b> {machineName}<br /></p><hr /><p><h4>EXTENDED PROPERTY INFO</h4><table cellpadding=3 cellspacing=0 border=1 style='background-color: cornsilk' >{extendedProperties(<tr><td valign=top style='font-weight:900; color: navy;'><pre style='margin-bottom: 0px'>{key}</td><td valign=top><pre style='margin-bottom: 0px'>{value}</td></tr>)}</table></p><hr /><p><h4>USER INFO</h4><b>User Agent Browser:</b> {userAgentBrowser}<br /><b>User Disrupted:</b>{userDisrupted}<br /><b>User CommonID:</b> {userCommonId} <br /><b>User Display Name:</b> {userDisplayName}<br /><b>User IP Address:</b> {userIPAddress}<br /><b>User:</b> {userName}<br /><b>User Screen Name:</b> {userScreenName}<br /></p><hr /><p><h4>WEB APPLICATION INFO</h4><b>Referrer:</b> {referrer} <br /><b>Request Method:</b> {requestMethod}<br /><b>URL:</b> {url}<br /></p><hr /><p><h4>EXCEPTION INFO</h4><pre>{exception}</pre></p>" />
</formatters>
<throttlingRules>
<throttlingRule name="Default" minInterval="00:01:00" />
</throttlingRules>
<categories>
<category name="Default" throttlingRule="Default">
<providers>
<!--SonicLogProvider is being phased out. CoreLogProvider is the replacement.-->
<!--<provider type="Rock.Framework.Messaging.SonicMQ.SonicLogProvider, Rock.Framework, Version=4.0.300, Culture=neutral, PublicKeyToken=e3e50ed925359848">
<propertyMapper />
</provider>-->
<provider type="Rock.Framework.Logging.Provider.CoreLogProvider, Rock.Framework" />
<provider loggingLevel="Warn" formatter="email" type="Rock.Framework.Logging.Provider.EmailLogProvider, Rock.Framework">
<propertyMapper>
<mapper property="ToEmail" value="[email protected]" />
<mapper property="FromEmail" value="[email protected]" />
<mapper property="Subject" value="Origination GURU: {level} message on {machineName} in {environment}" />
</propertyMapper>
</provider>
</providers>
</category>
</categories>
</loggerSettings>
</logger>
</rock.framework>
</configuration>