@hpcc-js/comms 2.73.5 → 2.76.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.
- package/dist/index.es6.js +466 -24
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +472 -24
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +472 -25
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/__tests__/https.js +2 -2
- package/lib-es6/__tests__/https.js.map +1 -1
- package/lib-es6/__tests__/workunit.js +1 -1
- package/lib-es6/__tests__/workunit.js.map +1 -1
- package/lib-es6/clienttools/eclcc.js +0 -1
- package/lib-es6/clienttools/eclcc.js.map +1 -1
- package/lib-es6/ecl/graph.js +5 -5
- package/lib-es6/ecl/graph.js.map +1 -1
- package/lib-es6/ecl/logicalFile.js +7 -2
- package/lib-es6/ecl/logicalFile.js.map +1 -1
- package/lib-es6/index-common.js +5 -0
- package/lib-es6/index-common.js.map +1 -1
- package/lib-es6/services/fileSpray.js +11 -0
- package/lib-es6/services/fileSpray.js.map +1 -0
- package/lib-es6/services/wsCloud.js +23 -0
- package/lib-es6/services/wsCloud.js.map +1 -0
- package/lib-es6/services/wsDFU.js +5 -16
- package/lib-es6/services/wsDFU.js.map +1 -1
- package/lib-es6/services/wsDali.js +11 -0
- package/lib-es6/services/wsDali.js.map +1 -0
- package/lib-es6/services/wsElk.js +11 -0
- package/lib-es6/services/wsElk.js.map +1 -0
- package/lib-es6/services/wsLogaccess.js +2 -1
- package/lib-es6/services/wsLogaccess.js.map +1 -1
- package/lib-es6/services/wsPackageProcess.js +11 -0
- package/lib-es6/services/wsPackageProcess.js.map +1 -0
- package/lib-es6/services/wsdl/FileSpray/v1.23/FileSpray.js +110 -0
- package/lib-es6/services/wsdl/FileSpray/v1.23/FileSpray.js.map +1 -0
- package/lib-es6/services/wsdl/WsCloud/v1/WsCloud.js +17 -0
- package/lib-es6/services/wsdl/WsCloud/v1/WsCloud.js.map +1 -0
- package/lib-es6/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.js +47 -0
- package/lib-es6/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.js.map +1 -0
- package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js +68 -0
- package/lib-es6/services/wsdl/WsDali/v1.04/WsDali.js.map +1 -0
- package/lib-es6/services/wsdl/WsDfu/v1.62/WsDfu.js +142 -0
- package/lib-es6/services/wsdl/WsDfu/v1.62/WsDfu.js.map +1 -0
- package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js +142 -0
- package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js.map +1 -0
- package/lib-es6/services/wsdl/WsFileIO/v1.01/WsFileIO.js +23 -0
- package/lib-es6/services/wsdl/WsFileIO/v1.01/WsFileIO.js.map +1 -0
- package/lib-es6/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.js +62 -0
- package/lib-es6/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.js.map +1 -0
- package/lib-es6/services/wsdl/WsSMC/v1.24/WsSMC.js +93 -0
- package/lib-es6/services/wsdl/WsSMC/v1.24/WsSMC.js.map +1 -0
- package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js +77 -0
- package/lib-es6/services/wsdl/WsTopology/v1.31/WsTopology.js.map +1 -0
- package/lib-es6/services/wsdl/WsWorkunits/v1.88/WsWorkunits.js +328 -0
- package/lib-es6/services/wsdl/WsWorkunits/v1.88/WsWorkunits.js.map +1 -0
- package/lib-es6/services/wsdl/ws_access/v1.16/ws_access.js.map +1 -1
- package/lib-es6/services/wsdl/ws_account/v1.05/ws_account.js +26 -0
- package/lib-es6/services/wsdl/ws_account/v1.05/ws_account.js.map +1 -0
- package/lib-es6/services/wsdl/ws_codesign/v1.1/ws_codesign.js +27 -0
- package/lib-es6/services/wsdl/ws_codesign/v1.1/ws_codesign.js.map +1 -0
- package/lib-es6/services/wsdl/ws_elk/v1/ws_elk.js +17 -0
- package/lib-es6/services/wsdl/ws_elk/v1/ws_elk.js.map +1 -0
- package/lib-es6/services/wsdl/ws_logaccess/v1/ws_logaccess.js.map +1 -1
- package/lib-es6/services/wsdl/wsstore/v1.02/wsstore.js +44 -0
- package/lib-es6/services/wsdl/wsstore/v1.02/wsstore.js.map +1 -0
- package/package.json +17 -9
- package/src/__package__.ts +2 -2
- package/src/__tests__/https.ts +2 -2
- package/src/__tests__/workunit.ts +1 -1
- package/src/clienttools/eclcc.ts +0 -1
- package/src/ecl/graph.ts +5 -5
- package/src/ecl/logicalFile.ts +7 -6
- package/src/index-common.ts +5 -0
- package/src/services/fileSpray.ts +8 -0
- package/src/services/wsCloud.ts +20 -0
- package/src/services/wsDFU.ts +11 -2839
- package/src/services/wsDali.ts +8 -0
- package/src/services/wsElk.ts +8 -0
- package/src/services/wsLogaccess.ts +2 -2
- package/src/services/wsPackageProcess.ts +8 -0
- package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +1008 -0
- package/src/services/wsdl/WsCloud/v1/WsCloud.ts +38 -0
- package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +224 -0
- package/src/services/wsdl/WsDali/v1.04/WsDali.ts +216 -0
- package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +1455 -0
- package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1463 -0
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +107 -0
- package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -0
- package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +665 -0
- package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -0
- package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2944 -0
- package/src/services/wsdl/ws_access/v1.16/ws_access.ts +952 -952
- package/src/services/wsdl/ws_account/v1.05/ws_account.ts +111 -0
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +100 -0
- package/src/services/wsdl/ws_elk/v1/ws_elk.ts +47 -0
- package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +52 -47
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +250 -0
- package/types/__package__.d.ts +2 -2
- package/types/clienttools/eclcc.d.ts.map +1 -1
- package/types/ecl/logicalFile.d.ts +7 -6
- package/types/ecl/logicalFile.d.ts.map +1 -1
- package/types/index-common.d.ts +5 -0
- package/types/index-common.d.ts.map +1 -1
- package/types/services/fileSpray.d.ts +5 -0
- package/types/services/fileSpray.d.ts.map +1 -0
- package/types/services/wsCloud.d.ts +6 -0
- package/types/services/wsCloud.d.ts.map +1 -0
- package/types/services/wsDFU.d.ts +3 -2463
- package/types/services/wsDFU.d.ts.map +1 -1
- package/types/services/wsDali.d.ts +5 -0
- package/types/services/wsDali.d.ts.map +1 -0
- package/types/services/wsElk.d.ts +5 -0
- package/types/services/wsElk.d.ts.map +1 -0
- package/types/services/wsLogaccess.d.ts +2 -2
- package/types/services/wsLogaccess.d.ts.map +1 -1
- package/types/services/wsPackageProcess.d.ts +5 -0
- package/types/services/wsPackageProcess.d.ts.map +1 -0
- package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +830 -0
- package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts.map +1 -0
- package/types/services/wsdl/WsCloud/v1/WsCloud.d.ts +19 -0
- package/types/services/wsdl/WsCloud/v1/WsCloud.d.ts.map +1 -0
- package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +148 -0
- package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts.map +1 -0
- package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts +125 -0
- package/types/services/wsdl/WsDali/v1.04/WsDali.d.ts.map +1 -0
- package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +1224 -0
- package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts.map +1 -0
- package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +1232 -0
- package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts.map +1 -0
- package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +77 -0
- package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts.map +1 -0
- package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +396 -0
- package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts.map +1 -0
- package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +515 -0
- package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts.map +1 -0
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +695 -0
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts.map +1 -0
- package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +2405 -0
- package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts.map +1 -0
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts +1 -1
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts.map +1 -1
- package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts +74 -0
- package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts.map +1 -0
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +67 -0
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts.map +1 -0
- package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +28 -0
- package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts.map +1 -0
- package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +8 -3
- package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts.map +1 -1
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +179 -0
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts.map +1 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/logicalFile.d.ts +7 -6
- package/types-3.4/index-common.d.ts +5 -0
- package/types-3.4/services/fileSpray.d.ts +5 -0
- package/types-3.4/services/wsCloud.d.ts +6 -0
- package/types-3.4/services/wsDFU.d.ts +3 -2463
- package/types-3.4/services/wsDali.d.ts +5 -0
- package/types-3.4/services/wsElk.d.ts +5 -0
- package/types-3.4/services/wsLogaccess.d.ts +2 -2
- package/types-3.4/services/wsPackageProcess.d.ts +5 -0
- package/types-3.4/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +830 -0
- package/types-3.4/services/wsdl/WsCloud/v1/WsCloud.d.ts +19 -0
- package/types-3.4/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +148 -0
- package/types-3.4/services/wsdl/WsDali/v1.04/WsDali.d.ts +125 -0
- package/types-3.4/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +1224 -0
- package/types-3.4/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +1232 -0
- package/types-3.4/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +77 -0
- package/types-3.4/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +396 -0
- package/types-3.4/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +515 -0
- package/types-3.4/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +695 -0
- package/types-3.4/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +2405 -0
- package/types-3.4/services/wsdl/ws_access/v1.16/ws_access.d.ts +1 -1
- package/types-3.4/services/wsdl/ws_account/v1.05/ws_account.d.ts +74 -0
- package/types-3.4/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +67 -0
- package/types-3.4/services/wsdl/ws_elk/v1/ws_elk.d.ts +28 -0
- package/types-3.4/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +8 -3
- package/types-3.4/services/wsdl/wsstore/v1.02/wsstore.d.ts +179 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/comms",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.76.0",
|
|
4
4
|
"description": "hpcc-js - Communications",
|
|
5
5
|
"main": "dist/index.node.js",
|
|
6
6
|
"module": "dist/index.es6",
|
|
@@ -32,28 +32,37 @@
|
|
|
32
32
|
"build": "npm run compile-es6 && npm run bundle",
|
|
33
33
|
"watch": "npm-run-all compile-es6 -p compile-es6-watch bundle-watch",
|
|
34
34
|
"stamp": "node ../../node_modules/@hpcc-js/bundle/src/stamp.js",
|
|
35
|
-
"lint": "eslint src
|
|
35
|
+
"lint": "eslint ./src",
|
|
36
36
|
"lint-fix": "eslint --fix src/**/*.ts",
|
|
37
37
|
"test": "mocha lib-umd/__tests__ --reporter spec",
|
|
38
38
|
"docs": "typedoc --options tdoptions.json .",
|
|
39
39
|
"update": "npx npm-check-updates -u -t minor",
|
|
40
40
|
"wsdl-access": "node ./lib-cjs/index.js --url=http://localhost:8010/ws_access?wsdl --outDir=./src/services/wsdl",
|
|
41
41
|
"wsdl-account": "node ./lib-cjs/index.js --url=http://localhost:8010/Ws_Account?wsdl --outDir=./src/services/wsdl",
|
|
42
|
+
"wsdl-cloud": "node ./lib-cjs/index.js --url=http://localhost:8010/WsCloud?wsdl --outDir=./src/services/wsdl",
|
|
42
43
|
"wsdl-codesign": "node ./lib-cjs/index.js --url=http://localhost:8010/ws_codesign?wsdl --outDir=./src/services/wsdl",
|
|
44
|
+
"wsdl-dali": "node ./lib-cjs/index.js --url=http://localhost:8010/WsDali?wsdl --outDir=./src/services/wsdl",
|
|
43
45
|
"wsdl-dfu": "node ./lib-cjs/index.js --url=http://localhost:8010/WsDfu?wsdl --outDir=./src/services/wsdl",
|
|
44
46
|
"wsdl-dfuxref": "node ./lib-cjs/index.js --url=http://localhost:8010/WsDFUXRef?wsdl --outDir=./src/services/wsdl",
|
|
45
|
-
"wsdl-
|
|
47
|
+
"wsdl-elk": "node ./lib-cjs/index.js --url=http://localhost:8010/ws_elk?wsdl --outDir=./src/services/wsdl",
|
|
48
|
+
"wsdl-esdlconfig": "node ./lib-cjs/index.js --url=http://localhost:8010/ws_esdlconfig?wsdl --outDir=./src/services/wsdl",
|
|
49
|
+
"wsdl-fileio": "node ./lib-cjs/index.js --url=http://localhost:8010/WsFileIO?wsdl --outDir=./src/services/wsdl",
|
|
50
|
+
"wsdl-filespray": "node ./lib-cjs/index.js --url=http://localhost:8010/FileSpray?wsdl --outDir=./src/services/wsdl",
|
|
51
|
+
"wsdl-logaccess": "node ./lib-cjs/index.js --url=http://localhost:8010/ws_logaccess?wsdl --outDir=./src/services/wsdl",
|
|
46
52
|
"wsdl-machine": "node ./lib-cjs/index.js --url=http://localhost:8010/ws_machine?wsdl --outDir=./src/services/wsdl",
|
|
53
|
+
"wsdl-packageprocess": "node ./lib-cjs/index.js --url=http://localhost:8010/WsPackageProcess?wsdl --outDir=./src/services/wsdl",
|
|
47
54
|
"wsdl-smc": "node ./lib-cjs/index.js --url=http://localhost:8010/WsSMC?wsdl --outDir=./src/services/wsdl",
|
|
55
|
+
"wsdl-resources": "node ./lib-cjs/index.js --url=http://localhost:8010/ws_resources?wsdl --outDir=./src/services/wsdl",
|
|
48
56
|
"wsdl-store": "node ./lib-cjs/index.js --url=http://localhost:8010/WsStore?wsdl --outDir=./src/services/wsdl",
|
|
49
57
|
"wsdl-topology": "node ./lib-cjs/index.js --url=http://localhost:8010/WsTopology?wsdl --outDir=./src/services/wsdl",
|
|
50
58
|
"wsdl-workunits": "node ./lib-cjs/index.js --url=http://localhost:8010/WsWorkunits?wsdl --outDir=./src/services/wsdl",
|
|
51
|
-
"wsdl": "npm-run-all --serial compile-util --parallel wsdl-account wsdl-codesign wsdl-dfu wsdl-dfuxref wsdl-machine wsdl-smc wsdl-store wsdl-topology wsdl-workunits"
|
|
59
|
+
"wsdl-all": "npm-run-all --serial compile-util --parallel wsdl-access wsdl-account wsdl-cloud wsdl-codesign wsdl-dali wsdl-dfu wsdl-dfuxref wsdl-elk wsdl-esdlconfig wsdl-fileio wsdl-filespray wsdl-logaccess wsdl-machine wsdl-packageprocess wsdl-smc wsdl-resources wsdl-store wsdl-topology wsdl-workunits",
|
|
60
|
+
"wsdl": "npm-run-all --serial compile-util --parallel wsdl-access wsdl-account wsdl-cloud wsdl-codesign wsdl-dali wsdl-dfu wsdl-dfuxref wsdl-elk wsdl-fileio wsdl-filespray wsdl-logaccess wsdl-packageprocess wsdl-smc wsdl-store wsdl-topology wsdl-workunits"
|
|
52
61
|
},
|
|
53
62
|
"dependencies": {
|
|
54
|
-
"@hpcc-js/ddl-shim": "^2.19.
|
|
55
|
-
"@hpcc-js/util": "^2.
|
|
56
|
-
"@xmldom/xmldom": "0.8.
|
|
63
|
+
"@hpcc-js/ddl-shim": "^2.19.1",
|
|
64
|
+
"@hpcc-js/util": "^2.47.1",
|
|
65
|
+
"@xmldom/xmldom": "0.8.2",
|
|
57
66
|
"abort-controller": "3.0.0",
|
|
58
67
|
"node-fetch": "2.6.7",
|
|
59
68
|
"safe-buffer": "5.2.1",
|
|
@@ -64,7 +73,6 @@
|
|
|
64
73
|
"@types/d3-request": "1.0.6",
|
|
65
74
|
"@types/d3-time-format": "2.3.1",
|
|
66
75
|
"@types/node": "^10",
|
|
67
|
-
"@types/request": "0.0.47",
|
|
68
76
|
"@types/xmldom": "0.1.31",
|
|
69
77
|
"d3-array": "^1",
|
|
70
78
|
"d3-time-format": "^2",
|
|
@@ -83,5 +91,5 @@
|
|
|
83
91
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
84
92
|
},
|
|
85
93
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
86
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "b7c5d9a853196b53078d665df4368629a1a87903"
|
|
87
95
|
}
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export const PKG_VERSION = "2.
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "2.76.0";
|
|
3
|
+
export const BUILD_VERSION = "2.103.1";
|
package/src/__tests__/https.ts
CHANGED
|
@@ -44,9 +44,9 @@ describe("https", () => {
|
|
|
44
44
|
return fetch("https://jsonplaceholder.typicode.com/todos/1").then(response => {
|
|
45
45
|
return response.json();
|
|
46
46
|
}).then(json => {
|
|
47
|
-
console.
|
|
47
|
+
console.info(json);
|
|
48
48
|
}).catch(e => {
|
|
49
|
-
console.
|
|
49
|
+
console.info(e.message);
|
|
50
50
|
throw e;
|
|
51
51
|
});
|
|
52
52
|
|
package/src/clienttools/eclcc.ts
CHANGED
|
@@ -197,7 +197,6 @@ export class EnvchkErrors extends Errors {
|
|
|
197
197
|
for (const line of this._lines) {
|
|
198
198
|
const testStr = "<" + pathParts[0];
|
|
199
199
|
if (line.indexOf(testStr + " ") >= 0 || line.indexOf(testStr + ">") >= 0) {
|
|
200
|
-
console.log(lineIdx, testStr);
|
|
201
200
|
pathParts.shift();
|
|
202
201
|
if (pathParts.length === 0) {
|
|
203
202
|
return [lineIdx + 1, line.indexOf(testStr) + 1];
|
package/src/ecl/graph.ts
CHANGED
|
@@ -147,7 +147,7 @@ export function createGraph(scopes: BaseScope[]): ScopeGraph {
|
|
|
147
147
|
scopeStack.pop();
|
|
148
148
|
}
|
|
149
149
|
if (!scopeParent1) {
|
|
150
|
-
console.
|
|
150
|
+
console.warn(`Missing SG:Parent (${scope.Id}): ${scope.parentScope()}`);
|
|
151
151
|
} else {
|
|
152
152
|
const parent1: ScopeSubgraph = scopeParent1;
|
|
153
153
|
subgraphs[scope.ScopeName] = parent1.createSubgraph(scope);
|
|
@@ -156,7 +156,7 @@ export function createGraph(scopes: BaseScope[]): ScopeGraph {
|
|
|
156
156
|
case "activity":
|
|
157
157
|
const scopeParent2 = subgraphs[scope.parentScope()];
|
|
158
158
|
if (!scopeParent2) {
|
|
159
|
-
console.
|
|
159
|
+
console.warn(`Missing A:Parent (${scope.Id}): ${scope.parentScope()}`);
|
|
160
160
|
} else {
|
|
161
161
|
vertices[scope.ScopeName] = scopeParent2.createVertex(scope);
|
|
162
162
|
}
|
|
@@ -167,7 +167,7 @@ export function createGraph(scopes: BaseScope[]): ScopeGraph {
|
|
|
167
167
|
case "function":
|
|
168
168
|
const scopeParent3 = vertices[scope.parentScope()];
|
|
169
169
|
if (!scopeParent3) {
|
|
170
|
-
console.
|
|
170
|
+
console.warn(`Missing F:Parent (${scope.Id}): ${scope.parentScope()}`);
|
|
171
171
|
} else {
|
|
172
172
|
scopeParent3._.children().push(scope);
|
|
173
173
|
}
|
|
@@ -178,7 +178,7 @@ export function createGraph(scopes: BaseScope[]): ScopeGraph {
|
|
|
178
178
|
const scope = edges[id];
|
|
179
179
|
const scopeParent3 = subgraphs[scope.parentScope()];
|
|
180
180
|
if (!scopeParent3) {
|
|
181
|
-
console.
|
|
181
|
+
console.warn(`Missing E:Parent (${scope.Id}): ${scope.parentScope()}`);
|
|
182
182
|
} else {
|
|
183
183
|
const parent3: ScopeSubgraph = scopeParent3;
|
|
184
184
|
try {
|
|
@@ -188,7 +188,7 @@ export function createGraph(scopes: BaseScope[]): ScopeGraph {
|
|
|
188
188
|
} catch (e) {
|
|
189
189
|
// const sourceIndex = scope.attr("SourceIndex").RawValue;
|
|
190
190
|
// const targetIndex = scope.attr("TargetIndex").RawValue;
|
|
191
|
-
console.
|
|
191
|
+
console.warn(`Invalid Edge: ${id}`);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
}
|
package/src/ecl/logicalFile.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cache, StateObject } from "@hpcc-js/util";
|
|
2
2
|
import { IConnection, IOptions } from "../connection";
|
|
3
|
-
import { DFUService, WsDfu } from "../services/wsDFU";
|
|
3
|
+
import { DFUService, WsDfu, DFUDefFileFormat, base64Binary } from "../services/wsDFU";
|
|
4
4
|
|
|
5
5
|
export class LogicalFileCache extends Cache<{ BaseUrl: string, Cluster: string, Name: string }, LogicalFile> {
|
|
6
6
|
constructor() {
|
|
@@ -60,7 +60,7 @@ export class LogicalFile extends StateObject<FileDetailEx, FileDetailEx> impleme
|
|
|
60
60
|
get DFUFilePartsOnClusters(): WsDfu.DFUFilePartsOnClusters { return this.get("DFUFilePartsOnClusters"); }
|
|
61
61
|
get isSuperfile(): boolean { return this.get("isSuperfile"); }
|
|
62
62
|
get ShowFileContent(): boolean { return this.get("ShowFileContent"); }
|
|
63
|
-
get subfiles(): WsDfu.
|
|
63
|
+
get subfiles(): WsDfu.subfiles { return this.get("subfiles"); }
|
|
64
64
|
get Superfiles(): WsDfu.Superfiles { return this.get("Superfiles"); }
|
|
65
65
|
get ProtectList(): WsDfu.ProtectList { return this.get("ProtectList"); }
|
|
66
66
|
get FromRoxieCluster(): boolean { return this.get("FromRoxieCluster"); }
|
|
@@ -72,14 +72,15 @@ export class LogicalFile extends StateObject<FileDetailEx, FileDetailEx> impleme
|
|
|
72
72
|
get IsCompressed(): boolean { return this.get("IsCompressed"); }
|
|
73
73
|
get BrowseData(): boolean { return this.get("BrowseData"); }
|
|
74
74
|
get jsonInfo(): string { return this.get("jsonInfo"); }
|
|
75
|
-
get binInfo():
|
|
75
|
+
get binInfo(): base64Binary { return this.get("binInfo"); }
|
|
76
76
|
get PackageID(): string { return this.get("PackageID"); }
|
|
77
77
|
get Partition(): WsDfu.Partition { return this.get("Partition"); }
|
|
78
78
|
get Blooms(): WsDfu.Blooms { return this.get("Blooms"); }
|
|
79
79
|
get ExpireDays(): number { return this.get("ExpireDays"); }
|
|
80
80
|
get KeyType(): string { return this.get("KeyType"); }
|
|
81
81
|
get IsRestricted(): boolean { return this.get("IsRestricted"); }
|
|
82
|
-
get
|
|
82
|
+
get AtRestCost(): number { return this.get("AtRestCost"); }
|
|
83
|
+
get AccessCost(): number { return this.get("AccessCost"); }
|
|
83
84
|
|
|
84
85
|
get properties(): FileDetailEx { return this.get(); }
|
|
85
86
|
|
|
@@ -146,11 +147,11 @@ export class LogicalFile extends StateObject<FileDetailEx, FileDetailEx> impleme
|
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
149
|
|
|
149
|
-
fetchDefFile(format:
|
|
150
|
+
fetchDefFile(format: DFUDefFileFormat): Promise<string> {
|
|
150
151
|
return this.connection.DFUFile({ Name: this.Name, Format: format });
|
|
151
152
|
}
|
|
152
153
|
|
|
153
|
-
fetchListHistory(): Promise<WsDfu.
|
|
154
|
+
fetchListHistory(): Promise<WsDfu.Origin[]> {
|
|
154
155
|
return this.connection.ListHistory({ Name: this.Name }).then(response => {
|
|
155
156
|
return response?.History?.Origin || [];
|
|
156
157
|
});
|
package/src/index-common.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
export * from "./__package__";
|
|
2
2
|
|
|
3
|
+
export * from "./services/fileSpray";
|
|
3
4
|
export * from "./services/wsAccess";
|
|
4
5
|
export * from "./services/wsAccount";
|
|
6
|
+
export * from "./services/wsCloud";
|
|
5
7
|
export * from "./services/wsCodesign";
|
|
8
|
+
export * from "./services/wsDali";
|
|
6
9
|
export * from "./services/wsDFU";
|
|
7
10
|
export * from "./services/wsDFUXRef";
|
|
8
11
|
export * from "./services/wsEcl";
|
|
12
|
+
export * from "./services/wsElk";
|
|
9
13
|
export * from "./services/wsLogaccess";
|
|
10
14
|
export * from "./services/wsMachine";
|
|
15
|
+
export * from "./services/wsPackageProcess";
|
|
11
16
|
export * from "./services/wsResources";
|
|
12
17
|
export * from "./services/wsSMC";
|
|
13
18
|
export * from "./services/wsStore";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CloudServiceBase, WsCloud } from "./wsdl/WsCloud/v1/WsCloud";
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
WsCloud
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export class CloudService extends CloudServiceBase {
|
|
8
|
+
|
|
9
|
+
getPODs(): Promise<any[]> {
|
|
10
|
+
return super.GetPODs({}).then((response) => {
|
|
11
|
+
try {
|
|
12
|
+
const obj = typeof response.Result === "string" ? JSON.parse(response.Result) : response.Result;
|
|
13
|
+
return obj?.items ?? [];
|
|
14
|
+
|
|
15
|
+
} catch (error) {
|
|
16
|
+
return [];
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|