iSchedulerWebforms.xml
9.23 KB
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
<?xml version="1.0" encoding="utf-8"?>
<WebFormXML>
<strings>
<!--
<String Name="cs1">data source=.\SQLExpress;initial catalog=LearALM;user id=sa;password=Vrh@54321;MultipleActiveResultSets=True;App=EntityFramework;</String>
-->
<string name="pts1">~\App_Data\OneScripter\TESTS\</string>
<string name="pts2">~\App_Data\OneScripter\TESTS\</string>
<string name="pts3">~\App_Data\OneScripter\SERVICESCRIPTS\</string>
<string name="pts4">~\App_Data\OneMessage\OneMessages.xml</string>
<string name="Matrix2D_en-US">~\App_Data\WebMonitor\Matrix2D_en-US.xml</string>
</strings>
<DefaultLCID>en-US</DefaultLCID>
<CommonElementsDefaults>
<Defaults>
<FormDesign Layout="~/Views/Shared/_Layout.cshtml" LayoutMobile="~/Areas/Mobile/Views/Shared/_Layout.cshtml" Style="width:100%;"/>
<Parameters NameSeparator="@@"/>
<Inputs Type="Text" Required="false" ReadOnly="false" UploadFolder="~/App_Data/Uploads"/>
<SQLList ID="Id" Display="Name" ConnectionString="defaultConnectionString"/>
</Defaults>
<Defaults LCID="hu-HU">
<FormTexts ReturnMessageOKHeader="A beavatkozás végrehajtása befejeződött!" ReturnMessageNOKHeader="Hibás paraméterek!" RequiredMissing="A {0} mező kitöltése kötelező!"/>
</Defaults>
<Defaults LCID="en-US">
<FormTexts ReturnMessageOKHeader="Intervention execution finished!" ReturnMessageNOKHeader="Erroneous parameters!" RequiredMissing="Input field {0} is mandatory!"/>
</Defaults>
</CommonElementsDefaults>
<CommonElementsInputs>
<CommonInputs>
<Input Scope="ref" Name="SCHEDULEID" Row="8" Col="1" Type="SQLList">
<SQLList ID="IID" Display="DDISPLAY">
<Command>
SELECT TOP 100
[iScheduler].[Schedules].[Id] AS IID,
convert(varchar(25), [iScheduler].[Schedules].[Id]) + ' (' + convert(varchar(25), [OperationTime], 120) + ','
+ [iScheduler].[ScheduleObjects].[ObjectType] + ','
+ [iScheduler].[ScheduleObjects].[ObjectName] + ','
+ [iScheduler].[ScheduleOperations].[OperationName] + ','
+ (CASE WHEN [iScheduler].[Schedules].[State] = 0 THEN 'Active' ELSE 'Passive' END) + ')'
AS DDISPLAY
FROM [iScheduler].[Schedules]
INNER JOIN [iScheduler].[ScheduleObjects] ON [iScheduler].[Schedules].[ScheduleObjectId] = [iScheduler].[ScheduleObjects].[Id]
INNER JOIN [iScheduler].[ScheduleOperations] ON [iScheduler].[Schedules].[ScheduleOperationId] = [iScheduler].[ScheduleOperations].[Id]
WHERE [iScheduler].[Schedules].[State] = 0
</Command>
</SQLList>
</Input>
<Input Scope="ref" Name="SCHEDULEIDALL" Row="8" Col="1" Type="SQLList">
<SQLList ID="IID" Display="DDISPLAY">
<Command>
SELECT TOP 100
[iScheduler].[Schedules].[Id] AS IID,
convert(varchar(25), [iScheduler].[Schedules].[Id]) + ' (' + convert(varchar(25), [OperationTime], 120) + ','
+ [iScheduler].[ScheduleObjects].[ObjectType] + ','
+ [iScheduler].[ScheduleObjects].[ObjectName] + ','
+ [iScheduler].[ScheduleOperations].[OperationName] + ','
+ (CASE WHEN [iScheduler].[Schedules].[State] = 0 THEN 'Active' ELSE 'Passive' END) + ')'
AS DDISPLAY
FROM [iScheduler].[Schedules]
INNER JOIN [iScheduler].[ScheduleObjects] ON [iScheduler].[Schedules].[ScheduleObjectId] = [iScheduler].[ScheduleObjects].[Id]
INNER JOIN [iScheduler].[ScheduleOperations] ON [iScheduler].[Schedules].[ScheduleOperationId] = [iScheduler].[ScheduleOperations].[Id]
</Command>
</SQLList>
</Input>
</CommonInputs>
</CommonElementsInputs>
<CommonElementsActions>
<CommonActions>
<Action Scope="ref" Name="E" ReturnMode="returninfoJSON" ButtonStyle="#STYLE_BUTTON_BLACKONYELLOW#" ButtonLabel="Start">
<url><area>iSchedulerReport</area><controller>iSchedulerReport</controller><action>Execute</action></url>
</Action>
<Action Scope="ref" Name="SE" ReturnMode="returninfoJSON" ButtonStyle="#STYLE_BUTTON_BLACKONYELLOW#" ButtonLabel="Start">
<url><area>iScheduler</area><controller>iScheduler</controller><action>ScheduleExecute</action></url>
</Action>
</CommonActions>
</CommonElementsActions>
<WebForms>
<WebForm LCID="hu-HU" Name="ExecuteTest" Title="Riport csomag teszt futtatása">
<Help>Reportcsomag teszt végrehajtása.</Help>
<ActionConditions>
<ActionCondition Type="else">
<Action Name="E"/>
<Parameters>
<Parameter PassTo="url" Name="xmlfile"><Value>@XMLFILE@</Value></Parameter>
<Parameter PassTo="url" Name="GroupId"><Value>@GROUPID@</Value></Parameter>
<Parameter PassTo="url" Name="ObjectId"><Value>@OBJECTID@</Value></Parameter>
<Parameter PassTo="url" Name="TimeStamp"><Value>@TIMESTAMP@</Value></Parameter>
</Parameters>
<ExecuteConditions>
</ExecuteConditions>
</ActionCondition>
</ActionConditions>
<Inputs>
<Input Row="1" Col="1" Name="XMLFILE" Label="XML fájl" WSpan="2" DefaultValue="~/App_Data/iScheduler/iSchedulerReport.xml"/>
<Input Row="2" Col="1" Name="OBJECTID" Label="Riportcsomag" Type="DATList" >
<DATList>
<url>
<!--appname>LearALM</appname-->
<area>iSchedulerReport</area><controller>iSchedulerReport</controller><action>List</action>
<fragment></fragment>
<inputparameter name="xmlfile">~/App_Data/iScheduler/iSchedulerReport.xml</inputparameter>
<inputparameter name="GroupId">GRP1</inputparameter>
</url>
</DATList>
</Input>
<Input Row="2" Col="2" Name="GROUPID" Label="Csoportazonosító" DefaultValue="GRP1" />
<Input Row="3" Col="1" Name="TIMESTAMP" Label="TimeStamp" Type="DateTime" DefaultValue="2017.01.01 00:00:00"/>
</Inputs>
</WebForm>
<WebForm LCID="en-US" Name="ExecuteTest" Title="Test run report package">
<Help>Test run report package.</Help>
<ActionConditions>
<ActionCondition Type="else">
<Action Name="E"/>
<Parameters>
<Parameter PassTo="url" Name="xmlfile"><Value>@XMLFILE@</Value></Parameter>
<Parameter PassTo="url" Name="GroupId"><Value>@GROUPID@</Value></Parameter>
<Parameter PassTo="url" Name="ObjectId"><Value>@OBJECTID@</Value></Parameter>
<Parameter PassTo="url" Name="TimeStamp"><Value>@TIMESTAMP@</Value></Parameter>
</Parameters>
<ExecuteConditions>
</ExecuteConditions>
</ActionCondition>
</ActionConditions>
<Inputs>
<Input Row="1" Col="1" Name="XMLFILE" Label="XML fájl" WSpan="2" DefaultValue="~/App_Data/iScheduler/iSchedulerReport.xml"/>
<Input Row="2" Col="1" Name="OBJECTID" Label="Riportcsomag" Type="DATList" >
<DATList>
<url>
<area>iSchedulerReport</area><controller>iSchedulerReport</controller><action>List</action>
<inputparameter name="xmlfile">~/App_Data/iScheduler/iSchedulerReport.xml</inputparameter>
<inputparameter name="groupid">GRP1</inputparameter>
</url>
</DATList>
</Input>
<Input Row="2" Col="2" Name="GROUPID" Label="Csoportazonosító" DefaultValue="GRP1" />
<Input Row="3" Col="1" Name="TIMESTAMP" Label="TimeStamp" Type="DateTime" DefaultValue="2017.01.01 00:00:00"/>
</Inputs>
</WebForm>
<WebForm LCID="hu-HU" Name="ScheduleExecuteTest" Title="Ütemezések tesztelése" Style="width:100%">
<Help>Ütemezés teszt végrehajtása.</Help>
<ActionConditions>
<ActionCondition Type="else">
<Action Name="SE"/>
<Parameters>
<Parameter PassTo="url" Name="path"><Value>@XMLFILE@</Value></Parameter>
<Parameter PassTo="url" Name="scheduleid"><Value>@SCHEDULEID@@SCHEDULEIDALL@</Value></Parameter>
</Parameters>
<ExecuteConditions>
<ExecuteCondition Type="NotEqual" Test="A@SCHEDULEID@B@SCHEDULEIDALL@C" With="ABC" ErrMsg="Meg kell adni ütemezés azonosítót!"/>
<ExecuteCondition Type="Equal" Test="A@SCHEDULEIDALL@@SCHEDULEID@C" With="A@SCHEDULEID@@SCHEDULEIDALL@C" ErrMsg="Csak az egyik azonosító mezőt töltse ki!"/>
</ExecuteConditions>
</ActionCondition>
</ActionConditions>
<Inputs>
<Input Row="1" Col="1" Name="XMLFILE" Label="XML fájl" DefaultValue="~/App_Data/iScheduler/iScheduler.xml"/>
<Input Row="8" Col="1" Name="SCHEDULEID" Label="scheduleid Active ONLY"/>
<Input Row="8" Col="2" Name="SCHEDULEIDALL" Label="scheduleid ALL"/>
</Inputs>
</WebForm>
<WebForm LCID="en-US" Name="ScheduleExecuteTest" Title="Test run schedules" Style="width:100%">
<Help>Test run schedule test.</Help>
<ActionConditions>
<ActionCondition Type="else">
<Action Name="SE"/>
<Parameters>
<Parameter PassTo="url" Name="path"><Value>@XMLFILE@</Value></Parameter>
<Parameter PassTo="url" Name="scheduleid"><Value>@SCHEDULEID@@SCHEDULEIDALL@</Value></Parameter>
</Parameters>
<ExecuteConditions>
<ExecuteCondition Type="NotEqual" Test="A@SCHEDULEID@B@SCHEDULEIDALL@C" With="ABC" ErrMsg="Schedule Id is mandatory!"/>
<ExecuteCondition Type="Equal" Test="A@SCHEDULEIDALL@@SCHEDULEID@C" With="A@SCHEDULEID@@SCHEDULEIDALL@C" ErrMsg="Use only one schedule id field, not both!"/>
</ExecuteConditions>
</ActionCondition>
</ActionConditions>
<Inputs>
<Input Row="1" Col="1" Name="XMLFILE" Label="XML file" DefaultValue="~/App_Data/iScheduler/iScheduler.xml"/>
<Input Row="8" Col="1" Name="SCHEDULEID" Label="scheduleid Active ONLY"/>
<Input Row="8" Col="2" Name="SCHEDULEIDALL" Label="scheduleid ALL"/>
</Inputs>
</WebForm>
</WebForms>
</WebFormXML>