@aj-shadow/z-abs-corelayer-server 0.0.0-aj-beta.227 → 0.0.0-aj-beta.237
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/npm-shrinkwrap.json +3 -3
- package/package.json +2 -2
- package/project/server/communication/core-protocol/decoder.js +1 -1
- package/project/server/communication/core-protocol/encoder.js +2 -2
- package/project/server/communication/messages/messages-s-to-c/message-persistent-init-response.js +2 -2
- package/project/server/communication/messages/messages-s-to-c/message-persistent-publish.js +2 -2
- package/project/server/communication/messages/messages-s-to-c/message-ws-init.js +2 -2
- package/project/server/communication/messages/messages-s-to-s/service-init-request.js +2 -2
- package/project/server/communication/messages/messages-s-to-s/service-init-response.js +2 -2
- package/project/server/communication/messages/messages-s-to-s/service-offer-off.js +2 -2
- package/project/server/communication/messages/messages-s-to-s/service-offer-on.js +2 -2
- package/project/server/communication/messages/messages-s-to-s/worker-init-request.js +2 -2
- package/project/server/data-response.js +4 -3
- package/project/server/high-resolution-timestamp.js +2 -2
- package/project/server/log/log-config.js +1 -1
- package/project/server/log/log-types.js +1 -1
- package/project/server/log/logger-console.js +2 -2
- package/project/server/log/logger.js +1 -1
- package/project/server/node/channel-input.js +8 -8
- package/project/server/node/channel-output.js +3 -3
- package/project/server/node/clients.js +1 -1
- package/project/server/node/connection-address.js +1 -1
- package/project/server/node/connection-data-ip.js +2 -2
- package/project/server/node/connection-data.js +2 -2
- package/project/server/node/const.js +1 -1
- package/project/server/node/external-services.js +1 -1
- package/project/server/node/http-cache.js +6 -2
- package/project/server/node/http-proxy.js +1 -1
- package/project/server/node/http-request-handler.js +1 -6
- package/project/server/node/http-server.js +1 -1
- package/project/server/node/http2-server.js +1 -1
- package/project/server/node/https-server.js +1 -1
- package/project/server/node/ip-client.js +1 -1
- package/project/server/node/ip-server.js +1 -1
- package/project/server/node/ip-subscription.js +1 -1
- package/project/server/node/message-channel.js +4 -4
- package/project/server/node/node-admin.js +6 -6
- package/project/server/node/node-data.js +1 -1
- package/project/server/node/node-settings.js +1 -1
- package/project/server/node/node-worker.js +3 -3
- package/project/server/node/node.js +3 -3
- package/project/server/node/servers.js +1 -1
- package/project/server/node/ws-client.js +1 -1
- package/project/server/node/ws-server.js +1 -1
- package/project/server/node/ws-web-server.js +1 -1
- package/project/server/node/wss-server.js +1 -1
- package/project/server/node/wss-web-server.js +1 -1
- package/project/server/path/actor-path-build.js +1 -1
- package/project/server/path/actor-path-content.js +1 -1
- package/project/server/path/actor-path-creator.js +1 -1
- package/project/server/path/actor-path-data.js +1 -1
- package/project/server/path/actor-path-dist.js +1 -1
- package/project/server/path/actor-path-generated.js +1 -1
- package/project/server/path/actor-path-project.js +1 -1
- package/project/server/path/actor-path.js +1 -1
- package/project/server/path/paths/actor-content-paths.js +1 -1
- package/project/server/path/paths/actor-data-paths.js +2 -2
- package/project/server/path/paths/actor-generated-paths.js +1 -1
- package/project/server/path/paths/actor-paths.js +1 -1
- package/project/server/plugin-base-multi.js +1 -1
- package/project/server/plugin-base.js +4 -4
- package/project/server/plugin-component.js +1 -1
- package/project/server/plugin-data/client/plugin_data_ClientGet.js +1 -1
- package/project/server/plugin-data/dialog-file/plugin_data_DialogFileGet.js +3 -3
- package/project/server/plugin-data/platform/plugin_data_PlatformPing.js +1 -1
- package/project/server/plugin-factor-protocol.js +2 -2
- package/project/server/plugin-factory.js +1 -2
- package/project/server/plugin-lock.js +1 -1
- package/project/server/response-queue.js +1 -1
- package/project/server/responses.js +2 -2
- package/project/server/service/plugin-service.js +4 -4
- package/project/server/service/service-export.js +1 -1
- package/project/server/service/service-manager.js +1 -1
- package/project/server/service/service-requests.js +1 -1
- package/project/server/session-cache.js +1 -1
- package/project/server/session.js +1 -1
- package/project/server/worker/worker-channel.js +1 -1
- package/project/server/worker/worker-core.js +1 -1
- package/project/server/worker/worker-main.js +1 -1
- package/project/server/worker/worker-pool.js +1 -1
- package/project/server/worker/worker-thread.js +1 -1
- package/LICENSE.txt +0 -96
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aj-shadow/z-abs-corelayer-server",
|
|
3
|
-
"version": "0.0.0-aj-beta.
|
|
3
|
+
"version": "0.0.0-aj-beta.237",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@aj-shadow/z-abs-corelayer-server",
|
|
9
|
-
"version": "0.0.0-aj-beta.
|
|
10
|
-
"license": "
|
|
9
|
+
"version": "0.0.0-aj-beta.237",
|
|
10
|
+
"license": "MIT"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aj-shadow/z-abs-corelayer-server",
|
|
3
|
-
"version": "0.0.0-aj-beta.
|
|
3
|
+
"version": "0.0.0-aj-beta.237",
|
|
4
4
|
"release-step": "delivery",
|
|
5
5
|
"description": "Library used by @actorjs/actorjs",
|
|
6
6
|
"author": "ActorJs",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "MIT",
|
|
8
8
|
"repository": "https://gitlab.com/actorjs-shadow-delivery-public/z-abs-corelayer-server.git",
|
|
9
9
|
"dependencies": {}
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const EncoderConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const EncoderConst = require('z-abs-corelayer-cs/server/communication/core-protocol/encoder-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class Encoder {
|
package/project/server/communication/messages/messages-s-to-c/message-persistent-init-response.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class MessagePersistentInitResponse {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class MessagePersistentPublish {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class MessageWsInit {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class ServiceInitRequest {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class ServiceInitResponse {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class ServiceOfferOff {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class ServiceOfferOn {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class WorkerInitRequest {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const ResponseQueue = require('./response-queue');
|
|
5
5
|
const PluginFactory = require('./plugin-factory');
|
|
@@ -20,8 +20,9 @@ const ServiceOfferOn = require('./communication/messages/messages-s-to-s/service
|
|
|
20
20
|
const ServiceOfferOff = require('./communication/messages/messages-s-to-s/service-offer-off');
|
|
21
21
|
const Const = require('./node/const');
|
|
22
22
|
const ServiceExport = require('./service/service-export');
|
|
23
|
-
const ServiceManager = require('./service/service-manager');
|
|
24
|
-
const
|
|
23
|
+
const ServiceManager = require('./service/service-manager');
|
|
24
|
+
const Envelope = require('z-abs-corelayer-cs/server/communication/core-protocol/envelope');
|
|
25
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
25
26
|
const ChildProcess = require('child_process');
|
|
26
27
|
const Path = require('path');
|
|
27
28
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const LogConfig = require('./log-config');
|
|
5
5
|
const LogTypes = require('./log-types');
|
|
6
|
-
const HighResolutionDate = require('z-abs-corelayer-cs/
|
|
6
|
+
const HighResolutionDate = require('z-abs-corelayer-cs/server/time/high-resolution-date');
|
|
7
7
|
const Clc = require('cli-color');
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const Decoder = require('../communication/core-protocol/decoder');
|
|
5
|
-
const DeserializerMessageRequest = require('z-abs-corelayer-cs/
|
|
6
|
-
const DeserializerMessageResponse = require('z-abs-corelayer-cs/
|
|
7
|
-
const DeserializerMessageServiceInitRequest = require('z-abs-corelayer-cs/
|
|
8
|
-
const TextCache = require('z-abs-corelayer-cs/
|
|
9
|
-
const Deserializer = require('z-abs-corelayer-cs/
|
|
10
|
-
const AppDeserializer = require('z-abs-corelayer-cs/
|
|
11
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
5
|
+
const DeserializerMessageRequest = require('z-abs-corelayer-cs/server/communication/core-protocol/deserializer-message-request');
|
|
6
|
+
const DeserializerMessageResponse = require('z-abs-corelayer-cs/server/communication/core-protocol/deserializer-message-response');
|
|
7
|
+
const DeserializerMessageServiceInitRequest = require('z-abs-corelayer-cs/server/communication/core-protocol/deserializer-message-service-init-request');
|
|
8
|
+
const TextCache = require('z-abs-corelayer-cs/server/communication/cache/text-cache');
|
|
9
|
+
const Deserializer = require('z-abs-corelayer-cs/server/communication/core-protocol/deserializer');
|
|
10
|
+
const AppDeserializer = require('z-abs-corelayer-cs/server/communication/app-protocol/app-deserializer');
|
|
11
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class ChannelInput {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const Encoder = require('../communication/core-protocol/encoder');
|
|
5
|
-
const TextCache = require('z-abs-corelayer-cs/
|
|
6
|
-
const Serializer = require('z-abs-corelayer-cs/
|
|
5
|
+
const TextCache = require('z-abs-corelayer-cs/server/communication/cache/text-cache');
|
|
6
|
+
const Serializer = require('z-abs-corelayer-cs/server/communication/core-protocol/serializer');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class ChannelOutput {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const Const = require('./const');
|
|
5
5
|
const ChannelInput = require('./channel-input');
|
|
6
6
|
const ChannelOutput = require('./channel-output');
|
|
7
7
|
const HighResolutionTimestamp = require('../high-resolution-timestamp');
|
|
8
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
8
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class ConnectionDataIp {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const ChannelInput = require('./channel-input');
|
|
5
5
|
const ChannelOutput = require('./channel-output');
|
|
6
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
6
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class ConnectionData {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
4
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
5
5
|
const MimeTypes = require('mime-types');
|
|
6
6
|
const Fs = require('fs');
|
|
7
7
|
const Path = require('path');
|
|
@@ -18,6 +18,10 @@ class HttpCache {
|
|
|
18
18
|
this.pathsArray.push(watchPaths);
|
|
19
19
|
watchPaths.forEach((watchPath) => {
|
|
20
20
|
if(!this.watchPaths.has(watchPath)) {
|
|
21
|
+
if(!Fs.existsSync(watchPath)) {
|
|
22
|
+
console.log('watchPath:', watchPath, 'does not exist.');
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
21
25
|
Fs.watch(watchPath, {persistent: false, recursive: true}, (eventType, filename) => {
|
|
22
26
|
if(filename && 'change' === eventType) {
|
|
23
27
|
const file = `${watchPath}/${filename.replace(/\\/g, '/')}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
class HttpRequestHandler {
|
|
@@ -38,12 +38,7 @@ class HttpRequestHandler {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
handle(req, res) {
|
|
41
|
-
//console.log('############################################');
|
|
42
|
-
//console.log(req.url, {...req.headers});
|
|
43
|
-
//console.log('############################################');
|
|
44
41
|
const myURL = new URL(req.url, this.baseUrl);
|
|
45
|
-
//console.log(req.url);
|
|
46
|
-
// console.log(req.headers);
|
|
47
42
|
if(myURL.pathname.startsWith('/abs-data/')) {
|
|
48
43
|
try {
|
|
49
44
|
if(req.method == 'POST') {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
5
|
-
const ActionRequest = require('z-abs-corelayer-cs/
|
|
6
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
|
+
const ActionRequest = require('z-abs-corelayer-cs/server/communication/action-request');
|
|
6
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class MessageChannel {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
const NodeData = require('./node-data');
|
|
6
6
|
const ActorPath = require('../path/actor-path');
|
|
7
7
|
const ActorPathGenerated = require('../path/actor-path-generated');
|
|
8
8
|
const MessageChannel = require('./message-channel');
|
|
9
|
-
const ServiceAction = require('z-abs-corelayer-cs/
|
|
10
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
11
|
-
require('z-abs-corelayer-cs/
|
|
9
|
+
const ServiceAction = require('z-abs-corelayer-cs/server/communication/service-action');
|
|
10
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
11
|
+
require('z-abs-corelayer-cs/server/debug-dashboard/log')
|
|
12
12
|
const ChildProcess = require('child_process');
|
|
13
13
|
const Fs = require('fs');
|
|
14
14
|
const Net = require('net');
|
|
@@ -80,7 +80,7 @@ class NodeAdmin {
|
|
|
80
80
|
nodeDatas.push(new NodeData(name, shortName, 'persistant-node', 'auto'));
|
|
81
81
|
}
|
|
82
82
|
else if(name.startsWith('web-node-')) {
|
|
83
|
-
|
|
83
|
+
ddb.error('NOT IMPLEMENTED');
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
files.forEach((dir) => {
|
|
@@ -192,7 +192,7 @@ class NodeAdmin {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
command(nodeName, nodeStatus, cbStatus) {
|
|
195
|
-
|
|
195
|
+
ddb.error(nodeName, nodeStatus);
|
|
196
196
|
const foundNodeData = this.nodeDatas.find((nodeData) => {
|
|
197
197
|
return nodeData.shortName === nodeName || nodeData.name === nodeName;
|
|
198
198
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const Const = require('./const');
|
|
5
5
|
const WorkerInitRequest = require('../communication/messages/messages-s-to-s/worker-init-request');
|
|
6
6
|
const DataResponse = require('../data-response');
|
|
7
7
|
const ConnectionData = require('./connection-data');
|
|
8
8
|
const PluginFactoryProtocol = require('../plugin-factor-protocol');
|
|
9
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
10
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
9
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
10
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class NodeWorker {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const DebugDashboard = require('z-abs-corelayer-cs/
|
|
4
|
+
const DebugDashboard = require('z-abs-corelayer-cs/server/debug-dashboard/log');
|
|
5
5
|
const ExternalServices = require('./external-services');
|
|
6
6
|
const Const = require('./const');
|
|
7
7
|
const Clients = require('./clients');
|
|
@@ -9,7 +9,7 @@ const Servers = require('./servers');
|
|
|
9
9
|
const NodeSettings = require('./node-settings');
|
|
10
10
|
const DataResponse = require('../data-response');
|
|
11
11
|
const PluginFactoryProtocol = require('../plugin-factor-protocol');
|
|
12
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
12
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
13
13
|
const Net = require('net');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const ActorPathCreator = require('../actor-path-creator');
|
|
5
5
|
const ActorPathData = require('../actor-path-data');
|
|
6
6
|
const ActorPath = require('../actor-path');
|
|
7
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
7
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class ActorDataPaths {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const PluginLock = require('./plugin-lock');
|
|
5
|
-
const ActionResponseError = require('z-abs-corelayer-cs/
|
|
6
|
-
const ActionResponseSuccess = require('z-abs-corelayer-cs/
|
|
7
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
5
|
+
const ActionResponseError = require('z-abs-corelayer-cs/server/communication/action-response-error');
|
|
6
|
+
const ActionResponseSuccess = require('z-abs-corelayer-cs/server/communication/action-response-success');
|
|
7
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
8
8
|
const ChildProcess = require('child_process');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const ActorPath = require('../../path/actor-path');
|
|
5
5
|
const ActorPathProject = require('../../path/actor-path-project');
|
|
6
6
|
const ActorPathData = require('../../path/actor-path-data');
|
|
7
7
|
const PluginBaseMulti = require('../../plugin-base-multi');
|
|
8
|
-
const
|
|
8
|
+
const Lib = require('z-abs-corelayer-cs/server/lib');
|
|
9
9
|
const Fs = require('fs');
|
|
10
10
|
const Path = require('path');
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ const Path = require('path');
|
|
|
13
13
|
class DialogFileGet extends PluginBaseMulti {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(PluginBaseMulti.GET);
|
|
16
|
-
this.project = new
|
|
16
|
+
this.project = new Lib();
|
|
17
17
|
this.pathFilters = [''];
|
|
18
18
|
this.existingFilters = [''];
|
|
19
19
|
this.rootName = '';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const PluginFactory = require('./plugin-factory');
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ const PluginFactory = require('./plugin-factory');
|
|
|
7
7
|
class PluginFactorProtocol {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.pluginProtocolParams = [];
|
|
10
|
-
this.pluginProtocolFactory = new PluginFactory('protocol', this.pluginProtocolParams, '
|
|
10
|
+
this.pluginProtocolFactory = new PluginFactory('protocol', this.pluginProtocolParams, 'server');
|
|
11
11
|
this.protocols = [];
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const ActorPathDist = require('./path/actor-path-dist');
|
|
5
5
|
const Logger = require('./log/logger');
|
|
@@ -31,7 +31,6 @@ class PluginFactory {
|
|
|
31
31
|
}
|
|
32
32
|
catch(e) {
|
|
33
33
|
ddb.error('Could not create plugin:', name);
|
|
34
|
-
console.log(e);
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
ddb.error('FACTORY ERROR: ' + name);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
|
-
const CoreProtocolConst = require('z-abs-corelayer-cs/
|
|
4
|
+
const CoreProtocolConst = require('z-abs-corelayer-cs/server/communication/core-protocol/core-protocol-const');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class Responses {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
|
|
3
3
|
|
|
4
4
|
const PluginFactory = require('../plugin-factory');
|
|
5
5
|
const ActorPathDist = require('../path/actor-path-dist');
|
|
6
|
-
const ActionRequest = require('z-abs-corelayer-cs/
|
|
7
|
-
const GuidGenerator = require('z-abs-corelayer-cs/
|
|
8
|
-
const Envelope = require('z-abs-corelayer-cs/
|
|
6
|
+
const ActionRequest = require('z-abs-corelayer-cs/server/communication/action-request');
|
|
7
|
+
const GuidGenerator = require('z-abs-corelayer-cs/server/guid-generator');
|
|
8
|
+
const Envelope = require('z-abs-corelayer-cs/server/communication/core-protocol/envelope');
|
|
9
9
|
const Path = require('path');
|
|
10
10
|
|
|
11
11
|
|
package/LICENSE.txt
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
LICENSE AGREEMENT
|
|
3
|
-
|
|
4
|
-
Effective: 1st of November 2020
|
|
5
|
-
This License Agreement is between Licensee and Hagnell Konsulting AB (a company incorporated in Sweden with
|
|
6
|
-
company registration number: 559476-0570) (“Hagnell Konsulting”) and governs the use by Licensee of ActorJs
|
|
7
|
-
(as defined below).
|
|
8
|
-
By installing the Software (as defined below), Licensee agrees to be bound by the terms of this License Agreement.
|
|
9
|
-
|
|
10
|
-
DEFENITIONS
|
|
11
|
-
ActorJs The test tool developed by Hagnell Konsulting, utilizing the Patent and the Software.
|
|
12
|
-
Derivative Works Any work, whether in source or object code, which is based on the Software and which
|
|
13
|
-
does not constitute a new and independent work pursuant to paragraph 2 of article 4 of
|
|
14
|
-
the Swedish Act (1960:729) on Copyright in Literary and Artistic Works.
|
|
15
|
-
Documentation The manuals and instruction materials furnished by Hagnell Konsulting in connection
|
|
16
|
-
with ActorJs.
|
|
17
|
-
Licensee The physical or legal person to which the License hereunder has been granted by
|
|
18
|
-
Hagnell Konsulting.
|
|
19
|
-
Patent The patent application for a system and method for testing of systems under test, patent
|
|
20
|
-
application number:19218798.7 (European Patent Office).
|
|
21
|
-
Software The software developed and owned by Hagnell Konsulting, identified as ActorJs.
|
|
22
|
-
|
|
23
|
-
§ 1 - LICENSE
|
|
24
|
-
Licensee is hereby granted a limited, non-exclusive and non-transferable license to use ActorJs (including any
|
|
25
|
-
Derivative Works created by Licensee hereunder) (the “License”). The License is granted subject to the terms and
|
|
26
|
-
conditions set forth below.
|
|
27
|
-
The Software is licensed to Licensee on an open source basis. The License includes the right to create Derivative
|
|
28
|
-
Works pursuant to sub-clause 3 below.
|
|
29
|
-
ActorJs may be used only by Licensee himself/herself/itself, or (if, for instance, Licensee is a company), by the
|
|
30
|
-
employees and consultants of Licensee.
|
|
31
|
-
The License does not include any updates to the Software, or any support services. Notwithstanding the foregoing,
|
|
32
|
-
should Hagnell Konsulting furnish any updates to Licensee, such updates shall be subject to the License granted hereunder.
|
|
33
|
-
As regards the Documentation provided by Hagnell Konsulting, Licensee may use this Documentation for the purpose of
|
|
34
|
-
the License hereunder (only). Licensee shall not be entitled to distribute copies of the Documentation, or electronically
|
|
35
|
-
communicate the Documentation, to recipients who are not employees or consultants of Licensee.
|
|
36
|
-
|
|
37
|
-
§ 2 - LICENSE RESTRICTIONS
|
|
38
|
-
Licensee may not:
|
|
39
|
-
i) Rent, lease, lend, sell, distribute, transfer or otherwise make available ActorJs (and/or a Derivative Work)
|
|
40
|
-
(whether for value or otherwise) to third parties without Hagnell Konsulting´s written approval. Any such approval
|
|
41
|
-
will be subject to the third party acknowledging in writing (vis-à-vis Hagnell Konsulting) that its use of ActorJs
|
|
42
|
-
(and/or the Derivative Work) shall be subject to the terms and conditions of this Agreement.
|
|
43
|
-
|
|
44
|
-
ii) Distribute copies of the Software (and/or a Derivate Work), or electronically communicate the Software
|
|
45
|
-
(and/or a Derivative Work), to recipients who are not employees or consultants of Licensee.
|
|
46
|
-
|
|
47
|
-
§ 3 – DERITATIVE WORKS
|
|
48
|
-
Should Licensee, or (if applicable) any of its employees or consultants, create a Derivative Work, Licensee shall
|
|
49
|
-
inform Hagnell Konsulting thereof in writing (an e-mail shall be sufficient). Licensee may use the Derivative Work to the
|
|
50
|
-
same extent as it may use the Software hereunder, but Hagnell Konsulting shall be the sole and exclusive owner of any
|
|
51
|
-
and all rights in the Derivative Work, including the copyright. At the request of Hagnell Konsulting, Licensee and
|
|
52
|
-
Hagnell Konsulting shall formalize the rights transfer in a written contract, which shall, inter alia, confirm that all rights
|
|
53
|
-
in the Derivative Work have been irrevocably transferred to Hagnell Konsulting, that Hagnell Konsulting is be entitled to
|
|
54
|
-
exploit the Derivative Work without limitation in time or any other kind of limitation, that Hagnell Konsulting may transfer
|
|
55
|
-
its rights to the Derivative Work to third parties and that the rights transfer from Licensee to Hagnell Konsulting shall be
|
|
56
|
-
free of charge.
|
|
57
|
-
|
|
58
|
-
§ 4 – IMPROVEMENTS TO THE PATENT
|
|
59
|
-
Any improvement to the Patent, whether patentable or not, which Licensee, or (if applicable) any of its employees or
|
|
60
|
-
consultants, may discover, create or develop or otherwise have at its disposal, directly or indirectly, without restraints
|
|
61
|
-
as to the use thereof (“Improvements”), shall be disclosed promptly to Hagnell Konsulting and Hagnell Konsulting shall
|
|
62
|
-
have the exclusive right of perpetual duration to use the Improvements as well as to grant the use thereof to other licensees
|
|
63
|
-
in the whole world without compensation to Licensee, except that Licensee shall during the life of this Agreement have
|
|
64
|
-
the non-exclusive right to use such Improvements including corresponding patents, if any, in accordance with the
|
|
65
|
-
provisions of this Agreement. If Licensee decides not to apply for a patent relating to an Improvement made by
|
|
66
|
-
Licensee or if Licensee no longer wishes to maintain such a patent or patent application then Hagnell Konsulting may in its
|
|
67
|
-
sole discretion and at its own expense apply for such a patent or maintain such a patent or patent application (as the
|
|
68
|
-
case may be).
|
|
69
|
-
|
|
70
|
-
§ 5 - COPYRIGHT AND INTELLECTUAL PROPERTY RIGHTS
|
|
71
|
-
The Software, the Patent and the Documentation are protected by copyright and patent laws and international
|
|
72
|
-
copyright and patent treaties, as well other intellectual property laws and treaties. Any such intellectual property
|
|
73
|
-
rights are owned and especially reserved by Hagnell Konsulting, without limitation. For the avoidance of doubt, no
|
|
74
|
-
ownership rights are transferred to Licensee hereunder.
|
|
75
|
-
“ActorJs” is a registered trademark of Hagnell Konsulting. This Agreement does not include a license to use the
|
|
76
|
-
trademark “ActorJs”.
|
|
77
|
-
|
|
78
|
-
§ 6 - LIMITITATION ON LIABILITY
|
|
79
|
-
ActorJs is licensed to Licensee “as is”. Hagnell Konsulting gives no guarantees as regards the use, functionality
|
|
80
|
-
or performance of ActorJs and assumes no liability (whatsoever) as regards any defaults in ActorJs or any possible
|
|
81
|
-
infringements on third party statutory or contractual rights. Hagnell Konsulting expressly disclaims any and all warranties
|
|
82
|
-
not expressly given in this Agreement, including any implied warranties of merchantability, satisfactory quality, fitness
|
|
83
|
-
for a particular purpose, title and non-infringement. Thus, the entire risk arising out of any use of ActorJs hereunder
|
|
84
|
-
remains with Licensee.
|
|
85
|
-
The limitation of liability hereunder shall be to the maximum extent permitted by applicable law. Under no
|
|
86
|
-
circumstances shall Hagnell Konsulting be liable for any cost of substitute products or services, for any indirect losses or
|
|
87
|
-
for any consequential damages (including any loss of profits, interruptions or loss of business information).
|
|
88
|
-
|
|
89
|
-
§ 7 - MISCELLANEOUS
|
|
90
|
-
Licensee may not, either wholly or partly, assign or pledge its rights or obligations under this Agreement to any third
|
|
91
|
-
party without the prior written consent of Hagnell Konsulting.
|
|
92
|
-
|
|
93
|
-
§ 8 - DISPUTES
|
|
94
|
-
This agreement shall be governed by Swedish law. Any dispute, controversy or claim arising out of or in connection
|
|
95
|
-
with this contract, or the breach, termination or invalidity thereof, shall be settled by the general courts of Sweden,
|
|
96
|
-
with the district court of Stockholm in the first instance.
|