@things-factory/operato-ecs 6.0.72 → 6.0.74

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.
@@ -1,6 +1,7 @@
1
1
  module.exports = {
2
2
  subdomain: 'system',
3
3
  SECRET: '0xD58F835B69C217A76CA5FA4a70a1D0d4D79dAC64', // temporary...
4
+ accessTokenCookieKey: 'access_token.ecs',
4
5
  email: {
5
6
  host: 'smtp.office365.com', // your sender-email smtp host
6
7
  port: 587, // smtp server port
@@ -45,5 +46,17 @@ module.exports = {
45
46
  password: 'abcd1234',
46
47
  synchronize: true,
47
48
  logging: true
48
- }
49
+ },
50
+ scheduler: {
51
+ /* Name to be used for setting client's "application" properties when registering a schedule */
52
+ application: 'operato-ecs',
53
+ /* Base endpoint to be used for setting "callback" properties when registering a schedule */
54
+ callbackBase: 'http://app:3000',
55
+ /*
56
+ Scheduler service endpoint
57
+ caution) endpoint for "localhost" has some problem.
58
+ https://github.com/node-fetch/node-fetch/issues/1624
59
+ */
60
+ endpoint: 'http://scheduler:9902'
61
+ },
49
62
  }
@@ -0,0 +1,4 @@
1
+ ---
2
+ queue: local
3
+
4
+ local: /app/evt_queue
@@ -7,7 +7,6 @@ services:
7
7
  depends_on:
8
8
  - app
9
9
  app:
10
- build: .
11
10
  container_name: operato-ecs
12
11
  image: hatiolab/operato-ecs:latest
13
12
  privileged: true
@@ -19,6 +18,7 @@ services:
19
18
  depends_on:
20
19
  - postgres
21
20
  - mosquitto
21
+ - scheduler
22
22
  postgres:
23
23
  image: postgres:13.2
24
24
  container_name: db-operato-ecs
@@ -35,3 +35,11 @@ services:
35
35
  ports:
36
36
  - 1883:1883
37
37
  - 9001:9001
38
+
39
+ scheduler:
40
+ image: hatiolab/schevt-mgr:latest
41
+ container_name: scheduler
42
+ volumes:
43
+ - ./config.yaml:/app/config.yaml
44
+ ports:
45
+ - '9902:9902'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "6.0.72",
3
+ "version": "6.0.74",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -51,33 +51,33 @@
51
51
  "@operato/scene-switch": "^1.0.0",
52
52
  "@operato/scene-table": "^1.0.0",
53
53
  "@operato/scene-timer": "^1.0.0",
54
- "@things-factory/api": "^6.0.71",
55
- "@things-factory/apptool-ui": "^6.0.71",
56
- "@things-factory/auth-ui": "^6.0.71",
57
- "@things-factory/board-service": "^6.0.71",
58
- "@things-factory/board-ui": "^6.0.71",
59
- "@things-factory/context-ui": "^6.0.71",
60
- "@things-factory/dashboard": "^6.0.71",
61
- "@things-factory/export-ui": "^6.0.71",
62
- "@things-factory/grist-ui": "^6.0.71",
63
- "@things-factory/help": "^6.0.71",
64
- "@things-factory/i18n-base": "^6.0.71",
65
- "@things-factory/integration-melsec": "^6.0.72",
66
- "@things-factory/integration-modbus": "^6.0.72",
67
- "@things-factory/integration-ui": "^6.0.72",
68
- "@things-factory/lite-menu": "^6.0.71",
69
- "@things-factory/more-ui": "^6.0.71",
70
- "@things-factory/oauth2-client": "^6.0.71",
71
- "@things-factory/print-ui": "^6.0.71",
72
- "@things-factory/resource-ui": "^6.0.71",
73
- "@things-factory/setting-base": "^6.0.71",
74
- "@things-factory/setting-ui": "^6.0.71",
75
- "@things-factory/shell": "^6.0.71",
76
- "@things-factory/system-ui": "^6.0.71",
54
+ "@things-factory/api": "^6.0.73",
55
+ "@things-factory/apptool-ui": "^6.0.73",
56
+ "@things-factory/auth-ui": "^6.0.73",
57
+ "@things-factory/board-service": "^6.0.73",
58
+ "@things-factory/board-ui": "^6.0.73",
59
+ "@things-factory/context-ui": "^6.0.73",
60
+ "@things-factory/dashboard": "^6.0.73",
61
+ "@things-factory/export-ui": "^6.0.73",
62
+ "@things-factory/grist-ui": "^6.0.73",
63
+ "@things-factory/help": "^6.0.73",
64
+ "@things-factory/i18n-base": "^6.0.73",
65
+ "@things-factory/integration-melsec": "^6.0.73",
66
+ "@things-factory/integration-modbus": "^6.0.73",
67
+ "@things-factory/integration-ui": "^6.0.73",
68
+ "@things-factory/lite-menu": "^6.0.73",
69
+ "@things-factory/more-ui": "^6.0.73",
70
+ "@things-factory/oauth2-client": "^6.0.73",
71
+ "@things-factory/print-ui": "^6.0.73",
72
+ "@things-factory/resource-ui": "^6.0.73",
73
+ "@things-factory/setting-base": "^6.0.73",
74
+ "@things-factory/setting-ui": "^6.0.73",
75
+ "@things-factory/shell": "^6.0.73",
76
+ "@things-factory/system-ui": "^6.0.73",
77
77
  "jsmodbus": "^4.0.2"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@things-factory/builder": "^6.0.71"
81
81
  },
82
- "gitHead": "91122225b04d3b61d76d541ae1794341259938a7"
82
+ "gitHead": "a2543e723bf9d22907129352567680e1aa1a263a"
83
83
  }