@hpcc-js/comms 2.98.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (525) hide show
  1. package/dist/index.js +6 -10388
  2. package/dist/index.js.map +7 -1
  3. package/dist/index.node.js +925 -10845
  4. package/dist/index.node.js.map +7 -1
  5. package/package.json +55 -60
  6. package/src/__package__.ts +1 -1
  7. package/src/clienttools/eclMeta.ts +1 -1
  8. package/src/clienttools/eclcc.ts +1 -1
  9. package/src/ecl/activity.ts +3 -3
  10. package/src/ecl/dfuWorkunit.ts +5 -5
  11. package/src/ecl/graph.ts +4 -4
  12. package/src/ecl/logicalFile.ts +3 -3
  13. package/src/ecl/machine.ts +2 -2
  14. package/src/ecl/query.ts +12 -12
  15. package/src/ecl/queryGraph.ts +3 -3
  16. package/src/ecl/resource.ts +1 -1
  17. package/src/ecl/result.ts +4 -4
  18. package/src/ecl/scope.ts +2 -2
  19. package/src/ecl/sourceFile.ts +2 -2
  20. package/src/ecl/store.ts +3 -3
  21. package/src/ecl/targetCluster.ts +4 -4
  22. package/src/ecl/timer.ts +2 -2
  23. package/src/ecl/topology.ts +3 -3
  24. package/src/ecl/workunit.ts +11 -11
  25. package/src/ecl/xsdParser.ts +0 -1
  26. package/src/espConnection.ts +1 -1
  27. package/src/index-common.ts +38 -38
  28. package/src/index.node.ts +9 -5
  29. package/src/index.ts +1 -3
  30. package/src/services/fileSpray.ts +1 -1
  31. package/src/services/wsAccess.ts +1 -1
  32. package/src/services/wsAccount.ts +2 -2
  33. package/src/services/wsCloud.ts +1 -1
  34. package/src/services/wsCodesign.ts +2 -2
  35. package/src/services/wsDFU.ts +1 -1
  36. package/src/services/wsDFUXRef.ts +2 -2
  37. package/src/services/wsDali.ts +1 -1
  38. package/src/services/wsEcl.ts +2 -2
  39. package/src/services/wsElk.ts +1 -1
  40. package/src/services/wsLogaccess.ts +3 -3
  41. package/src/services/wsMachine.ts +1 -1
  42. package/src/services/wsPackageProcess.ts +1 -1
  43. package/src/services/wsResources.ts +1 -1
  44. package/src/services/wsSMC.ts +2 -2
  45. package/src/services/wsSasha.ts +1 -1
  46. package/src/services/wsStore.ts +2 -2
  47. package/src/services/wsTopology.ts +2 -2
  48. package/src/services/wsWorkunits.ts +3 -3
  49. package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +828 -828
  50. package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +2 -2
  51. package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +2 -2
  52. package/src/services/wsdl/WsCloud/v1/WsCloud.ts +20 -20
  53. package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +165 -165
  54. package/src/services/wsdl/WsDali/v1.04/WsDali.ts +2 -2
  55. package/src/services/wsdl/WsDali/v1.07/WsDali.ts +2 -2
  56. package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +2 -2
  57. package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +2 -2
  58. package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +2 -2
  59. package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +86 -86
  60. package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +434 -434
  61. package/src/services/wsdl/WsResources/v1.01/WsResources.ts +2 -2
  62. package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +514 -514
  63. package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +2 -2
  64. package/src/services/wsdl/WsSasha/v1.01/WsSasha.ts +2 -2
  65. package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +2 -2
  66. package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +2 -2
  67. package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2415 -2415
  68. package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +2 -2
  69. package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +2 -2
  70. package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +2 -2
  71. package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +2 -2
  72. package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +2 -2
  73. package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +2 -2
  74. package/src/services/wsdl/ws_access/v1.16/ws_access.ts +953 -953
  75. package/src/services/wsdl/ws_access/v1.17/ws_access.ts +2 -2
  76. package/src/services/wsdl/ws_account/v1.05/ws_account.ts +78 -78
  77. package/src/services/wsdl/ws_account/v1.06/ws_account.ts +2 -2
  78. package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +68 -68
  79. package/src/services/wsdl/ws_elk/v1/ws_elk.ts +29 -29
  80. package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +54 -54
  81. package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +2 -2
  82. package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +2 -2
  83. package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +2 -2
  84. package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +2 -2
  85. package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +2 -2
  86. package/src/services/wsdl/wsstore/v1.02/wsstore.ts +213 -213
  87. package/types/__package__.d.ts +1 -2
  88. package/types/clienttools/eclMeta.d.ts +1 -2
  89. package/types/clienttools/eclcc.d.ts +1 -2
  90. package/types/connection.d.ts +0 -1
  91. package/types/ecl/activity.d.ts +3 -4
  92. package/types/ecl/dfuWorkunit.d.ts +4 -5
  93. package/types/ecl/graph.d.ts +4 -5
  94. package/types/ecl/logicalFile.d.ts +2 -3
  95. package/types/ecl/machine.d.ts +2 -3
  96. package/types/ecl/query.d.ts +6 -7
  97. package/types/ecl/queryGraph.d.ts +0 -1
  98. package/types/ecl/resource.d.ts +1 -2
  99. package/types/ecl/result.d.ts +4 -5
  100. package/types/ecl/scope.d.ts +2 -3
  101. package/types/ecl/sourceFile.d.ts +2 -3
  102. package/types/ecl/store.d.ts +3 -4
  103. package/types/ecl/targetCluster.d.ts +4 -5
  104. package/types/ecl/timer.d.ts +2 -3
  105. package/types/ecl/topology.d.ts +3 -4
  106. package/types/ecl/workunit.d.ts +10 -11
  107. package/types/ecl/xsdParser.d.ts +0 -1
  108. package/types/espConnection.d.ts +1 -2
  109. package/types/index-common.d.ts +38 -39
  110. package/types/index.node.d.ts +3 -4
  111. package/types/pem/trustwave.d.ts +0 -1
  112. package/types/services/fileSpray.d.ts +1 -2
  113. package/types/services/wsAccess.d.ts +1 -2
  114. package/types/services/wsAccount.d.ts +1 -2
  115. package/types/services/wsCloud.d.ts +1 -2
  116. package/types/services/wsCodesign.d.ts +1 -2
  117. package/types/services/wsDFU.d.ts +1 -2
  118. package/types/services/wsDFUXRef.d.ts +2 -3
  119. package/types/services/wsDali.d.ts +1 -2
  120. package/types/services/wsEcl.d.ts +2 -3
  121. package/types/services/wsElk.d.ts +1 -2
  122. package/types/services/wsLogaccess.d.ts +1 -2
  123. package/types/services/wsMachine.d.ts +1 -2
  124. package/types/services/wsPackageProcess.d.ts +1 -2
  125. package/types/services/wsResources.d.ts +1 -2
  126. package/types/services/wsSMC.d.ts +2 -3
  127. package/types/services/wsSasha.d.ts +1 -2
  128. package/types/services/wsStore.d.ts +2 -3
  129. package/types/services/wsTopology.d.ts +2 -3
  130. package/types/services/wsWorkunits.d.ts +3 -4
  131. package/types/services/wsdl/FileSpray/v1.26/FileSpray.d.ts +2 -3
  132. package/types/services/wsdl/WsCloud/v1/WsCloud.d.ts +2 -3
  133. package/types/services/wsdl/WsDali/v1.07/WsDali.d.ts +2 -3
  134. package/types/services/wsdl/WsDfu/v1.65/WsDfu.d.ts +2 -3
  135. package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +2 -3
  136. package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts +2 -3
  137. package/types/services/wsdl/WsSMC/v1.27/WsSMC.d.ts +2 -3
  138. package/types/services/wsdl/WsSasha/v1.01/WsSasha.d.ts +2 -3
  139. package/types/services/wsdl/WsTopology/v1.32/WsTopology.d.ts +2 -3
  140. package/types/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts +2 -3
  141. package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts +2 -3
  142. package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts +2 -3
  143. package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +2 -3
  144. package/types/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts +2 -3
  145. package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +2 -3
  146. package/dist/index.es6.js +0 -10704
  147. package/dist/index.es6.js.map +0 -1
  148. package/dist/index.min.js +0 -2
  149. package/dist/index.min.js.map +0 -1
  150. package/dist/index.node.min.js +0 -2
  151. package/dist/index.node.min.js.map +0 -1
  152. package/lib-es6/__package__.js +0 -4
  153. package/lib-es6/__package__.js.map +0 -1
  154. package/lib-es6/__tests__/dfuXRef.js +0 -32
  155. package/lib-es6/__tests__/dfuXRef.js.map +0 -1
  156. package/lib-es6/__tests__/https.js +0 -60
  157. package/lib-es6/__tests__/https.js.map +0 -1
  158. package/lib-es6/__tests__/workunit.js +0 -71
  159. package/lib-es6/__tests__/workunit.js.map +0 -1
  160. package/lib-es6/clienttools/eclMeta.js +0 -463
  161. package/lib-es6/clienttools/eclMeta.js.map +0 -1
  162. package/lib-es6/clienttools/eclcc.js +0 -585
  163. package/lib-es6/clienttools/eclcc.js.map +0 -1
  164. package/lib-es6/connection.js +0 -254
  165. package/lib-es6/connection.js.map +0 -1
  166. package/lib-es6/ecl/activity.js +0 -172
  167. package/lib-es6/ecl/activity.js.map +0 -1
  168. package/lib-es6/ecl/dfuWorkunit.js +0 -591
  169. package/lib-es6/ecl/dfuWorkunit.js.map +0 -1
  170. package/lib-es6/ecl/graph.js +0 -289
  171. package/lib-es6/ecl/graph.js.map +0 -1
  172. package/lib-es6/ecl/logicalFile.js +0 -391
  173. package/lib-es6/ecl/logicalFile.js.map +0 -1
  174. package/lib-es6/ecl/machine.js +0 -159
  175. package/lib-es6/ecl/machine.js.map +0 -1
  176. package/lib-es6/ecl/query.js +0 -422
  177. package/lib-es6/ecl/query.js.map +0 -1
  178. package/lib-es6/ecl/queryGraph.js +0 -759
  179. package/lib-es6/ecl/queryGraph.js.map +0 -1
  180. package/lib-es6/ecl/resource.js +0 -47
  181. package/lib-es6/ecl/resource.js.map +0 -1
  182. package/lib-es6/ecl/result.js +0 -288
  183. package/lib-es6/ecl/result.js.map +0 -1
  184. package/lib-es6/ecl/scope.js +0 -234
  185. package/lib-es6/ecl/scope.js.map +0 -1
  186. package/lib-es6/ecl/sourceFile.js +0 -60
  187. package/lib-es6/ecl/sourceFile.js.map +0 -1
  188. package/lib-es6/ecl/store.js +0 -166
  189. package/lib-es6/ecl/store.js.map +0 -1
  190. package/lib-es6/ecl/targetCluster.js +0 -194
  191. package/lib-es6/ecl/targetCluster.js.map +0 -1
  192. package/lib-es6/ecl/timer.js +0 -76
  193. package/lib-es6/ecl/timer.js.map +0 -1
  194. package/lib-es6/ecl/topology.js +0 -156
  195. package/lib-es6/ecl/topology.js.map +0 -1
  196. package/lib-es6/ecl/workunit.js +0 -1553
  197. package/lib-es6/ecl/workunit.js.map +0 -1
  198. package/lib-es6/ecl/xsdParser.js +0 -253
  199. package/lib-es6/ecl/xsdParser.js.map +0 -1
  200. package/lib-es6/espConnection.js +0 -148
  201. package/lib-es6/espConnection.js.map +0 -1
  202. package/lib-es6/index-common.js +0 -39
  203. package/lib-es6/index-common.js.map +0 -1
  204. package/lib-es6/index.js +0 -3
  205. package/lib-es6/index.js.map +0 -1
  206. package/lib-es6/index.node.js +0 -64
  207. package/lib-es6/index.node.js.map +0 -1
  208. package/lib-es6/pem/trustwave.js +0 -2
  209. package/lib-es6/pem/trustwave.js.map +0 -1
  210. package/lib-es6/services/fileSpray.js +0 -40
  211. package/lib-es6/services/fileSpray.js.map +0 -1
  212. package/lib-es6/services/wsAccess.js +0 -12
  213. package/lib-es6/services/wsAccess.js.map +0 -1
  214. package/lib-es6/services/wsAccount.js +0 -27
  215. package/lib-es6/services/wsAccount.js.map +0 -1
  216. package/lib-es6/services/wsCloud.js +0 -23
  217. package/lib-es6/services/wsCloud.js.map +0 -1
  218. package/lib-es6/services/wsCodesign.js +0 -26
  219. package/lib-es6/services/wsCodesign.js.map +0 -1
  220. package/lib-es6/services/wsDFU.js +0 -19
  221. package/lib-es6/services/wsDFU.js.map +0 -1
  222. package/lib-es6/services/wsDFUXRef.js +0 -45
  223. package/lib-es6/services/wsDFUXRef.js.map +0 -1
  224. package/lib-es6/services/wsDali.js +0 -11
  225. package/lib-es6/services/wsDali.js.map +0 -1
  226. package/lib-es6/services/wsEcl.js +0 -111
  227. package/lib-es6/services/wsEcl.js.map +0 -1
  228. package/lib-es6/services/wsElk.js +0 -11
  229. package/lib-es6/services/wsElk.js.map +0 -1
  230. package/lib-es6/services/wsLogaccess.js +0 -226
  231. package/lib-es6/services/wsLogaccess.js.map +0 -1
  232. package/lib-es6/services/wsMachine.js +0 -57
  233. package/lib-es6/services/wsMachine.js.map +0 -1
  234. package/lib-es6/services/wsPackageProcess.js +0 -11
  235. package/lib-es6/services/wsPackageProcess.js.map +0 -1
  236. package/lib-es6/services/wsResources.js +0 -11
  237. package/lib-es6/services/wsResources.js.map +0 -1
  238. package/lib-es6/services/wsSMC.js +0 -22
  239. package/lib-es6/services/wsSMC.js.map +0 -1
  240. package/lib-es6/services/wsSasha.js +0 -12
  241. package/lib-es6/services/wsSasha.js.map +0 -1
  242. package/lib-es6/services/wsStore.js +0 -56
  243. package/lib-es6/services/wsStore.js.map +0 -1
  244. package/lib-es6/services/wsTopology.js +0 -45
  245. package/lib-es6/services/wsTopology.js.map +0 -1
  246. package/lib-es6/services/wsWorkunits.js +0 -136
  247. package/lib-es6/services/wsWorkunits.js.map +0 -1
  248. package/lib-es6/services/wsdl/FileSpray/v1.23/FileSpray.js +0 -110
  249. package/lib-es6/services/wsdl/FileSpray/v1.23/FileSpray.js.map +0 -1
  250. package/lib-es6/services/wsdl/FileSpray/v1.25/FileSpray.js +0 -116
  251. package/lib-es6/services/wsdl/FileSpray/v1.25/FileSpray.js.map +0 -1
  252. package/lib-es6/services/wsdl/FileSpray/v1.26/FileSpray.js +0 -119
  253. package/lib-es6/services/wsdl/FileSpray/v1.26/FileSpray.js.map +0 -1
  254. package/lib-es6/services/wsdl/WsCloud/v1/WsCloud.js +0 -17
  255. package/lib-es6/services/wsdl/WsCloud/v1/WsCloud.js.map +0 -1
  256. package/lib-es6/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.js +0 -47
  257. package/lib-es6/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.js.map +0 -1
  258. package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js +0 -68
  259. package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js.map +0 -1
  260. package/lib-es6/services/wsdl/WsDali/v1.07/WsDali.js +0 -101
  261. package/lib-es6/services/wsdl/WsDali/v1.07/WsDali.js.map +0 -1
  262. package/lib-es6/services/wsdl/WsDfu/v1.62/WsDfu.js +0 -142
  263. package/lib-es6/services/wsdl/WsDfu/v1.62/WsDfu.js.map +0 -1
  264. package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js +0 -145
  265. package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js.map +0 -1
  266. package/lib-es6/services/wsdl/WsDfu/v1.65/WsDfu.js +0 -145
  267. package/lib-es6/services/wsdl/WsDfu/v1.65/WsDfu.js.map +0 -1
  268. package/lib-es6/services/wsdl/WsFileIO/v1.01/WsFileIO.js +0 -23
  269. package/lib-es6/services/wsdl/WsFileIO/v1.01/WsFileIO.js.map +0 -1
  270. package/lib-es6/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.js +0 -62
  271. package/lib-es6/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.js.map +0 -1
  272. package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js +0 -20
  273. package/lib-es6/services/wsdl/WsResources/v1.01/WsResources.js.map +0 -1
  274. package/lib-es6/services/wsdl/WsSMC/v1.24/WsSMC.js +0 -93
  275. package/lib-es6/services/wsdl/WsSMC/v1.24/WsSMC.js.map +0 -1
  276. package/lib-es6/services/wsdl/WsSMC/v1.27/WsSMC.js +0 -99
  277. package/lib-es6/services/wsdl/WsSMC/v1.27/WsSMC.js.map +0 -1
  278. package/lib-es6/services/wsdl/WsSasha/v1.01/WsSasha.js +0 -34
  279. package/lib-es6/services/wsdl/WsSasha/v1.01/WsSasha.js.map +0 -1
  280. package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js +0 -80
  281. package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js.map +0 -1
  282. package/lib-es6/services/wsdl/WsTopology/v1.32/WsTopology.js +0 -83
  283. package/lib-es6/services/wsdl/WsTopology/v1.32/WsTopology.js.map +0 -1
  284. package/lib-es6/services/wsdl/WsWorkunits/v1.88/WsWorkunits.js +0 -328
  285. package/lib-es6/services/wsdl/WsWorkunits/v1.88/WsWorkunits.js.map +0 -1
  286. package/lib-es6/services/wsdl/WsWorkunits/v1.94/WsWorkunits.js +0 -354
  287. package/lib-es6/services/wsdl/WsWorkunits/v1.94/WsWorkunits.js.map +0 -1
  288. package/lib-es6/services/wsdl/WsWorkunits/v1.95/WsWorkunits.js +0 -354
  289. package/lib-es6/services/wsdl/WsWorkunits/v1.95/WsWorkunits.js.map +0 -1
  290. package/lib-es6/services/wsdl/WsWorkunits/v1.97/WsWorkunits.js +0 -376
  291. package/lib-es6/services/wsdl/WsWorkunits/v1.97/WsWorkunits.js.map +0 -1
  292. package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js +0 -370
  293. package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js.map +0 -1
  294. package/lib-es6/services/wsdl/WsWorkunits/v1.99/WsWorkunits.js +0 -376
  295. package/lib-es6/services/wsdl/WsWorkunits/v1.99/WsWorkunits.js.map +0 -1
  296. package/lib-es6/services/wsdl/WsWorkunits/v2/WsWorkunits.js +0 -376
  297. package/lib-es6/services/wsdl/WsWorkunits/v2/WsWorkunits.js.map +0 -1
  298. package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js +0 -203
  299. package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js.map +0 -1
  300. package/lib-es6/services/wsdl/ws_access/v1.17/ws_access.js +0 -200
  301. package/lib-es6/services/wsdl/ws_access/v1.17/ws_access.js.map +0 -1
  302. package/lib-es6/services/wsdl/ws_account/v1.05/ws_account.js +0 -26
  303. package/lib-es6/services/wsdl/ws_account/v1.05/ws_account.js.map +0 -1
  304. package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js +0 -26
  305. package/lib-es6/services/wsdl/ws_account/v1.06/ws_account.js.map +0 -1
  306. package/lib-es6/services/wsdl/ws_codesign/v1.1/ws_codesign.js +0 -27
  307. package/lib-es6/services/wsdl/ws_codesign/v1.1/ws_codesign.js.map +0 -1
  308. package/lib-es6/services/wsdl/ws_elk/v1/ws_elk.js +0 -17
  309. package/lib-es6/services/wsdl/ws_elk/v1/ws_elk.js.map +0 -1
  310. package/lib-es6/services/wsdl/ws_logaccess/v1/ws_logaccess.js +0 -28
  311. package/lib-es6/services/wsdl/ws_logaccess/v1/ws_logaccess.js.map +0 -1
  312. package/lib-es6/services/wsdl/ws_logaccess/v1.02/ws_logaccess.js +0 -47
  313. package/lib-es6/services/wsdl/ws_logaccess/v1.02/ws_logaccess.js.map +0 -1
  314. package/lib-es6/services/wsdl/ws_logaccess/v1.03/ws_logaccess.js +0 -63
  315. package/lib-es6/services/wsdl/ws_logaccess/v1.03/ws_logaccess.js.map +0 -1
  316. package/lib-es6/services/wsdl/ws_logaccess/v1.04/ws_logaccess.js +0 -85
  317. package/lib-es6/services/wsdl/ws_logaccess/v1.04/ws_logaccess.js.map +0 -1
  318. package/lib-es6/services/wsdl/ws_logaccess/v1.05/ws_logaccess.js +0 -88
  319. package/lib-es6/services/wsdl/ws_logaccess/v1.05/ws_logaccess.js.map +0 -1
  320. package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js +0 -41
  321. package/lib-es6/services/wsdl/ws_machine/v1.17/ws_machine.js.map +0 -1
  322. package/lib-es6/services/wsdl/wsstore/v1.02/wsstore.js +0 -44
  323. package/lib-es6/services/wsdl/wsstore/v1.02/wsstore.js.map +0 -1
  324. package/src/__tests__/dfuXRef.ts +0 -22
  325. package/src/__tests__/https.ts +0 -69
  326. package/src/__tests__/workunit.ts +0 -35
  327. package/types/__package__.d.ts.map +0 -1
  328. package/types/__tests__/dfuXRef.d.ts +0 -2
  329. package/types/__tests__/dfuXRef.d.ts.map +0 -1
  330. package/types/__tests__/https.d.ts +0 -2
  331. package/types/__tests__/https.d.ts.map +0 -1
  332. package/types/__tests__/workunit.d.ts +0 -2
  333. package/types/__tests__/workunit.d.ts.map +0 -1
  334. package/types/clienttools/eclMeta.d.ts.map +0 -1
  335. package/types/clienttools/eclcc.d.ts.map +0 -1
  336. package/types/connection.d.ts.map +0 -1
  337. package/types/ecl/activity.d.ts.map +0 -1
  338. package/types/ecl/dfuWorkunit.d.ts.map +0 -1
  339. package/types/ecl/graph.d.ts.map +0 -1
  340. package/types/ecl/logicalFile.d.ts.map +0 -1
  341. package/types/ecl/machine.d.ts.map +0 -1
  342. package/types/ecl/query.d.ts.map +0 -1
  343. package/types/ecl/queryGraph.d.ts.map +0 -1
  344. package/types/ecl/resource.d.ts.map +0 -1
  345. package/types/ecl/result.d.ts.map +0 -1
  346. package/types/ecl/scope.d.ts.map +0 -1
  347. package/types/ecl/sourceFile.d.ts.map +0 -1
  348. package/types/ecl/store.d.ts.map +0 -1
  349. package/types/ecl/targetCluster.d.ts.map +0 -1
  350. package/types/ecl/timer.d.ts.map +0 -1
  351. package/types/ecl/topology.d.ts.map +0 -1
  352. package/types/ecl/workunit.d.ts.map +0 -1
  353. package/types/ecl/xsdParser.d.ts.map +0 -1
  354. package/types/espConnection.d.ts.map +0 -1
  355. package/types/index-common.d.ts.map +0 -1
  356. package/types/index.d.ts +0 -3
  357. package/types/index.d.ts.map +0 -1
  358. package/types/index.node.d.ts.map +0 -1
  359. package/types/pem/trustwave.d.ts.map +0 -1
  360. package/types/services/fileSpray.d.ts.map +0 -1
  361. package/types/services/wsAccess.d.ts.map +0 -1
  362. package/types/services/wsAccount.d.ts.map +0 -1
  363. package/types/services/wsCloud.d.ts.map +0 -1
  364. package/types/services/wsCodesign.d.ts.map +0 -1
  365. package/types/services/wsDFU.d.ts.map +0 -1
  366. package/types/services/wsDFUXRef.d.ts.map +0 -1
  367. package/types/services/wsDali.d.ts.map +0 -1
  368. package/types/services/wsEcl.d.ts.map +0 -1
  369. package/types/services/wsElk.d.ts.map +0 -1
  370. package/types/services/wsLogaccess.d.ts.map +0 -1
  371. package/types/services/wsMachine.d.ts.map +0 -1
  372. package/types/services/wsPackageProcess.d.ts.map +0 -1
  373. package/types/services/wsResources.d.ts.map +0 -1
  374. package/types/services/wsSMC.d.ts.map +0 -1
  375. package/types/services/wsSasha.d.ts.map +0 -1
  376. package/types/services/wsStore.d.ts.map +0 -1
  377. package/types/services/wsTopology.d.ts.map +0 -1
  378. package/types/services/wsWorkunits.d.ts.map +0 -1
  379. package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +0 -830
  380. package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts.map +0 -1
  381. package/types/services/wsdl/FileSpray/v1.25/FileSpray.d.ts +0 -856
  382. package/types/services/wsdl/FileSpray/v1.25/FileSpray.d.ts.map +0 -1
  383. package/types/services/wsdl/FileSpray/v1.26/FileSpray.d.ts.map +0 -1
  384. package/types/services/wsdl/WsCloud/v1/WsCloud.d.ts.map +0 -1
  385. package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +0 -148
  386. package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts.map +0 -1
  387. package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts +0 -125
  388. package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts.map +0 -1
  389. package/types/services/wsdl/WsDali/v1.07/WsDali.d.ts.map +0 -1
  390. package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +0 -1224
  391. package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts.map +0 -1
  392. package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +0 -1233
  393. package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts.map +0 -1
  394. package/types/services/wsdl/WsDfu/v1.65/WsDfu.d.ts.map +0 -1
  395. package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +0 -77
  396. package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts.map +0 -1
  397. package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts.map +0 -1
  398. package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts.map +0 -1
  399. package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +0 -515
  400. package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts.map +0 -1
  401. package/types/services/wsdl/WsSMC/v1.27/WsSMC.d.ts.map +0 -1
  402. package/types/services/wsdl/WsSasha/v1.01/WsSasha.d.ts.map +0 -1
  403. package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +0 -694
  404. package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts.map +0 -1
  405. package/types/services/wsdl/WsTopology/v1.32/WsTopology.d.ts.map +0 -1
  406. package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +0 -2405
  407. package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts.map +0 -1
  408. package/types/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts +0 -2520
  409. package/types/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts.map +0 -1
  410. package/types/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts +0 -2521
  411. package/types/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts.map +0 -1
  412. package/types/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts +0 -2529
  413. package/types/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts.map +0 -1
  414. package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts +0 -2623
  415. package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts.map +0 -1
  416. package/types/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts +0 -2555
  417. package/types/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts.map +0 -1
  418. package/types/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts.map +0 -1
  419. package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts +0 -778
  420. package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts.map +0 -1
  421. package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts.map +0 -1
  422. package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts +0 -74
  423. package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts.map +0 -1
  424. package/types/services/wsdl/ws_account/v1.06/ws_account.d.ts.map +0 -1
  425. package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +0 -67
  426. package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts.map +0 -1
  427. package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts.map +0 -1
  428. package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +0 -56
  429. package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts.map +0 -1
  430. package/types/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts +0 -126
  431. package/types/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts.map +0 -1
  432. package/types/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts +0 -150
  433. package/types/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts.map +0 -1
  434. package/types/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts +0 -171
  435. package/types/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts.map +0 -1
  436. package/types/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts.map +0 -1
  437. package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts.map +0 -1
  438. package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +0 -179
  439. package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts.map +0 -1
  440. package/types-3.4/__package__.d.ts +0 -4
  441. package/types-3.4/__tests__/dfuXRef.d.ts +0 -2
  442. package/types-3.4/__tests__/https.d.ts +0 -2
  443. package/types-3.4/__tests__/workunit.d.ts +0 -2
  444. package/types-3.4/clienttools/eclMeta.d.ts +0 -124
  445. package/types-3.4/clienttools/eclcc.d.ts +0 -105
  446. package/types-3.4/connection.d.ts +0 -43
  447. package/types-3.4/ecl/activity.d.ts +0 -40
  448. package/types-3.4/ecl/dfuWorkunit.d.ts +0 -103
  449. package/types-3.4/ecl/graph.d.ts +0 -46
  450. package/types-3.4/ecl/logicalFile.d.ts +0 -91
  451. package/types-3.4/ecl/machine.d.ts +0 -40
  452. package/types-3.4/ecl/query.d.ts +0 -70
  453. package/types-3.4/ecl/queryGraph.d.ts +0 -101
  454. package/types-3.4/ecl/resource.d.ts +0 -16
  455. package/types-3.4/ecl/result.d.ts +0 -88
  456. package/types-3.4/ecl/scope.d.ts +0 -55
  457. package/types-3.4/ecl/sourceFile.d.ts +0 -19
  458. package/types-3.4/ecl/store.d.ts +0 -40
  459. package/types-3.4/ecl/targetCluster.d.ts +0 -43
  460. package/types-3.4/ecl/timer.d.ts +0 -24
  461. package/types-3.4/ecl/topology.d.ts +0 -33
  462. package/types-3.4/ecl/workunit.d.ts +0 -275
  463. package/types-3.4/ecl/xsdParser.d.ts +0 -42
  464. package/types-3.4/espConnection.d.ts +0 -42
  465. package/types-3.4/index-common.d.ts +0 -39
  466. package/types-3.4/index.d.ts +0 -3
  467. package/types-3.4/index.node.d.ts +0 -4
  468. package/types-3.4/pem/trustwave.d.ts +0 -2
  469. package/types-3.4/services/fileSpray.d.ts +0 -27
  470. package/types-3.4/services/wsAccess.d.ts +0 -5
  471. package/types-3.4/services/wsAccount.d.ts +0 -6
  472. package/types-3.4/services/wsCloud.d.ts +0 -6
  473. package/types-3.4/services/wsCodesign.d.ts +0 -57
  474. package/types-3.4/services/wsDFU.d.ts +0 -11
  475. package/types-3.4/services/wsDFUXRef.d.ts +0 -220
  476. package/types-3.4/services/wsDali.d.ts +0 -5
  477. package/types-3.4/services/wsEcl.d.ts +0 -18
  478. package/types-3.4/services/wsElk.d.ts +0 -5
  479. package/types-3.4/services/wsLogaccess.d.ts +0 -55
  480. package/types-3.4/services/wsMachine.d.ts +0 -29
  481. package/types-3.4/services/wsPackageProcess.d.ts +0 -5
  482. package/types-3.4/services/wsResources.d.ts +0 -5
  483. package/types-3.4/services/wsSMC.d.ts +0 -8
  484. package/types-3.4/services/wsSasha.d.ts +0 -5
  485. package/types-3.4/services/wsStore.d.ts +0 -147
  486. package/types-3.4/services/wsTopology.d.ts +0 -10
  487. package/types-3.4/services/wsWorkunits.d.ts +0 -64
  488. package/types-3.4/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +0 -830
  489. package/types-3.4/services/wsdl/FileSpray/v1.25/FileSpray.d.ts +0 -856
  490. package/types-3.4/services/wsdl/FileSpray/v1.26/FileSpray.d.ts +0 -736
  491. package/types-3.4/services/wsdl/WsCloud/v1/WsCloud.d.ts +0 -19
  492. package/types-3.4/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +0 -148
  493. package/types-3.4/services/wsdl/WsDali/v1.04/WsDali.d.ts +0 -125
  494. package/types-3.4/services/wsdl/WsDali/v1.07/WsDali.d.ts +0 -158
  495. package/types-3.4/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +0 -1224
  496. package/types-3.4/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +0 -1233
  497. package/types-3.4/services/wsdl/WsDfu/v1.65/WsDfu.d.ts +0 -1011
  498. package/types-3.4/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +0 -77
  499. package/types-3.4/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +0 -396
  500. package/types-3.4/services/wsdl/WsResources/v1.01/WsResources.d.ts +0 -85
  501. package/types-3.4/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +0 -515
  502. package/types-3.4/services/wsdl/WsSMC/v1.27/WsSMC.d.ts +0 -519
  503. package/types-3.4/services/wsdl/WsSasha/v1.01/WsSasha.d.ts +0 -65
  504. package/types-3.4/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +0 -694
  505. package/types-3.4/services/wsdl/WsTopology/v1.32/WsTopology.d.ts +0 -716
  506. package/types-3.4/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +0 -2405
  507. package/types-3.4/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts +0 -2520
  508. package/types-3.4/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts +0 -2521
  509. package/types-3.4/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts +0 -2529
  510. package/types-3.4/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts +0 -2623
  511. package/types-3.4/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts +0 -2555
  512. package/types-3.4/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts +0 -2549
  513. package/types-3.4/services/wsdl/ws_access/v1.16/ws_access.d.ts +0 -778
  514. package/types-3.4/services/wsdl/ws_access/v1.17/ws_access.d.ts +0 -721
  515. package/types-3.4/services/wsdl/ws_account/v1.05/ws_account.d.ts +0 -74
  516. package/types-3.4/services/wsdl/ws_account/v1.06/ws_account.d.ts +0 -71
  517. package/types-3.4/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +0 -67
  518. package/types-3.4/services/wsdl/ws_elk/v1/ws_elk.d.ts +0 -28
  519. package/types-3.4/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +0 -56
  520. package/types-3.4/services/wsdl/ws_logaccess/v1.02/ws_logaccess.d.ts +0 -126
  521. package/types-3.4/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts +0 -150
  522. package/types-3.4/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts +0 -171
  523. package/types-3.4/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts +0 -175
  524. package/types-3.4/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +0 -470
  525. package/types-3.4/services/wsdl/wsstore/v1.02/wsstore.d.ts +0 -179
@@ -1,289 +0,0 @@
1
- import { __assign, __extends } from "tslib";
2
- import { Cache, Edge, Graph, StateObject, Subgraph, Vertex } from "@hpcc-js/util";
3
- var ECLGraph = /** @class */ (function (_super) {
4
- __extends(ECLGraph, _super);
5
- function ECLGraph(wu, eclGraph, eclTimers) {
6
- var _this = _super.call(this) || this;
7
- _this.wu = wu;
8
- var duration = 0;
9
- for (var _i = 0, eclTimers_1 = eclTimers; _i < eclTimers_1.length; _i++) {
10
- var eclTimer = eclTimers_1[_i];
11
- if (eclTimer.GraphName === eclGraph.Name && !eclTimer.HasSubGraphId) {
12
- duration = Math.round(eclTimer.Seconds * 1000) / 1000;
13
- break;
14
- }
15
- }
16
- _this.set(__assign({ Time: duration }, eclGraph));
17
- return _this;
18
- }
19
- Object.defineProperty(ECLGraph.prototype, "properties", {
20
- get: function () { return this.get(); },
21
- enumerable: false,
22
- configurable: true
23
- });
24
- Object.defineProperty(ECLGraph.prototype, "Name", {
25
- get: function () { return this.get("Name"); },
26
- enumerable: false,
27
- configurable: true
28
- });
29
- Object.defineProperty(ECLGraph.prototype, "Label", {
30
- get: function () { return this.get("Label"); },
31
- enumerable: false,
32
- configurable: true
33
- });
34
- Object.defineProperty(ECLGraph.prototype, "Type", {
35
- get: function () { return this.get("Type"); },
36
- enumerable: false,
37
- configurable: true
38
- });
39
- Object.defineProperty(ECLGraph.prototype, "Complete", {
40
- get: function () { return this.get("Complete"); },
41
- enumerable: false,
42
- configurable: true
43
- });
44
- Object.defineProperty(ECLGraph.prototype, "WhenStarted", {
45
- get: function () { return this.get("WhenStarted"); },
46
- enumerable: false,
47
- configurable: true
48
- });
49
- Object.defineProperty(ECLGraph.prototype, "WhenFinished", {
50
- get: function () { return this.get("WhenFinished"); },
51
- enumerable: false,
52
- configurable: true
53
- });
54
- Object.defineProperty(ECLGraph.prototype, "Time", {
55
- get: function () { return this.get("Time"); },
56
- enumerable: false,
57
- configurable: true
58
- });
59
- Object.defineProperty(ECLGraph.prototype, "Running", {
60
- get: function () { return this.get("Running"); },
61
- enumerable: false,
62
- configurable: true
63
- });
64
- Object.defineProperty(ECLGraph.prototype, "RunningId", {
65
- get: function () { return this.get("RunningId"); },
66
- enumerable: false,
67
- configurable: true
68
- });
69
- Object.defineProperty(ECLGraph.prototype, "Failed", {
70
- get: function () { return this.get("Failed"); },
71
- enumerable: false,
72
- configurable: true
73
- });
74
- ECLGraph.prototype.fetchScopeGraph = function (subgraphID) {
75
- if (subgraphID) {
76
- return this.wu.fetchGraphDetails([subgraphID], ["subgraph"]).then(function (scopes) {
77
- return createGraph(scopes);
78
- });
79
- }
80
- return this.wu.fetchGraphDetails([this.Name], ["graph"]).then(function (scopes) {
81
- return createGraph(scopes);
82
- });
83
- };
84
- return ECLGraph;
85
- }(StateObject));
86
- export { ECLGraph };
87
- var GraphCache = /** @class */ (function (_super) {
88
- __extends(GraphCache, _super);
89
- function GraphCache() {
90
- return _super.call(this, function (obj) {
91
- return Cache.hash([obj.Name]);
92
- }) || this;
93
- }
94
- return GraphCache;
95
- }(Cache));
96
- export { GraphCache };
97
- function walkXmlJson(node, callback, stack) {
98
- stack = stack || [];
99
- stack.push(node);
100
- callback(node.name, node.$, node.children(), stack);
101
- node.children().forEach(function (childNode) {
102
- walkXmlJson(childNode, callback, stack);
103
- });
104
- stack.pop();
105
- }
106
- function flattenAtt(nodes) {
107
- var retVal = {};
108
- nodes.forEach(function (node) {
109
- if (node.name === "att") {
110
- retVal[node.$["name"]] = node.$["value"];
111
- }
112
- });
113
- return retVal;
114
- }
115
- var XGMMLGraph = /** @class */ (function (_super) {
116
- __extends(XGMMLGraph, _super);
117
- function XGMMLGraph() {
118
- return _super !== null && _super.apply(this, arguments) || this;
119
- }
120
- return XGMMLGraph;
121
- }(Graph));
122
- export { XGMMLGraph };
123
- var XGMMLSubgraph = /** @class */ (function (_super) {
124
- __extends(XGMMLSubgraph, _super);
125
- function XGMMLSubgraph() {
126
- return _super !== null && _super.apply(this, arguments) || this;
127
- }
128
- return XGMMLSubgraph;
129
- }(Subgraph));
130
- export { XGMMLSubgraph };
131
- var XGMMLVertex = /** @class */ (function (_super) {
132
- __extends(XGMMLVertex, _super);
133
- function XGMMLVertex() {
134
- return _super !== null && _super.apply(this, arguments) || this;
135
- }
136
- return XGMMLVertex;
137
- }(Vertex));
138
- export { XGMMLVertex };
139
- var XGMMLEdge = /** @class */ (function (_super) {
140
- __extends(XGMMLEdge, _super);
141
- function XGMMLEdge() {
142
- return _super !== null && _super.apply(this, arguments) || this;
143
- }
144
- return XGMMLEdge;
145
- }(Edge));
146
- export { XGMMLEdge };
147
- export function createXGMMLGraph(id, graphs) {
148
- var subgraphs = {};
149
- var vertices = {};
150
- var edges = {};
151
- var graph = new XGMMLGraph(function (item) {
152
- return item._["id"];
153
- });
154
- var stack = [graph.root];
155
- walkXmlJson(graphs, function (tag, attributes, childNodes, _stack) {
156
- var top = stack[stack.length - 1];
157
- switch (tag) {
158
- case "graph":
159
- break;
160
- case "node":
161
- if (childNodes.length && childNodes[0].children().length && childNodes[0].children()[0].name === "graph") {
162
- var subgraph = top.createSubgraph(flattenAtt(childNodes));
163
- stack.push(subgraph);
164
- subgraphs[attributes["id"]] = subgraph;
165
- }
166
- else {
167
- }
168
- // TODO: Is this really a node when its also a subgraph?
169
- var vertex = top.createVertex(flattenAtt(childNodes));
170
- vertices[attributes["id"]] = vertex;
171
- break;
172
- case "edge":
173
- var edge = top.createEdge(vertices[attributes["source"]], vertices[attributes["target"]], flattenAtt(childNodes));
174
- edges[attributes["id"]] = edge;
175
- break;
176
- default:
177
- }
178
- });
179
- return graph;
180
- }
181
- var ScopeGraph = /** @class */ (function (_super) {
182
- __extends(ScopeGraph, _super);
183
- function ScopeGraph() {
184
- return _super !== null && _super.apply(this, arguments) || this;
185
- }
186
- return ScopeGraph;
187
- }(Graph));
188
- export { ScopeGraph };
189
- var ScopeSubgraph = /** @class */ (function (_super) {
190
- __extends(ScopeSubgraph, _super);
191
- function ScopeSubgraph() {
192
- return _super !== null && _super.apply(this, arguments) || this;
193
- }
194
- return ScopeSubgraph;
195
- }(Subgraph));
196
- export { ScopeSubgraph };
197
- var ScopeVertex = /** @class */ (function (_super) {
198
- __extends(ScopeVertex, _super);
199
- function ScopeVertex() {
200
- return _super !== null && _super.apply(this, arguments) || this;
201
- }
202
- return ScopeVertex;
203
- }(Vertex));
204
- export { ScopeVertex };
205
- var ScopeEdge = /** @class */ (function (_super) {
206
- __extends(ScopeEdge, _super);
207
- function ScopeEdge() {
208
- return _super !== null && _super.apply(this, arguments) || this;
209
- }
210
- return ScopeEdge;
211
- }(Edge));
212
- export { ScopeEdge };
213
- export function createGraph(scopes) {
214
- var subgraphs = {};
215
- var edges = {};
216
- var vertices = {};
217
- var graph;
218
- for (var _i = 0, scopes_1 = scopes; _i < scopes_1.length; _i++) {
219
- var scope = scopes_1[_i];
220
- switch (scope.ScopeType) {
221
- case "graph":
222
- graph = new ScopeGraph(function (item) { return item._.Id; }, scope);
223
- subgraphs[scope.ScopeName] = graph.root;
224
- break;
225
- case "subgraph":
226
- if (!graph) {
227
- graph = new ScopeGraph(function (item) { return item._.Id; }, scope);
228
- subgraphs[scope.ScopeName] = graph.root;
229
- }
230
- var scopeStack = scope.parentScope().split(":");
231
- var scopeParent1 = subgraphs[scope.parentScope()];
232
- while (scopeStack.length && !scopeParent1) {
233
- scopeParent1 = subgraphs[scopeStack.join(":")];
234
- scopeStack.pop();
235
- }
236
- if (!scopeParent1) {
237
- console.warn("Missing SG:Parent (".concat(scope.Id, "): ").concat(scope.parentScope()));
238
- }
239
- else {
240
- var parent1 = scopeParent1;
241
- subgraphs[scope.ScopeName] = parent1.createSubgraph(scope);
242
- }
243
- break;
244
- case "activity":
245
- var scopeParent2 = subgraphs[scope.parentScope()];
246
- if (!scopeParent2) {
247
- console.warn("Missing A:Parent (".concat(scope.Id, "): ").concat(scope.parentScope()));
248
- }
249
- else {
250
- vertices[scope.ScopeName] = scopeParent2.createVertex(scope);
251
- }
252
- break;
253
- case "edge":
254
- edges[scope.ScopeName] = scope;
255
- break;
256
- case "function":
257
- var scopeParent3 = vertices[scope.parentScope()];
258
- if (!scopeParent3) {
259
- console.warn("Missing F:Parent (".concat(scope.Id, "): ").concat(scope.parentScope()));
260
- }
261
- else {
262
- scopeParent3._.children().push(scope);
263
- }
264
- break;
265
- }
266
- }
267
- for (var id in edges) {
268
- var scope = edges[id];
269
- var scopeParent3 = subgraphs[scope.parentScope()];
270
- if (!scopeParent3) {
271
- console.warn("Missing E:Parent (".concat(scope.Id, "): ").concat(scope.parentScope()));
272
- }
273
- else {
274
- var parent3 = scopeParent3;
275
- try {
276
- var source = graph.vertex(scope.attr("IdSource").RawValue);
277
- var target = graph.vertex(scope.attr("IdTarget").RawValue);
278
- parent3.createEdge(source, target, scope);
279
- }
280
- catch (e) {
281
- // const sourceIndex = scope.attr("SourceIndex").RawValue;
282
- // const targetIndex = scope.attr("TargetIndex").RawValue;
283
- console.warn("Invalid Edge: ".concat(id));
284
- }
285
- }
286
- }
287
- return graph;
288
- }
289
- //# sourceMappingURL=graph.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph.js","sourceRoot":"","sources":["../../src/ecl/graph.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,QAAQ,EAAE,MAAM,EAAW,MAAM,eAAe,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AAC,CAAC;gBAC9D,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;YAC9C,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACT,0DAA0D;gBAC1D,0DAA0D;gBAC1D,OAAO,CAAC,IAAI,CAAC,wBAAiB,EAAE,CAAE,CAAC,CAAC;YACxC,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAM,CAAC;AAClB,CAAC"}
@@ -1,391 +0,0 @@
1
- import { __assign, __extends, __spreadArray } from "tslib";
2
- import { Cache, scopedLogger, StateObject } from "@hpcc-js/util";
3
- import { DFUService } from "../services/wsDFU";
4
- var logger = scopedLogger("logicalFile.ts");
5
- var LogicalFileCache = /** @class */ (function (_super) {
6
- __extends(LogicalFileCache, _super);
7
- function LogicalFileCache() {
8
- return _super.call(this, function (obj) {
9
- return "".concat(obj.BaseUrl, "-").concat(obj.Cluster, "-").concat(obj.Name);
10
- }) || this;
11
- }
12
- return LogicalFileCache;
13
- }(Cache));
14
- export { LogicalFileCache };
15
- var _store = new LogicalFileCache();
16
- var LogicalFile = /** @class */ (function (_super) {
17
- __extends(LogicalFile, _super);
18
- function LogicalFile(optsConnection, Cluster, Name) {
19
- var _this = _super.call(this) || this;
20
- if (optsConnection instanceof DFUService) {
21
- _this.connection = optsConnection;
22
- }
23
- else {
24
- _this.connection = new DFUService(optsConnection);
25
- }
26
- _this.clear({
27
- Cluster: Cluster,
28
- Name: Name
29
- });
30
- return _this;
31
- }
32
- Object.defineProperty(LogicalFile.prototype, "BaseUrl", {
33
- get: function () { return this.connection.baseUrl; },
34
- enumerable: false,
35
- configurable: true
36
- });
37
- Object.defineProperty(LogicalFile.prototype, "Cluster", {
38
- get: function () { return this.get("Cluster"); },
39
- enumerable: false,
40
- configurable: true
41
- });
42
- Object.defineProperty(LogicalFile.prototype, "Name", {
43
- get: function () { return this.get("Name"); },
44
- enumerable: false,
45
- configurable: true
46
- });
47
- Object.defineProperty(LogicalFile.prototype, "Filename", {
48
- get: function () { return this.get("Filename"); },
49
- enumerable: false,
50
- configurable: true
51
- });
52
- Object.defineProperty(LogicalFile.prototype, "Prefix", {
53
- get: function () { return this.get("Prefix"); },
54
- enumerable: false,
55
- configurable: true
56
- });
57
- Object.defineProperty(LogicalFile.prototype, "NodeGroup", {
58
- get: function () { return this.get("NodeGroup"); },
59
- enumerable: false,
60
- configurable: true
61
- });
62
- Object.defineProperty(LogicalFile.prototype, "NumParts", {
63
- get: function () { return this.get("NumParts"); },
64
- enumerable: false,
65
- configurable: true
66
- });
67
- Object.defineProperty(LogicalFile.prototype, "Description", {
68
- get: function () { return this.get("Description"); },
69
- enumerable: false,
70
- configurable: true
71
- });
72
- Object.defineProperty(LogicalFile.prototype, "Dir", {
73
- get: function () { return this.get("Dir"); },
74
- enumerable: false,
75
- configurable: true
76
- });
77
- Object.defineProperty(LogicalFile.prototype, "PathMask", {
78
- get: function () { return this.get("PathMask"); },
79
- enumerable: false,
80
- configurable: true
81
- });
82
- Object.defineProperty(LogicalFile.prototype, "Filesize", {
83
- get: function () { return this.get("Filesize"); },
84
- enumerable: false,
85
- configurable: true
86
- });
87
- Object.defineProperty(LogicalFile.prototype, "FileSizeInt64", {
88
- get: function () { return this.get("FileSizeInt64"); },
89
- enumerable: false,
90
- configurable: true
91
- });
92
- Object.defineProperty(LogicalFile.prototype, "RecordSize", {
93
- get: function () { return this.get("RecordSize"); },
94
- enumerable: false,
95
- configurable: true
96
- });
97
- Object.defineProperty(LogicalFile.prototype, "RecordCount", {
98
- get: function () { return this.get("RecordCount"); },
99
- enumerable: false,
100
- configurable: true
101
- });
102
- Object.defineProperty(LogicalFile.prototype, "RecordSizeInt64", {
103
- get: function () { return this.get("RecordSizeInt64"); },
104
- enumerable: false,
105
- configurable: true
106
- });
107
- Object.defineProperty(LogicalFile.prototype, "RecordCountInt64", {
108
- get: function () { return this.get("RecordCountInt64"); },
109
- enumerable: false,
110
- configurable: true
111
- });
112
- Object.defineProperty(LogicalFile.prototype, "Wuid", {
113
- get: function () { return this.get("Wuid"); },
114
- enumerable: false,
115
- configurable: true
116
- });
117
- Object.defineProperty(LogicalFile.prototype, "Owner", {
118
- get: function () { return this.get("Owner"); },
119
- enumerable: false,
120
- configurable: true
121
- });
122
- Object.defineProperty(LogicalFile.prototype, "JobName", {
123
- get: function () { return this.get("JobName"); },
124
- enumerable: false,
125
- configurable: true
126
- });
127
- Object.defineProperty(LogicalFile.prototype, "Persistent", {
128
- get: function () { return this.get("Persistent"); },
129
- enumerable: false,
130
- configurable: true
131
- });
132
- Object.defineProperty(LogicalFile.prototype, "Format", {
133
- get: function () { return this.get("Format"); },
134
- enumerable: false,
135
- configurable: true
136
- });
137
- Object.defineProperty(LogicalFile.prototype, "MaxRecordSize", {
138
- get: function () { return this.get("MaxRecordSize"); },
139
- enumerable: false,
140
- configurable: true
141
- });
142
- Object.defineProperty(LogicalFile.prototype, "CsvSeparate", {
143
- get: function () { return this.get("CsvSeparate"); },
144
- enumerable: false,
145
- configurable: true
146
- });
147
- Object.defineProperty(LogicalFile.prototype, "CsvQuote", {
148
- get: function () { return this.get("CsvQuote"); },
149
- enumerable: false,
150
- configurable: true
151
- });
152
- Object.defineProperty(LogicalFile.prototype, "CsvTerminate", {
153
- get: function () { return this.get("CsvTerminate"); },
154
- enumerable: false,
155
- configurable: true
156
- });
157
- Object.defineProperty(LogicalFile.prototype, "CsvEscape", {
158
- get: function () { return this.get("CsvEscape"); },
159
- enumerable: false,
160
- configurable: true
161
- });
162
- Object.defineProperty(LogicalFile.prototype, "Modified", {
163
- get: function () { return this.get("Modified"); },
164
- enumerable: false,
165
- configurable: true
166
- });
167
- Object.defineProperty(LogicalFile.prototype, "Ecl", {
168
- get: function () { return this.get("Ecl"); },
169
- enumerable: false,
170
- configurable: true
171
- });
172
- Object.defineProperty(LogicalFile.prototype, "Stat", {
173
- get: function () { return this.get("Stat"); },
174
- enumerable: false,
175
- configurable: true
176
- });
177
- Object.defineProperty(LogicalFile.prototype, "DFUFilePartsOnClusters", {
178
- get: function () { return this.get("DFUFilePartsOnClusters"); },
179
- enumerable: false,
180
- configurable: true
181
- });
182
- Object.defineProperty(LogicalFile.prototype, "isSuperfile", {
183
- get: function () { return this.get("isSuperfile"); },
184
- enumerable: false,
185
- configurable: true
186
- });
187
- Object.defineProperty(LogicalFile.prototype, "ShowFileContent", {
188
- get: function () { return this.get("ShowFileContent"); },
189
- enumerable: false,
190
- configurable: true
191
- });
192
- Object.defineProperty(LogicalFile.prototype, "subfiles", {
193
- get: function () { return this.get("subfiles"); },
194
- enumerable: false,
195
- configurable: true
196
- });
197
- Object.defineProperty(LogicalFile.prototype, "Superfiles", {
198
- get: function () { return this.get("Superfiles"); },
199
- enumerable: false,
200
- configurable: true
201
- });
202
- Object.defineProperty(LogicalFile.prototype, "ProtectList", {
203
- get: function () { return this.get("ProtectList"); },
204
- enumerable: false,
205
- configurable: true
206
- });
207
- Object.defineProperty(LogicalFile.prototype, "FromRoxieCluster", {
208
- get: function () { return this.get("FromRoxieCluster"); },
209
- enumerable: false,
210
- configurable: true
211
- });
212
- Object.defineProperty(LogicalFile.prototype, "Graphs", {
213
- get: function () { return this.get("Graphs"); },
214
- enumerable: false,
215
- configurable: true
216
- });
217
- Object.defineProperty(LogicalFile.prototype, "UserPermission", {
218
- get: function () { return this.get("UserPermission"); },
219
- enumerable: false,
220
- configurable: true
221
- });
222
- Object.defineProperty(LogicalFile.prototype, "ContentType", {
223
- get: function () { return this.get("ContentType"); },
224
- enumerable: false,
225
- configurable: true
226
- });
227
- Object.defineProperty(LogicalFile.prototype, "CompressedFileSize", {
228
- get: function () { return this.get("CompressedFileSize"); },
229
- enumerable: false,
230
- configurable: true
231
- });
232
- Object.defineProperty(LogicalFile.prototype, "PercentCompressed", {
233
- get: function () { return this.get("PercentCompressed"); },
234
- enumerable: false,
235
- configurable: true
236
- });
237
- Object.defineProperty(LogicalFile.prototype, "IsCompressed", {
238
- get: function () { return this.get("IsCompressed"); },
239
- enumerable: false,
240
- configurable: true
241
- });
242
- Object.defineProperty(LogicalFile.prototype, "BrowseData", {
243
- get: function () { return this.get("BrowseData"); },
244
- enumerable: false,
245
- configurable: true
246
- });
247
- Object.defineProperty(LogicalFile.prototype, "jsonInfo", {
248
- get: function () { return this.get("jsonInfo"); },
249
- enumerable: false,
250
- configurable: true
251
- });
252
- Object.defineProperty(LogicalFile.prototype, "binInfo", {
253
- get: function () { return this.get("binInfo"); },
254
- enumerable: false,
255
- configurable: true
256
- });
257
- Object.defineProperty(LogicalFile.prototype, "PackageID", {
258
- get: function () { return this.get("PackageID"); },
259
- enumerable: false,
260
- configurable: true
261
- });
262
- Object.defineProperty(LogicalFile.prototype, "Partition", {
263
- get: function () { return this.get("Partition"); },
264
- enumerable: false,
265
- configurable: true
266
- });
267
- Object.defineProperty(LogicalFile.prototype, "Blooms", {
268
- get: function () { return this.get("Blooms"); },
269
- enumerable: false,
270
- configurable: true
271
- });
272
- Object.defineProperty(LogicalFile.prototype, "ExpireDays", {
273
- get: function () { return this.get("ExpireDays"); },
274
- enumerable: false,
275
- configurable: true
276
- });
277
- Object.defineProperty(LogicalFile.prototype, "KeyType", {
278
- get: function () { return this.get("KeyType"); },
279
- enumerable: false,
280
- configurable: true
281
- });
282
- Object.defineProperty(LogicalFile.prototype, "IsRestricted", {
283
- get: function () { return this.get("IsRestricted"); },
284
- enumerable: false,
285
- configurable: true
286
- });
287
- Object.defineProperty(LogicalFile.prototype, "AtRestCost", {
288
- get: function () { return this.get("AtRestCost"); },
289
- enumerable: false,
290
- configurable: true
291
- });
292
- Object.defineProperty(LogicalFile.prototype, "AccessCost", {
293
- get: function () { return this.get("AccessCost"); },
294
- enumerable: false,
295
- configurable: true
296
- });
297
- Object.defineProperty(LogicalFile.prototype, "StateID", {
298
- get: function () { return this.get("StateID"); },
299
- enumerable: false,
300
- configurable: true
301
- });
302
- Object.defineProperty(LogicalFile.prototype, "ExpirationDate", {
303
- get: function () { return this.get("ExpirationDate"); },
304
- enumerable: false,
305
- configurable: true
306
- });
307
- Object.defineProperty(LogicalFile.prototype, "ExtendedIndexInfo", {
308
- get: function () { return this.get("ExtendedIndexInfo"); },
309
- enumerable: false,
310
- configurable: true
311
- });
312
- Object.defineProperty(LogicalFile.prototype, "properties", {
313
- get: function () { return this.get(); },
314
- enumerable: false,
315
- configurable: true
316
- });
317
- LogicalFile.attach = function (optsConnection, Cluster, Name) {
318
- var retVal = _store.get({ BaseUrl: optsConnection.baseUrl, Cluster: Cluster, Name: Name }, function () {
319
- return new LogicalFile(optsConnection, Cluster, Name);
320
- });
321
- return retVal;
322
- };
323
- LogicalFile.prototype.filePartsOnCluster = function () {
324
- var _a;
325
- return __spreadArray([], (((_a = this.DFUFilePartsOnClusters) === null || _a === void 0 ? void 0 : _a.DFUFilePartsOnCluster) || []), true);
326
- };
327
- LogicalFile.prototype.fileParts = function () {
328
- var _a, _b;
329
- var retVal = [];
330
- for (var _i = 0, _c = ((_a = this.DFUFilePartsOnClusters) === null || _a === void 0 ? void 0 : _a.DFUFilePartsOnCluster) || []; _i < _c.length; _i++) {
331
- var poc = _c[_i];
332
- for (var _d = 0, _e = ((_b = poc === null || poc === void 0 ? void 0 : poc.DFUFileParts) === null || _b === void 0 ? void 0 : _b.DFUPart) || []; _d < _e.length; _d++) {
333
- var part = _e[_d];
334
- var row = __assign(__assign({}, poc), part);
335
- delete row.DFUFileParts;
336
- retVal.push(row);
337
- }
338
- }
339
- return retVal;
340
- };
341
- LogicalFile.prototype.update = function (request) {
342
- var _this = this;
343
- return this.connection.DFUInfo(__assign(__assign({}, request), {
344
- Cluster: this.Cluster,
345
- Name: this.Name
346
- })).then(function (response) {
347
- _this.set(__assign({ Cluster: _this.Cluster }, response.FileDetail));
348
- return response;
349
- });
350
- };
351
- LogicalFile.prototype.fetchInfo = function () {
352
- var _this = this;
353
- return this.connection.DFUInfo({ Cluster: this.Cluster, Name: this.Name }).then(function (response) {
354
- _this.set(__assign({ Cluster: _this.Cluster }, response.FileDetail));
355
- return response.FileDetail;
356
- }).catch(function (e) {
357
- // deleted ---
358
- var fileMissing = e.Exception.some(function (exception) {
359
- if (exception.Code === 20038) {
360
- _this.set("Name", _this.Name + " (Deleted)");
361
- _this.set("StateID", 999);
362
- return true;
363
- }
364
- return false;
365
- });
366
- if (!fileMissing) {
367
- logger.warning("Unexpected exception: ");
368
- throw e;
369
- }
370
- return {};
371
- });
372
- };
373
- LogicalFile.prototype.fetchDefFile = function (format) {
374
- return this.connection.DFUFile({ Name: this.Name, Format: format });
375
- };
376
- LogicalFile.prototype.fetchListHistory = function () {
377
- return this.connection.ListHistory({ Name: this.Name }).then(function (response) {
378
- var _a;
379
- return ((_a = response === null || response === void 0 ? void 0 : response.History) === null || _a === void 0 ? void 0 : _a.Origin) || [];
380
- });
381
- };
382
- LogicalFile.prototype.eraseHistory = function () {
383
- return this.connection.EraseHistory({ Name: this.Name }).then(function (response) {
384
- var _a;
385
- return ((_a = response === null || response === void 0 ? void 0 : response.History) === null || _a === void 0 ? void 0 : _a.Origin) || [];
386
- });
387
- };
388
- return LogicalFile;
389
- }(StateObject));
390
- export { LogicalFile };
391
- //# sourceMappingURL=logicalFile.js.map