-
Notifications
You must be signed in to change notification settings - Fork 2
/
Engage.ApplicationInsights.dnn
138 lines (138 loc) · 6.56 KB
/
Engage.ApplicationInsights.dnn
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
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="Engage: Application Insights" type="Module" version="1.0.0">
<friendlyName>Engage: Application Insights</friendlyName>
<description></description>
<owner>
<name>Engage Software</name>
<organization>Engage Software</organization>
<url>http://www.engagesoftware.com/</url>
<email>[email protected]</email>
</owner>
<license src="EULA-Free.htm" />
<releaseNotes src="ReleaseNotes_1.0.0.htm" />
<dependencies>
<dependency type="CoreVersion">5.0.0</dependency>
</dependencies>
<components>
<component type="Cleanup" version="1.0.1" fileName="1.0.1.txt" />
<component type="ResourceFile">
<resourceFiles>
<basePath>DesktopModules/Engage/ApplicationInsights</basePath>
<resourceFile>
<name>Resources.zip</name>
</resourceFile>
</resourceFiles>
</component>
<component type="File">
<files>
<file>
<path>Config</path>
<name>ApplicationInsights.config</name>
<sourceFileName>ApplicationInsights.config</sourceFileName>
</file>
</files>
</component>
<component type="Config">
<config>
<configFile>web.config</configFile>
<install>
<configuration>
<nodes>
<node path="/configuration/system.webServer/modules/add[@name='ApplicationInsightsWebTracking']"
action="updateattribute"
name="type"
value="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
<node path="/configuration/system.web/httpModules/add[@name='ApplicationInsightsWebTracking']"
action="updateattribute"
name="type"
value="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</nodes>
</configuration>
</install>
<uninstall>
<configuration>
<nodes>
<node path="/configuration/system.webServer/modules/remove[@name='ApplicationInsightsWebTracking']" action="remove" />
<node path="/configuration/system.webServer/modules/add[@name='ApplicationInsightsWebTracking']" action="remove" />
<node path="/configuration/system.webServer/modules/add[@name='EngageApplicationInsights']" action="remove" />
<node path="/configuration/system.web/httpModules/add[@name='ApplicationInsightsWebTracking']" action="remove" />
</nodes>
</configuration>
</uninstall>
</config>
</component>
<component type="Config">
<config>
<configFile>DotNetNuke.log4net.config</configFile>
<install>
<configuration>
<nodes>
<node path="/log4net/appender[@name='RollingFile']" action="update" key="type" collision="ignore">
<filter type="log4net.Filter.LevelRangeFilter">
<acceptOnMatch value="true" />
<levelMin value="ERROR" />
<levelMax value="FATAL" />
</filter>
</node>
<node path="/log4net" action="update" key="name" collision="ignore">
<appender name="aiAppender" type="Engage.Dnn.ApplicationInsights.ApplicationInsightsAppender, Engage.ApplicationInsights">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%message%newline"/>
</layout>
</appender>
</node>
<node path="/log4net/root/level" action="updateattribute" name="value" value="ALL" />
</nodes>
</configuration>
</install>
<uninstall>
<configuration>
<nodes>
<node path="/log4net/appender[@name='RollingFile']/filter[@type='log4net.Filter.LevelRangeFilter']" action="remove" />
<node path="/log4net/appender[@name='aiAppender']" action="remove" />
<node path="/log4net/root/appender-ref[@ref='aiAppender']" action="remove" />
<node path="/log4net/root/level" action="updateattribute" name="value" value="ERROR" />
</nodes>
</configuration>
</uninstall>
</config>
</component>
<component type="Module">
<desktopModule>
<moduleName>Engage: Application Insights</moduleName>
<foldername>Engage/ApplicationInsights</foldername>
<businessControllerClass>Engage.Dnn.ApplicationInsights.FeaturesController</businessControllerClass>
<moduleDefinitions>
<moduleDefinition>
<friendlyName>Engage: Application Insights</friendlyName>
<definitionName>Engage: Application Insights</definitionName>
<defaultCacheTime>0</defaultCacheTime>
<moduleControls>
<moduleControl>
<controlKey/>
<controlSrc>DesktopModules/Engage/ApplicationInsights/Views/ConfigureApplicationInsights.ascx</controlSrc>
<supportsPartialRendering>True</supportsPartialRendering>
<controlType>View</controlType>
</moduleControl>
</moduleControls>
</moduleDefinition>
</moduleDefinitions>
</desktopModule>
<eventMessage>
<processorType>DotNetNuke.Entities.Modules.EventMessageProcessor,DotNetNuke</processorType>
<processorCommand>UpgradeModule</processorCommand>
<attributes>
<businessControllerClass>Engage.Dnn.ApplicationInsights.FeaturesController</businessControllerClass>
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
<upgradeVersionsList>1.0.1</upgradeVersionsList>
</attributes>
</eventMessage>
</component>
<component type="Assembly">
<assemblies></assemblies>
</component>
</components>
</package>
</packages>
</dotnetnuke>