@operato/scene-visualizer 1.3.14 → 1.4.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/CHANGELOG.md +17 -0
- package/db.sqlite +0 -0
- package/dist/banner.d.ts +0 -1
- package/dist/camera.d.ts +0 -1
- package/dist/cube.d.ts +0 -1
- package/dist/cylinder.d.ts +0 -1
- package/dist/desk.d.ts +0 -1
- package/dist/editors/property-editor-gltf-info.d.ts +0 -1
- package/dist/gltf-object.d.ts +0 -1
- package/dist/light.d.ts +0 -1
- package/dist/polygon.d.ts +4 -4
- package/dist/rack-table-cell.d.ts +0 -1
- package/dist/rack-table.d.ts +0 -1
- package/dist/sphere.d.ts +0 -1
- package/dist/sprite.d.ts +0 -1
- package/dist/stock.d.ts +0 -1
- package/dist/stock.js +1 -1
- package/dist/stock.js.map +1 -1
- package/dist/three-container.d.ts +0 -1
- package/dist/three-controls.d.ts +0 -1
- package/dist/three-layout.d.ts +0 -1
- package/dist/three-space.d.ts +0 -1
- package/dist/threed/floor/floor.d.ts +0 -1
- package/dist/threed/real-object-gltf.d.ts +0 -1
- package/dist/threed/real-object.d.ts +0 -1
- package/dist/threed/texture/canvas-texture.d.ts +0 -1
- package/dist/threed/three-dimensional-container.d.ts +0 -1
- package/dist/visualizer.d.ts +0 -1
- package/dist/wall.d.ts +0 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +13 -3
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +13 -3
- package/logs/application-2025-01-07-10.log +106 -0
- package/logs/application-2025-01-07-14.log +4 -0
- package/logs/application-2025-01-07-15.log +4 -0
- package/logs/connections-2025-01-07-10.log +106 -0
- package/logs/connections-2025-01-07-14.log +53 -0
- package/logs/connections-2025-01-07-15.log +53 -0
- package/package.json +2 -2
- package/schema.graphql +670 -87
- package/src/stock.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/logs/application-2024-02-05-01.log +0 -6
- package/logs/connections-2024-02-05-01.log +0 -41
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.4.0](https://github.com/things-scene/operato-scene/compare/v1.3.29...v1.4.0) (2025-01-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @operato/scene-visualizer
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.3.15](https://github.com/things-scene/operato-scene/compare/v1.3.14...v1.3.15) (2024-04-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### :bug: Bug Fix
|
|
18
|
+
|
|
19
|
+
* 다국어 컴포넌트 도형 속성 상속, 시나리오 옵셔널 추가 ([1300d74](https://github.com/things-scene/operato-scene/commit/1300d7451d32d72303a9a7f03ff027071ec2ce07))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
## [1.3.14](https://github.com/things-scene/operato-scene/compare/v1.3.13...v1.3.14) (2024-02-14)
|
|
7
24
|
|
|
8
25
|
**Note:** Version bump only for package @operato/scene-visualizer
|
package/db.sqlite
CHANGED
|
Binary file
|
package/dist/banner.d.ts
CHANGED
package/dist/camera.d.ts
CHANGED
package/dist/cube.d.ts
CHANGED
package/dist/cylinder.d.ts
CHANGED
package/dist/desk.d.ts
CHANGED
package/dist/gltf-object.d.ts
CHANGED
package/dist/light.d.ts
CHANGED
package/dist/polygon.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ export declare class PolygonExtrude extends RealObjectExtrude {
|
|
|
9
9
|
};
|
|
10
10
|
get shape(): THREE.Shape;
|
|
11
11
|
get minMax(): {
|
|
12
|
-
minX?: number
|
|
13
|
-
minY?: number
|
|
14
|
-
maxX?: number
|
|
15
|
-
maxY?: number
|
|
12
|
+
minX?: number;
|
|
13
|
+
minY?: number;
|
|
14
|
+
maxX?: number;
|
|
15
|
+
maxY?: number;
|
|
16
16
|
};
|
|
17
17
|
}
|
package/dist/rack-table.d.ts
CHANGED
package/dist/sphere.d.ts
CHANGED
package/dist/sprite.d.ts
CHANGED
package/dist/stock.d.ts
CHANGED
package/dist/stock.js
CHANGED
package/dist/stock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stock.js","sourceRoot":"","sources":["../src/stock.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,MAAM,OAAO,KAAM,SAAQ,UAAsB;IAc/C,YAAY,SAAoB,EAAE,KAAY;QAC5C,KAAK,CAAC,SAAS,CAAC,CAAA;QAPlB,oBAAe,GAAY,KAAK,CAAA;QAChC,aAAQ,GAAY,KAAK,CAAA;QAmMzB,mBAAc,GAAG,GAAG,EAAE;YACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,UAAW,CAAA;gBACnD,IAAI,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAA;gBAE9B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,EAAE,GAAG,QAAQ,CAAA;gBACjD,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAA;YAC7B,CAAC;iBAAM,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;gBAC3B,OAAO,IAAI,CAAC,UAAU,CAAA;gBACtB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAA;gBAC5B,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAA;YAC7B,CAAC;Q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AC,QAAQ,CAAC,IAAI;gBAC9B,KAAK,EAAE,GAAG,IAAG,MAAC,IAAI,CAAC,QAAQ,CAAC,QAAgB,CAAC,KAAK,0CAAE,YAAY,EAAE,CAAA;aACnE,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,iEAAiE;IACjE,eAAe,KAAI,CAAC;IACpB,eAAe,KAAI,CAAC;IACpB,WAAW,KAAI,CAAC;IAChB,eAAe,KAAI,CAAC;IACpB,iBAAiB,KAAI,CAAC;IACtB,YAAY,KAAI,CAAC;IACjB,UAAU,KAAI,CAAC;;AAxPR,qBAAe,GAAG,IAAI,KAAK,CAAC,oBAAoB,CAAC;IACtD,KAAK,EAAE,WAAW;IAClB,IAAI,EAAE,KAAK,CAAC,SAAS;IACrB,SAAS,EAAE,GAAG;CACf,CAAC,AAJoB,CAIpB;AACK,mBAAa,GAAG,IAAI,KAAK,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,AAAjC,CAAiC","sourcesContent":["/*\n * Copyright � HatioLab Inc. All rights reserved.\n */\n\nimport { Component, Model } from '@hatiolab/things-scene'\nimport * as THREE from 'three'\nimport { RealObject } from './threed/real-object'\nimport { Visualizer } from './visualizer'\n\nconst STOCK_COLOR = '#ccaa76'\n\nexport class Stock extends RealObject<THREE.Mesh> {\n static defaultMaterial = new THREE.MeshStandardMaterial({\n color: STOCK_COLOR,\n side: THREE.FrontSide,\n roughness: 0.7\n })\n static stockGeometry = new THREE.BoxGeometry(1, 1, 1)\n\n _hideEmptyStock: boolean = false\n _focused: boolean = false\n _focusedAt?: number\n\n model: Model\n\n constructor(component: Component, model: Model) {\n super(component)\n this.model = model\n }\n\n protected getObject3dInstance() {\n return new THREE.Mesh()\n }\n\n getMaterial(index: number) {\n var visualizer = this.visualizer\n\n if (!(visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status')))\n return this.userDefineDefaultMaterial\n\n var stockStatus = visualizer.legendTarget.getState('status')\n var range = stockStatus.ranges[index]\n if (!(range && range.color)) {\n this.stockMaterials[index] = this.userDefineDefaultMaterial\n }\n\n if (!this.stockMaterials[index]) {\n this.stockMaterials[index] = new THREE.MeshStandardMaterial({\n color: range.color,\n side: THREE.FrontSide,\n roughness: 0.7\n })\n }\n\n var alpha = range.color.replace(/^.*,(.+)\\)/, '$1')\n if (alpha > 0 && alpha < 1) {\n this.stockMaterials[index].opacity = alpha\n this.stockMaterials[index].transparent = true\n }\n\n return this.stockMaterials[index]\n }\n\n get visualizer(): Visualizer | undefined {\n var component = this.component\n\n while (component) {\n if (component.state.type == 'visualizer') {\n return component as Visualizer\n }\n component = component.parent\n }\n }\n\n get stockMaterials() {\n return this.visualizer!._stock_materials\n }\n\n get userDefineDefaultMaterial() {\n var visualizer = this.visualizer\n\n if (!visualizer!._default_material) {\n if (!(visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status')))\n return Stock.defaultMaterial\n\n var stockStatus = visualizer!.legendTarget.getState('status')\n var defaultColor = stockStatus.defaultColor\n\n if (!defaultColor) return Stock.defaultMaterial\n\n visualizer!._default_material = new THREE.MeshStandardMaterial({\n color: defaultColor,\n side: THREE.FrontSide,\n roughness: 0.7\n })\n var alpha = defaultColor.replace(/^.*,(.+)\\)/, '$1')\n if (alpha > 0 && alpha < 1) {\n visualizer!._default_material.opacity = alpha\n visualizer!._default_material.transparent = true\n }\n }\n return visualizer!._default_material\n }\n\n get emptyMaterial() {\n var visualizer = this.visualizer\n\n var defaultColor = STOCK_COLOR\n if (!visualizer!._empty_material) {\n if (visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status')) {\n var stockStatus = visualizer!.legendTarget.getState('status')\n defaultColor = stockStatus.defaultColor || STOCK_COLOR\n }\n\n visualizer!._empty_material = new THREE.MeshStandardMaterial({\n color: defaultColor\n })\n var alpha = Number(defaultColor.replace(/^.*,(.+)\\)/, '$1'))\n if (alpha > 0 && alpha < 1) {\n visualizer!._empty_material.opacity = alpha\n visualizer!._empty_material.transparent = true\n } else {\n visualizer!._empty_material.opacity = 0.33\n visualizer!._empty_material.transparent = true\n }\n }\n\n return visualizer!._empty_material\n }\n\n build() {\n super.build()\n\n var visualizer = this.visualizer\n var { width, height, depth } = this.model\n\n this._hideEmptyStock = visualizer && visualizer!.model.hideEmptyStock\n\n this.createStock(width, height, depth)\n }\n\n createStock(w: number, h: number, d: number) {\n this.object3d.geometry = Stock.stockGeometry\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n\n this.object3d.scale.set(w, d, h)\n\n this.object3d.receiveShadow = true\n\n this.object3d.castShadow = true\n this.object3d.onBeforeRender = () => {\n this.onBeforeRender()\n }\n }\n\n onchangeStockData(data: any) {\n this.object3d.userData = {\n ...this.object3d.userData,\n data\n }\n var visualizer = this.visualizer\n\n if (!(visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status'))) return\n\n var stockStatus = visualizer!.legendTarget.getState('status') as {\n field: string\n ranges: { min: number; max: number }[]\n }\n\n var statusField = stockStatus.field\n var ranges = stockStatus.ranges\n\n if (!(statusField && ranges)) return\n\n var items = data.items\n\n if (!items) {\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n return\n }\n\n for (let item of items) {\n var status = item && item[statusField]\n\n if (status == undefined) {\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n return\n }\n\n var isInRanges = ranges.some((range, index) => {\n let { min, max } = range\n\n min = Number(min) || min\n max = Number(max) || max\n\n if (max > status) {\n if (min !== undefined) {\n if (min <= status) {\n this.object3d.material = this.getMaterial(index)\n } else return false\n } else {\n this.object3d.material = this.getMaterial(index)\n }\n\n return true\n } else {\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n }\n })\n if (!isInRanges) {\n this.object3d.material = this.userDefineDefaultMaterial\n }\n }\n }\n\n onBeforeRender = () => {\n if (this._focused) {\n var lastTime = performance.now() - this._focusedAt!\n var progress = lastTime / 2000\n\n this.object3d.rotation.y = 2 * Math.PI * progress\n this.component.invalidate()\n } else if (this._focusedAt) {\n delete this._focusedAt\n this.object3d.rotation.y = 0\n this.component.invalidate()\n }\n }\n\n onmouseup(e: MouseEvent, visualizer: Visualizer, callback: (arg: { data: any; location: string }) => void) {\n if (!this.object3d.visible) return\n\n if (!this.object3d.userData || !this.object3d.userData.data)\n this.object3d.userData = {\n ...this.object3d.userData,\n data: {\n loc: this.object3d.name,\n items: [\n {\n loc: this.object3d.name\n }\n ]\n }\n }\n\n if (callback && typeof callback == 'function') {\n callback({\n ...this.object3d.userData.data,\n color: '#' + (this.object3d.material as any).color?.getHexString()\n })\n }\n }\n\n // all update functions should be intentionally empty. important!\n updateTransform() {}\n updateDimension() {}\n updateAlpha() {}\n updateFillStyle() {}\n updateStrokeStyle() {}\n updateHidden() {}\n updateText() {}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"stock.js","sourceRoot":"","sources":["../src/stock.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,MAAM,OAAO,KAAM,SAAQ,UAAsB;IAc/C,YAAY,SAAoB,EAAE,KAAY;QAC5C,KAAK,CAAC,SAAS,CAAC,CAAA;QAPlB,oBAAe,GAAY,KAAK,CAAA;QAChC,aAAQ,GAAY,KAAK,CAAA;QAmMzB,mBAAc,GAAG,GAAG,EAAE;YACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,IAAI,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,UAAW,CAAA;gBACnD,IAAI,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAAA;gBAE9B,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GA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B,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ;gBACzB,IAAI,EAAE;oBACJ,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI;oBACvB,KAAK,EAAE;wBACL;4BACE,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI;yBACxB;qBACF;iBACF;aACF,CAAA;QAEH,IAAI,QAAQ,IAAI,OAAO,QAAQ,IAAI,UAAU,EAAE,CAAC;YAC9C,QAAQ,CAAC;gBACP,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI;gBAC9B,KAAK,EAAE,GAAG,IAAG,MAAC,IAAI,CAAC,QAAQ,CAAC,QAAgB,CAAC,KAAK,0CAAE,YAAY,EAAE,CAAA;aACnE,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,iEAAiE;IACjE,eAAe,KAAI,CAAC;IACpB,eAAe,KAAI,CAAC;IACpB,WAAW,KAAI,CAAC;IAChB,eAAe,KAAI,CAAC;IACpB,iBAAiB,KAAI,CAAC;IACtB,YAAY,KAAI,CAAC;IACjB,UAAU,KAAI,CAAC;;AAxPR,qBAAe,GAAG,IAAI,KAAK,CAAC,oBAAoB,CAAC;IACtD,KAAK,EAAE,WAAW;IAClB,IAAI,EAAE,KAAK,CAAC,SAAS;IACrB,SAAS,EAAE,GAAG;CACf,CAAC,AAJoB,CAIpB;AACK,mBAAa,GAAG,IAAI,KAAK,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,AAAjC,CAAiC","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { Component, Model } from '@hatiolab/things-scene'\nimport * as THREE from 'three'\nimport { RealObject } from './threed/real-object'\nimport { Visualizer } from './visualizer'\n\nconst STOCK_COLOR = '#ccaa76'\n\nexport class Stock extends RealObject<THREE.Mesh> {\n static defaultMaterial = new THREE.MeshStandardMaterial({\n color: STOCK_COLOR,\n side: THREE.FrontSide,\n roughness: 0.7\n })\n static stockGeometry = new THREE.BoxGeometry(1, 1, 1)\n\n _hideEmptyStock: boolean = false\n _focused: boolean = false\n _focusedAt?: number\n\n model: Model\n\n constructor(component: Component, model: Model) {\n super(component)\n this.model = model\n }\n\n protected getObject3dInstance() {\n return new THREE.Mesh()\n }\n\n getMaterial(index: number) {\n var visualizer = this.visualizer\n\n if (!(visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status')))\n return this.userDefineDefaultMaterial\n\n var stockStatus = visualizer.legendTarget.getState('status')\n var range = stockStatus.ranges[index]\n if (!(range && range.color)) {\n this.stockMaterials[index] = this.userDefineDefaultMaterial\n }\n\n if (!this.stockMaterials[index]) {\n this.stockMaterials[index] = new THREE.MeshStandardMaterial({\n color: range.color,\n side: THREE.FrontSide,\n roughness: 0.7\n })\n }\n\n var alpha = range.color.replace(/^.*,(.+)\\)/, '$1')\n if (alpha > 0 && alpha < 1) {\n this.stockMaterials[index].opacity = alpha\n this.stockMaterials[index].transparent = true\n }\n\n return this.stockMaterials[index]\n }\n\n get visualizer(): Visualizer | undefined {\n var component = this.component\n\n while (component) {\n if (component.state.type == 'visualizer') {\n return component as Visualizer\n }\n component = component.parent\n }\n }\n\n get stockMaterials() {\n return this.visualizer!._stock_materials\n }\n\n get userDefineDefaultMaterial() {\n var visualizer = this.visualizer\n\n if (!visualizer!._default_material) {\n if (!(visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status')))\n return Stock.defaultMaterial\n\n var stockStatus = visualizer!.legendTarget.getState('status')\n var defaultColor = stockStatus.defaultColor\n\n if (!defaultColor) return Stock.defaultMaterial\n\n visualizer!._default_material = new THREE.MeshStandardMaterial({\n color: defaultColor,\n side: THREE.FrontSide,\n roughness: 0.7\n })\n var alpha = defaultColor.replace(/^.*,(.+)\\)/, '$1')\n if (alpha > 0 && alpha < 1) {\n visualizer!._default_material.opacity = alpha\n visualizer!._default_material.transparent = true\n }\n }\n return visualizer!._default_material\n }\n\n get emptyMaterial() {\n var visualizer = this.visualizer\n\n var defaultColor = STOCK_COLOR\n if (!visualizer!._empty_material) {\n if (visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status')) {\n var stockStatus = visualizer!.legendTarget.getState('status')\n defaultColor = stockStatus.defaultColor || STOCK_COLOR\n }\n\n visualizer!._empty_material = new THREE.MeshStandardMaterial({\n color: defaultColor\n })\n var alpha = Number(defaultColor.replace(/^.*,(.+)\\)/, '$1'))\n if (alpha > 0 && alpha < 1) {\n visualizer!._empty_material.opacity = alpha\n visualizer!._empty_material.transparent = true\n } else {\n visualizer!._empty_material.opacity = 0.33\n visualizer!._empty_material.transparent = true\n }\n }\n\n return visualizer!._empty_material\n }\n\n build() {\n super.build()\n\n var visualizer = this.visualizer\n var { width, height, depth } = this.model\n\n this._hideEmptyStock = visualizer && visualizer!.model.hideEmptyStock\n\n this.createStock(width, height, depth)\n }\n\n createStock(w: number, h: number, d: number) {\n this.object3d.geometry = Stock.stockGeometry\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n\n this.object3d.scale.set(w, d, h)\n\n this.object3d.receiveShadow = true\n\n this.object3d.castShadow = true\n this.object3d.onBeforeRender = () => {\n this.onBeforeRender()\n }\n }\n\n onchangeStockData(data: any) {\n this.object3d.userData = {\n ...this.object3d.userData,\n data\n }\n var visualizer = this.visualizer\n\n if (!(visualizer && visualizer && visualizer!.legendTarget && visualizer!.legendTarget.getState('status'))) return\n\n var stockStatus = visualizer!.legendTarget.getState('status') as {\n field: string\n ranges: { min: number; max: number }[]\n }\n\n var statusField = stockStatus.field\n var ranges = stockStatus.ranges\n\n if (!(statusField && ranges)) return\n\n var items = data.items\n\n if (!items) {\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n return\n }\n\n for (let item of items) {\n var status = item && item[statusField]\n\n if (status == undefined) {\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n return\n }\n\n var isInRanges = ranges.some((range, index) => {\n let { min, max } = range\n\n min = Number(min) || min\n max = Number(max) || max\n\n if (max > status) {\n if (min !== undefined) {\n if (min <= status) {\n this.object3d.material = this.getMaterial(index)\n } else return false\n } else {\n this.object3d.material = this.getMaterial(index)\n }\n\n return true\n } else {\n this.object3d.material = this._hideEmptyStock ? this.emptyMaterial : this.userDefineDefaultMaterial\n }\n })\n if (!isInRanges) {\n this.object3d.material = this.userDefineDefaultMaterial\n }\n }\n }\n\n onBeforeRender = () => {\n if (this._focused) {\n var lastTime = performance.now() - this._focusedAt!\n var progress = lastTime / 2000\n\n this.object3d.rotation.y = 2 * Math.PI * progress\n this.component.invalidate()\n } else if (this._focusedAt) {\n delete this._focusedAt\n this.object3d.rotation.y = 0\n this.component.invalidate()\n }\n }\n\n onmouseup(e: MouseEvent, visualizer: Visualizer, callback: (arg: { data: any; location: string }) => void) {\n if (!this.object3d.visible) return\n\n if (!this.object3d.userData || !this.object3d.userData.data)\n this.object3d.userData = {\n ...this.object3d.userData,\n data: {\n loc: this.object3d.name,\n items: [\n {\n loc: this.object3d.name\n }\n ]\n }\n }\n\n if (callback && typeof callback == 'function') {\n callback({\n ...this.object3d.userData.data,\n color: '#' + (this.object3d.material as any).color?.getHexString()\n })\n }\n }\n\n // all update functions should be intentionally empty. important!\n updateTransform() {}\n updateDimension() {}\n updateAlpha() {}\n updateFillStyle() {}\n updateStrokeStyle() {}\n updateHidden() {}\n updateText() {}\n}\n"]}
|
package/dist/three-controls.d.ts
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* @author WestLangley / http://github.com/WestLangley
|
|
6
6
|
* @author erich666 / http://erichaines.com
|
|
7
7
|
*/
|
|
8
|
-
/// <reference path="../src/component.d.ts" />
|
|
9
8
|
import { Component } from '@hatiolab/things-scene';
|
|
10
9
|
import * as THREE from 'three';
|
|
11
10
|
declare var ThreeControls: (this: any, object: THREE.Camera, component: Component) => void;
|
package/dist/three-layout.d.ts
CHANGED
package/dist/three-space.d.ts
CHANGED
package/dist/visualizer.d.ts
CHANGED
package/dist/wall.d.ts
CHANGED
|
@@ -6,9 +6,19 @@
|
|
|
6
6
|
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/application-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1736212771287,
|
|
10
|
+
"name": "logs/application-2025-01-07-10.log",
|
|
11
|
+
"hash": "6eabb052620f105b34d318828f7082b55ca6bf593e67ef6bb298f8dc355ed1b8"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"date": 1736229299405,
|
|
15
|
+
"name": "logs/application-2025-01-07-14.log",
|
|
16
|
+
"hash": "04d36289a62084b1d0c0ef9343c330f6d4bba10943be5dbb93b928c8a22e8cbc"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"date": 1736231339271,
|
|
20
|
+
"name": "logs/application-2025-01-07-15.log",
|
|
21
|
+
"hash": "a11d26fa943096ab9e24ef47be28fa6cc0aa7dc31c4bbe6674c9291983e414cf"
|
|
12
22
|
}
|
|
13
23
|
],
|
|
14
24
|
"hashType": "sha256"
|
|
@@ -6,9 +6,19 @@
|
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/connections-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1736212773256,
|
|
10
|
+
"name": "logs/connections-2025-01-07-10.log",
|
|
11
|
+
"hash": "ee53ff54368e03bfdaf70ea3fc274ae54583698abe856edc5909413bdf0dac9c"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"date": 1736229301458,
|
|
15
|
+
"name": "logs/connections-2025-01-07-14.log",
|
|
16
|
+
"hash": "6ea92e155daee572f65d650652fab3826e5efd7a32d9695276768c543e57bbd4"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"date": 1736231341355,
|
|
20
|
+
"name": "logs/connections-2025-01-07-15.log",
|
|
21
|
+
"hash": "441e747887b3856b8e2db16179418dbf5761c39fc95f332ef07d3abf5948a922"
|
|
12
22
|
}
|
|
13
23
|
],
|
|
14
24
|
"hashType": "sha256"
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
2025-01-07T10:19:32+09:00 info: File Storage is Ready.
|
|
2
|
+
2025-01-07T10:19:34+09:00 info: Default DataSource established
|
|
3
|
+
2025-01-07T10:19:35+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2025-01-07T10:19:35+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2025-01-07T10:20:59+09:00 error: TypeError: non-error thrown: null
|
|
6
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
7
|
+
at Application.emit (node:events:531:35)
|
|
8
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
9
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
10
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
11
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
12
|
+
2025-01-07T10:21:02+09:00 error: TypeError: non-error thrown: null
|
|
13
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
14
|
+
at Application.emit (node:events:531:35)
|
|
15
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
16
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
17
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
18
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
19
|
+
2025-01-07T10:21:14+09:00 error: TypeError: non-error thrown: null
|
|
20
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
21
|
+
at Application.emit (node:events:531:35)
|
|
22
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
23
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
24
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
25
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
26
|
+
2025-01-07T10:21:17+09:00 error: TypeError: non-error thrown: null
|
|
27
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
28
|
+
at Application.emit (node:events:531:35)
|
|
29
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
30
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
31
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
32
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
33
|
+
2025-01-07T10:21:29+09:00 error: TypeError: non-error thrown: null
|
|
34
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
35
|
+
at Application.emit (node:events:531:35)
|
|
36
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
37
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
38
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
39
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
40
|
+
2025-01-07T10:21:36+09:00 error: TypeError: non-error thrown: null
|
|
41
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
42
|
+
at Application.emit (node:events:531:35)
|
|
43
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
44
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
45
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
46
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
47
|
+
2025-01-07T10:21:56+09:00 error: TypeError: non-error thrown: null
|
|
48
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
49
|
+
at Application.emit (node:events:531:35)
|
|
50
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
51
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
52
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
53
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
54
|
+
2025-01-07T10:21:57+09:00 error: TypeError: non-error thrown: null
|
|
55
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
56
|
+
at Application.emit (node:events:531:35)
|
|
57
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
58
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
59
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
60
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
61
|
+
2025-01-07T10:22:07+09:00 error: TypeError: non-error thrown: null
|
|
62
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
63
|
+
at Application.emit (node:events:531:35)
|
|
64
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
65
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
66
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
67
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
68
|
+
2025-01-07T10:22:07+09:00 error: TypeError: non-error thrown: null
|
|
69
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
70
|
+
at Application.emit (node:events:531:35)
|
|
71
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
72
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
73
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
74
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
75
|
+
2025-01-07T10:22:07+09:00 error: TypeError: non-error thrown: null
|
|
76
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
77
|
+
at Application.emit (node:events:531:35)
|
|
78
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
79
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
80
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
81
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
82
|
+
2025-01-07T10:22:08+09:00 error: TypeError: non-error thrown: null
|
|
83
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
84
|
+
at Application.emit (node:events:531:35)
|
|
85
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
86
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
87
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
88
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
89
|
+
2025-01-07T10:22:09+09:00 error: TypeError: non-error thrown: null
|
|
90
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
91
|
+
at Application.emit (node:events:531:35)
|
|
92
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
93
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
94
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
95
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
96
|
+
2025-01-07T10:22:09+09:00 error: TypeError: non-error thrown: null
|
|
97
|
+
at Application.onerror (/Users/super/Documents/GitHub/operato-scene/node_modules/koa/lib/application.js:224:31)
|
|
98
|
+
at Application.emit (node:events:531:35)
|
|
99
|
+
at /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/middlewares/index.js:24:25
|
|
100
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
101
|
+
at async /Users/super/Documents/GitHub/operato-scene/node_modules/@things-factory/shell/dist-server/server-dev.js:86:9
|
|
102
|
+
at async cors (/Users/super/Documents/GitHub/operato-scene/node_modules/@koa/cors/index.js:109:16)
|
|
103
|
+
2025-01-07T10:53:29+09:00 info: File Storage is Ready.
|
|
104
|
+
2025-01-07T10:53:31+09:00 info: Default DataSource established
|
|
105
|
+
2025-01-07T10:53:32+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
106
|
+
2025-01-07T10:53:32+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
2025-01-07T14:55:00+09:00 info: File Storage is Ready.
|
|
2
|
+
2025-01-07T14:55:03+09:00 info: Default DataSource established
|
|
3
|
+
2025-01-07T14:55:04+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2025-01-07T14:55:04+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
2025-01-07T15:29:00+09:00 info: File Storage is Ready.
|
|
2
|
+
2025-01-07T15:29:04+09:00 info: Default DataSource established
|
|
3
|
+
2025-01-07T15:29:05+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2025-01-07T15:29:05+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
2025-01-07T10:19:35+09:00 info: Initializing ConnectionManager...
|
|
2
|
+
2025-01-07T10:19:35+09:00 info: Connector 'echo-back-server' started to ready
|
|
3
|
+
2025-01-07T10:19:35+09:00 info: Connector 'echo-back' started to ready
|
|
4
|
+
2025-01-07T10:19:35+09:00 info: Connector 'http-connector' started to ready
|
|
5
|
+
2025-01-07T10:19:35+09:00 info: Connector 'graphql-connector' started to ready
|
|
6
|
+
2025-01-07T10:19:35+09:00 info: Connector 'sqlite-connector' started to ready
|
|
7
|
+
2025-01-07T10:19:35+09:00 info: Connector 'postgresql-connector' started to ready
|
|
8
|
+
2025-01-07T10:19:35+09:00 info: Connector 'mqtt-connector' started to ready
|
|
9
|
+
2025-01-07T10:19:35+09:00 info: Connector 'mssql-connector' started to ready
|
|
10
|
+
2025-01-07T10:19:35+09:00 info: Connector 'oracle-connector' started to ready
|
|
11
|
+
2025-01-07T10:19:35+09:00 info: Connector 'mysql-connector' started to ready
|
|
12
|
+
2025-01-07T10:19:35+09:00 info: Connector 'socket-server' started to ready
|
|
13
|
+
2025-01-07T10:19:35+09:00 info: Connector 'operato-connector' started to ready
|
|
14
|
+
2025-01-07T10:19:35+09:00 info: Connector 'headless-connector' started to ready
|
|
15
|
+
2025-01-07T10:19:35+09:00 info: Connector 'email-connector' started to ready
|
|
16
|
+
2025-01-07T10:19:35+09:00 info: Connector 'influxdb-connector' started to ready
|
|
17
|
+
2025-01-07T10:19:35+09:00 info: Connector 'msgraph-connector' started to ready
|
|
18
|
+
2025-01-07T10:19:35+09:00 info: Connector 'proxy-connector' started to ready
|
|
19
|
+
2025-01-07T10:19:35+09:00 info: echo-back-servers are ready
|
|
20
|
+
2025-01-07T10:19:35+09:00 info: echo-back connections are ready
|
|
21
|
+
2025-01-07T10:19:35+09:00 info: http-connector connections are ready
|
|
22
|
+
2025-01-07T10:19:35+09:00 info: graphql-connector connections are ready
|
|
23
|
+
2025-01-07T10:19:35+09:00 info: sqlite-connector connections are ready
|
|
24
|
+
2025-01-07T10:19:35+09:00 info: postgresql-connector connections are ready
|
|
25
|
+
2025-01-07T10:19:35+09:00 info: mqtt-connector connections are ready
|
|
26
|
+
2025-01-07T10:19:35+09:00 info: mssql-connector connections are ready
|
|
27
|
+
2025-01-07T10:19:35+09:00 info: oracle-connector connections are ready
|
|
28
|
+
2025-01-07T10:19:35+09:00 info: mysql-connector connections are ready
|
|
29
|
+
2025-01-07T10:19:35+09:00 info: socket servers are ready
|
|
30
|
+
2025-01-07T10:19:35+09:00 info: operato-connector connections are ready
|
|
31
|
+
2025-01-07T10:19:35+09:00 info: headless-connector connections are ready
|
|
32
|
+
2025-01-07T10:19:35+09:00 info: email connections are ready
|
|
33
|
+
2025-01-07T10:19:35+09:00 info: influxdb connections are ready
|
|
34
|
+
2025-01-07T10:19:35+09:00 info: msgraph-connector connections are ready
|
|
35
|
+
2025-01-07T10:19:35+09:00 info: proxy-connector connections are ready
|
|
36
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'echo-back-server' ready
|
|
37
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'echo-back' ready
|
|
38
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'http-connector' ready
|
|
39
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'graphql-connector' ready
|
|
40
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'sqlite-connector' ready
|
|
41
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'postgresql-connector' ready
|
|
42
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'mqtt-connector' ready
|
|
43
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'mssql-connector' ready
|
|
44
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'oracle-connector' ready
|
|
45
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'mysql-connector' ready
|
|
46
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'socket-server' ready
|
|
47
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'operato-connector' ready
|
|
48
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'headless-connector' ready
|
|
49
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'email-connector' ready
|
|
50
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'influxdb-connector' ready
|
|
51
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'msgraph-connector' ready
|
|
52
|
+
2025-01-07T10:19:35+09:00 info: All connector for 'proxy-connector' ready
|
|
53
|
+
2025-01-07T10:19:35+09:00 info: ConnectionManager initialization done:
|
|
54
|
+
2025-01-07T10:53:32+09:00 info: Initializing ConnectionManager...
|
|
55
|
+
2025-01-07T10:53:32+09:00 info: Connector 'echo-back-server' started to ready
|
|
56
|
+
2025-01-07T10:53:32+09:00 info: Connector 'echo-back' started to ready
|
|
57
|
+
2025-01-07T10:53:32+09:00 info: Connector 'http-connector' started to ready
|
|
58
|
+
2025-01-07T10:53:32+09:00 info: Connector 'graphql-connector' started to ready
|
|
59
|
+
2025-01-07T10:53:32+09:00 info: Connector 'sqlite-connector' started to ready
|
|
60
|
+
2025-01-07T10:53:32+09:00 info: Connector 'postgresql-connector' started to ready
|
|
61
|
+
2025-01-07T10:53:32+09:00 info: Connector 'mqtt-connector' started to ready
|
|
62
|
+
2025-01-07T10:53:32+09:00 info: Connector 'mssql-connector' started to ready
|
|
63
|
+
2025-01-07T10:53:32+09:00 info: Connector 'oracle-connector' started to ready
|
|
64
|
+
2025-01-07T10:53:32+09:00 info: Connector 'mysql-connector' started to ready
|
|
65
|
+
2025-01-07T10:53:32+09:00 info: Connector 'socket-server' started to ready
|
|
66
|
+
2025-01-07T10:53:32+09:00 info: Connector 'operato-connector' started to ready
|
|
67
|
+
2025-01-07T10:53:32+09:00 info: Connector 'headless-connector' started to ready
|
|
68
|
+
2025-01-07T10:53:32+09:00 info: Connector 'email-connector' started to ready
|
|
69
|
+
2025-01-07T10:53:32+09:00 info: Connector 'influxdb-connector' started to ready
|
|
70
|
+
2025-01-07T10:53:32+09:00 info: Connector 'msgraph-connector' started to ready
|
|
71
|
+
2025-01-07T10:53:32+09:00 info: Connector 'proxy-connector' started to ready
|
|
72
|
+
2025-01-07T10:53:32+09:00 info: echo-back-servers are ready
|
|
73
|
+
2025-01-07T10:53:32+09:00 info: echo-back connections are ready
|
|
74
|
+
2025-01-07T10:53:32+09:00 info: http-connector connections are ready
|
|
75
|
+
2025-01-07T10:53:32+09:00 info: graphql-connector connections are ready
|
|
76
|
+
2025-01-07T10:53:32+09:00 info: sqlite-connector connections are ready
|
|
77
|
+
2025-01-07T10:53:32+09:00 info: postgresql-connector connections are ready
|
|
78
|
+
2025-01-07T10:53:32+09:00 info: mqtt-connector connections are ready
|
|
79
|
+
2025-01-07T10:53:32+09:00 info: mssql-connector connections are ready
|
|
80
|
+
2025-01-07T10:53:32+09:00 info: oracle-connector connections are ready
|
|
81
|
+
2025-01-07T10:53:32+09:00 info: mysql-connector connections are ready
|
|
82
|
+
2025-01-07T10:53:32+09:00 info: socket servers are ready
|
|
83
|
+
2025-01-07T10:53:32+09:00 info: operato-connector connections are ready
|
|
84
|
+
2025-01-07T10:53:32+09:00 info: headless-connector connections are ready
|
|
85
|
+
2025-01-07T10:53:32+09:00 info: email connections are ready
|
|
86
|
+
2025-01-07T10:53:32+09:00 info: influxdb connections are ready
|
|
87
|
+
2025-01-07T10:53:32+09:00 info: msgraph-connector connections are ready
|
|
88
|
+
2025-01-07T10:53:32+09:00 info: proxy-connector connections are ready
|
|
89
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'echo-back-server' ready
|
|
90
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'echo-back' ready
|
|
91
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'http-connector' ready
|
|
92
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'graphql-connector' ready
|
|
93
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'sqlite-connector' ready
|
|
94
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'postgresql-connector' ready
|
|
95
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'mqtt-connector' ready
|
|
96
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'mssql-connector' ready
|
|
97
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'oracle-connector' ready
|
|
98
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'mysql-connector' ready
|
|
99
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'socket-server' ready
|
|
100
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'operato-connector' ready
|
|
101
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'headless-connector' ready
|
|
102
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'email-connector' ready
|
|
103
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'influxdb-connector' ready
|
|
104
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'msgraph-connector' ready
|
|
105
|
+
2025-01-07T10:53:32+09:00 info: All connector for 'proxy-connector' ready
|
|
106
|
+
2025-01-07T10:53:32+09:00 info: ConnectionManager initialization done:
|