ws_workunits.ecm 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. #include "xslprocessor.hpp"
  14. // ===========================================================================
  15. EspInclude(common);
  16. ESPStruct [nil_remove] ECLException
  17. {
  18. string Source;
  19. string Severity;
  20. int Code;
  21. string Message;
  22. string FileName;
  23. int LineNo;
  24. int Column;
  25. };
  26. // ===========================================================================
  27. ESPStruct [nil_remove] ECLSchemaItem
  28. {
  29. string ColumnName;
  30. string ColumnType;
  31. int ColumnTypeCode;
  32. bool isConditional(false);
  33. };
  34. // ===========================================================================
  35. ESPStruct [nil_remove] ECLResult
  36. {
  37. string Name;
  38. int Sequence;
  39. string Value;
  40. string Link;
  41. string FileName;
  42. bool IsSupplied;
  43. bool ShowFileContent(true);
  44. int64 Total;
  45. ESParray<ESPstruct ECLSchemaItem> ECLSchemas;
  46. [min_ver("1.39")] string XmlSchema;
  47. };
  48. // ===========================================================================
  49. ESPStruct [nil_remove] ECLTimingData
  50. {
  51. string Name;
  52. int GraphNum;
  53. int SubGraphNum;
  54. int GID;
  55. int Min;
  56. int MS;
  57. };
  58. // ===========================================================================
  59. ESPStruct [nil_remove] ECLGraph
  60. {
  61. string Name;
  62. string Label;
  63. string Type;
  64. bool Running;
  65. [min_ver("1.09")] bool Complete;
  66. [min_ver("1.14")] bool Failed;
  67. int64 RunningId;
  68. };
  69. // ===========================================================================
  70. ESPStruct [nil_remove] ECLGraphEx
  71. {
  72. string Name;
  73. string Label;
  74. string Type;
  75. string Graph;
  76. bool Running;
  77. int64 RunningId;
  78. [min_ver("1.21")] bool Complete;
  79. [min_ver("1.21")] bool Failed;
  80. };
  81. // ===========================================================================
  82. ESPStruct [nil_remove] ECLSourceFile
  83. {
  84. [min_ver("1.01")] string FileCluster;
  85. string Name;
  86. [min_ver("1.12")] bool IsSuperFile;
  87. [min_ver("1.27")] int Subs;
  88. int Count;
  89. [min_ver("1.27")] ESParray<ESPstruct ECLSourceFile> ECLSourceFiles;
  90. };
  91. // ===========================================================================
  92. ESPStruct [nil_remove] ECLTimer
  93. {
  94. string Name;
  95. string Value;
  96. int count;
  97. [min_ver("1.20")] string GraphName;
  98. [min_ver("1.20")] int SubGraphId;
  99. };
  100. // ===========================================================================
  101. ESPStruct [nil_remove] ECLHelpFile
  102. {
  103. string Name;
  104. string Type;
  105. [min_ver("1.32")] string IPAddress;
  106. [min_ver("1.32")] string Description;
  107. [min_ver("1.43")] int64 FileSize;
  108. [min_ver("1.44")] unsigned PID(0);
  109. };
  110. // ===========================================================================
  111. ESPStruct [nil_remove] ECLQuery
  112. {
  113. string Text;
  114. string Cpp;
  115. string ResTxt;
  116. string Dll;
  117. string ThorLog;
  118. [min_ver("1.35")] string QueryMainDefinition;
  119. };
  120. // ===========================================================================
  121. ESPStruct [nil_remove] DebugValue
  122. {
  123. string Name;
  124. string Value;
  125. };
  126. ESPStruct [nil_remove] WUActionResult
  127. {
  128. string Wuid;
  129. string Action;
  130. string Result;
  131. };
  132. ESPStruct [nil_remove] ApplicationValue
  133. {
  134. string Application;
  135. string Name;
  136. string Value;
  137. };
  138. ESPStruct [nil_remove] ECLWorkflow
  139. {
  140. string WFID;
  141. string EventName("");
  142. string EventText("");
  143. int Count(-1);
  144. int CountRemaining(-1);
  145. };
  146. ESPStruct [nil_remove] ThorLogInfo
  147. {
  148. string ProcessName;
  149. string ClusterGroup;
  150. string LogDate;
  151. int NumberSlaves;
  152. };
  153. ESPStruct [nil_remove] ECLWorkunit
  154. {
  155. string Wuid;
  156. string Owner;
  157. string Cluster;
  158. [min_ver("1.07")] string RoxieCluster;
  159. string Jobname;
  160. string Queue;
  161. int StateID; //Equiv to workunit::state
  162. string State; //Equiv to workunit::stateDesc
  163. string StateEx;
  164. string Description;
  165. bool Protected;
  166. bool Active;
  167. int Action;
  168. [min_ver("1.33")] string ActionEx;
  169. xsdDateTime DateTimeScheduled;
  170. int PriorityClass;
  171. int PriorityLevel;
  172. string Scope;
  173. string Snapshot;
  174. int ResultLimit;
  175. [min_ver("1.01")] bool Archived;
  176. [min_ver("1.30")] bool IsPausing(false);
  177. [min_ver("1.30")] bool ThorLCR(false);
  178. [min_ver("1.01")] int EventSchedule;
  179. [min_ver("1.02")] bool HaveSubGraphTimings;
  180. [min_ver("1.28")] string TotalThorTime;
  181. ESPstruct ECLQuery Query;
  182. [min_ver("1.03")] ESParray<ESPstruct ECLHelpFile> Helpers;
  183. ESParray<ESPstruct ECLException> Exceptions;
  184. ESParray<ESPstruct ECLGraph> Graphs;
  185. ESParray<ESPstruct ECLSourceFile> SourceFiles;
  186. ESParray<ESPstruct ECLResult> Results;
  187. ESParray<ESPstruct ECLResult> Variables;
  188. ESParray<ESPstruct ECLTimer> Timers;
  189. ESParray<ESPstruct DebugValue> DebugValues;
  190. ESParray<ESPstruct ApplicationValue> ApplicationValues;
  191. [min_ver("1.01")] ESParray<ESPstruct ECLWorkflow> Workflows;
  192. [min_ver("1.02")] ESParray<ESPstruct ECLTimingData> TimingData;
  193. [min_ver("1.05")] ESParray<string, AllowedCluster> AllowedClusters;
  194. [min_ver("1.17")] int ErrorCount;
  195. [min_ver("1.17")] int WarningCount;
  196. [min_ver("1.17")] int InfoCount;
  197. [min_ver("1.17")] int GraphCount;
  198. [min_ver("1.17")] int SourceFileCount;
  199. [min_ver("1.17")] int ResultCount;
  200. [min_ver("1.17")] int VariableCount;
  201. [min_ver("1.17")] int TimerCount;
  202. [min_ver("1.17")] bool HasDebugValue;
  203. [min_ver("1.17")] int ApplicationValueCount;
  204. [min_ver("1.22")] string XmlParams;
  205. [min_ver("1.23")] int AccessFlag;
  206. [min_ver("1.24")] int ClusterFlag;
  207. [min_ver("1.29")] string HelpersDesc;
  208. [min_ver("1.29")] string GraphsDesc;
  209. [min_ver("1.29")] string SourceFilesDesc;
  210. [min_ver("1.29")] string ResultsDesc;
  211. [min_ver("1.29")] string VariablesDesc;
  212. [min_ver("1.29")] string TimersDesc;
  213. [min_ver("1.29")] string DebugValuesDesc;
  214. [min_ver("1.29")] string ApplicationValuesDesc;
  215. [min_ver("1.29")] string WorkflowsDesc;
  216. [min_ver("1.31")] bool HasArchiveQuery(false);
  217. [min_ver("1.49")] int64 WUXMLSize;
  218. [min_ver("1.38")] ESParray<ESPstruct ThorLogInfo> ThorLogList;
  219. [min_ver("1.47")] ESParray<string, URL> ResourceURLs;
  220. [min_ver("1.50")] int ResultViewCount;
  221. [min_ver("1.50")] int ResourceURLCount;
  222. [min_ver("1.50")] int DebugValueCount;
  223. [min_ver("1.50")] int WorkflowCount;
  224. };
  225. ESPStruct [nil_remove] WUECLAttribute
  226. {
  227. string ModuleName;
  228. string AttributeName;
  229. bool IsLocked;
  230. bool IsCheckedOut;
  231. bool IsSandbox;
  232. bool IsOrphaned;
  233. };
  234. // ===========================================================================
  235. ESPStruct NetworkNode
  236. {
  237. int Category;
  238. string id;
  239. };
  240. ESPStruct LogicalFileUpload
  241. {
  242. int Type;
  243. string Source;
  244. string Destination;
  245. string EventTag;
  246. };
  247. // ===========================================================================
  248. ESPStruct [nil_remove] ECLJob
  249. {
  250. string Wuid;
  251. string Graph;
  252. string State;
  253. string StartedDate;
  254. string FinishedDate;
  255. string Cluster;
  256. [min_ver("1.06")] string GraphNum;
  257. [min_ver("1.06")] string SubGraphNum;
  258. [min_ver("1.06")] string NumOfRuns;
  259. [min_ver("1.06")] int Duration;
  260. };
  261. ESPStruct [nil_remove] ThorQueue
  262. {
  263. string DT;
  264. string RunningWUs;
  265. string QueuedWUs;
  266. string WaitingThors;
  267. string ConnectedThors;
  268. string IdledThors;
  269. string RunningWU1;
  270. string RunningWU2;
  271. };
  272. ESPStruct [nil_remove] ResubmittedWU
  273. {
  274. string WUID;
  275. string ParentWUID;
  276. };
  277. ESPrequest [nil_remove] WUCreateRequest
  278. {
  279. };
  280. ESPresponse [exceptions_inline] WUCreateResponse
  281. {
  282. ESPstruct ECLWorkunit Workunit;
  283. };
  284. ESPrequest [nil_remove] WUDeployWorkunitRequest
  285. {
  286. string Cluster;
  287. string Name;
  288. int Wait(-1);
  289. string ObjType;
  290. string FileName;
  291. binary Object;
  292. int ResultLimit;
  293. string QueryMainDefinition;
  294. string Snapshot;
  295. ESParray<ESPstruct NamedValue> DebugValues;
  296. };
  297. ESPresponse [exceptions_inline] WUDeployWorkunitResponse
  298. {
  299. ESPstruct ECLWorkunit Workunit;
  300. };
  301. ESPrequest [nil_remove] WUQueryRequest
  302. {
  303. string Wuid;
  304. [min_ver("1.01")] string Type; //archieved or non-archieved
  305. string Cluster;
  306. [min_ver("1.08")] string RoxieCluster;
  307. string Owner;
  308. string State;
  309. string StartDate;
  310. string EndDate;
  311. string ECL;
  312. string Jobname;
  313. string LogicalFile;
  314. string LogicalFileSearchType("");
  315. string ApplicationName;
  316. string ApplicationKey;
  317. string ApplicationData;
  318. string After;
  319. string Before;
  320. int Count;
  321. [min_ver("1.03")] int64 PageSize(0);
  322. [min_ver("1.03")] int64 PageStartFrom(0);
  323. [min_ver("1.03")] int64 PageEndAt;
  324. [min_ver("1.26")] int LastNDays;
  325. string Sortby;
  326. bool Descending(false);
  327. int64 CacheHint;
  328. };
  329. ESPresponse [nil_remove, exceptions_inline] WUQueryResponse
  330. {
  331. [min_ver("1.01")] string Type(""); //archieved or non-archieved
  332. string Cluster;
  333. [min_ver("1.08")] string RoxieCluster;
  334. string Owner;
  335. string State;
  336. string StartDate;
  337. string EndDate;
  338. string ECL;
  339. string Jobname;
  340. [min_ver("1.01")] string LogicalFile;
  341. [min_ver("1.01")] string LogicalFileSearchType("");
  342. string Current;
  343. string Next;
  344. int Count(0);
  345. [min_ver("1.03")] int64 PageSize(0);
  346. [min_ver("1.03")] int64 PrevPage;
  347. [min_ver("1.03")] int64 NextPage;
  348. [min_ver("1.03")] int64 LastPage(-1);
  349. int NumWUs;
  350. bool First(true);
  351. [min_ver("1.03")] int64 PageStartFrom(-1);
  352. [min_ver("1.03")] int64 PageEndAt;
  353. [min_ver("1.26")] int LastNDays;
  354. string Sortby;
  355. bool Descending(false);
  356. string BasicQuery;
  357. string Filters;
  358. [min_ver("1.41")] int64 CacheHint;
  359. ESParray<ESPstruct ECLWorkunit> Workunits;
  360. };
  361. ESPrequest [nil_remove] WUUpdateRequest
  362. {
  363. string Wuid;
  364. int State;
  365. int StateOrig;
  366. string Jobname;
  367. string JobnameOrig;
  368. string QueryText;
  369. int Action;
  370. string Description;
  371. string DescriptionOrig;
  372. bool AddDrilldownFields;
  373. int ResultLimit; //unsigned?
  374. [http_nillable(0)] bool Protected;
  375. [http_nillable(0)] bool ProtectedOrig;
  376. int PriorityClass;
  377. int PriorityLevel;
  378. string Scope;
  379. string ScopeOrig;
  380. [min_ver("1.05")] string ClusterSelection;
  381. [min_ver("1.05")] string ClusterOrig;
  382. [min_ver("1.22")] string XmlParams;
  383. [min_ver("1.25")] string ThorSlaveIP;
  384. [min_ver("1.35")] string QueryMainDefinition;
  385. ESParray<ESPstruct DebugValue> DebugValues;
  386. ESParray<ESPstruct ApplicationValue> ApplicationValues;
  387. };
  388. ESPresponse [exceptions_inline] WUUpdateResponse
  389. {
  390. ESPstruct ECLWorkunit Workunit;
  391. };
  392. ESPrequest WUDeleteRequest
  393. {
  394. ESParray<string> Wuids;
  395. [min_ver("1.02")] int BlockTillFinishTimer(0);
  396. };
  397. ESPresponse [exceptions_inline] WUDeleteResponse
  398. {
  399. ESParray<ESPstruct WUActionResult> ActionResults;
  400. };
  401. /* html */
  402. ESPrequest [nil_remove] WUActionRequest
  403. {
  404. ESParray<string> Wuids;
  405. string ActionType;
  406. string Cluster;
  407. string Owner;
  408. string State;
  409. string StartDate;
  410. string EndDate;
  411. string ECL;
  412. string Jobname;
  413. string Test;
  414. string CurrentPage("");
  415. [min_ver("1.03")] string PageSize("");
  416. string Sortby;
  417. bool Descending(false);
  418. //[min_ver("1.01")] string SashaNetAddress;
  419. [min_ver("1.01")] string EventServer("");
  420. [min_ver("1.01")] string EventName("");
  421. //[min_ver("1.01")] string EventText("");
  422. [min_ver("1.01")] string PageFrom("");
  423. [min_ver("1.02")] int BlockTillFinishTimer(0);
  424. };
  425. ESPresponse [exceptions_inline] WUActionResponse
  426. {
  427. ESParray<ESPstruct WUActionResult> ActionResults;
  428. };
  429. ESPrequest WUAbortRequest
  430. {
  431. ESParray<string> Wuids;
  432. [min_ver("1.02")] int BlockTillFinishTimer(0);
  433. };
  434. ESPresponse [exceptions_inline] WUAbortResponse
  435. {
  436. ESParray<ESPstruct WUActionResult> ActionResults;
  437. };
  438. ESPrequest WUProtectRequest
  439. {
  440. ESParray<string> Wuids;
  441. bool Protect(true);
  442. };
  443. ESPresponse [exceptions_inline] WUProtectResponse
  444. {
  445. ESParray<ESPstruct WUActionResult> ActionResults;
  446. };
  447. ESPrequest WUResubmitRequest
  448. {
  449. ESParray<string> Wuids;
  450. [max_ver("1.30")] bool Recompile;
  451. [min_ver("1.02")] int BlockTillFinishTimer(0);
  452. bool ResetWorkflow;
  453. bool CloneWorkunit;
  454. };
  455. ESPresponse [exceptions_inline] WUResubmitResponse
  456. {
  457. [min_ver("1.40")] ESParray<ESPstruct ResubmittedWU, WU> WUs;
  458. };
  459. ESPenum WUExceptionSeverity : string
  460. {
  461. INFO("info"),
  462. WARNING("warning"),
  463. ERROR("error")
  464. };
  465. ESPrequest WURunRequest
  466. {
  467. string QuerySet;
  468. string Query;
  469. string Wuid;
  470. bool CloneWorkunit;
  471. string Cluster;
  472. int Wait(-1);
  473. [rows(15)] string Input;
  474. bool NoRootTag(0);
  475. ESParray<ESPstruct NamedValue> DebugValues;
  476. ESParray<ESPstruct NamedValue> Variables;
  477. ESPenum WUExceptionSeverity ExceptionSeverity("info");
  478. };
  479. ESPresponse [exceptions_inline] WURunResponse
  480. {
  481. string Wuid;
  482. string State;
  483. string Results;
  484. };
  485. ESPrequest WUSubmitRequest
  486. {
  487. string Wuid;
  488. string Cluster;
  489. string Queue;
  490. string Snapshot;
  491. int MaxRunTime;
  492. [min_ver("1.02")] int BlockTillFinishTimer(0);
  493. [min_ver("1.19")] bool SyntaxCheck(false);
  494. bool NotifyCluster(false);
  495. };
  496. ESPresponse [exceptions_inline] WUSubmitResponse
  497. {
  498. };
  499. ESPrequest WUScheduleRequest
  500. {
  501. string Wuid;
  502. string Cluster;
  503. string Queue;
  504. string Snapshot;
  505. xsdDateTime When;
  506. int MaxRunTime;
  507. };
  508. ESPresponse [exceptions_inline] WUScheduleResponse
  509. {
  510. };
  511. ESPrequest [nil_remove] WUPushEventRequest
  512. {
  513. string EventName("");
  514. string EventText("");
  515. };
  516. ESPresponse [exceptions_inline] WUPushEventResponse
  517. {
  518. };
  519. SCMenum WUINFOType
  520. {
  521. WUGRAPHS,
  522. WUTIMINGS,
  523. WUACTIONS,
  524. WURESULTS
  525. };
  526. ESPrequest WUInfoRequest
  527. {
  528. string Wuid;
  529. bool TruncateEclTo64k(true);
  530. [min_ver("1.01")] string Type; //archieved or non-archieved
  531. [min_ver("1.16")] bool IncludeExceptions(true);
  532. [min_ver("1.16")] bool IncludeGraphs(true);
  533. [min_ver("1.16")] bool IncludeSourceFiles(true);
  534. [min_ver("1.16")] bool IncludeResults(true);
  535. [min_ver("1.34")] bool IncludeResultsViewNames(false);
  536. [min_ver("1.16")] bool IncludeVariables(true);
  537. [min_ver("1.16")] bool IncludeTimers(true);
  538. [min_ver("1.16")] bool IncludeDebugValues(true);
  539. [min_ver("1.16")] bool IncludeApplicationValues(true);
  540. [min_ver("1.16")] bool IncludeWorkflows(true);
  541. [min_ver("1.39")] bool IncludeXmlSchemas(false);
  542. [min_ver("1.47")] bool IncludeResourceURLs(false);
  543. [min_ver("1.16")] bool SuppressResultSchemas(false);
  544. [min_ver("1.25")] string ThorSlaveIP;
  545. };
  546. ESPresponse [exceptions_inline] WUInfoResponse
  547. {
  548. ESPstruct ECLWorkunit Workunit;
  549. int AutoRefresh(0);
  550. bool CanCompile;
  551. [min_ver("1.25")] string ThorSlaveIP;
  552. [min_ver("1.34")] ESParray<string, View> ResultViews;
  553. };
  554. ESPrequest WUResultSummaryRequest
  555. {
  556. string Wuid;
  557. int Sequence;
  558. };
  559. ESPresponse [exceptions_inline] WUResultSummaryResponse
  560. {
  561. string Wuid;
  562. int Sequence;
  563. int Format;
  564. ESPStruct ECLResult Result;
  565. };
  566. /* html */
  567. ESPrequest WULogFileRequest
  568. {
  569. string Name;
  570. string Wuid;
  571. string Type;
  572. int Option;
  573. [min_ver("1.10")] string SlaveIP;
  574. [min_ver("1.32")] string IPAddress;
  575. [min_ver("1.32")] string Description;
  576. [min_ver("1.36")] string QuerySet;
  577. [min_ver("1.36")] string Query;
  578. [min_ver("1.38")] string Process;
  579. [min_ver("1.38")] string ClusterGroup;
  580. [min_ver("1.38")] string LogDate;
  581. [min_ver("1.38")] int SlaveNumber(1);
  582. string PlainText;
  583. };
  584. ESPresponse [exceptions_inline] WULogFileResponse
  585. {
  586. [min_ver("1.36")] string Wuid;
  587. [min_ver("1.36")] string QuerySet;
  588. [min_ver("1.36")] string QueryName;
  589. [min_ver("1.36")] string QueryId;
  590. [min_ver("1.36")] string FileName;
  591. [min_ver("1.38")] string DaliServer;
  592. [http_content("application/octet-stream")] binary thefile;
  593. };
  594. ESPrequest WUResultBinRequest
  595. {
  596. string LogicalName;
  597. string Wuid;
  598. string ResultName;
  599. int Sequence;
  600. string Format("raw");
  601. [min_ver("1.50")] ESParray<ESPstruct NamedValue> FilterBy;
  602. int64 Start(0);
  603. int Count;
  604. };
  605. ESPresponse [exceptions_inline] WUResultBinResponse
  606. {
  607. string Wuid;
  608. int Sequence;
  609. string Name;
  610. int64 Start;
  611. int Count;
  612. int Requested;
  613. int64 Total;
  614. [http_content("application/octet-stream")] binary Result;
  615. string Format;
  616. };
  617. ESPrequest WUResultRequest
  618. {
  619. string Wuid;
  620. int Sequence;
  621. string ResultName;
  622. string LogicalName;
  623. string Cluster;
  624. bool SuppressXmlSchema(0);
  625. [min_ver("1.50")] ESParray<ESPstruct NamedValue> FilterBy;
  626. int64 Start(0);
  627. int Count;
  628. };
  629. ESPresponse [exceptions_inline,http_encode(0)] WUResultResponse
  630. {
  631. string Wuid;
  632. int Sequence;
  633. string LogicalName;
  634. string Cluster;
  635. string Name;
  636. int64 Start;
  637. int Requested;
  638. int Count;
  639. int64 Total;
  640. [json_inline(1)] string Result;
  641. };
  642. ESPrequest WUResultViewRequest
  643. {
  644. string Wuid;
  645. string ViewName;
  646. int Sequence;
  647. string ResultName;
  648. };
  649. ESPresponse [exceptions_inline] WUResultViewResponse
  650. {
  651. string Wuid;
  652. string ViewName;
  653. [http_content("text/html")] string Result;
  654. };
  655. ESPrequest WUClusterJobQueueXLSRequest
  656. {
  657. string Cluster;
  658. string StartDate;
  659. string EndDate;
  660. string ShowType;
  661. };
  662. ESPresponse [exceptions_inline] WUClusterJobQueueXLSResponse
  663. {
  664. [http_content("application/octet-stream")] binary Result;
  665. };
  666. ESPrequest [nil_remove] WUClusterJobQueueLOGRequest
  667. {
  668. string Cluster;
  669. string StartDate;
  670. string EndDate;
  671. };
  672. ESPresponse [exceptions_inline] WUClusterJobQueueLOGResponse
  673. {
  674. [http_content("text/xml")] binary thefile;
  675. };
  676. ESPrequest WUClusterJobXLSRequest
  677. {
  678. string Cluster;
  679. string StartDate;
  680. string EndDate;
  681. bool ShowAll;
  682. string BusinessStartTime;
  683. string BusinessEndTime;
  684. };
  685. ESPresponse [exceptions_inline] WUClusterJobXLSResponse
  686. {
  687. [http_content("application/octet-stream")] binary Result;
  688. };
  689. ESPrequest WUClusterJobSummaryXLSRequest
  690. {
  691. string Cluster;
  692. string StartDate;
  693. string EndDate;
  694. bool ShowAll;
  695. string BusinessStartTime;
  696. string BusinessEndTime;
  697. };
  698. ESPresponse [exceptions_inline] WUClusterJobSummaryXLSResponse
  699. {
  700. [http_content("application/octet-stream")] binary Result;
  701. };
  702. ESPrequest GVCAjaxGraphRequest
  703. {
  704. string Name;
  705. string GraphName;
  706. [min_ver("1.20")] int SubGraphId;
  707. [min_ver("1.21")] bool SubGraphOnly;
  708. };
  709. ESPresponse GVCAjaxGraphResponse
  710. {
  711. string Name;
  712. string GraphName;
  713. string GraphType;
  714. [min_ver("1.20")] int SubGraphId;
  715. [min_ver("1.21")] bool SubGraphOnly;
  716. };
  717. ESPrequest [nil_remove] WUGraphInfoRequest
  718. {
  719. string Wuid;
  720. string Name;
  721. [min_ver("1.02")] string GID;
  722. [min_ver("1.15")] int BatchWU;
  723. };
  724. ESPresponse [exceptions_inline] WUGraphInfoResponse
  725. {
  726. string Wuid;
  727. string Name;
  728. [min_ver("1.02")] string GID;
  729. [min_ver("1.15")] int BatchWU;
  730. bool Running;
  731. };
  732. ESPrequest [nil_remove] WUGVCGraphInfoRequest
  733. {
  734. string Wuid;
  735. string Name;
  736. string GID;
  737. [min_ver("1.15")] int BatchWU;
  738. [min_ver("1.18")] int SubgraphId;
  739. };
  740. ESPresponse [exceptions_inline, http_encode(0)] WUGVCGraphInfoResponse
  741. {
  742. string Wuid;
  743. string Name;
  744. string GID;
  745. bool Running;
  746. string TheGraph;
  747. [min_ver("1.15")] int BatchWU;
  748. };
  749. ESPrequest WUGraphTimingRequest
  750. {
  751. string Wuid;
  752. };
  753. ESPresponse [exceptions_inline] WUGraphTimingResponse
  754. {
  755. ESPstruct ECLWorkunit Workunit;
  756. };
  757. ESPrequest WUProcessGraphRequest
  758. {
  759. string Wuid;
  760. string Name;
  761. };
  762. ESPresponse [encode(0), exceptions_inline] WUProcessGraphResponse
  763. {
  764. string theGraph;
  765. };
  766. ESPrequest WUGetGraphRequest
  767. {
  768. string Wuid;
  769. [min_ver("1.19")] string GraphName;
  770. [min_version("1.21")] string SubGraphId;
  771. };
  772. ESPresponse [exceptions_inline] WUGetGraphResponse
  773. {
  774. ESParray<ESPstruct ECLGraphEx> Graphs;
  775. };
  776. ESPrequest WUQueryGetGraphRequest
  777. {
  778. string Target;
  779. string QueryId;
  780. [min_ver("1.19")] string GraphName;
  781. [min_version("1.21")] string SubGraphId;
  782. };
  783. ESPresponse [exceptions_inline] WUQueryGetGraphResponse
  784. {
  785. ESParray<ESPstruct ECLGraphEx> Graphs;
  786. };
  787. ESPrequest WUExportRequest
  788. {
  789. string Cluster;
  790. string Owner;
  791. string State;
  792. string StartDate;
  793. string EndDate;
  794. string ECL;
  795. string Jobname;
  796. };
  797. ESPresponse [exceptions_inline] WUExportResponse
  798. {
  799. [http_content("text/xml")] binary ExportData;
  800. };
  801. ESPrequest WUWaitRequest
  802. {
  803. string Wuid;
  804. int Wait(-1);
  805. bool ReturnOnWait(false);
  806. };
  807. ESPresponse [exceptions_inline] WUWaitResponse
  808. {
  809. int StateID;
  810. };
  811. ESPrequest WUSyntaxCheckRequest
  812. {
  813. string ECL;
  814. string ModuleName;
  815. string AttributeName;
  816. string Queue;
  817. string Cluster;
  818. string Snapshot;
  819. int TimeToWait(60000);
  820. [min_ver("1.04")] ESParray<ESPstruct DebugValue> DebugValues;
  821. };
  822. ESPresponse [exceptions_inline] WUSyntaxCheckResponse
  823. {
  824. ESParray<ESPstruct ECLException> Errors;
  825. };
  826. ESPrequest WUCompileECLRequest
  827. {
  828. string ECL;
  829. string ModuleName;
  830. string AttributeName;
  831. string Queue;
  832. string Cluster;
  833. string Snapshot;
  834. bool IncludeDependencies(false);
  835. bool IncludeComplexity;
  836. int TimeToWait(60000);
  837. };
  838. ESPresponse [exceptions_inline] WUCompileECLResponse
  839. {
  840. string Complexity;
  841. ESParray<ESPstruct ECLException> Errors;
  842. ESParray<ESPstruct WUECLAttribute, ECLAttribute> Dependencies;
  843. };
  844. ESPrequest WUJobListRequest
  845. {
  846. string Cluster;
  847. [min_ver("1.50")] string Process;
  848. string StartDate;
  849. string EndDate;
  850. bool ShowAll;
  851. int BusinessStartHour;
  852. int BusinessEndHour;
  853. };
  854. ESPresponse [exceptions_inline] WUJobListResponse
  855. {
  856. string StartDate;
  857. string EndDate;
  858. ESParray<ESPstruct ECLJob> Jobs;
  859. };
  860. ESPrequest [nil_remove] WUShowScheduledRequest
  861. {
  862. string Cluster("");
  863. string EventName("");
  864. string PushEventName("");
  865. string PushEventText("");
  866. [min_ver("1.51")] string State("");
  867. };
  868. ESPStruct [nil_remove] ScheduledWU
  869. {
  870. string Wuid;
  871. string Cluster("");
  872. string EventName("");
  873. string EventText("");
  874. string JobName("");
  875. [min_ver("1.51")] int StateID;
  876. [min_ver("1.51")] string State("");
  877. [min_ver("1.51")] string Owner("");
  878. };
  879. ESPStruct [nil_remove] ServerInfo
  880. {
  881. string Name("");
  882. string NetAddress("");
  883. };
  884. ESPresponse [nil_remove, exceptions_inline] WUShowScheduledResponse
  885. {
  886. int ClusterSelected(0);
  887. string EventName("");
  888. string PushEventName("");
  889. string PushEventText("");
  890. string Query("");
  891. ESParray<ESPstruct ServerInfo> Clusters;
  892. ESParray<ESPstruct ScheduledWU> Workunits;
  893. };
  894. ESPrequest WUGetDependancyTreesRequest
  895. {
  896. string Cluster;
  897. string Queue;
  898. string Snapshot;
  899. string Items;
  900. [min_ver("1.12")] string TimeoutMilliSec;
  901. };
  902. ESPresponse [nil_remove, exceptions_inline] WUGetDependancyTreesResponse
  903. {
  904. ESParray<ESPstruct ECLException> Errors;
  905. [http_content("text/xml")] binary DependancyTrees;
  906. };
  907. ESPrequest WUListLocalFileRequiredRequest
  908. {
  909. string Wuid;
  910. };
  911. ESPresponse [nil_remove, exceptions_inline] WUListLocalFileRequiredResponse
  912. {
  913. ESParray<ESPstruct LogicalFileUpload> LocalFileUploads;
  914. };
  915. ESPrequest WUAddLocalFileToWorkunitRequest
  916. {
  917. string Wuid;
  918. string Name;
  919. string Val;
  920. string DefVal;
  921. int Type;
  922. int Length;
  923. };
  924. ESPresponse [nil_remove, exceptions_inline] WUAddLocalFileToWorkunitResponse
  925. {
  926. string Wuid;
  927. string Name;
  928. string Result;
  929. };
  930. ESPrequest WUDebugRequest
  931. {
  932. string Wuid;
  933. string Command;
  934. };
  935. ESPresponse [exceptions_inline] WUDebugResponse
  936. {
  937. string Result;
  938. };
  939. ESPrequest WUCopyLogicalFilesRequest
  940. {
  941. string Wuid;
  942. string Cluster;
  943. bool CopyLocal;
  944. };
  945. ESPStruct WULogicalFileCopyInfo
  946. {
  947. bool IsIndex;
  948. string LogicalName;
  949. string DfuCopyWuid;
  950. string DfuCopyError;
  951. ESParray<string> Clusters;
  952. };
  953. ESPStruct WUCopyLogicalClusterFileSections
  954. {
  955. string ClusterName;
  956. ESParray<ESPstruct WULogicalFileCopyInfo> OnCluster;
  957. ESParray<ESPstruct WULogicalFileCopyInfo> NotOnCluster;
  958. ESParray<ESPstruct WULogicalFileCopyInfo> Foreign;
  959. ESParray<ESPstruct WULogicalFileCopyInfo> NotFound;
  960. };
  961. ESPresponse [exceptions_inline] WUCopyLogicalFilesResponse
  962. {
  963. string Wuid;
  964. ESParray<ESPStruct WUCopyLogicalClusterFileSections, Cluster> ClusterFiles;
  965. };
  966. ESPenum WUQueryActivationMode : int
  967. {
  968. NoActivate(0, "Do not activate query"),
  969. Activate(1, "Activate query"),
  970. ActivateSuspendPrevious(2, "Activate query, suspend previous"),
  971. ActivateDeletePrevious(3, "Activate query, delete previous")
  972. };
  973. ESPrequest [nil_remove] WUPublishWorkunitRequest
  974. {
  975. string Wuid;
  976. string Cluster;
  977. string JobName;
  978. int Activate;
  979. bool NotifyCluster(false);
  980. int Wait(10000);
  981. bool NoReload(0);
  982. bool UpdateWorkUnitName(0);
  983. string memoryLimit;
  984. nonNegativeInteger TimeLimit(0);
  985. nonNegativeInteger WarnTimeLimit(0);
  986. string Priority;
  987. string RemoteDali;
  988. string Comment;
  989. bool DontCopyFiles(false);
  990. string SourceProcess;
  991. bool AllowForeignFiles(false);
  992. bool UpdateDfs(false);
  993. };
  994. ESPresponse [exceptions_inline] WUPublishWorkunitResponse
  995. {
  996. string Wuid;
  997. string Result;
  998. string QuerySet;
  999. string QueryName;
  1000. string QueryId;
  1001. bool ReloadFailed;
  1002. [min_ver("1.39")] bool Suspended;
  1003. [min_ver("1.39")] string ErrorMessage;
  1004. ESParray<ESPStruct WUCopyLogicalClusterFileSections, Cluster> ClusterFiles;
  1005. };
  1006. ESPrequest [nil_remove] WUQueryConfigRequest
  1007. {
  1008. string Target;
  1009. string QueryId;
  1010. int Wait(10000);
  1011. bool NoReload(0);
  1012. string memoryLimit;
  1013. nonNegativeInteger TimeLimit(0);
  1014. nonNegativeInteger WarnTimeLimit(0);
  1015. string Priority;
  1016. string Comment;
  1017. };
  1018. ESPStruct WUQueryConfigResult
  1019. {
  1020. string QueryId;
  1021. };
  1022. ESPresponse [exceptions_inline] WUQueryConfigResponse
  1023. {
  1024. bool ReloadFailed;
  1025. ESParray<ESPStruct WUQueryConfigResult, Result> Results;
  1026. };
  1027. ESPStruct QuerySet
  1028. {
  1029. string QuerySetName;
  1030. };
  1031. ESPrequest WUQuerysetsRequest
  1032. {
  1033. bool test;
  1034. };
  1035. ESPresponse [exceptions_inline] WUQuerysetsResponse
  1036. {
  1037. ESParray<ESPstruct QuerySet> Querysets;
  1038. };
  1039. ESPStruct ClusterQueryState
  1040. {
  1041. string Cluster;
  1042. string State;
  1043. [min_ver("1.46")] string Errors;
  1044. [min_ver("1.47")] bool MixedNodeStates;
  1045. };
  1046. ESPStruct [nil_remove] QuerySetQuery
  1047. {
  1048. string Id;
  1049. string Name;
  1050. string Wuid;
  1051. string Dll;
  1052. bool Suspended;
  1053. ESParray<ESPstruct ClusterQueryState> Clusters;
  1054. string memoryLimit;
  1055. nonNegativeInteger timeLimit;
  1056. nonNegativeInteger warnTimeLimit;
  1057. string priority;
  1058. string Comment;
  1059. [min_ver("1.45")] string QuerySetId;
  1060. [min_ver("1.46")] bool IsLibrary;
  1061. [min_ver("1.46")] bool Activated;
  1062. [min_ver("1.46")] string PublishedBy;
  1063. [min_ver("1.48")] string snapshot;
  1064. };
  1065. ESPStruct QuerySetAlias
  1066. {
  1067. string Id;
  1068. string Name;
  1069. };
  1070. ESPenum WUQuerySetFilterType : string
  1071. {
  1072. ALL("All"),
  1073. ID("Id"),
  1074. NAME("Name"),
  1075. ALIAS("Alias"),
  1076. STATUS("Status")
  1077. };
  1078. ESPrequest WUQuerySetDetailsRequest
  1079. {
  1080. string QuerySetName;
  1081. string Filter;
  1082. string ClusterName;
  1083. ESPenum WUQuerySetFilterType FilterType("All");
  1084. };
  1085. ESPresponse [exceptions_inline] WUQuerySetDetailsResponse
  1086. {
  1087. string QuerySetName;
  1088. ESParray<ESPstruct QuerySetQuery> QuerysetQueries;
  1089. ESParray<ESPstruct QuerySetAlias> QuerysetAliases;
  1090. [min_ver("1.37")] string ClusterName;
  1091. [min_ver("1.37")] string Filter;
  1092. [min_ver("1.37")] ESPenum WUQuerySetFilterType FilterType;
  1093. [min_ver("1.37")] ESParray<string> ClusterNames;
  1094. };
  1095. ESPrequest [nil_remove] WUListQueriesRequest
  1096. {
  1097. string QuerySetName;
  1098. string ClusterName;
  1099. string LibraryName;
  1100. int64 MemoryLimitLow;
  1101. int64 MemoryLimitHigh;
  1102. nonNegativeInteger TimeLimitLow;
  1103. nonNegativeInteger TimeLimitHigh;
  1104. nonNegativeInteger WarnTimeLimitLow;
  1105. nonNegativeInteger WarnTimeLimitHigh;
  1106. nonNegativeInteger PriorityLow;
  1107. nonNegativeInteger PriorityHigh;
  1108. [min_ver("1.48")] bool Activated;
  1109. [min_ver("1.48")] bool SuspendedByUser;
  1110. [min_ver("1.50")] string WUID;
  1111. [min_ver("1.51")] string QueryID;
  1112. [min_ver("1.51")] string QueryName;
  1113. nonNegativeInteger PageSize(0);
  1114. nonNegativeInteger PageStartFrom(0);
  1115. string Sortby;
  1116. bool Descending(false);
  1117. int64 CacheHint;
  1118. string FileName;
  1119. };
  1120. ESPresponse [exceptions_inline] WUListQueriesResponse
  1121. {
  1122. int NumberOfQueries;
  1123. int64 CacheHint;
  1124. ESParray<ESPstruct QuerySetQuery> QuerysetQueries;
  1125. };
  1126. ESPrequest [nil_remove] WUListQueriesUsingFileRequest
  1127. {
  1128. string Target;
  1129. string Process;
  1130. string FileName;
  1131. };
  1132. ESPStruct [nil_remove] QueryUsingFile
  1133. {
  1134. string Id;
  1135. string Package;
  1136. };
  1137. ESPStruct [nil_remove] TargetQueriesUsingFile
  1138. {
  1139. string Target;
  1140. string PackageMap;
  1141. ESParray<ESPstruct QueryUsingFile> Queries;
  1142. };
  1143. ESPresponse [exceptions_inline] WUListQueriesUsingFileResponse
  1144. {
  1145. string Process;
  1146. string FileName;
  1147. ESParray<ESPstruct TargetQueriesUsingFile> Targets;
  1148. };
  1149. ESPrequest [nil_remove] WUQueryFilesRequest
  1150. {
  1151. string Target;
  1152. string QueryId;
  1153. };
  1154. ESPStruct [nil_remove] FileUsedByQuery
  1155. {
  1156. string FileName;
  1157. int64 FileSize;
  1158. unsigned NumberOfParts;
  1159. };
  1160. ESPresponse [exceptions_inline] WUQueryFilesResponse
  1161. {
  1162. ESParray<ESPstruct FileUsedByQuery, File> Files;
  1163. };
  1164. ESPrequest WUQueryDetailsRequest
  1165. {
  1166. string QueryId;
  1167. string QuerySet;
  1168. bool IncludeStateOnClusters(false);
  1169. bool IncludeSuperFiles(false);
  1170. };
  1171. ESPStruct QuerySuperFile
  1172. {
  1173. string Name;
  1174. ESParray<string, File> SubFiles;
  1175. };
  1176. ESPresponse [exceptions_inline] WUQueryDetailsResponse
  1177. {
  1178. string QueryId;
  1179. string QuerySet;
  1180. string QueryName;
  1181. string Wuid;
  1182. string Dll;
  1183. bool Suspended;
  1184. [min_ver("1.42")] bool Activated;
  1185. string SuspendedBy;
  1186. [min_ver("1.43")] ESParray<ESPstruct ClusterQueryState> Clusters;
  1187. string PublishedBy;
  1188. string Comment;
  1189. ESParray<string> LogicalFiles;
  1190. [min_ver("1.44")] ESParray<ESPstruct QuerySuperFile, SuperFile> SuperFiles;
  1191. [min_ver("1.46")] bool IsLibrary;
  1192. [min_ver("1.46")] string Priority;
  1193. [min_ver("1.46")] string WUSnapShot; //Label
  1194. [min_ver("1.46")] string CompileTime;
  1195. [min_ver("1.46")] ESParray<string> LibrariesUsed;
  1196. [min_ver("1.46")] int CountGraphs;
  1197. [min_ver("1.46")] ESParray<string> GraphIds;
  1198. [min_ver("1.50")] int ResourceURLCount;
  1199. };
  1200. ESPrequest WUMultiQuerySetDetailsRequest
  1201. {
  1202. string ClusterName;
  1203. string QuerySetName;
  1204. string Filter;
  1205. ESPenum WUQuerySetFilterType FilterType("All");
  1206. };
  1207. ESPstruct WUQuerySetDetail
  1208. {
  1209. string QuerySetName;
  1210. ESParray<ESPstruct QuerySetQuery> Queries;
  1211. ESParray<ESPstruct QuerySetAlias> Aliases;
  1212. };
  1213. ESPresponse [exceptions_inline] WUMultiQuerySetDetailsResponse
  1214. {
  1215. string ClusterName;
  1216. ESParray<ESPstruct WUQuerySetDetail> Querysets;
  1217. };
  1218. ESPenum QuerySetQueryActionTypes : string
  1219. {
  1220. Suspend("Suspend"),
  1221. Unsuspend("Unsuspend"),
  1222. ToggleSuspend("ToggleSuspend"),
  1223. Activate("Activate"),
  1224. Delete("Delete"),
  1225. RemoveAllAliases("RemoveAllAliases")
  1226. };
  1227. ESPStruct QuerySetQueryClientState
  1228. {
  1229. string Suspended;
  1230. };
  1231. ESPStruct QuerySetQueryActionItem
  1232. {
  1233. string QueryId;
  1234. ESPstruct QuerySetQueryClientState ClientState;
  1235. };
  1236. ESPrequest WUQuerySetQueryActionRequest
  1237. {
  1238. ESPenum QuerySetQueryActionTypes Action;
  1239. string QuerySetName;
  1240. ESParray<ESPstruct QuerySetQueryActionItem, Query> Queries;
  1241. };
  1242. ESPStruct QuerySetQueryActionResult
  1243. {
  1244. string QueryId;
  1245. bool Suspended;
  1246. bool Success;
  1247. int Code;
  1248. string Message;
  1249. };
  1250. ESPresponse [exceptions_inline] WUQuerySetQueryActionResponse
  1251. {
  1252. ESPenum QuerySetQueryActionTypes Action;
  1253. string QuerySetName;
  1254. ESParray<ESPstruct QuerySetQueryActionResult, Result> Results;
  1255. };
  1256. ESPenum QuerySetAliasActionTypes : string
  1257. {
  1258. Deactivate("Deactivate")
  1259. };
  1260. ESPStruct QuerySetAliasActionItem
  1261. {
  1262. string Name;
  1263. };
  1264. ESPrequest WUQuerySetAliasActionRequest
  1265. {
  1266. ESPenum QuerySetAliasActionTypes Action;
  1267. string QuerySetName;
  1268. ESParray<ESPstruct QuerySetAliasActionItem, Alias> Aliases;
  1269. };
  1270. ESPStruct QuerySetAliasActionResult
  1271. {
  1272. string Name;
  1273. bool Success;
  1274. int Code;
  1275. string Message;
  1276. };
  1277. ESPresponse [exceptions_inline] WUQuerySetAliasActionResponse
  1278. {
  1279. ESPenum QuerySetAliasActionTypes Action;
  1280. string QuerySetName;
  1281. ESParray<ESPstruct QuerySetAliasActionResult, Result> Results;
  1282. };
  1283. ESPrequest [nil_remove] WUQuerySetCopyQueryRequest
  1284. {
  1285. string Source;
  1286. string Target;
  1287. string Cluster;
  1288. string DaliServer;
  1289. int Activate;
  1290. bool Overwrite(false);
  1291. bool DontCopyFiles(false);
  1292. int Wait(10000);
  1293. bool NoReload(0);
  1294. string memoryLimit;
  1295. nonNegativeInteger TimeLimit(0);
  1296. nonNegativeInteger WarnTimeLimit(0);
  1297. string priority;
  1298. string Comment;
  1299. string SourceProcess;
  1300. string DestName;
  1301. bool AllowForeignFiles(true);
  1302. };
  1303. ESPresponse [exceptions_inline] WUQuerySetCopyQueryResponse
  1304. {
  1305. string QueryId;
  1306. };
  1307. ESPrequest [nil_remove] WUCopyQuerySetRequest
  1308. {
  1309. string Source;
  1310. string Target;
  1311. bool ActiveOnly(true);
  1312. bool CloneActiveState(true);
  1313. bool AllowForeignFiles(true);
  1314. string DfsServer;
  1315. bool CopyFiles(true);
  1316. bool OverwriteDfs(false);
  1317. string SourceProcess;
  1318. };
  1319. ESPresponse [exceptions_inline] WUCopyQuerySetResponse
  1320. {
  1321. ESParray<string, QueryId> CopiedQueries;
  1322. ESParray<string, QueryId> ExistingQueries;
  1323. };
  1324. ESPrequest [nil_remove] WUGetZAPInfoRequest
  1325. {
  1326. string WUID;
  1327. };
  1328. ESPresponse [exceptions_inline] WUGetZAPInfoResponse
  1329. {
  1330. string WUID;
  1331. string ESPIPAddress;
  1332. string ThorIPAddress;
  1333. string BuildVersion;
  1334. string Archive;
  1335. };
  1336. ESPrequest [nil_remove] WUCreateZAPInfoRequest
  1337. {
  1338. string Wuid;
  1339. string ESPIPAddress;
  1340. string ThorIPAddress;
  1341. string BuildVersion;
  1342. string ProblemDescription;
  1343. string WhatChanged;
  1344. string WhereSlow;
  1345. };
  1346. ESPresponse [exceptions_inline] WUCreateZAPInfoResponse
  1347. {
  1348. [http_content("application/octet-stream")] binary thefile;
  1349. };
  1350. ESPrequest [nil_remove] WUCheckFeaturesRequest
  1351. {
  1352. };
  1353. ESPStruct DeploymentFeatures
  1354. {
  1355. bool UseCompression;
  1356. };
  1357. ESPresponse [exceptions_inline] WUCheckFeaturesResponse
  1358. {
  1359. int BuildVersionMajor;
  1360. int BuildVersionMinor;
  1361. int BuildVersionPoint;
  1362. unsigned maxRequestEntityLength;
  1363. ESPStruct DeploymentFeatures Deployment;
  1364. };
  1365. ESPservice [
  1366. version("1.51"), default_client_version("1.51"),
  1367. noforms,exceptions_inline("./smc_xslt/exceptions.xslt"),use_method_name] WsWorkunits
  1368. {
  1369. ESPmethod [resp_xsl_default("/esp/xslt/workunits.xslt")] WUQuery(WUQueryRequest, WUQueryResponse);
  1370. ESPmethod [resp_xsl_default("/esp/xslt/wuid.xslt")] WUInfo(WUInfoRequest, WUInfoResponse);
  1371. ESPmethod [resp_xsl_default("/esp/xslt/wuiddetails.xslt")] WUInfoDetails(WUInfoRequest, WUInfoResponse);
  1372. ESPmethod [resp_xsl_default("/esp/xslt/wuid.xslt")] WUGraphTiming(WUGraphTimingRequest, WUGraphTimingResponse);
  1373. ESPmethod [resp_xsl_default("/esp/xslt/graph.xslt")] WUGraphInfo(WUGraphInfoRequest, WUGraphInfoResponse);
  1374. ESPmethod [resp_xsl_default("/esp/xslt/graph_gvc.xslt")] WUGVCGraphInfo(WUGVCGraphInfoRequest, WUGVCGraphInfoResponse);
  1375. ESPmethod[description("Stub for Ajax GVC Graph."), help(""), resp_xsl_default("/esp/xslt/GvcGraph.xslt")] GVCAjaxGraph(GVCAjaxGraphRequest, GVCAjaxGraphResponse);
  1376. ESPmethod [resp_xsl_default("/esp/xslt/result.xslt")] WUResult(WUResultRequest, WUResultResponse);
  1377. ESPmethod WUResultView(WUResultViewRequest, WUResultViewResponse);
  1378. ESPmethod [resp_xsl_default("/esp/xslt/wuid_jobs.xslt")] WUJobList(WUJobListRequest, WUJobListResponse);
  1379. ESPmethod [resp_xsl_default("/esp/xslt/wuaction_results.xslt")] WUAction(WUActionRequest, WUActionResponse);
  1380. ESPmethod [resp_xsl_default("/esp/xslt/scheduledwus.xslt")] WUShowScheduled(WUShowScheduledRequest, WUShowScheduledResponse);
  1381. ESPmethod WUResultSummary(WUResultSummaryRequest, WUResultSummaryResponse);
  1382. ESPmethod WUResultBin(WUResultBinRequest, WUResultBinResponse);
  1383. ESPmethod WUClusterJobQueueXLS(WUClusterJobQueueXLSRequest, WUClusterJobQueueXLSResponse);
  1384. ESPmethod WUClusterJobQueueLOG(WUClusterJobQueueLOGRequest, WUClusterJobQueueLOGResponse);
  1385. ESPmethod WUClusterJobXLS(WUClusterJobXLSRequest, WUClusterJobXLSResponse);
  1386. ESPmethod WUClusterJobSummaryXLS(WUClusterJobSummaryXLSRequest, WUClusterJobSummaryXLSResponse);
  1387. ESPmethod WUCreate(WUCreateRequest, WUCreateResponse);
  1388. ESPmethod WUCreateAndUpdate(WUUpdateRequest, WUUpdateResponse);
  1389. ESPmethod WUUpdate(WUUpdateRequest, WUUpdateResponse);
  1390. ESPmethod WUDelete(WUDeleteRequest, WUDeleteResponse);
  1391. ESPmethod WUSubmit(WUSubmitRequest, WUSubmitResponse);
  1392. ESPmethod WUSchedule(WUScheduleRequest, WUScheduleResponse);
  1393. ESPmethod WUPushEvent(WUPushEventRequest, WUPushEventResponse);
  1394. ESPmethod WUDeployWorkunit(WUDeployWorkunitRequest, WUDeployWorkunitResponse);
  1395. ESPmethod WUAbort(WUAbortRequest, WUAbortResponse);
  1396. ESPmethod WUProtect(WUProtectRequest, WUProtectResponse);
  1397. ESPmethod WUResubmit(WUResubmitRequest, WUResubmitResponse); //????
  1398. ESPmethod WURun(WURunRequest, WURunResponse);
  1399. ESPmethod WUExport(WUExportRequest, WUExportResponse);
  1400. ESPmethod WUWaitCompiled(WUWaitRequest, WUWaitResponse);
  1401. ESPmethod WUWaitComplete(WUWaitRequest, WUWaitResponse);
  1402. ESPmethod WUSyntaxCheckECL(WUSyntaxCheckRequest, WUSyntaxCheckResponse);
  1403. ESPmethod WUCompileECL(WUCompileECLRequest, WUCompileECLResponse);
  1404. //ESPmethod WUAction(WUActionRequest, WUActionResponse);
  1405. ESPmethod WUFile(WULogFileRequest, WULogFileResponse);
  1406. ESPmethod [resp_xsl_default("/esp/xslt/graphStats.xslt")] WUProcessGraph(WUProcessGraphRequest, WUProcessGraphResponse);
  1407. ESPmethod WUGetGraph(WUGetGraphRequest, WUGetGraphResponse);
  1408. ESPmethod WUQueryGetGraph(WUQueryGetGraphRequest, WUQueryGetGraphResponse);
  1409. ESPmethod WUGetDependancyTrees(WUGetDependancyTreesRequest, WUGetDependancyTreesResponse);
  1410. ESPmethod WUListLocalFileRequired(WUListLocalFileRequiredRequest, WUListLocalFileRequiredResponse);
  1411. ESPmethod WUAddLocalFileToWorkunit(WUAddLocalFileToWorkunitRequest, WUAddLocalFileToWorkunitResponse);
  1412. ESPmethod WUCDebug(WUDebugRequest, WUDebugResponse);
  1413. ESPmethod [resp_xsl_default("/esp/xslt/WUPublishWorkunit.xslt")] WUPublishWorkunit(WUPublishWorkunitRequest, WUPublishWorkunitResponse);
  1414. ESPmethod [resp_xsl_default("/esp/xslt/WUQuerysets.xslt")] WUQuerysets(WUQuerysetsRequest, WUQuerysetsResponse);
  1415. ESPmethod [resp_xsl_default("/esp/xslt/WUQuerysetQueries.xslt")] WUQuerysetDetails(WUQuerySetDetailsRequest, WUQuerySetDetailsResponse);
  1416. ESPmethod [resp_xsl_default("/esp/xslt/WUQueryDetails.xslt")] WUQueryDetails(WUQueryDetailsRequest, WUQueryDetailsResponse);
  1417. ESPmethod WUMultiQuerysetDetails(WUMultiQuerySetDetailsRequest, WUMultiQuerySetDetailsResponse);
  1418. ESPmethod WUQuerysetQueryAction(WUQuerySetQueryActionRequest, WUQuerySetQueryActionResponse);
  1419. ESPmethod WUQuerysetAliasAction(WUQuerySetAliasActionRequest, WUQuerySetAliasActionResponse);
  1420. ESPmethod WUQuerysetCopyQuery(WUQuerySetCopyQueryRequest, WUQuerySetCopyQueryResponse);
  1421. ESPmethod WUCopyQuerySet(WUCopyQuerySetRequest, WUCopyQuerySetResponse);
  1422. ESPmethod [resp_xsl_default("/esp/xslt/WUCopyLogicalFiles.xslt")] WUCopyLogicalFiles(WUCopyLogicalFilesRequest, WUCopyLogicalFilesResponse);
  1423. ESPmethod WUQueryConfig(WUQueryConfigRequest, WUQueryConfigResponse);
  1424. ESPmethod WUListQueries(WUListQueriesRequest, WUListQueriesResponse);
  1425. ESPmethod WUQueryFiles(WUQueryFilesRequest, WUQueryFilesResponse);
  1426. ESPmethod [resp_xsl_default("/esp/xslt/QueriesUsingFile.xslt")] WUListQueriesUsingFile(WUListQueriesUsingFileRequest, WUListQueriesUsingFileResponse);
  1427. ESPmethod WUCreateZAPInfo(WUCreateZAPInfoRequest, WUCreateZAPInfoResponse);
  1428. ESPmethod [resp_xsl_default("/esp/xslt/WUZAPInfoForm.xslt")] WUGetZAPInfo(WUGetZAPInfoRequest, WUGetZAPInfoResponse);
  1429. ESPmethod WUCheckFeatures(WUCheckFeaturesRequest, WUCheckFeaturesResponse);
  1430. };
  1431. SCMexportdef(WSWU);
  1432. SCMapi(WSWU) IClientWsWorkunits *createWsWorkunitsClient();