-
Notifications
You must be signed in to change notification settings - Fork 2
/
pg-system.xml
154 lines (150 loc) · 4.2 KB
/
pg-system.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<pages xmlns="http://www.appng.org/schema/platform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.appng.org/schema/platform http://www.appng.org/schema/platform/appng-platform.xsd">
<page id="system">
<config>
<title>system</title>
<permissions>
<permission ref="page.system" mode="set" />
</permissions>
<url-schema>
<url-params>
<url-param name="entity" />
<url-param name="action" />
<url-param name="id" />
<url-param name="entity2id" />
</url-params>
<get-params>
<get-param name="action" />
<get-param name="sessid" />
<get-param name="form_action" />
<get-param name="id" />
<!-- session filtering -->
<get-param name="fSess" />
<get-param name="fAgnt" />
<get-param name="fCrAf" />
<get-param name="fCrBf" />
<get-param name="fDmn" />
<get-param name="fUsr" />
<get-param name="fLgn" />
<!-- sort params to avoid warnings from appNG eclipse plugin -->
<get-param name="sortSystemProps" />
<get-param name="sortSystemEnv" />
</get-params>
<post-params>
<post-param name="form_action" />
</post-params>
</url-schema>
</config>
<structure>
<section>
<title id="environment" />
<element folded="false">
<datasource id="jvmArguments">
<condition expression="${empty entity}" />
</datasource>
</element>
<element folded="${empty sortSystemProps}">
<datasource id="systemProps">
<condition expression="${empty entity}" />
</datasource>
</element>
<element folded="${empty sortSystemEnv}">
<datasource id="systemEnv">
<condition expression="${empty entity}" />
</datasource>
</element>
</section>
<section>
<title id="status" />
<element>
<datasource id="processor">
<condition expression="${empty entity}" />
</datasource>
</element>
<element>
<datasource id="memory">
<condition expression="${empty entity}" />
</datasource>
</element>
<element>
<datasource id="sessions">
<params>
<param name="deleteLink">/system?action=expire&sessid=</param>
</params>
</datasource>
</element>
</section>
<section>
<element>
<datasource id="logfile" />
</element>
<element>
<action eventId="logEvent" id="updateLogConfig" />
</element>
</section>
<section>
<element>
<datasource id="clusterState">
<params>
<param name="nodeId">${entity}</param>
</params>
</datasource>
</element>
<element>
<datasource id="siteState">
<params>
<param name="nodeId">${entity}</param>
</params>
<condition expression="${not empty entity}" />
</datasource>
</element>
<element>
<datasource id="clusterStateProps">
<params>
<param name="nodeId">${entity}</param>
</params>
<condition expression="${not empty entity}" />
</datasource>
</element>
<element>
<datasource id="clusterStateEnv">
<params>
<param name="nodeId">${entity}</param>
</params>
<condition expression="${not empty entity}" />
</datasource>
</element>
</section>
<!-- hidden inline actions -->
<section hidden="true">
<element>
<action id="refreshPlatform" eventId="platformEvent" />
</element>
<element>
<action id="expire" eventId="sessionEvent" onSuccess="/system#tab_memory">
<params>
<param name="action">${action}</param>
<param name="sessid">${sessid}</param>
</params>
</action>
</element>
<element>
<action id="expireAll" eventId="sessionEvent" onSuccess="/system#tab_memory">
<params>
<param name="action">${action}</param>
</params>
</action>
</element>
<element>
<!-- this needs to be the very last action, because the old site and application have been destroyed after execution! -->
<action eventId="platformEvent" id="reloadPlatform" onSuccess="/system">
<params>
<param name="action">${form_action}</param>
</params>
</action>
</element>
</section>
</structure>
</page>
</pages>