@things-factory/operato-dataset 6.0.77 → 6.0.78
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/client/menu.ts +9 -7
- package/client/query-data-sets.ts +1 -0
- package/db.sqlite +0 -0
- package/installer/config.production.js +12 -0
- package/installer/docker-compose.yml +9 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +50 -0
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +25 -0
- package/logs/application-2023-05-13-14.log +24 -0
- package/logs/application-2023-05-13-15.log +34 -0
- package/logs/application-2023-05-13-16.log +24 -0
- package/logs/application-2023-05-13-17.log +25 -0
- package/logs/application-2023-05-13-18.log +39 -0
- package/logs/application-2023-05-13-23.log +5 -0
- package/logs/application-2023-05-14-00.log +6 -0
- package/logs/application-2023-05-14-01.log +3 -0
- package/logs/application-2023-05-14-02.log +5 -0
- package/logs/application-2023-05-14-03.log +6 -0
- package/logs/connections-2023-05-13-14.log +0 -0
- package/logs/connections-2023-05-13-15.log +0 -0
- package/logs/connections-2023-05-13-16.log +0 -0
- package/logs/connections-2023-05-13-17.log +0 -0
- package/logs/connections-2023-05-13-18.log +0 -0
- package/package.json +34 -34
- package/schema.gql +18 -9
package/client/menu.ts
CHANGED
|
@@ -103,13 +103,15 @@ export function getMenuTemplate(owner: boolean = false, dataSets: any[]) {
|
|
|
103
103
|
icon: 'checklist',
|
|
104
104
|
path: 'data-summary-list',
|
|
105
105
|
menus:
|
|
106
|
-
dataSets
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
dataSets
|
|
107
|
+
.filter(item => item.active && item.summaryPeriod)
|
|
108
|
+
.map(item => {
|
|
109
|
+
return {
|
|
110
|
+
name: item.name,
|
|
111
|
+
icon: 'checklist',
|
|
112
|
+
path: `data-summary-search/${item.id}`
|
|
113
|
+
}
|
|
114
|
+
}) || []
|
|
113
115
|
},
|
|
114
116
|
{
|
|
115
117
|
icon: 'newspaper',
|
package/db.sqlite
CHANGED
|
Binary file
|
|
@@ -36,5 +36,17 @@ module.exports = {
|
|
|
36
36
|
password: 'abcd1234',
|
|
37
37
|
synchronize: true,
|
|
38
38
|
logging: true
|
|
39
|
+
},
|
|
40
|
+
scheduler: {
|
|
41
|
+
/* Name to be used for setting client's "application" properties when registering a schedule */
|
|
42
|
+
application: 'operato-dataset',
|
|
43
|
+
/* Base endpoint to be used for setting "callback" properties when registering a schedule */
|
|
44
|
+
callbackBase: 'http://app:3000',
|
|
45
|
+
/*
|
|
46
|
+
Scheduler service endpoint
|
|
47
|
+
caution) endpoint for "localhost" has some problem.
|
|
48
|
+
https://github.com/node-fetch/node-fetch/issues/1624
|
|
49
|
+
*/
|
|
50
|
+
endpoint: 'http://scheduler:9902'
|
|
39
51
|
}
|
|
40
52
|
}
|
|
@@ -19,6 +19,7 @@ services:
|
|
|
19
19
|
depends_on:
|
|
20
20
|
- postgres
|
|
21
21
|
- mosquitto
|
|
22
|
+
- scheduler
|
|
22
23
|
postgres:
|
|
23
24
|
image: postgres:13.2
|
|
24
25
|
container_name: db-operato-dataset
|
|
@@ -35,3 +36,11 @@ services:
|
|
|
35
36
|
ports:
|
|
36
37
|
- 1883:1883
|
|
37
38
|
- 9001:9001
|
|
39
|
+
|
|
40
|
+
scheduler:
|
|
41
|
+
image: hatiolab/schevt-mgr:latest
|
|
42
|
+
container_name: scheduler
|
|
43
|
+
volumes:
|
|
44
|
+
- ./config.yaml:/app/config.yaml
|
|
45
|
+
ports:
|
|
46
|
+
- '9902:9902'
|
|
@@ -74,6 +74,56 @@
|
|
|
74
74
|
"date": 1683918109795,
|
|
75
75
|
"name": "logs/application-2023-05-13-04.log",
|
|
76
76
|
"hash": "1a3ceb93a1823a8d05bfd8bfae158189c58a8e8dc7b644801be4ed180f8c5d9f"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"date": 1683986738231,
|
|
80
|
+
"name": "logs/application-2023-05-13-23.log",
|
|
81
|
+
"hash": "6d352d62cc8a2293b1ec15551ae6d217de7deaa0ee717c342c2130ab59819c11"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"date": 1683986871726,
|
|
85
|
+
"name": "logs/application-2023-05-13-14.log",
|
|
86
|
+
"hash": "5d128384cc3f11b0eaa0256fc123efd05c762d9696ed988ec0ee6a65612f99fa"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"date": 1683991042089,
|
|
90
|
+
"name": "logs/application-2023-05-14-00.log",
|
|
91
|
+
"hash": "0e3b3574cb4df51a71339f70a89beb1ea37b3a7d6972802c4a5b44fd1ff5d8b3"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"date": 1683991044029,
|
|
95
|
+
"name": "logs/application-2023-05-13-15.log",
|
|
96
|
+
"hash": "0504b5f2502e7b6372c828379cad323110cd08eb17e31c6bf5c8ad55f07d75b9"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"date": 1683993972161,
|
|
100
|
+
"name": "logs/application-2023-05-13-16.log",
|
|
101
|
+
"hash": "ec970629cd5bfd125a9913d169d70ec58ca7bf4fe8f090b08280f0d038b8fb06"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"date": 1683994625169,
|
|
105
|
+
"name": "logs/application-2023-05-14-01.log",
|
|
106
|
+
"hash": "6b64eb87b55e9a59ffe932adaef63f854b7c4ac9593c43884b6291bf9caa2034"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"date": 1683998866417,
|
|
110
|
+
"name": "logs/application-2023-05-14-02.log",
|
|
111
|
+
"hash": "a7a32b666b87bce4dfeba4f96ccf816986d26de3354fa9f7c9ac75cbc1a8df8e"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"date": 1683998868403,
|
|
115
|
+
"name": "logs/application-2023-05-13-17.log",
|
|
116
|
+
"hash": "ec7e340b638e93a64da5676eed206484a994eb57243f56fcd0e5a6b9e35f8e90"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"date": 1684000847903,
|
|
120
|
+
"name": "logs/application-2023-05-14-03.log",
|
|
121
|
+
"hash": "b4285719fe1a884c14c108febcc36fdd92ce16c51ace6d71d1bc82c2d1c647ce"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"date": 1684000849755,
|
|
125
|
+
"name": "logs/application-2023-05-13-18.log",
|
|
126
|
+
"hash": "99d4e029b1568010602cc3b4f3314d0feb80c0c91dd54362eae65ad7c3fd7480"
|
|
77
127
|
}
|
|
78
128
|
],
|
|
79
129
|
"hashType": "sha256"
|
|
@@ -49,6 +49,31 @@
|
|
|
49
49
|
"date": 1683918111563,
|
|
50
50
|
"name": "logs/connections-2023-05-12-19.log",
|
|
51
51
|
"hash": "e36ba7de205badb89ede57c783358da4d543c4e0b2838579b1d4a9fbe8c6be77"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"date": 1683986871508,
|
|
55
|
+
"name": "logs/connections-2023-05-13-14.log",
|
|
56
|
+
"hash": "71afa26eee875d22832f409abd6ab0faff70828ed49e32912c3d74f9870e7ca9"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"date": 1683991043846,
|
|
60
|
+
"name": "logs/connections-2023-05-13-15.log",
|
|
61
|
+
"hash": "9f2e030dcc54d56638fe20e802e24fc27549bfcf2849ba260752de783bf0d1d2"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"date": 1683994626955,
|
|
65
|
+
"name": "logs/connections-2023-05-13-16.log",
|
|
66
|
+
"hash": "e71ed1776531c70f4f1ff3e7d9da9558793f27b590305746cd376bb73c977cb3"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"date": 1683998868215,
|
|
70
|
+
"name": "logs/connections-2023-05-13-17.log",
|
|
71
|
+
"hash": "e37d907fbe1826484e441c562ce43d89b42fd569f55643b7011285411c20c759"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"date": 1684000849588,
|
|
75
|
+
"name": "logs/connections-2023-05-13-18.log",
|
|
76
|
+
"hash": "ac83c366a25b1956f2ec0647a42e67fe6e7eb5d6f5a5b8d71f5aab7e54a85392"
|
|
52
77
|
}
|
|
53
78
|
],
|
|
54
79
|
"hashType": "sha256"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2023-05-13T23:07:51+09:00 error: oracledb module loading failed
|
|
2
|
+
2023-05-13T23:07:52+09:00 info: Default DataSource established
|
|
3
|
+
2023-05-13T23:07:53+09:00 error: SQLITE_CONSTRAINT: UNIQUE constraint failed: data_summaries.domain_id, data_summaries.data_set_id, data_summaries.key_01, data_summaries.key_02, data_summaries.key_03, data_summaries.key_05, data_summaries.key_04, data_summaries.date, data_summaries.period
|
|
4
|
+
2023-05-13T23:08:09+09:00 error: oracledb module loading failed
|
|
5
|
+
2023-05-13T23:08:10+09:00 info: Default DataSource established
|
|
6
|
+
2023-05-13T23:08:10+09:00 error: SQLITE_CONSTRAINT: UNIQUE constraint failed: data_summaries.domain_id, data_summaries.data_set_id, data_summaries.key_01, data_summaries.key_02, data_summaries.key_03, data_summaries.key_05, data_summaries.key_04, data_summaries.date, data_summaries.period
|
|
7
|
+
2023-05-13T23:08:11+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
8
|
+
2023-05-13T23:08:11+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
9
|
+
2023-05-13T23:12:43+09:00 error: oracledb module loading failed
|
|
10
|
+
2023-05-13T23:12:44+09:00 info: Default DataSource established
|
|
11
|
+
2023-05-13T23:12:45+09:00 error: SQLITE_CONSTRAINT: UNIQUE constraint failed: data_summaries.domain_id, data_summaries.data_set_id, data_summaries.key_01, data_summaries.key_02, data_summaries.key_03, data_summaries.key_05, data_summaries.key_04, data_summaries.date, data_summaries.period
|
|
12
|
+
2023-05-13T23:12:46+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
13
|
+
2023-05-13T23:12:46+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
14
|
+
2023-05-13T23:15:06+09:00 error: oracledb module loading failed
|
|
15
|
+
2023-05-13T23:15:07+09:00 info: Default DataSource established
|
|
16
|
+
2023-05-13T23:15:07+09:00 info: Transaction DataSource established
|
|
17
|
+
2023-05-13T23:15:08+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
18
|
+
2023-05-13T23:15:08+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
19
|
+
2023-05-13T23:22:26+09:00 error: oracledb module loading failed
|
|
20
|
+
2023-05-13T23:22:27+09:00 info: Default DataSource established
|
|
21
|
+
2023-05-13T23:22:27+09:00 info: Transaction DataSource established
|
|
22
|
+
2023-05-13T23:22:28+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
23
|
+
2023-05-13T23:22:28+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
24
|
+
2023-05-13T23:26:12+09:00 error: Variable "$patches" got invalid value { id: "0176fcc3-0dbf-4fe6-9bd0-ca9f9ae91cf4", summaryPeriod: "hour", cuFlag: "M" } at "patches[0]"; Field "summaryPeriod" is not defined by type "DataSetPatch".
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
2023-05-14T00:17:24+09:00 error: oracledb module loading failed
|
|
2
|
+
2023-05-14T00:17:25+09:00 info: Default DataSource established
|
|
3
|
+
2023-05-14T00:17:25+09:00 info: Transaction DataSource established
|
|
4
|
+
2023-05-14T00:17:26+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
5
|
+
2023-05-14T00:17:26+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
6
|
+
2023-05-14T00:21:38+09:00 error: Unknown argument "workShift" on field "Mutation.generateDataSummaries".
|
|
7
|
+
2023-05-14T00:21:38+09:00 error: Unknown argument "workDate" on field "Mutation.generateDataSummaries". Did you mean "date"?
|
|
8
|
+
2023-05-14T00:21:38+09:00 error: Field "generateDataSummaries" argument "period" of type "String!" is required, but it was not provided.
|
|
9
|
+
2023-05-14T00:21:38+09:00 error: Field "generateDataSummaries" argument "date" of type "String!" is required, but it was not provided.
|
|
10
|
+
2023-05-14T00:39:01+09:00 error: Variable "$period" of required type "String!" was not provided.
|
|
11
|
+
2023-05-14T00:39:14+09:00 error: Variable "$period" of required type "String!" was not provided.
|
|
12
|
+
2023-05-14T00:42:09+09:00 error: oracledb module loading failed
|
|
13
|
+
2023-05-14T00:42:10+09:00 info: Default DataSource established
|
|
14
|
+
2023-05-14T00:42:10+09:00 info: Transaction DataSource established
|
|
15
|
+
2023-05-14T00:42:11+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
16
|
+
2023-05-14T00:42:11+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
17
|
+
2023-05-14T00:45:38+09:00 error: oracledb module loading failed
|
|
18
|
+
2023-05-14T00:45:39+09:00 info: Default DataSource established
|
|
19
|
+
2023-05-14T00:45:39+09:00 info: Transaction DataSource established
|
|
20
|
+
2023-05-14T00:45:40+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
21
|
+
2023-05-14T00:45:40+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
22
|
+
2023-05-14T00:46:26+09:00 error: oracledb module loading failed
|
|
23
|
+
2023-05-14T00:46:28+09:00 info: Default DataSource established
|
|
24
|
+
2023-05-14T00:46:28+09:00 info: Transaction DataSource established
|
|
25
|
+
2023-05-14T00:54:20+09:00 error: oracledb module loading failed
|
|
26
|
+
2023-05-14T00:54:21+09:00 info: Default DataSource established
|
|
27
|
+
2023-05-14T00:54:21+09:00 info: Transaction DataSource established
|
|
28
|
+
2023-05-14T00:54:22+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
29
|
+
2023-05-14T00:54:22+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
30
|
+
2023-05-14T00:58:29+09:00 error: oracledb module loading failed
|
|
31
|
+
2023-05-14T00:58:30+09:00 info: Default DataSource established
|
|
32
|
+
2023-05-14T00:58:30+09:00 info: Transaction DataSource established
|
|
33
|
+
2023-05-14T00:58:31+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
34
|
+
2023-05-14T00:58:31+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2023-05-14T01:06:12+09:00 error: stream is not readable
|
|
2
|
+
2023-05-14T01:17:07+09:00 error: oracledb module loading failed
|
|
3
|
+
2023-05-14T01:17:08+09:00 info: Default DataSource established
|
|
4
|
+
2023-05-14T01:17:08+09:00 info: Transaction DataSource established
|
|
5
|
+
2023-05-14T01:17:09+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
6
|
+
2023-05-14T01:17:09+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
7
|
+
2023-05-14T01:20:44+09:00 error: oracledb module loading failed
|
|
8
|
+
2023-05-14T01:20:45+09:00 info: Default DataSource established
|
|
9
|
+
2023-05-14T01:21:44+09:00 info: Transaction DataSource established
|
|
10
|
+
2023-05-14T01:21:45+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
11
|
+
2023-05-14T01:21:45+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
12
|
+
2023-05-14T01:27:16+09:00 error: oracledb module loading failed
|
|
13
|
+
2023-05-14T01:27:17+09:00 info: Default DataSource established
|
|
14
|
+
2023-05-14T01:27:17+09:00 info: Transaction DataSource established
|
|
15
|
+
2023-05-14T01:27:18+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
16
|
+
2023-05-14T01:27:18+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
17
|
+
2023-05-14T01:47:59+09:00 error: Float cannot represent non numeric value: ""
|
|
18
|
+
2023-05-14T01:47:59+09:00 error: Float cannot represent non numeric value: ""
|
|
19
|
+
2023-05-14T01:47:59+09:00 error: Float cannot represent non numeric value: ""
|
|
20
|
+
2023-05-14T01:47:59+09:00 error: Float cannot represent non numeric value: ""
|
|
21
|
+
2023-05-14T01:50:01+09:00 error: Cannot query field "generateLatestDataSummaries" on type "Mutation". Did you mean "generateLatestDataSummary" or "generateDataSummaries"?
|
|
22
|
+
2023-05-14T01:55:41+09:00 error: max requires at least one data point
|
|
23
|
+
2023-05-14T01:56:35+09:00 error: max requires at least one data point
|
|
24
|
+
2023-05-14T01:58:38+09:00 error: max requires at least one data point
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
2023-05-14T02:27:48+09:00 error: oracledb module loading failed
|
|
2
|
+
2023-05-14T02:27:49+09:00 info: Default DataSource established
|
|
3
|
+
2023-05-14T02:27:49+09:00 info: Transaction DataSource established
|
|
4
|
+
2023-05-14T02:27:50+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
5
|
+
2023-05-14T02:27:50+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
6
|
+
2023-05-14T02:28:37+09:00 error: oracledb module loading failed
|
|
7
|
+
2023-05-14T02:28:38+09:00 info: Default DataSource established
|
|
8
|
+
2023-05-14T02:28:38+09:00 info: Transaction DataSource established
|
|
9
|
+
2023-05-14T02:28:39+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
10
|
+
2023-05-14T02:28:39+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
11
|
+
2023-05-14T02:31:43+09:00 error: oracledb module loading failed
|
|
12
|
+
2023-05-14T02:31:44+09:00 info: Default DataSource established
|
|
13
|
+
2023-05-14T02:31:44+09:00 info: Transaction DataSource established
|
|
14
|
+
2023-05-14T02:31:45+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
15
|
+
2023-05-14T02:31:45+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
16
|
+
2023-05-14T02:35:49+09:00 error: oracledb module loading failed
|
|
17
|
+
2023-05-14T02:35:50+09:00 info: Default DataSource established
|
|
18
|
+
2023-05-14T02:35:51+09:00 info: Transaction DataSource established
|
|
19
|
+
2023-05-14T02:35:52+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
20
|
+
2023-05-14T02:35:52+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
21
|
+
2023-05-14T02:59:52+09:00 error: oracledb module loading failed
|
|
22
|
+
2023-05-14T02:59:53+09:00 info: Default DataSource established
|
|
23
|
+
2023-05-14T02:59:53+09:00 info: Transaction DataSource established
|
|
24
|
+
2023-05-14T02:59:54+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
25
|
+
2023-05-14T02:59:54+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
2023-05-14T03:00:49+09:00 error: oracledb module loading failed
|
|
2
|
+
2023-05-14T03:00:50+09:00 info: Default DataSource established
|
|
3
|
+
2023-05-14T03:00:51+09:00 info: Transaction DataSource established
|
|
4
|
+
2023-05-14T03:00:52+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
5
|
+
2023-05-14T03:00:52+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
6
|
+
2023-05-14T03:18:20+09:00 error: oracledb module loading failed
|
|
7
|
+
2023-05-14T03:18:21+09:00 info: Default DataSource established
|
|
8
|
+
2023-05-14T03:18:21+09:00 info: Transaction DataSource established
|
|
9
|
+
2023-05-14T03:18:22+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
10
|
+
2023-05-14T03:18:22+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
11
|
+
2023-05-14T03:19:08+09:00 error: oracledb module loading failed
|
|
12
|
+
2023-05-14T03:19:09+09:00 info: Default DataSource established
|
|
13
|
+
2023-05-14T03:19:10+09:00 info: Transaction DataSource established
|
|
14
|
+
2023-05-14T03:19:10+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
15
|
+
2023-05-14T03:19:10+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
16
|
+
2023-05-14T03:19:42+09:00 error: SQLITE_ERROR: cannot start a transaction within a transaction
|
|
17
|
+
2023-05-14T03:19:42+09:00 error: Transaction is not started yet, start transaction before committing or rolling it back.
|
|
18
|
+
2023-05-14T03:22:18+09:00 error: Float cannot represent non numeric value: ""
|
|
19
|
+
2023-05-14T03:22:22+09:00 error: Float cannot represent non numeric value: ""
|
|
20
|
+
2023-05-14T03:22:23+09:00 error: Float cannot represent non numeric value: ""
|
|
21
|
+
2023-05-14T03:22:23+09:00 error: Float cannot represent non numeric value: ""
|
|
22
|
+
2023-05-14T03:22:23+09:00 error: Float cannot represent non numeric value: ""
|
|
23
|
+
2023-05-14T03:22:35+09:00 error: Float cannot represent non numeric value: ""
|
|
24
|
+
2023-05-14T03:24:26+09:00 error: Float cannot represent non numeric value: ""
|
|
25
|
+
2023-05-14T03:30:17+09:00 error: oracledb module loading failed
|
|
26
|
+
2023-05-14T03:30:18+09:00 info: Default DataSource established
|
|
27
|
+
2023-05-14T03:30:19+09:00 info: Transaction DataSource established
|
|
28
|
+
2023-05-14T03:30:20+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
29
|
+
2023-05-14T03:30:20+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
30
|
+
2023-05-14T03:35:21+09:00 error: oracledb module loading failed
|
|
31
|
+
2023-05-14T03:35:22+09:00 info: Default DataSource established
|
|
32
|
+
2023-05-14T03:35:22+09:00 info: Transaction DataSource established
|
|
33
|
+
2023-05-14T03:35:23+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
34
|
+
2023-05-14T03:35:23+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
35
|
+
2023-05-14T03:43:14+09:00 error: oracledb module loading failed
|
|
36
|
+
2023-05-14T03:43:15+09:00 info: Default DataSource established
|
|
37
|
+
2023-05-14T03:43:15+09:00 info: Transaction DataSource established
|
|
38
|
+
2023-05-14T03:43:16+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
39
|
+
2023-05-14T03:43:16+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
2023-05-13T23:07:50+09:00 info: File Storage is Ready.
|
|
2
|
+
2023-05-13T23:08:08+09:00 info: File Storage is Ready.
|
|
3
|
+
2023-05-13T23:12:42+09:00 info: File Storage is Ready.
|
|
4
|
+
2023-05-13T23:15:05+09:00 info: File Storage is Ready.
|
|
5
|
+
2023-05-13T23:22:25+09:00 info: File Storage is Ready.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
2023-05-14T00:17:23+09:00 info: File Storage is Ready.
|
|
2
|
+
2023-05-14T00:42:08+09:00 info: File Storage is Ready.
|
|
3
|
+
2023-05-14T00:45:37+09:00 info: File Storage is Ready.
|
|
4
|
+
2023-05-14T00:46:25+09:00 info: File Storage is Ready.
|
|
5
|
+
2023-05-14T00:54:19+09:00 info: File Storage is Ready.
|
|
6
|
+
2023-05-14T00:58:28+09:00 info: File Storage is Ready.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
2023-05-14T02:27:47+09:00 info: File Storage is Ready.
|
|
2
|
+
2023-05-14T02:28:36+09:00 info: File Storage is Ready.
|
|
3
|
+
2023-05-14T02:31:42+09:00 info: File Storage is Ready.
|
|
4
|
+
2023-05-14T02:35:48+09:00 info: File Storage is Ready.
|
|
5
|
+
2023-05-14T02:59:50+09:00 info: File Storage is Ready.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
2023-05-14T03:00:48+09:00 info: File Storage is Ready.
|
|
2
|
+
2023-05-14T03:18:19+09:00 info: File Storage is Ready.
|
|
3
|
+
2023-05-14T03:19:07+09:00 info: File Storage is Ready.
|
|
4
|
+
2023-05-14T03:30:16+09:00 info: File Storage is Ready.
|
|
5
|
+
2023-05-14T03:35:20+09:00 info: File Storage is Ready.
|
|
6
|
+
2023-05-14T03:43:13+09:00 info: File Storage is Ready.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-dataset",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.78",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -57,40 +57,40 @@
|
|
|
57
57
|
"@operato/scene-table": "^1.0.0",
|
|
58
58
|
"@operato/scene-timer": "^1.0.0",
|
|
59
59
|
"@operato/shell": "^1.2.6",
|
|
60
|
-
"@things-factory/api": "^6.0.
|
|
61
|
-
"@things-factory/apptool-base": "^6.0.
|
|
62
|
-
"@things-factory/apptool-ui": "^6.0.
|
|
63
|
-
"@things-factory/auth-base": "^6.0.
|
|
64
|
-
"@things-factory/auth-ui": "^6.0.
|
|
65
|
-
"@things-factory/board-service": "^6.0.
|
|
66
|
-
"@things-factory/board-ui": "^6.0.
|
|
67
|
-
"@things-factory/ccp": "^6.0.
|
|
68
|
-
"@things-factory/context-ui": "^6.0.
|
|
69
|
-
"@things-factory/dashboard": "^6.0.
|
|
70
|
-
"@things-factory/dataset": "^6.0.
|
|
71
|
-
"@things-factory/export-ui": "^6.0.
|
|
72
|
-
"@things-factory/help": "^6.0.
|
|
73
|
-
"@things-factory/i18n-base": "^6.0.
|
|
74
|
-
"@things-factory/integration-base": "^6.0.
|
|
75
|
-
"@things-factory/integration-msgraph": "^6.0.
|
|
76
|
-
"@things-factory/integration-ui": "^6.0.
|
|
77
|
-
"@things-factory/lite-menu": "^6.0.
|
|
78
|
-
"@things-factory/more-base": "^6.0.
|
|
79
|
-
"@things-factory/more-ui": "^6.0.
|
|
80
|
-
"@things-factory/notification": "^6.0.
|
|
81
|
-
"@things-factory/oauth2-client": "^6.0.
|
|
82
|
-
"@things-factory/organization": "^6.0.
|
|
83
|
-
"@things-factory/qc": "^6.0.
|
|
84
|
-
"@things-factory/resource-ui": "^6.0.
|
|
85
|
-
"@things-factory/setting-base": "^6.0.
|
|
86
|
-
"@things-factory/setting-ui": "^6.0.
|
|
87
|
-
"@things-factory/shell": "^6.0.
|
|
88
|
-
"@things-factory/system-ui": "^6.0.
|
|
89
|
-
"@things-factory/work-shift": "^6.0.
|
|
90
|
-
"@things-factory/worklist": "^6.0.
|
|
60
|
+
"@things-factory/api": "^6.0.78",
|
|
61
|
+
"@things-factory/apptool-base": "^6.0.78",
|
|
62
|
+
"@things-factory/apptool-ui": "^6.0.78",
|
|
63
|
+
"@things-factory/auth-base": "^6.0.78",
|
|
64
|
+
"@things-factory/auth-ui": "^6.0.78",
|
|
65
|
+
"@things-factory/board-service": "^6.0.78",
|
|
66
|
+
"@things-factory/board-ui": "^6.0.78",
|
|
67
|
+
"@things-factory/ccp": "^6.0.78",
|
|
68
|
+
"@things-factory/context-ui": "^6.0.78",
|
|
69
|
+
"@things-factory/dashboard": "^6.0.78",
|
|
70
|
+
"@things-factory/dataset": "^6.0.78",
|
|
71
|
+
"@things-factory/export-ui": "^6.0.78",
|
|
72
|
+
"@things-factory/help": "^6.0.78",
|
|
73
|
+
"@things-factory/i18n-base": "^6.0.78",
|
|
74
|
+
"@things-factory/integration-base": "^6.0.78",
|
|
75
|
+
"@things-factory/integration-msgraph": "^6.0.78",
|
|
76
|
+
"@things-factory/integration-ui": "^6.0.78",
|
|
77
|
+
"@things-factory/lite-menu": "^6.0.78",
|
|
78
|
+
"@things-factory/more-base": "^6.0.78",
|
|
79
|
+
"@things-factory/more-ui": "^6.0.78",
|
|
80
|
+
"@things-factory/notification": "^6.0.78",
|
|
81
|
+
"@things-factory/oauth2-client": "^6.0.78",
|
|
82
|
+
"@things-factory/organization": "^6.0.78",
|
|
83
|
+
"@things-factory/qc": "^6.0.78",
|
|
84
|
+
"@things-factory/resource-ui": "^6.0.78",
|
|
85
|
+
"@things-factory/setting-base": "^6.0.78",
|
|
86
|
+
"@things-factory/setting-ui": "^6.0.78",
|
|
87
|
+
"@things-factory/shell": "^6.0.78",
|
|
88
|
+
"@things-factory/system-ui": "^6.0.78",
|
|
89
|
+
"@things-factory/work-shift": "^6.0.78",
|
|
90
|
+
"@things-factory/worklist": "^6.0.78"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@things-factory/builder": "^6.0.
|
|
93
|
+
"@things-factory/builder": "^6.0.78"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "6d1b076baae617ee1c1df25e176c21d7b1a18e61"
|
|
96
96
|
}
|
package/schema.gql
CHANGED
|
@@ -1089,6 +1089,8 @@ type DataSet {
|
|
|
1089
1089
|
schedule: String
|
|
1090
1090
|
scheduleId: String
|
|
1091
1091
|
status: DataSetState!
|
|
1092
|
+
summaryPeriod: String
|
|
1093
|
+
summaryScheduleId: String
|
|
1092
1094
|
|
|
1093
1095
|
"""The final authority on issues related to that dataset."""
|
|
1094
1096
|
supervisoryRole: Role
|
|
@@ -1163,6 +1165,7 @@ input DataSetPatch {
|
|
|
1163
1165
|
reportType: String
|
|
1164
1166
|
reportView: String
|
|
1165
1167
|
schedule: String
|
|
1168
|
+
summaryPeriod: String
|
|
1166
1169
|
supervisoryRole: ObjectRef
|
|
1167
1170
|
timezone: String
|
|
1168
1171
|
type: String
|
|
@@ -1212,6 +1215,7 @@ type DataSummary {
|
|
|
1212
1215
|
dataItems: [DataItem!]
|
|
1213
1216
|
dataSet: DataSet!
|
|
1214
1217
|
dataSetVersion: Float
|
|
1218
|
+
date: String
|
|
1215
1219
|
description: String
|
|
1216
1220
|
domain: Domain
|
|
1217
1221
|
id: ID!
|
|
@@ -1221,12 +1225,11 @@ type DataSummary {
|
|
|
1221
1225
|
key04: String
|
|
1222
1226
|
key05: String
|
|
1223
1227
|
name: String
|
|
1228
|
+
period: String
|
|
1224
1229
|
summary: Object
|
|
1225
1230
|
type: String
|
|
1226
1231
|
updatedAt: Timestamp
|
|
1227
1232
|
updater: User
|
|
1228
|
-
workDate: String
|
|
1229
|
-
workShift: String
|
|
1230
1233
|
}
|
|
1231
1234
|
|
|
1232
1235
|
type DataSummaryList {
|
|
@@ -2521,7 +2524,10 @@ type Mutation {
|
|
|
2521
2524
|
generateApplicationSecret(id: String!): Application!
|
|
2522
2525
|
|
|
2523
2526
|
"""To generate new Data Summaries"""
|
|
2524
|
-
generateDataSummaries(dataSetId: String!,
|
|
2527
|
+
generateDataSummaries(dataSetId: String!, date: String!, period: String!): Boolean!
|
|
2528
|
+
|
|
2529
|
+
"""To generate new Data Summaries"""
|
|
2530
|
+
generateLatestDataSummaries(dataSetId: String!): Boolean!
|
|
2525
2531
|
|
|
2526
2532
|
"""To create new DataArchive"""
|
|
2527
2533
|
generatePresignedUrl(patch: DataArchivePatch!): DataArchive!
|
|
@@ -3087,6 +3093,7 @@ input NewDataSet {
|
|
|
3087
3093
|
reportType: String
|
|
3088
3094
|
reportView: String
|
|
3089
3095
|
schedule: String
|
|
3096
|
+
summaryPeriod: String
|
|
3090
3097
|
supervisoryRole: ObjectRef
|
|
3091
3098
|
timezone: String
|
|
3092
3099
|
type: String
|
|
@@ -3998,7 +4005,7 @@ type Query {
|
|
|
3998
4005
|
fonts(filters: [Filter!], pagination: Pagination, sortings: [Sorting!]): FontList!
|
|
3999
4006
|
|
|
4000
4007
|
"""To fetch a work date and work shift for given datetime"""
|
|
4001
|
-
getWorkDateAndShift(dateTime: Timestamp!):
|
|
4008
|
+
getWorkDateAndShift(dateTime: Timestamp!): WorkShiftInfo!
|
|
4002
4009
|
|
|
4003
4010
|
"""To fetch a Global Board Model"""
|
|
4004
4011
|
globalBoardByName(name: String!): Board
|
|
@@ -4501,11 +4508,6 @@ type UserRole {
|
|
|
4501
4508
|
name: String
|
|
4502
4509
|
}
|
|
4503
4510
|
|
|
4504
|
-
type WorkDateWorkShiftPair {
|
|
4505
|
-
workDate: String!
|
|
4506
|
-
workShift: String!
|
|
4507
|
-
}
|
|
4508
|
-
|
|
4509
4511
|
"""Entity for WorkShift"""
|
|
4510
4512
|
type WorkShift {
|
|
4511
4513
|
createdAt: Timestamp
|
|
@@ -4522,6 +4524,13 @@ type WorkShift {
|
|
|
4522
4524
|
updater: User
|
|
4523
4525
|
}
|
|
4524
4526
|
|
|
4527
|
+
type WorkShiftInfo {
|
|
4528
|
+
dateRange: [Timestamp!]
|
|
4529
|
+
shiftRange: [Timestamp!]
|
|
4530
|
+
workDate: String
|
|
4531
|
+
workShift: String
|
|
4532
|
+
}
|
|
4533
|
+
|
|
4525
4534
|
type WorkShiftList {
|
|
4526
4535
|
items: [WorkShift!]!
|
|
4527
4536
|
total: Int!
|