@things-factory/operato-board 8.0.0-beta.1 → 8.0.0-beta.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "8.0.0-beta.1",
3
+ "version": "8.0.0-beta.4",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -91,46 +91,46 @@
91
91
  "@operato/shell": "^8.0.0-beta",
92
92
  "@operato/styles": "^8.0.0-beta",
93
93
  "@operato/utils": "^8.0.0-beta",
94
- "@things-factory/apptool-ui": "^8.0.0-beta.1",
95
- "@things-factory/auth-azure-ad": "^8.0.0-beta.1",
96
- "@things-factory/auth-google": "^8.0.0-beta.1",
97
- "@things-factory/auth-ui": "^8.0.0-beta.1",
98
- "@things-factory/board-service": "^8.0.0-beta.1",
99
- "@things-factory/board-ui": "^8.0.0-beta.1",
100
- "@things-factory/context-ui": "^8.0.0-beta.1",
101
- "@things-factory/evaluation": "^8.0.0-beta.1",
102
- "@things-factory/export-ui": "^8.0.0-beta.1",
103
- "@things-factory/fav-base": "^8.0.0-beta.1",
104
- "@things-factory/font-base": "^8.0.0-beta.1",
105
- "@things-factory/form-ui": "^8.0.0-beta.1",
106
- "@things-factory/help": "^8.0.0-beta.1",
107
- "@things-factory/i18n-base": "^8.0.0-beta.1",
108
- "@things-factory/import-ui": "^8.0.0-beta.1",
109
- "@things-factory/integration-base": "^8.0.0-beta.1",
110
- "@things-factory/integration-email": "^8.0.0-beta.1",
111
- "@things-factory/integration-influxdb": "^8.0.0-beta.1",
112
- "@things-factory/integration-msgraph": "^8.0.0-beta.1",
113
- "@things-factory/integration-notification": "^8.0.0-beta.1",
114
- "@things-factory/integration-openai": "^8.0.0-beta.1",
115
- "@things-factory/integration-ui": "^8.0.0-beta.1",
116
- "@things-factory/more-ui": "^8.0.0-beta.1",
117
- "@things-factory/notification": "^8.0.0-beta.1",
118
- "@things-factory/oauth2-client": "^8.0.0-beta.1",
119
- "@things-factory/offline-ui": "^8.0.0-beta.1",
120
- "@things-factory/pdf": "^8.0.0-beta.1",
121
- "@things-factory/print-ui": "^8.0.0-beta.1",
122
- "@things-factory/resource-ui": "^8.0.0-beta.1",
123
- "@things-factory/scheduler": "^8.0.0-beta.1",
124
- "@things-factory/setting-ui": "^8.0.0-beta.1",
125
- "@things-factory/shell": "^8.0.0-beta.1",
126
- "@things-factory/system": "^8.0.0-beta.1"
94
+ "@things-factory/apptool-ui": "^8.0.0-beta.4",
95
+ "@things-factory/auth-azure-ad": "^8.0.0-beta.4",
96
+ "@things-factory/auth-google": "^8.0.0-beta.4",
97
+ "@things-factory/auth-ui": "^8.0.0-beta.4",
98
+ "@things-factory/board-service": "^8.0.0-beta.4",
99
+ "@things-factory/board-ui": "^8.0.0-beta.4",
100
+ "@things-factory/context-ui": "^8.0.0-beta.4",
101
+ "@things-factory/evaluation": "^8.0.0-beta.4",
102
+ "@things-factory/export-ui": "^8.0.0-beta.4",
103
+ "@things-factory/fav-base": "^8.0.0-beta.4",
104
+ "@things-factory/font-base": "^8.0.0-beta.4",
105
+ "@things-factory/form-ui": "^8.0.0-beta.4",
106
+ "@things-factory/help": "^8.0.0-beta.4",
107
+ "@things-factory/i18n-base": "^8.0.0-beta.4",
108
+ "@things-factory/import-ui": "^8.0.0-beta.4",
109
+ "@things-factory/integration-base": "^8.0.0-beta.4",
110
+ "@things-factory/integration-email": "^8.0.0-beta.4",
111
+ "@things-factory/integration-influxdb": "^8.0.0-beta.4",
112
+ "@things-factory/integration-msgraph": "^8.0.0-beta.4",
113
+ "@things-factory/integration-notification": "^8.0.0-beta.4",
114
+ "@things-factory/integration-openai": "^8.0.0-beta.4",
115
+ "@things-factory/integration-ui": "^8.0.0-beta.4",
116
+ "@things-factory/more-ui": "^8.0.0-beta.4",
117
+ "@things-factory/notification": "^8.0.0-beta.4",
118
+ "@things-factory/oauth2-client": "^8.0.0-beta.4",
119
+ "@things-factory/offline-ui": "^8.0.0-beta.4",
120
+ "@things-factory/pdf": "^8.0.0-beta.4",
121
+ "@things-factory/print-ui": "^8.0.0-beta.4",
122
+ "@things-factory/resource-ui": "^8.0.0-beta.4",
123
+ "@things-factory/scheduler": "^8.0.0-beta.4",
124
+ "@things-factory/setting-ui": "^8.0.0-beta.4",
125
+ "@things-factory/shell": "^8.0.0-beta.4",
126
+ "@things-factory/system": "^8.0.0-beta.4"
127
127
  },
128
128
  "devDependencies": {
129
- "@things-factory/board-test": "^8.0.0-beta.1",
130
- "@things-factory/builder": "^8.0.0-beta.1"
129
+ "@things-factory/board-test": "^8.0.0-beta.4",
130
+ "@things-factory/builder": "^8.0.0-beta.4"
131
131
  },
132
132
  "resolutions": {
133
133
  "passport": "^0.7.0"
134
134
  },
135
- "gitHead": "36c494e587640c1490318ef7b95adab02606e0c2"
135
+ "gitHead": "d83d12ed4ba07177dff1dac26e37be347d156b43"
136
136
  }
@@ -1,61 +0,0 @@
1
- module.exports = {
2
- subdomain: 'system',
3
- SECRET: '0xD58F835B69B207A76CA5F84a70a1D0d4C79dAC97', // temporary...
4
- email: {
5
- host: 'smtp.office365.com', // your sender-email smtp host
6
- port: 587, // smtp server port
7
- secure: false, // true for 465, false for other ports
8
- auth: {
9
- user: 'your sender-email',
10
- pass: 'your sender-email password' // generated ethereal password
11
- },
12
- secureConnection: false,
13
- tls: {
14
- ciphers: 'SSLv3'
15
- }
16
- },
17
- logger: {
18
- file: {
19
- filename: 'logs/application-%DATE%.log',
20
- datePattern: 'YYYY-MM-DD-HH',
21
- zippedArchive: false,
22
- maxSize: '20m',
23
- maxFiles: '2d',
24
- level: 'info'
25
- },
26
- console: {
27
- level: 'silly'
28
- }
29
- },
30
- // ormconfig: {
31
- // name: 'default',
32
- // type: 'sqlite',
33
- // database: 'db.sqlite',
34
- // synchronize: false,
35
- // logging: true,
36
- // logger: 'debug'
37
- // },
38
- ormconfig: {
39
- name: 'default',
40
- type: 'postgres',
41
- host: 'postgres',
42
- port: 5432,
43
- database: 'postgres',
44
- username: 'postgres',
45
- password: 'abcd1234',
46
- synchronize: true,
47
- logging: true
48
- },
49
- scheduler: {
50
- /* Name to be used for setting client's "application" properties when registering a schedule */
51
- application: 'operato-board',
52
- /* Base endpoint to be used for setting "callback" properties when registering a schedule */
53
- callbackBase: 'http://app:3000',
54
- /*
55
- Scheduler service endpoint
56
- caution) endpoint for "localhost" has some problem.
57
- https://github.com/node-fetch/node-fetch/issues/1624
58
- */
59
- endpoint: 'http://scheduler:9902'
60
- }
61
- }
@@ -1,56 +0,0 @@
1
- version: '3'
2
- services:
3
- nginx:
4
- image: hatiolab/operato-nginx:latest
5
- ports:
6
- - ${HostPort}:80
7
- depends_on:
8
- - app
9
- app:
10
- build: .
11
- container_name: operato-board
12
- image: hatiolab/operato-board:latest
13
- logging:
14
- driver: 'json-file'
15
- options:
16
- max-size: '100m'
17
- max-file: '3'
18
- privileged: true
19
- volumes:
20
- - ./logs:/app/logs
21
- - ./config.production.js:/app/config.production.js
22
- ports:
23
- - 4000:3000
24
- depends_on:
25
- - postgres
26
- - mosquitto
27
- - scheduler
28
- postgres:
29
- image: postgres:13.2
30
- container_name: db-operato-board
31
- environment:
32
- POSTGRES_PASSWORD: abcd1234
33
- POSTGRES_USER: postgres
34
- PGDATA: /var/lib/postgresql/data/pgdata
35
- volumes:
36
- - ./postgres_data:/var/lib/postgresql/data/pgdata
37
- ports:
38
- - '55432:5432'
39
- mosquitto:
40
- image: eclipse-mosquitto:1.6.12
41
- ports:
42
- - 1883:1883
43
- - 9001:9001
44
-
45
- scheduler:
46
- image: hatiolab/schevt-mgr:latest
47
- container_name: scheduler
48
- volumes:
49
- - ./config.yaml:/app/config.yaml
50
- ports:
51
- - '9902:9902'
52
- logging:
53
- driver: 'json-file'
54
- options:
55
- max-size: '100m'
56
- max-file: '3'
@@ -1,54 +0,0 @@
1
- if [ -f "config.production.js" ] ; then
2
- echo "config.production.js exist"
3
- else
4
- echo "config.production.js create"
5
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-board/installer/config.production.js
6
- fi
7
-
8
- if [ -f "start.sh" ] ; then
9
- echo "start.sh exist"
10
- else
11
- echo "start.sh create"
12
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-board/installer/start.sh
13
- fi
14
-
15
- if [ -f "stop.sh" ] ; then
16
- echo "stop.sh exist"
17
- else
18
- echo "stop.sh create"
19
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-board/installer/stop.sh
20
- fi
21
-
22
- if [ -f "upgrade.sh" ] ; then
23
- echo "upgrade.sh exist"
24
- else
25
- echo "upgrade.sh create"
26
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-board/installer/upgrade.sh
27
- fi
28
-
29
- if [ -f "migrate.sh" ] ; then
30
- echo "migrate.sh exist"
31
- else
32
- echo "migrate.sh create"
33
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-board/installer/migrate.sh
34
- fi
35
-
36
- if [ -f "docker-compose.yml" ] ; then
37
- echo "docker-compose.yml exist"
38
- else
39
- echo "docker-compose.yml create"
40
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-board/installer/docker-compose.yml
41
- fi
42
-
43
- chmod u+x start.sh
44
- chmod u+x stop.sh
45
- chmod u+x upgrade.sh
46
- chmod u+x migrate.sh
47
-
48
- echo "HostPort=3000" > .env
49
-
50
- docker pull hatiolab/operato-board:latest
51
-
52
- docker pull hatiolab/operato-nginx:latest
53
-
54
- docker-compose create
@@ -1 +0,0 @@
1
- docker exec -it operato-board npm run migration -- --mode=production
@@ -1,18 +0,0 @@
1
- HOST_PORT=3000
2
-
3
- if [ $# -eq 0 ] ; then
4
- echo "Warning: default port 3000"
5
- else
6
- HOST_PORT=$1
7
- fi
8
-
9
-
10
- echo "HOST_PORT : ${HOST_PORT}"
11
-
12
- echo "HostPort="$HOST_PORT > .env
13
-
14
- if [[ "$OSTYPE" == "linux-gnu"* ]]; then
15
- xhost +"local:docker@"
16
- fi
17
-
18
- docker-compose up -d
package/installer/stop.sh DELETED
@@ -1 +0,0 @@
1
- docker-compose stop
@@ -1 +0,0 @@
1
- curl -fsSL https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-board/installer/install.sh | bash -s