@corvina/device-example 1.4.3 → 1.4.7
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/package.json +60 -60
- package/.env +0 -64
- package/ca.crt +0 -15
- package/dist/app.module.d.ts +0 -3
- package/dist/app.module.d.ts.map +0 -1
- package/dist/app.module.js +0 -42
- package/dist/app.module.js.map +0 -1
- package/dist/controllers/app.controller.d.ts +0 -6
- package/dist/controllers/app.controller.d.ts.map +0 -1
- package/dist/controllers/app.controller.js +0 -27
- package/dist/controllers/app.controller.js.map +0 -1
- package/dist/controllers/device/config.controller.d.ts +0 -12
- package/dist/controllers/device/config.controller.d.ts.map +0 -1
- package/dist/controllers/device/config.controller.js +0 -80
- package/dist/controllers/device/config.controller.js.map +0 -1
- package/dist/controllers/device/dice.controller.d.ts +0 -7
- package/dist/controllers/device/dice.controller.d.ts.map +0 -1
- package/dist/controllers/device/dice.controller.js +0 -65
- package/dist/controllers/device/dice.controller.js.map +0 -1
- package/dist/controllers/device/dto/datapoint.dto.d.ts +0 -7
- package/dist/controllers/device/dto/datapoint.dto.d.ts.map +0 -1
- package/dist/controllers/device/dto/datapoint.dto.js +0 -14
- package/dist/controllers/device/dto/datapoint.dto.js.map +0 -1
- package/dist/controllers/device/dto/deviceconfig.dto.d.ts +0 -55
- package/dist/controllers/device/dto/deviceconfig.dto.d.ts.map +0 -1
- package/dist/controllers/device/dto/deviceconfig.dto.js +0 -120
- package/dist/controllers/device/dto/deviceconfig.dto.js.map +0 -1
- package/dist/controllers/device/dto/licensedata.dto.d.ts +0 -9
- package/dist/controllers/device/dto/licensedata.dto.d.ts.map +0 -1
- package/dist/controllers/device/dto/licensedata.dto.js +0 -16
- package/dist/controllers/device/dto/licensedata.dto.js.map +0 -1
- package/dist/controllers/device/json.controller.d.ts +0 -7
- package/dist/controllers/device/json.controller.d.ts.map +0 -1
- package/dist/controllers/device/json.controller.js +0 -137
- package/dist/controllers/device/json.controller.js.map +0 -1
- package/dist/controllers/device/sine.controller.d.ts +0 -7
- package/dist/controllers/device/sine.controller.d.ts.map +0 -1
- package/dist/controllers/device/sine.controller.js +0 -81
- package/dist/controllers/device/sine.controller.js.map +0 -1
- package/dist/controllers/health.controller.d.ts +0 -9
- package/dist/controllers/health.controller.d.ts.map +0 -1
- package/dist/controllers/health.controller.js +0 -41
- package/dist/controllers/health.controller.js.map +0 -1
- package/dist/main.d.ts +0 -2
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js +0 -64
- package/dist/main.js.map +0 -1
- package/dist/services/device.health.d.ts +0 -8
- package/dist/services/device.health.d.ts.map +0 -1
- package/dist/services/device.health.js +0 -36
- package/dist/services/device.health.js.map +0 -1
- package/ignore +0 -0
- package/main-linux +0 -0
- package/main-macos +0 -0
- package/main-win.exe +0 -0
- package/out +0 -6922
- package/src/.env +0 -130
- package/tags.json +0 -302
- package/tsconfig.app.tsbuildinfo +0 -1
package/package.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "https://bitbucket.org/exorint/corvina-device-sdk-node.git"
|
|
13
|
-
},
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://bitbucket.org/exorint/corvina-device-sdk-node.git"
|
|
16
|
-
},
|
|
17
|
-
"homepage": "https://bitbucket.org/exorint/corvina-device-sdk-node/src/master/app/apps/example/",
|
|
18
|
-
"main": "./dist/main.js",
|
|
19
|
-
"exports": {
|
|
20
|
-
".": {
|
|
21
|
-
"default": "./dist/main.js"
|
|
2
|
+
"name": "@corvina/device-example",
|
|
3
|
+
"version": "1.4.7",
|
|
4
|
+
"description": "Corvina Device Example base on @corvina/device-client",
|
|
5
|
+
"author": "arrigo.zanette@corvina.io",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
22
9
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://bitbucket.org/exorint/corvina-device-sdk-node.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://bitbucket.org/exorint/corvina-device-sdk-node.git"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://bitbucket.org/exorint/corvina-device-sdk-node/src/master/app/apps/example/",
|
|
18
|
+
"main": "./dist/main.js",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"default": "./dist/main.js"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": "./package.json",
|
|
24
|
+
"./bin/corvina-device-example": "./bin/corvina-device-example.js"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc -b ./tsconfig.app.json",
|
|
28
|
+
"prebuild": "rimraf dist",
|
|
29
|
+
"start": "nest start",
|
|
30
|
+
"start:dev": "tsc -b ./tsconfig.app.json && nest start",
|
|
31
|
+
"start:debug": "tsc-watch -b ./tsconfig.app.json --onSuccess \"nest start\"",
|
|
32
|
+
"start:prod": "node dist/main",
|
|
33
|
+
"test": "jest",
|
|
34
|
+
"test:watch": "jest --watch",
|
|
35
|
+
"test:cov": "jest --coverage"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@corvina/device-client": "^1.4.7",
|
|
39
|
+
"@nestjs/common": "^9.0.3",
|
|
40
|
+
"@nestjs/config": "^2.2.0",
|
|
41
|
+
"@nestjs/core": "^9.0.3",
|
|
42
|
+
"@nestjs/platform-express": "^9.0.3",
|
|
43
|
+
"@nestjs/swagger": "^6.0.3",
|
|
44
|
+
"@nestjs/terminus": "^9.0.0",
|
|
45
|
+
"@nestjs/testing": "^9.0.3",
|
|
46
|
+
"axios": "^0.27.2",
|
|
47
|
+
"nestjs-pino": "^2.6.0",
|
|
48
|
+
"pino-http": "^8.1.1"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"corvina",
|
|
52
|
+
"iot"
|
|
53
|
+
],
|
|
54
|
+
"bin": "./bin/corvina-device-example.js",
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@nestjs/cli": "^9.2.0",
|
|
57
|
+
"pino-pretty": "^8.1.0",
|
|
58
|
+
"supertest": "^6.2.4",
|
|
59
|
+
"tsc-watch": "^5.0.3",
|
|
60
|
+
"typescript": "^4.7.4"
|
|
61
|
+
},
|
|
62
|
+
"gitHead": "56f5275fcaaad82d5314a044f9f0d59dddba7ddc"
|
|
63
63
|
}
|
package/.env
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
APP_ID=app
|
|
2
|
-
PORT=3000
|
|
3
|
-
LOG_LEVEL=trace
|
|
4
|
-
REQUEST_LIMIT=100kb
|
|
5
|
-
SESSION_SECRET=mySecret
|
|
6
|
-
|
|
7
|
-
# fog
|
|
8
|
-
# ACTIVATION_KEY=B3ED-48CF-A9DD-6971
|
|
9
|
-
# PAIRING_ENDPOINT=https://pairing.corvina.fog:10443/api/v1/
|
|
10
|
-
|
|
11
|
-
# my pc
|
|
12
|
-
ACTIVATION_KEY=4D05-4037-974E-9482
|
|
13
|
-
PAIRING_ENDPOINT=https://pairing.corvina.fog:10443/api/v1/
|
|
14
|
-
|
|
15
|
-
# abb ac500
|
|
16
|
-
# ACTIVATION_KEY=B2A0-45AC-ABFE-D25F
|
|
17
|
-
# PAIRING_ENDPOINT=https://pairing.dev.corvina.cloud/api/v1/
|
|
18
|
-
|
|
19
|
-
AVAILABLE_TAGS=[{"name":"Tag1","type":"integer"},{"name":"Tag2","type":"integer"},{"name":"Tag3","type":"integer"}]
|
|
20
|
-
AVAILABLE_ALARMS=[{"name": "Alarm1", "severity" : 1, "source" : "Tag1", "desc" : { "en" : "Tag above normal : [Tag1]"} , "ack_required": true, "reset_required" : true, "simulation" : { "f" : "{ console.log('current tag value is ', $('Tag1')); return $('Tag1') > 100 }" } }, {"name" : "Alarm2"} ]
|
|
21
|
-
SIMULATE_TAGS=1
|
|
22
|
-
SIMULATE_ALARMS=0
|
|
23
|
-
SIMULATION_MS=1000
|
|
24
|
-
PACKET_FORMAT=json
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
# don't bother about certificates
|
|
28
|
-
NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
29
|
-
|
|
30
|
-
#Swagger
|
|
31
|
-
SWAGGER_API_SPEC=/spec
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
# AVAILABLE_TAGS=[{"name":"struct.a","type":"integer"},{"name":"struct.b","type":"integer"},{"name":"Tag1","type":"integer"},{"name":"Tag2","type":"integer"},{"name":"Tag3","type":"integer"},{"name":"PositionNow","type":"integer"}]
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
### LAST-ENV ###
|
|
53
|
-
# don't write below this line!!
|
|
54
|
-
ACTIVATION_KEY=CJM3F-96TPF-02RL6-7BMX4
|
|
55
|
-
PAIRING_ENDPOINT=https://pairing.corvina.cloud/api/v1/
|
|
56
|
-
|
|
57
|
-
AVAILABLE_TAGS_FILE=
|
|
58
|
-
AVAILABLE_TAGS=[{"name":"Tag1","type":"integer"},{"name":"Tag2","type":"integer"},{"name":"Tag3","type":"integer"},{"name":"PositionNow","type":"integer"},{"name":"InputTag","type":"integer"}]
|
|
59
|
-
#AVAILABLE_TAGS=[{"name":"boolean","type":"boolean"},{"name":"integer","type":"integer"},{"name":"double","type":"double"}]
|
|
60
|
-
#AVAILABLE_TAGS=[{"name":"M1/Tag1","type":"integer"},{"name":"M1/Tag2","type":"integer"},{"name":"M2/Tag1","type":"integer"},{"name":"M2/Tag2","type":"integer"},{"name":"M3/Tag1","type":"integer"},{"name":"M3/Tag2","type":"integer"},{"name":"M4/Tag1","type":"integer"},{"name":"M4/Tag2","type":"integer"},{"name":"M5/Tag1","type":"integer"},{"name":"M5/Tag2","type":"integer"},{"name":"M6/Tag1","type":"integer"},{"name":"M6/Tag2","type":"integer"},{"name":"M7/Tag1","type":"integer"},{"name":"M7/Tag2","type":"integer"},{"name":"M8/Tag1","type":"integer"},{"name":"M8/Tag2","type":"integer"},{"name":"M9/Tag1","type":"integer"},{"name":"M9/Tag2","type":"integer"},{"name":"M10/Tag1","type":"integer"},{"name":"M10/Tag2","type":"integer"},{"name":"PositionNow","type":"integer"},{"name":"zzz","type":"integer"},{"name":"InputTag","type":"integer"}]
|
|
61
|
-
SIMULATE_TAGS=1
|
|
62
|
-
AVAILABLE_ALARMS=[{"name":"Alarm10","severity":1,"source":"Tag1","desc":{"en":"Tag above normal : [Tag1]"},"ack_required":true,"reset_required":true,"simulation":{"f":"{ console.log('current tag value is ', $('Tag1')); $('Tag1') > 0; return Math.random() > 0.5 }"}},{"name":"Alarm2"}]
|
|
63
|
-
SIMULATE_ALARMS=1
|
|
64
|
-
PACK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----
|
package/dist/app.module.d.ts
DELETED
package/dist/app.module.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.module.d.ts","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":"AAeA,qBAgBa,SAAS;CAAG"}
|
package/dist/app.module.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.AppModule = void 0;
|
|
10
|
-
const config_1 = require("@nestjs/config");
|
|
11
|
-
const terminus_1 = require("@nestjs/terminus");
|
|
12
|
-
const health_controller_1 = require("./controllers/health.controller");
|
|
13
|
-
const common_1 = require("@nestjs/common");
|
|
14
|
-
const nestjs_pino_1 = require("nestjs-pino");
|
|
15
|
-
const device_module_1 = require("@corvina/device-client/device.module");
|
|
16
|
-
const device_health_1 = require("./services/device.health");
|
|
17
|
-
const config_controller_1 = require("./controllers/device/config.controller");
|
|
18
|
-
const dice_controller_1 = require("./controllers/device/dice.controller");
|
|
19
|
-
const sine_controller_1 = require("./controllers/device/sine.controller");
|
|
20
|
-
const json_controller_1 = require("./controllers/device/json.controller");
|
|
21
|
-
let AppModule = class AppModule {
|
|
22
|
-
};
|
|
23
|
-
AppModule = __decorate([
|
|
24
|
-
(0, common_1.Module)({
|
|
25
|
-
imports: [
|
|
26
|
-
terminus_1.TerminusModule,
|
|
27
|
-
config_1.ConfigModule.forRoot(),
|
|
28
|
-
nestjs_pino_1.LoggerModule.forRoot({
|
|
29
|
-
pinoHttp: {
|
|
30
|
-
name: process.env.LOG_CONTEXT || process.env.APP_ID,
|
|
31
|
-
level: process.env.LOG_LEVEL || "info",
|
|
32
|
-
},
|
|
33
|
-
}),
|
|
34
|
-
device_module_1.DeviceClientModule,
|
|
35
|
-
],
|
|
36
|
-
controllers: [config_controller_1.Config, dice_controller_1.Dice, sine_controller_1.Sine, json_controller_1.Json, health_controller_1.HealthController],
|
|
37
|
-
providers: [device_health_1.DeviceHealthIndicator],
|
|
38
|
-
exports: [],
|
|
39
|
-
})
|
|
40
|
-
], AppModule);
|
|
41
|
-
exports.AppModule = AppModule;
|
|
42
|
-
//# sourceMappingURL=app.module.js.map
|
package/dist/app.module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";;;;;;;;;AACA,2CAA8C;AAE9C,+CAAkD;AAClD,uEAAmE;AACnE,2CAAwC;AACxC,6CAA2C;AAC3C,wEAA0E;AAC1E,4DAAiE;AACjE,8EAAgE;AAChE,0EAA4D;AAC5D,0EAA4D;AAC5D,0EAA4D;AAmB5D,IAAa,SAAS,GAAtB,MAAa,SAAS;CAAG,CAAA;AAAZ,SAAS;IAhBrB,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE;YACL,yBAAc;YACd,qBAAY,CAAC,OAAO,EAAE;YACtB,0BAAY,CAAC,OAAO,CAAC;gBACjB,QAAQ,EAAE;oBACN,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM;oBACnD,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,MAAM;iBACzC;aACJ,CAAC;YACF,kCAAkB;SACrB;QACD,WAAW,EAAE,CAAC,0BAAM,EAAE,sBAAI,EAAE,sBAAI,EAAE,sBAAI,EAAE,oCAAgB,CAAC;QACzD,SAAS,EAAE,CAAC,qCAAqB,CAAC;QAClC,OAAO,EAAE,EAAE;KACd,CAAC;GACW,SAAS,CAAG;AAAZ,8BAAS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/app.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,qBACa,aAAa;IACV,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,mBAAmB;CAC/D"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.AppController = void 0;
|
|
13
|
-
const openapi = require("@nestjs/swagger");
|
|
14
|
-
const common_1 = require("@nestjs/common");
|
|
15
|
-
const device_client_1 = require("@corvina/device-client");
|
|
16
|
-
let AppController = class AppController {
|
|
17
|
-
appService;
|
|
18
|
-
constructor(appService) {
|
|
19
|
-
this.appService = appService;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
AppController = __decorate([
|
|
23
|
-
(0, common_1.Controller)(),
|
|
24
|
-
__metadata("design:paramtypes", [device_client_1.DeviceRunnerService])
|
|
25
|
-
], AppController);
|
|
26
|
-
exports.AppController = AppController;
|
|
27
|
-
//# sourceMappingURL=app.controller.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../../src/controllers/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,0DAA6D;AAG7D,IAAa,aAAa,GAA1B,MAAa,aAAa;IACO;IAA7B,YAA6B,UAA+B;QAA/B,eAAU,GAAV,UAAU,CAAqB;IAAG,CAAC;CACnE,CAAA;AAFY,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAEgC,mCAAmB;GADnD,aAAa,CAEzB;AAFY,sCAAa"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DeviceConfig, DeviceService } from "@corvina/device-client";
|
|
2
|
-
import { DeviceConfigDTO } from "./dto/deviceconfig.dto";
|
|
3
|
-
import { LicenseDataDTO } from "./dto/licensedata.dto";
|
|
4
|
-
export declare class Config {
|
|
5
|
-
private readonly deviceService;
|
|
6
|
-
private readonly l;
|
|
7
|
-
constructor(deviceService: DeviceService);
|
|
8
|
-
config(newConfig: DeviceConfig): DeviceConfigDTO;
|
|
9
|
-
get(): DeviceConfig;
|
|
10
|
-
getLicenseData(): LicenseDataDTO;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=config.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/device/config.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,qBAGa,MAAM;IAGH,OAAO,CAAC,QAAQ,CAAC,aAAa;IAF1C,OAAO,CAAC,QAAQ,CAAC,CAAC,CAA2B;gBAEhB,aAAa,EAAE,aAAa;IAMzD,MAAM,CAAoB,SAAS,EAAE,YAAY,GAAG,eAAe;IAWnE,GAAG,IAAI,YAAY;IASnB,cAAc,IAAI,cAAc;CAGnC"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
var Config_1;
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Config = void 0;
|
|
17
|
-
const openapi = require("@nestjs/swagger");
|
|
18
|
-
const common_1 = require("@nestjs/common");
|
|
19
|
-
const device_client_1 = require("@corvina/device-client");
|
|
20
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
21
|
-
const deviceconfig_dto_1 = require("./dto/deviceconfig.dto");
|
|
22
|
-
const licensedata_dto_1 = require("./dto/licensedata.dto");
|
|
23
|
-
let Config = Config_1 = class Config {
|
|
24
|
-
deviceService;
|
|
25
|
-
l = new common_1.Logger(Config_1.name);
|
|
26
|
-
constructor(deviceService) {
|
|
27
|
-
this.deviceService = deviceService;
|
|
28
|
-
}
|
|
29
|
-
config(newConfig) {
|
|
30
|
-
this.l.log("apply new config");
|
|
31
|
-
this.deviceService.reinit(newConfig);
|
|
32
|
-
return new deviceconfig_dto_1.DeviceConfigDTO(this.deviceService.getDeviceConfig());
|
|
33
|
-
}
|
|
34
|
-
get() {
|
|
35
|
-
const config = this.deviceService.getAppliedConfig();
|
|
36
|
-
return config;
|
|
37
|
-
}
|
|
38
|
-
getLicenseData() {
|
|
39
|
-
return this.deviceService.getLicenseData();
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiOperation)({
|
|
44
|
-
summary: "Applied a new device configuration",
|
|
45
|
-
}),
|
|
46
|
-
(0, common_1.Post)("/config"),
|
|
47
|
-
openapi.ApiResponse({ status: 201, type: require("./dto/deviceconfig.dto").DeviceConfigDTO }),
|
|
48
|
-
__param(0, (0, common_1.Body)("newConfig")),
|
|
49
|
-
__metadata("design:type", Function),
|
|
50
|
-
__metadata("design:paramtypes", [Object]),
|
|
51
|
-
__metadata("design:returntype", deviceconfig_dto_1.DeviceConfigDTO)
|
|
52
|
-
], Config.prototype, "config", null);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, swagger_1.ApiOperation)({
|
|
55
|
-
summary: "Get current applied device configuration",
|
|
56
|
-
}),
|
|
57
|
-
(0, common_1.Get)("/config"),
|
|
58
|
-
openapi.ApiResponse({ status: 200, type: Object }),
|
|
59
|
-
__metadata("design:type", Function),
|
|
60
|
-
__metadata("design:paramtypes", []),
|
|
61
|
-
__metadata("design:returntype", Object)
|
|
62
|
-
], Config.prototype, "get", null);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, swagger_1.ApiOperation)({
|
|
65
|
-
summary: "Get current device license data",
|
|
66
|
-
}),
|
|
67
|
-
(0, common_1.Get)("/licenseData"),
|
|
68
|
-
openapi.ApiResponse({ status: 200, type: require("./dto/licensedata.dto").LicenseDataDTO }),
|
|
69
|
-
__metadata("design:type", Function),
|
|
70
|
-
__metadata("design:paramtypes", []),
|
|
71
|
-
__metadata("design:returntype", licensedata_dto_1.LicenseDataDTO)
|
|
72
|
-
], Config.prototype, "getLicenseData", null);
|
|
73
|
-
Config = Config_1 = __decorate([
|
|
74
|
-
(0, swagger_1.ApiTags)("device"),
|
|
75
|
-
(0, common_1.Controller)("/device"),
|
|
76
|
-
(0, common_1.Injectable)(),
|
|
77
|
-
__metadata("design:paramtypes", [device_client_1.DeviceService])
|
|
78
|
-
], Config);
|
|
79
|
-
exports.Config = Config;
|
|
80
|
-
//# sourceMappingURL=config.controller.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.controller.js","sourceRoot":"","sources":["../../../src/controllers/device/config.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAiF;AACjF,0DAAqE;AACrE,6CAAwD;AACxD,6DAAyD;AACzD,2DAAuD;AAMvD,IAAa,MAAM,cAAnB,MAAa,MAAM;IAGc;IAFZ,CAAC,GAAG,IAAI,eAAM,CAAC,QAAM,CAAC,IAAI,CAAC,CAAC;IAE7C,YAA6B,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAAG,CAAC;IAM7D,MAAM,CAAoB,SAAuB;QAC7C,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;QAE/B,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QACrC,OAAO,IAAI,kCAAe,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,EAAE,CAAC,CAAC;IACrE,CAAC;IAMD,GAAG;QACC,MAAM,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC;QACrD,OAAO,MAAM,CAAC;IAClB,CAAC;IAMD,cAAc;QACV,OAAO,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE,CAAC;IAC/C,CAAC;CACJ,CAAA;;IA3BI,IAAA,sBAAY,EAAC;QACV,OAAO,EAAE,oCAAoC;KAChD,CAAC;IACD,IAAA,aAAI,EAAC,SAAS,CAAC;;IACR,WAAA,IAAA,aAAI,EAAC,WAAW,CAAC,CAAA;;;oCAA2B,kCAAe;oCAKlE;;IAEA,IAAA,sBAAY,EAAC;QACV,OAAO,EAAE,0CAA0C;KACtD,CAAC;IACD,IAAA,YAAG,EAAC,SAAS,CAAC;;;;;iCAId;;IAEA,IAAA,sBAAY,EAAC;QACV,OAAO,EAAE,iCAAiC;KAC7C,CAAC;IACD,IAAA,YAAG,EAAC,cAAc,CAAC;;;;oCACF,gCAAc;4CAE/B;AA/BQ,MAAM;IAHlB,IAAA,iBAAO,EAAC,QAAQ,CAAC;IACjB,IAAA,mBAAU,EAAC,SAAS,CAAC;IACrB,IAAA,mBAAU,GAAE;qCAImC,6BAAa;GAHhD,MAAM,CAgClB;AAhCY,wBAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dice.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/device/dice.controller.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,qBAGa,IAAI;IACb,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAyB;IACjC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAgB;IAYlD,IAAI,CAAmB,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;CAazE"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
var Dice_1;
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Dice = void 0;
|
|
17
|
-
const openapi = require("@nestjs/swagger");
|
|
18
|
-
const common_1 = require("@nestjs/common");
|
|
19
|
-
const device_client_1 = require("@corvina/device-client");
|
|
20
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
21
|
-
let Dice = Dice_1 = class Dice {
|
|
22
|
-
l = new common_1.Logger(Dice_1.name);
|
|
23
|
-
deviceService;
|
|
24
|
-
async post(tagName) {
|
|
25
|
-
const t = Date.now();
|
|
26
|
-
const v = Math.random() > 0.5;
|
|
27
|
-
const dataPoints = new Array();
|
|
28
|
-
const dp = {
|
|
29
|
-
tagName,
|
|
30
|
-
value: v,
|
|
31
|
-
timestamp: t,
|
|
32
|
-
};
|
|
33
|
-
dataPoints.push(dp);
|
|
34
|
-
await this.deviceService.post(dataPoints);
|
|
35
|
-
return dataPoints;
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, common_1.Inject)(),
|
|
40
|
-
__metadata("design:type", device_client_1.DeviceService)
|
|
41
|
-
], Dice.prototype, "deviceService", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiOperation)({
|
|
44
|
-
summary: "Post binary (0/1) values sampled from a uniform random number distribution",
|
|
45
|
-
}),
|
|
46
|
-
(0, swagger_1.ApiQuery)({
|
|
47
|
-
name: "tagName",
|
|
48
|
-
description: "device identifier (name) of data source",
|
|
49
|
-
schema: { default: "Tag" },
|
|
50
|
-
required: false,
|
|
51
|
-
}),
|
|
52
|
-
(0, common_1.Post)(),
|
|
53
|
-
openapi.ApiResponse({ status: 201, type: [require("./dto/datapoint.dto").DataPointDTO] }),
|
|
54
|
-
__param(0, (0, common_1.Query)("tagName")),
|
|
55
|
-
__metadata("design:type", Function),
|
|
56
|
-
__metadata("design:paramtypes", [String]),
|
|
57
|
-
__metadata("design:returntype", Promise)
|
|
58
|
-
], Dice.prototype, "post", null);
|
|
59
|
-
Dice = Dice_1 = __decorate([
|
|
60
|
-
(0, swagger_1.ApiTags)("device"),
|
|
61
|
-
(0, common_1.Controller)("/device/dice"),
|
|
62
|
-
(0, common_1.Injectable)()
|
|
63
|
-
], Dice);
|
|
64
|
-
exports.Dice = Dice;
|
|
65
|
-
//# sourceMappingURL=dice.controller.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dice.controller.js","sourceRoot":"","sources":["../../../src/controllers/device/dice.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAqF;AACrF,0DAAuD;AAEvD,6CAAkE;AAMlE,IAAa,IAAI,YAAjB,MAAa,IAAI;IACI,CAAC,GAAG,IAAI,eAAM,CAAC,MAAI,CAAC,IAAI,CAAC,CAAC;IAChB,aAAa,CAAgB;IAYxD,KAAK,CAAC,IAAI,CAAmB,OAAe;QACxC,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QACrB,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,KAAK,EAAa,CAAC;QAC1C,MAAM,EAAE,GAAc;YAClB,OAAO;YACP,KAAK,EAAE,CAAC;YACR,SAAS,EAAE,CAAC;SACf,CAAC;QACF,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACpB,MAAM,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1C,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ,CAAA;AAzBa;IAAT,IAAA,eAAM,GAAE;8BAAiC,6BAAa;2CAAC;;IAEvD,IAAA,sBAAY,EAAC;QACV,OAAO,EAAE,4EAA4E;KACxF,CAAC;IACD,IAAA,kBAAQ,EAAC;QACN,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,yCAAyC;QACtD,MAAM,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;QAC1B,QAAQ,EAAE,KAAK;KAClB,CAAC;IACD,IAAA,aAAI,GAAE;;IACK,WAAA,IAAA,cAAK,EAAC,SAAS,CAAC,CAAA;;;;gCAY3B;AA1BQ,IAAI;IAHhB,IAAA,iBAAO,EAAC,QAAQ,CAAC;IACjB,IAAA,mBAAU,EAAC,cAAc,CAAC;IAC1B,IAAA,mBAAU,GAAE;GACA,IAAI,CA2BhB;AA3BY,oBAAI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datapoint.dto.d.ts","sourceRoot":"","sources":["../../../../src/controllers/device/dto/datapoint.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,qBAAa,YAAa,YAAW,SAAS;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,GAAG,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DataPointDTO = void 0;
|
|
4
|
-
const openapi = require("@nestjs/swagger");
|
|
5
|
-
class DataPointDTO {
|
|
6
|
-
tagName;
|
|
7
|
-
value;
|
|
8
|
-
timestamp;
|
|
9
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
10
|
-
return { tagName: { required: true, type: () => String }, value: { required: true, type: () => Object }, timestamp: { required: true, type: () => Number } };
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.DataPointDTO = DataPointDTO;
|
|
14
|
-
//# sourceMappingURL=datapoint.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datapoint.dto.js","sourceRoot":"","sources":["../../../../src/controllers/device/dto/datapoint.dto.ts"],"names":[],"mappings":";;;;AAEA,MAAa,YAAY;IACrB,OAAO,CAAS;IAChB,KAAK,CAAM;IACX,SAAS,CAAS;;;;CACrB;AAJD,oCAIC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { AlarmDesc, MultiLangString, NoiseSimulationProperties, NoiseSimulationType, NullableSimulationProperties, NullableSimulationStateMachine, SimulationDesc, SimulationType, PacketFormatEnum, TagDesc } from "@corvina/device-client";
|
|
2
|
-
import { DeviceConfig } from "@corvina/device-client";
|
|
3
|
-
export declare class NullableSimulationStateMachineDTO implements NullableSimulationStateMachine {
|
|
4
|
-
nullifying: boolean;
|
|
5
|
-
start: number;
|
|
6
|
-
duration: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class NullableSimulationPropertiesDTO implements NullableSimulationProperties {
|
|
9
|
-
probability: number;
|
|
10
|
-
dt_min: number;
|
|
11
|
-
dt_max: number;
|
|
12
|
-
state?: NullableSimulationStateMachineDTO;
|
|
13
|
-
}
|
|
14
|
-
export declare class NoiseSimulationPropertiesDTO implements NoiseSimulationProperties {
|
|
15
|
-
type: NoiseSimulationType;
|
|
16
|
-
amplitude: number;
|
|
17
|
-
}
|
|
18
|
-
export declare class SimulationDescDTO implements SimulationDesc {
|
|
19
|
-
type: SimulationType;
|
|
20
|
-
noise: NoiseSimulationPropertiesDTO;
|
|
21
|
-
nullable: NullableSimulationPropertiesDTO;
|
|
22
|
-
}
|
|
23
|
-
export declare class TagDescDTO implements TagDesc {
|
|
24
|
-
name: string;
|
|
25
|
-
type: string;
|
|
26
|
-
simulation?: SimulationDescDTO;
|
|
27
|
-
}
|
|
28
|
-
export declare class MultiLangStringDTO implements MultiLangString {
|
|
29
|
-
[languageCode: string]: string;
|
|
30
|
-
}
|
|
31
|
-
export declare class AlarmDescDTO implements AlarmDesc {
|
|
32
|
-
name: string;
|
|
33
|
-
desc: MultiLangStringDTO;
|
|
34
|
-
source: string;
|
|
35
|
-
severity: number;
|
|
36
|
-
ack_required: boolean;
|
|
37
|
-
reset_required: boolean;
|
|
38
|
-
enabled: boolean;
|
|
39
|
-
simulation: SimulationDescDTO;
|
|
40
|
-
}
|
|
41
|
-
export declare class DeviceConfigDTO {
|
|
42
|
-
activationKey?: string;
|
|
43
|
-
pairingEndpoint?: string;
|
|
44
|
-
availableTagsFile?: string;
|
|
45
|
-
availableTags?: TagDescDTO[];
|
|
46
|
-
simulateTags?: boolean;
|
|
47
|
-
availableAlarms?: AlarmDescDTO[];
|
|
48
|
-
simulateAlarms?: boolean;
|
|
49
|
-
packetFormat?: PacketFormatEnum;
|
|
50
|
-
private arrayToMap;
|
|
51
|
-
private mapToArray;
|
|
52
|
-
toDeviceConfig(): DeviceConfig;
|
|
53
|
-
constructor(deviceConfig: DeviceConfig);
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=deviceconfig.dto.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deviceconfig.dto.d.ts","sourceRoot":"","sources":["../../../../src/controllers/device/dto/deviceconfig.dto.ts"],"names":[],"mappings":"AACA,OAAO,EACH,SAAS,EACT,eAAe,EACf,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,OAAO,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,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