/
ws_workunits.ecm
1964 lines (1722 loc) · 51 KB
/
ws_workunits.ecm
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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
############################################################################## */
#include "xslprocessor.hpp"
// ===========================================================================
EspInclude(common);
//The ESPenum ECLWUActions has to be matched by the ECLWUActionNames[] in ws_workunitsService.cpp.
ESPenum ECLWUActions : string
{
Abort("Abort"),
Delete("Delete"),
EventDeschedule("Deschedule"),
EventReschedule("Reschedule"),
Pause("Pause"),
PauseNow("PauseNow"),
Protect("Protect"),
Unprotect("Unprotect"),
Restore("Restore"),
Resume("Resume"),
SetToFailed("SetToFailed"),
};
ESPStruct [nil_remove] ECLException
{
string Source;
string Severity;
int Code;
string Message;
string FileName;
int LineNo;
int Column;
[min_ver("1.63")] int Activity;
[min_ver("1.69")] string Scope;
[min_ver("1.69")] int Priority;
};
// ===========================================================================
ESPStruct [nil_remove] ECLSchemaItem
{
string ColumnName;
string ColumnType;
int ColumnTypeCode;
bool isConditional(false);
};
// ===========================================================================
ESPStruct [nil_remove] ECLResult
{
string Name;
int Sequence;
string Value;
string Link;
string FileName;
bool IsSupplied;
bool ShowFileContent(true);
int64 Total;
ESParray<ESPstruct ECLSchemaItem> ECLSchemas;
[min_ver("1.39")] string XmlSchema;
};
// ===========================================================================
ESPStruct [nil_remove] ECLTimingData
{
string Name;
int GraphNum;
int SubGraphNum;
int GID;
int Min;
int MS;
};
// ===========================================================================
ESPStruct [nil_remove] ECLGraph
{
string Name;
string Label;
string Type;
bool Running;
[min_ver("1.09")] bool Complete;
[min_ver("1.14")] bool Failed;
int64 RunningId;
[min_ver("1.53")]string WhenStarted;
[min_ver("1.53")]string WhenFinished;
};
// ===========================================================================
ESPStruct [nil_remove] ECLGraphEx
{
string Name;
string Label;
string Type;
string Graph;
bool Running;
int64 RunningId;
[min_ver("1.21")] bool Complete;
[min_ver("1.21")] bool Failed;
};
// ===========================================================================
ESPStruct [nil_remove] ECLSourceFile
{
[min_ver("1.01")] string FileCluster;
string Name;
[min_ver("1.12")] bool IsSuperFile;
[min_ver("1.27")] int Subs;
int Count;
[min_ver("1.27")] ESParray<ESPstruct ECLSourceFile> ECLSourceFiles;
};
// ===========================================================================
ESPStruct [nil_remove] ECLTimer
{
string Name;
string Value;
int count;
[min_ver("1.20")] string GraphName;
[min_ver("1.20")] int SubGraphId;
};
// ===========================================================================
ESPStruct [nil_remove] ECLHelpFile
{
string Name;
string Type;
[min_ver("1.32")] string IPAddress;
[min_ver("1.32")] string Description;
[min_ver("1.43")] int64 FileSize;
[min_ver("1.44")] unsigned PID(0);
[min_ver("1.58")] unsigned minActivityId(0);
[min_ver("1.58")] unsigned maxActivityId(0);
};
// ===========================================================================
ESPStruct [nil_remove] ECLQuery
{
string Text;
string Cpp;
string ResTxt;
string Dll;
string ThorLog;
[min_ver("1.35")] string QueryMainDefinition;
};
// ===========================================================================
ESPStruct [nil_remove] DebugValue
{
string Name;
string Value;
};
ESPStruct [nil_remove] WUActionResult
{
string Wuid;
string Action;
string Result;
};
ESPStruct [nil_remove] ApplicationValue
{
string Application;
string Name;
string Value;
};
ESPStruct [nil_remove] ECLWorkflow
{
string WFID;
string EventName("");
string EventText("");
int Count(-1);
int CountRemaining(-1);
};
ESPStruct [nil_remove] ThorLogInfo
{
string ProcessName;
string ClusterGroup;
string LogDate;
int NumberSlaves;
};
ESPStruct [nil_remove] ECLWorkunitLW
{
string Wuid;
string Owner; //IConstWorkUnitInfo queryUser()
string JobName;
string WuScope;
string ClusterName;
int State;
string StateDesc;
int Action;
string ActionDesc;
int Priority;
string PriorityDesc;
int PriorityLevel;
bool IsProtected;
xsdDateTime DateTimeScheduled;
unsigned TotalClusterTime;
ESParray<ESPstruct ApplicationValue> ApplicationValues;
};
ESPStruct [nil_remove] ECLWorkunit
{
string Wuid;
string Owner;
string Cluster;
[min_ver("1.07")] string RoxieCluster;
string Jobname;
string Queue;
int StateID; //Equiv to workunit::state
string State; //Equiv to workunit::stateDesc
string StateEx;
string Description;
bool Protected;
bool Active;
int Action;
[min_ver("1.33")] string ActionEx;
xsdDateTime DateTimeScheduled;
int PriorityClass;
int PriorityLevel;
string Scope;
string Snapshot;
int ResultLimit;
[min_ver("1.01")] bool Archived;
[min_ver("1.30")] bool IsPausing(false);
[min_ver("1.30")] bool ThorLCR(false);
[min_ver("1.01")] int EventSchedule;
[min_ver("1.02")] bool HaveSubGraphTimings;
[min_ver("1.28"), depr_ver("1.53")] string TotalThorTime;
[min_ver("1.53")] string TotalClusterTime;
[min_ver("1.59")] string AbortBy;
[min_ver("1.59")] string AbortTime;
ESPstruct ECLQuery Query;
[min_ver("1.03")] ESParray<ESPstruct ECLHelpFile> Helpers;
ESParray<ESPstruct ECLException> Exceptions;
ESParray<ESPstruct ECLGraph> Graphs;
ESParray<ESPstruct ECLSourceFile> SourceFiles;
ESParray<ESPstruct ECLResult> Results;
ESParray<ESPstruct ECLResult> Variables;
ESParray<ESPstruct ECLTimer> Timers;
ESParray<ESPstruct DebugValue> DebugValues;
ESParray<ESPstruct ApplicationValue> ApplicationValues;
[min_ver("1.01")] ESParray<ESPstruct ECLWorkflow> Workflows;
[min_ver("1.02")] ESParray<ESPstruct ECLTimingData> TimingData;
[min_ver("1.05")] ESParray<string, AllowedCluster> AllowedClusters;
[min_ver("1.17")] int ErrorCount;
[min_ver("1.17")] int WarningCount;
[min_ver("1.17")] int InfoCount;
[min_ver("1.52")] int AlertCount;
[min_ver("1.17")] int GraphCount;
[min_ver("1.17")] int SourceFileCount;
[min_ver("1.17")] int ResultCount;
[min_ver("1.17")] int VariableCount;
[min_ver("1.17")] int TimerCount;
[min_ver("1.17")] bool HasDebugValue;
[min_ver("1.17")] int ApplicationValueCount;
[min_ver("1.22")] string XmlParams;
[min_ver("1.23")] int AccessFlag;
[min_ver("1.24")] int ClusterFlag;
[min_ver("1.29")] string HelpersDesc;
[min_ver("1.29")] string GraphsDesc;
[min_ver("1.29")] string SourceFilesDesc;
[min_ver("1.29")] string ResultsDesc;
[min_ver("1.29")] string VariablesDesc;
[min_ver("1.29")] string TimersDesc;
[min_ver("1.29")] string DebugValuesDesc;
[min_ver("1.29")] string ApplicationValuesDesc;
[min_ver("1.29")] string WorkflowsDesc;
[min_ver("1.31")] bool HasArchiveQuery;
[min_ver("1.38")] ESParray<ESPstruct ThorLogInfo> ThorLogList;
[min_ver("1.47")] ESParray<string, URL> ResourceURLs;
[min_ver("1.50")] int ResultViewCount;
[min_ver("1.50")] int ResourceURLCount;
[min_ver("1.50")] int DebugValueCount;
[min_ver("1.50")] int WorkflowCount;
[min_ver("1.67")] int HelpersCount;
};
ESPStruct [nil_remove] WUECLAttribute
{
string ModuleName;
string AttributeName;
bool IsLocked;
bool IsCheckedOut;
bool IsSandbox;
bool IsOrphaned;
};
// ===========================================================================
ESPStruct NetworkNode
{
int Category;
string id;
};
ESPStruct [nil_remove] ClusterEndpoint
{
string URL;
string Status;
int NumQueryFileToCopy;
};
ESPStruct LogicalFileUpload
{
int Type;
string Source;
string Destination;
string EventTag;
};
// ===========================================================================
ESPStruct [nil_remove] ECLJob
{
string Wuid;
string Graph;
string State;
string StartedDate;
string FinishedDate;
string Cluster;
[min_ver("1.06")] string GraphNum;
[min_ver("1.06")] string SubGraphNum;
[min_ver("1.06")] string NumOfRuns;
[min_ver("1.06")] int Duration;
};
ESPStruct [nil_remove] ThorQueue
{
string DT;
string RunningWUs;
string QueuedWUs;
string WaitingThors;
string ConnectedThors;
string IdledThors;
string RunningWU1;
string RunningWU2;
};
ESPStruct [nil_remove] ResubmittedWU
{
string WUID;
string ParentWUID;
};
ESPrequest [nil_remove] WUCreateRequest
{
};
ESPresponse [exceptions_inline] WUCreateResponse
{
ESPstruct ECLWorkunit Workunit;
};
ESPrequest [nil_remove] WUDeployWorkunitRequest
{
string Cluster;
string Name;
int Wait(-1);
string ObjType;
string FileName;
binary Object;
int ResultLimit;
string QueryMainDefinition;
string Snapshot;
ESParray<ESPstruct NamedValue> DebugValues;
};
ESPresponse [exceptions_inline] WUDeployWorkunitResponse
{
ESPstruct ECLWorkunit Workunit;
};
ESPrequest [nil_remove] WUQueryRequest
{
string Wuid;
[min_ver("1.01")] string Type; //archived or non-archived
string Cluster;
[min_ver("1.08")] string RoxieCluster;
string Owner;
string State;
string StartDate;
string EndDate;
string ECL;
string Jobname;
string LogicalFile;
string LogicalFileSearchType("");
[depr_ver("1.57")] string ApplicationName;
[depr_ver("1.57")] string ApplicationKey;
[depr_ver("1.57")] string ApplicationData;
[min_ver("1.57")] ESParray<ESPstruct ApplicationValue> ApplicationValues;
string After;
string Before;
int Count;
[min_ver("1.03")] int64 PageSize(0);
[min_ver("1.03")] int64 PageStartFrom(0);
[min_ver("1.03")] int64 PageEndAt;
[min_ver("1.26")] int LastNDays;
string Sortby;
bool Descending(false);
int64 CacheHint;
};
ESPresponse [nil_remove, exceptions_inline] WUQueryResponse
{
[min_ver("1.01")] string Type(""); //archived or non-archived
string Cluster;
[min_ver("1.08")] string RoxieCluster;
string Owner;
string State;
string StartDate;
string EndDate;
string ECL;
string Jobname;
[min_ver("1.01")] string LogicalFile;
[min_ver("1.01")] string LogicalFileSearchType("");
string Current;
string Next;
int Count(0);
[min_ver("1.03")] int64 PageSize(0);
[min_ver("1.03")] int64 PrevPage;
[min_ver("1.03")] int64 NextPage;
[min_ver("1.03")] int64 LastPage(-1);
int NumWUs;
bool First(true);
[min_ver("1.03")] int64 PageStartFrom(-1);
[min_ver("1.03")] int64 PageEndAt;
[min_ver("1.26")] int LastNDays;
string Sortby;
bool Descending(false);
string BasicQuery;
string Filters;
[min_ver("1.41")] int64 CacheHint;
ESParray<ESPstruct ECLWorkunit> Workunits;
};
ESPrequest [nil_remove] WULightWeightQueryRequest
{
string Wuid;
string Type; //archived or non-archived
string Cluster;
string Owner;
string JobName;
string StartDate;
string EndDate;
string State;
ESParray<ESPstruct ApplicationValue> ApplicationValues;
int64 PageStartFrom;
unsigned PageSize;
string SortBy;
bool Descending(false);
int64 CacheHint;
};
ESPresponse [nil_remove, exceptions_inline] WULightWeightQueryResponse
{
int NumWUs;
int64 CacheHint;
ESParray<ESPstruct ECLWorkunitLW> Workunits;
};
ESPrequest [nil_remove] WUUpdateRequest
{
string Wuid;
int State;
int StateOrig;
string Jobname;
string JobnameOrig;
string QueryText;
int Action;
string Description;
string DescriptionOrig;
bool AddDrilldownFields;
int ResultLimit; //unsigned?
[http_nillable(0)] bool Protected;
[http_nillable(0)] bool ProtectedOrig;
int PriorityClass;
int PriorityLevel;
string Scope;
string ScopeOrig;
[min_ver("1.05")] string ClusterSelection;
[min_ver("1.05")] string ClusterOrig;
[min_ver("1.22")] string XmlParams;
[min_ver("1.25")] string ThorSlaveIP;
[min_ver("1.35")] string QueryMainDefinition;
ESParray<ESPstruct DebugValue> DebugValues;
ESParray<ESPstruct ApplicationValue> ApplicationValues;
};
ESPresponse [exceptions_inline] WUUpdateResponse
{
ESPstruct ECLWorkunit Workunit;
};
ESPrequest WUDeleteRequest
{
ESParray<string> Wuids;
[min_ver("1.02")] int BlockTillFinishTimer(0);
};
ESPresponse [exceptions_inline] WUDeleteResponse
{
ESParray<ESPstruct WUActionResult> ActionResults;
};
/* html */
ESPrequest [nil_remove] WUActionRequest
{
ESParray<string> Wuids;
[depr_ver("1.57")] string ActionType;
[min_ver("1.57")] ESPenum ECLWUActions WUActionType;
string Cluster;
string Owner;
string State;
string StartDate;
string EndDate;
string ECL;
string Jobname;
string Test;
string CurrentPage("");
[min_ver("1.03")] string PageSize("");
string Sortby;
bool Descending(false);
//[min_ver("1.01")] string SashaNetAddress;
[min_ver("1.01")] string EventServer("");
[min_ver("1.01")] string EventName("");
//[min_ver("1.01")] string EventText("");
[min_ver("1.01")] string PageFrom("");
[min_ver("1.02")] int BlockTillFinishTimer(0);
};
ESPresponse [exceptions_inline] WUActionResponse
{
ESParray<ESPstruct WUActionResult> ActionResults;
};
ESPrequest WUAbortRequest
{
ESParray<string> Wuids;
[min_ver("1.02")] int BlockTillFinishTimer(0);
};
ESPresponse [exceptions_inline] WUAbortResponse
{
ESParray<ESPstruct WUActionResult> ActionResults;
};
ESPrequest WUProtectRequest
{
ESParray<string> Wuids;
bool Protect(true);
};
ESPresponse [exceptions_inline] WUProtectResponse
{
ESParray<ESPstruct WUActionResult> ActionResults;
};
ESPrequest WUResubmitRequest
{
ESParray<string> Wuids;
[max_ver("1.30")] bool Recompile;
[min_ver("1.02")] int BlockTillFinishTimer(0);
bool ResetWorkflow;
bool CloneWorkunit;
};
ESPresponse [exceptions_inline] WUResubmitResponse
{
[min_ver("1.40")] ESParray<ESPstruct ResubmittedWU, WU> WUs;
};
ESPenum WUQueryActivationMode : int
{
NoActivate(0, "Do not activate query"),
Activate(1, "Activate query"),
ActivateSuspendPrevious(2, "Activate query, suspend previous"),
ActivateDeletePrevious(3, "Activate query, delete previous")
};
ESPrequest [nil_remove] WURecreateQueryRequest
{
string Target;
string QueryId;
ESParray<ESPstruct NamedValue> DebugValues;
string DestTarget;
bool Republish(0);
ESPEnum WUQueryActivationMode Activate;
bool NoReload(0);
string MemoryLimit;
nonNegativeInteger TimeLimit(0);
nonNegativeInteger WarnTimeLimit(0);
string Priority;
string Comment;
string RemoteDali;
bool DontCopyFiles(false);
string SourceProcess;
bool AllowForeignFiles(false);
bool UpdateDfs(false);
bool UpdateSuperFiles(false); //update content of superfiles if changed
bool UpdateCloneFrom(false); //explicity wan't to change where roxie will grab from
bool AppendCluster(true); //file exists on other local cluster, add new one, make optional in case of locking issues, but should be made to work
bool IncludeFileErrors(false);
int Wait(-1);
};
ESPresponse [exceptions_inline, nil_remove] WURecreateQueryResponse
{
string Wuid;
string QuerySet;
string QueryName;
string QueryId;
string MemoryLimit;
nonNegativeInteger TimeLimit;
nonNegativeInteger WarnTimeLimit;
string Priority;
string Comment;
bool ReloadFailed;
bool Suspended;
string ErrorMessage;
ESParray<ESPStruct LogicalFileError, File> FileErrors;
};
ESPenum WUExceptionSeverity : string
{
INFO("info"),
WARNING("warning"),
ERROR("error"),
ALERT("alert")
};
ESPrequest WURunRequest
{
string QuerySet;
string Query;
string Wuid;
bool CloneWorkunit;
string Cluster;
int Wait(-1);
[rows(15)] string Input;
bool NoRootTag(0);
ESParray<ESPstruct NamedValue> DebugValues;
ESParray<ESPstruct NamedValue> Variables;
[min_ver("1.56")] ESParray<ESPstruct ApplicationValue> ApplicationValues;
ESPenum WUExceptionSeverity ExceptionSeverity("info");
};
ESPresponse [exceptions_inline] WURunResponse
{
string Wuid;
string State;
string Results;
};
ESPrequest WUSubmitRequest
{
string Wuid;
string Cluster;
string Queue;
string Snapshot;
int MaxRunTime;
[min_ver("1.02")] int BlockTillFinishTimer(0);
[min_ver("1.19")] bool SyntaxCheck(false);
bool NotifyCluster(false);
};
ESPresponse [exceptions_inline] WUSubmitResponse
{
};
ESPrequest WUScheduleRequest
{
string Wuid;
string Cluster;
string Queue;
string Snapshot;
xsdDateTime When;
int MaxRunTime;
};
ESPresponse [exceptions_inline] WUScheduleResponse
{
};
ESPrequest [nil_remove] WUPushEventRequest
{
string EventName("");
string EventText("");
};
ESPresponse [exceptions_inline] WUPushEventResponse
{
};
SCMenum WUINFOType
{
WUGRAPHS,
WUTIMINGS,
WUACTIONS,
WURESULTS
};
ESPrequest WUInfoRequest
{
string Wuid;
bool TruncateEclTo64k(true);
[min_ver("1.01")] string Type; //archieved or non-archieved
[min_ver("1.16")] bool IncludeExceptions(true);
[min_ver("1.16")] bool IncludeGraphs(true);
[min_ver("1.16")] bool IncludeSourceFiles(true);
[min_ver("1.16")] bool IncludeResults(true);
[min_ver("1.34")] bool IncludeResultsViewNames(false);
[min_ver("1.16")] bool IncludeVariables(true);
[min_ver("1.16")] bool IncludeTimers(true);
[min_ver("1.16")] bool IncludeDebugValues(true);
[min_ver("1.16")] bool IncludeApplicationValues(true);
[min_ver("1.16")] bool IncludeWorkflows(true);
[min_ver("1.39")] bool IncludeXmlSchemas(false);
[min_ver("1.47")] bool IncludeResourceURLs(false);
[min_ver("1.66")] bool IncludeECL(true);
[min_ver("1.66")] bool IncludeHelpers(true);
[min_ver("1.66")] bool IncludeAllowedClusters(true);
[min_ver("1.16")] bool SuppressResultSchemas(false);
[min_ver("1.25")] string ThorSlaveIP;
};
ESPresponse [exceptions_inline] WUInfoResponse
{
ESPstruct ECLWorkunit Workunit;
int AutoRefresh(0);
bool CanCompile;
[min_ver("1.25")] string ThorSlaveIP;
[min_ver("1.34")] ESParray<string, View> ResultViews;
[min_ver("1.54")] string SecMethod;
};
ESPrequest WUResultSummaryRequest
{
string Wuid;
int Sequence;
};
ESPresponse [exceptions_inline] WUResultSummaryResponse
{
string Wuid;
int Sequence;
int Format;
ESPStruct ECLResult Result;
};
/* html */
ESPrequest WULogFileRequest
{
string Name;
string Wuid;
string Type;
int Option;
[min_ver("1.10")] string SlaveIP;
[min_ver("1.32")] string IPAddress;
[min_ver("1.32")] string Description;
[min_ver("1.36")] string QuerySet;
[min_ver("1.36")] string Query;
[min_ver("1.38")] string Process;
[min_ver("1.38")] string ClusterGroup;
[min_ver("1.38")] string LogDate;
[min_ver("1.38")] int SlaveNumber(1);
[min_ver("1.55")] int64 SizeLimit(0);
string PlainText;
};
ESPresponse [exceptions_inline] WULogFileResponse
{
[min_ver("1.36")] string Wuid;
[min_ver("1.36")] string QuerySet;
[min_ver("1.36")] string QueryName;
[min_ver("1.36")] string QueryId;
[min_ver("1.36")] string FileName;
[min_ver("1.38")] string DaliServer;
[http_content("application/octet-stream")] binary thefile;
};
ESPrequest WUResultBinRequest
{
string LogicalName;
string Wuid;
string ResultName;
int Sequence;
string Format("raw");
[min_ver("1.50")] ESParray<ESPstruct NamedValue> FilterBy;
int64 Start(0);
int Count;
};
ESPresponse [exceptions_inline] WUResultBinResponse
{
string Wuid;
int Sequence;
string Name;
int64 Start;
int Count;
int Requested;
int64 Total;
[http_content("application/octet-stream")] binary Result;
string Format;
};
ESPrequest WUResultRequest
{
string Wuid;
int Sequence;
string ResultName;
string LogicalName;
string Cluster;
bool SuppressXmlSchema(0);
[min_ver("1.60")] bool BypassCachedResult(false);
[min_ver("1.50")] ESParray<ESPstruct NamedValue> FilterBy;
int64 Start(0);
int Count;
};
ESPresponse [exceptions_inline,http_encode(0)] WUResultResponse
{
string Wuid;
int Sequence;
string LogicalName;
string Cluster;
string Name;
int64 Start;
int Requested;
int Count;
int64 Total;
[json_inline(1)] string Result;
};
ESPrequest WUFullResultRequest
{
string Wuid;
bool NoRootTag(0);
ESPenum WUExceptionSeverity ExceptionSeverity("info");
};
ESPresponse [exceptions_inline,http_encode(0)] WUFullResultResponse
{
string Wuid;
[json_inline(1)] string Results;
};
ESPrequest WUResultViewRequest
{
string Wuid;
string ViewName;
int Sequence;
string ResultName;
};
ESPresponse [exceptions_inline] WUResultViewResponse
{
string Wuid;
string ViewName;
[http_content("text/html")] string Result;
};
ESPrequest WUClusterJobQueueXLSRequest
{
string Cluster;
string StartDate;
string EndDate;
string ShowType;
};
ESPresponse [exceptions_inline] WUClusterJobQueueXLSResponse
{
[http_content("application/octet-stream")] binary Result;
};
ESPrequest [nil_remove] WUClusterJobQueueLOGRequest
{
string Cluster;
string StartDate;
string EndDate;
};
ESPresponse [exceptions_inline] WUClusterJobQueueLOGResponse
{
[http_content("text/xml")] binary thefile;
};
ESPrequest WUClusterJobXLSRequest
{
string Cluster;
string StartDate;
string EndDate;
bool ShowAll;
string BusinessStartTime;
string BusinessEndTime;
};
ESPresponse [exceptions_inline] WUClusterJobXLSResponse
{
[http_content("application/octet-stream")] binary Result;
};
ESPrequest WUClusterJobSummaryXLSRequest
{
string Cluster;
string StartDate;
string EndDate;
bool ShowAll;
string BusinessStartTime;
string BusinessEndTime;
};
ESPresponse [exceptions_inline] WUClusterJobSummaryXLSResponse
{
[http_content("application/octet-stream")] binary Result;
};
ESPrequest GVCAjaxGraphRequest
{
string Name;
string GraphName;
[min_ver("1.20")] int SubGraphId;
[min_ver("1.21")] bool SubGraphOnly;
};
ESPresponse GVCAjaxGraphResponse
{
string Name;
string GraphName;
string GraphType;
[min_ver("1.20")] int SubGraphId;
[min_ver("1.21")] bool SubGraphOnly;
};
ESPrequest [nil_remove] WUGraphInfoRequest
{
string Wuid;
string Name;
[min_ver("1.02")] string GID;
[min_ver("1.15")] int BatchWU;
};
ESPresponse [exceptions_inline] WUGraphInfoResponse
{
string Wuid;
string Name;
[min_ver("1.02")] string GID;
[min_ver("1.15")] int BatchWU;
bool Running;
};
ESPrequest [nil_remove] WUGVCGraphInfoRequest
{
string Wuid;
string Name;
string GID;
[min_ver("1.15")] int BatchWU;
[min_ver("1.18")] int SubgraphId;
};
ESPresponse [exceptions_inline, http_encode(0)] WUGVCGraphInfoResponse
{