ws_dfuXref.ecm 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. /*##############################################################################
  2. Copyright (C) 2011 HPCC Systems.
  3. All rights reserved. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU Affero General Public License as
  5. published by the Free Software Foundation, either version 3 of the
  6. License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Affero General Public License for more details.
  11. You should have received a copy of the GNU Affero General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. ############################################################################## */
  14. #include "xslprocessor.hpp"
  15. // ===========================================================================
  16. ESPrequest
  17. [
  18. ]
  19. DFUXRefListRequest
  20. {
  21. };
  22. ESPresponse
  23. [
  24. encode(0)
  25. ]
  26. DFUXRefListResponse
  27. {
  28. string DFUXRefListResult;
  29. };
  30. ESPrequest
  31. [
  32. ]
  33. DFUXRefBuildRequest
  34. {
  35. string Cluster;
  36. };
  37. ESPresponse
  38. [
  39. encode(0)
  40. ]
  41. DFUXRefBuildResponse
  42. {
  43. string DFUXRefActionResult;
  44. };
  45. ESPrequest
  46. [
  47. ]
  48. DFUXRefLostFilesQueryRequest
  49. {
  50. string Cluster;
  51. };
  52. ESPresponse
  53. [
  54. encode(0)
  55. ]
  56. DFUXRefLostFilesQueryResponse
  57. {
  58. string DFUXRefLostFilesQueryResult;
  59. };
  60. ESPrequest
  61. [
  62. ]
  63. DFUXRefOrphanFilesQueryRequest
  64. {
  65. string Cluster;
  66. };
  67. ESPresponse
  68. [
  69. encode(0)
  70. ]
  71. DFUXRefOrphanFilesQueryResponse
  72. {
  73. string DFUXRefOrphanFilesQueryResult;
  74. };
  75. ESPrequest
  76. [
  77. ]
  78. DFUXRefMessagesQueryRequest
  79. {
  80. string Cluster;
  81. };
  82. ESPresponse
  83. [
  84. encode(0)
  85. ]
  86. DFUXRefMessagesQueryResponse
  87. {
  88. string DFUXRefMessagesQueryResult;
  89. };
  90. /*ESPstruct [nil_remove] Directory
  91. {
  92. string Name;
  93. string DirSize;
  94. string MaxIP;
  95. string MaxSize;
  96. string MinIP;
  97. string MinSize;
  98. string Skew;
  99. };*/
  100. ESPrequest
  101. [
  102. ]
  103. DFUXRefDirectoriesQueryRequest
  104. {
  105. string Cluster;
  106. };
  107. ESPresponse
  108. [
  109. encode(0)
  110. ]
  111. DFUXRefDirectoriesQueryResponse
  112. {
  113. string DFUXRefDirectoriesQueryResult;
  114. //ESParray<ESPstruct Directory> Directories;
  115. };
  116. ESPrequest
  117. [
  118. ]
  119. DFUXRefFoundFilesQueryRequest
  120. {
  121. string Cluster;
  122. };
  123. ESPresponse
  124. [
  125. encode(0)
  126. ]
  127. DFUXRefFoundFilesQueryResponse
  128. {
  129. string DFUXRefFoundFilesQueryResult;
  130. };
  131. ESPrequest
  132. [
  133. ]
  134. DFUXRefArrayActionRequest
  135. {
  136. string Type;
  137. string Cluster;
  138. string Action;
  139. ESParray<string> XRefFiles;
  140. };
  141. ESPresponse
  142. [
  143. encode(0)
  144. ]
  145. DFUXRefArrayActionResponse
  146. {
  147. string DFUXRefArrayActionResult;
  148. };
  149. ESPrequest
  150. [
  151. ]
  152. DFUXRefBuildCancelRequest
  153. {
  154. };
  155. ESPresponse
  156. [
  157. encode(0)
  158. ]
  159. DFUXRefBuildCancelResponse
  160. {
  161. string DFUXRefBuildCancelResult;
  162. };
  163. ESPrequest DFUXRefCleanDirectoriesRequest
  164. {
  165. string Cluster;
  166. };
  167. ESPresponse [exceptions_inline] DFUXRefCleanDirectoriesResponse
  168. {
  169. };
  170. // ===========================================================================
  171. ESPservice [exceptions_inline("./smc_xslt/exceptions.xslt")] WsDFUXRef
  172. {
  173. ///ESPmethod [resp_xsl_default("./smc_xslt/xref_main.xslt")] DFUXRefList(DFUXRefListRequest, DFUXRefListResponse);
  174. ESPmethod [resp_xsl_default("/esp/xslt/xref_main.xslt")] DFUXRefList(DFUXRefListRequest, DFUXRefListResponse);
  175. ESPmethod [resp_xsl_default("/esp/xslt/action.xslt")] DFUXRefBuild(DFUXRefBuildRequest, DFUXRefBuildResponse);
  176. ESPmethod [resp_xsl_default("/esp/xslt/xref_lost.xslt")] DFUXRefLostFiles(DFUXRefLostFilesQueryRequest, DFUXRefLostFilesQueryResponse);
  177. ESPmethod [resp_xsl_default("/esp/xslt/xref_found.xslt")] DFUXRefFoundFiles(DFUXRefFoundFilesQueryRequest, DFUXRefFoundFilesQueryResponse);
  178. ESPmethod [resp_xsl_default("/esp/xslt/xref_orphan.xslt")] DFUXRefOrphanFiles(DFUXRefOrphanFilesQueryRequest, DFUXRefOrphanFilesQueryResponse);
  179. ESPmethod [resp_xsl_default("/esp/xslt/xref_errwarn.xslt")] DFUXRefMessages(DFUXRefMessagesQueryRequest, DFUXRefMessagesQueryResponse);
  180. ESPmethod [resp_xsl_default("/esp/xslt/xref_directories.xslt")] DFUXRefDirectories(DFUXRefDirectoriesQueryRequest, DFUXRefDirectoriesQueryResponse);
  181. ESPmethod [resp_xsl_default("/esp/xslt/action.xslt")] DFUXRefArrayAction(DFUXRefArrayActionRequest, DFUXRefArrayActionResponse);
  182. ESPmethod [resp_xsl_default("/esp/xslt/action.xslt")] DFUXRefBuildCancel(DFUXRefBuildCancelRequest, DFUXRefBuildCancelResponse);
  183. ESPmethod DFUXRefCleanDirectories(DFUXRefCleanDirectoriesRequest, DFUXRefCleanDirectoriesResponse);
  184. };
  185. SCMexportdef(WSDFUXREF);
  186. SCMapi(WSDFUXREF) IClientWsDFUXRef *createWsDfuXRefClient();