@things-factory/reference-app 5.0.2 → 5.0.3
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.js +5 -0
- package/client/pages/data-entry/{data-entry-form.js → data-entry-mockup-form.js} +9 -9
- package/client/pages/data-set/data-set-list-page.js +22 -2
- package/dist-server/controllers/create-data-sample-mockup.js +31 -24
- package/dist-server/controllers/create-data-sample-mockup.js.map +1 -1
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +43 -3
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +40 -5
- package/logs/application-2022-07-27-00.log +15 -0
- package/logs/application-2022-07-27-01.log +22 -0
- package/logs/application-2022-07-27-02.log +24 -0
- package/logs/application-2022-07-27-10.log +10 -0
- package/logs/application-2022-07-27-14.log +10 -0
- package/logs/application-2022-07-27-15.log +2 -0
- package/logs/application-2022-07-27-18.log +13 -0
- package/logs/application-2022-07-27-19.log +13 -0
- package/logs/application-2022-07-28-08.log +10 -0
- package/logs/{connections-2022-07-12-00.log → connections-2022-07-27-00.log} +0 -0
- package/logs/connections-2022-07-27-01.log +0 -0
- package/logs/connections-2022-07-27-02.log +0 -0
- package/logs/connections-2022-07-27-10.log +0 -0
- package/logs/connections-2022-07-27-14.log +0 -0
- package/logs/connections-2022-07-27-18.log +0 -0
- package/logs/connections-2022-07-27-19.log +0 -0
- package/logs/connections-2022-07-28-08.log +0 -0
- package/package.json +5 -5
- package/server/controllers/create-data-sample-mockup.ts +58 -35
- package/logs/application-2022-07-22-10.log +0 -26
package/client/menu.js
CHANGED
|
@@ -150,6 +150,11 @@ export function getMenuTemplate() {
|
|
|
150
150
|
icon: 'inventory',
|
|
151
151
|
path: 'product_master'
|
|
152
152
|
},
|
|
153
|
+
{
|
|
154
|
+
icon: 'display_settings',
|
|
155
|
+
name: 'Data Key Set Master',
|
|
156
|
+
path: 'data-key-set-list'
|
|
157
|
+
},
|
|
153
158
|
{
|
|
154
159
|
icon: 'display_settings',
|
|
155
160
|
name: 'Data Set Master',
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import '@operato/dataset/ox-data-entry-form.js'
|
|
2
|
+
import './data-entry-generator-popup'
|
|
2
3
|
|
|
3
4
|
import gql from 'graphql-tag'
|
|
4
5
|
import { css, html, LitElement } from 'lit'
|
|
5
6
|
|
|
6
|
-
import { openPopup } from '@operato/layout'
|
|
7
7
|
import { client } from '@operato/graphql'
|
|
8
8
|
import { i18next, localize } from '@operato/i18n'
|
|
9
|
+
import { openPopup } from '@operato/layout'
|
|
9
10
|
import { ScrollbarStyles } from '@operato/styles'
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class DataEntryForm extends localize(i18next)(LitElement) {
|
|
12
|
+
class DataEntryMockupForm extends localize(i18next)(LitElement) {
|
|
14
13
|
static get properties() {
|
|
15
14
|
return {
|
|
16
15
|
dataSet: Object
|
|
@@ -55,10 +54,11 @@ class DataEntryForm extends localize(i18next)(LitElement) {
|
|
|
55
54
|
return html`
|
|
56
55
|
<ox-data-entry-form .dataSet=${this.dataSet}></ox-data-entry-form>
|
|
57
56
|
<div class="button-container">
|
|
58
|
-
${process.env.NODE_ENV == 'development'
|
|
59
|
-
? html`<mwc-button raised @click=${this._generateMockupData.bind(this)}
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
${process.env.NODE_ENV == 'development'
|
|
58
|
+
? html`<mwc-button raised @click=${this._generateMockupData.bind(this)}
|
|
59
|
+
>${i18next.t('button.generate_mockup')}</mwc-button
|
|
60
|
+
>`
|
|
61
|
+
: html``}
|
|
62
62
|
<mwc-button raised @click=${this._updateDataItems.bind(this)}>${i18next.t('button.save')}</mwc-button>
|
|
63
63
|
</div>
|
|
64
64
|
`
|
|
@@ -114,4 +114,4 @@ class DataEntryForm extends localize(i18next)(LitElement) {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
window.customElements.define('data-entry-form',
|
|
117
|
+
window.customElements.define('data-entry-mockup-form', DataEntryMockupForm)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@operato/data-grist'
|
|
2
2
|
import './data-item-list.js'
|
|
3
3
|
import './data-set-importer.js'
|
|
4
|
-
import '../data-entry/data-entry-form.js'
|
|
4
|
+
import '../data-entry/data-entry-mockup-form.js'
|
|
5
5
|
|
|
6
6
|
import gql from 'graphql-tag'
|
|
7
7
|
import { css, html } from 'lit'
|
|
@@ -234,7 +234,9 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
|
|
|
234
234
|
handlers: {
|
|
235
235
|
click: (columns, data, column, record, rowIndex) => {
|
|
236
236
|
openPopup(
|
|
237
|
-
html`
|
|
237
|
+
html`
|
|
238
|
+
<data-entry-mockup-form .dataSet=${record} style="background-color: white;"></data-entry-mockup-form>
|
|
239
|
+
`,
|
|
238
240
|
{
|
|
239
241
|
backdrop: true,
|
|
240
242
|
size: 'large',
|
|
@@ -337,6 +339,20 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
|
|
|
337
339
|
filter: true,
|
|
338
340
|
width: 80
|
|
339
341
|
},
|
|
342
|
+
{
|
|
343
|
+
type: 'resource-object',
|
|
344
|
+
name: 'dataKeySet',
|
|
345
|
+
header: i18next.t('field.data-key-set'),
|
|
346
|
+
record: {
|
|
347
|
+
editable: true,
|
|
348
|
+
options: {
|
|
349
|
+
queryName: 'dataKeySets'
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
sortable: true,
|
|
353
|
+
filter: false,
|
|
354
|
+
width: 120
|
|
355
|
+
},
|
|
340
356
|
{
|
|
341
357
|
type: 'partition-keys',
|
|
342
358
|
name: 'partitionKeys',
|
|
@@ -548,6 +564,10 @@ export class DataSetListPage extends connect(store)(localize(i18next)(PageView))
|
|
|
548
564
|
id
|
|
549
565
|
name
|
|
550
566
|
description
|
|
567
|
+
dataKeySet {
|
|
568
|
+
id
|
|
569
|
+
name
|
|
570
|
+
}
|
|
551
571
|
partitionKeys
|
|
552
572
|
active
|
|
553
573
|
type
|
|
@@ -11,6 +11,16 @@ const routing_base_1 = require("@things-factory/routing-base");
|
|
|
11
11
|
const work_shift_1 = require("@things-factory/work-shift");
|
|
12
12
|
const randomWords = require('random-words');
|
|
13
13
|
const debug = require('debug')('things-factory:reference-app:controller/create-data-sample-mockup');
|
|
14
|
+
const fillDataKeys = (dataKeySet, data) => {
|
|
15
|
+
const keys = (dataKeySet === null || dataKeySet === void 0 ? void 0 : dataKeySet.dataKeyItems) || [];
|
|
16
|
+
return keys.reduce((sum, key, index) => {
|
|
17
|
+
const value = data[key.dataKey];
|
|
18
|
+
if (value != null) {
|
|
19
|
+
sum[`key0${index + 1}`] = value instanceof Array ? value[0] : value;
|
|
20
|
+
}
|
|
21
|
+
return sum;
|
|
22
|
+
}, {});
|
|
23
|
+
};
|
|
14
24
|
// parse variable javascript string pattern
|
|
15
25
|
const replaceVariables = (keys, dic) => {
|
|
16
26
|
for (const k in keys) {
|
|
@@ -70,7 +80,8 @@ function fillColumns(prev, next, dict) {
|
|
|
70
80
|
const isValidSpec = spec && Object.keys(spec).length;
|
|
71
81
|
const arr = Array.from(Array(quota).keys());
|
|
72
82
|
if (type == 'number') {
|
|
73
|
-
if (isValidSpec) {
|
|
83
|
+
if (isValidSpec) {
|
|
84
|
+
/* generate values refer to spec info. */
|
|
74
85
|
const { CCP: { criticalLimits: { minimum, maximum } } } = spec;
|
|
75
86
|
while (values.length < quota) {
|
|
76
87
|
let value = 0;
|
|
@@ -88,17 +99,20 @@ function fillColumns(prev, next, dict) {
|
|
|
88
99
|
values.push(value);
|
|
89
100
|
}
|
|
90
101
|
}
|
|
91
|
-
else {
|
|
102
|
+
else {
|
|
103
|
+
/* random number */
|
|
92
104
|
const p = Math.random();
|
|
93
105
|
const q = () => randomIndex(10) + 1;
|
|
94
106
|
// fixed
|
|
95
107
|
if (p > 0.33) {
|
|
96
108
|
values = Array(quota).fill(q());
|
|
97
109
|
}
|
|
98
|
-
else if (p > 0.66) {
|
|
110
|
+
else if (p > 0.66) {
|
|
111
|
+
/* or random */
|
|
99
112
|
values = arr.map(i => q());
|
|
100
113
|
}
|
|
101
|
-
else {
|
|
114
|
+
else {
|
|
115
|
+
/* or incremental */
|
|
102
116
|
values = arr.reduce((prev, i) => {
|
|
103
117
|
prev.push(!!prev.length ? prev[0] + i : q());
|
|
104
118
|
return prev;
|
|
@@ -163,9 +177,9 @@ async function _generateMockupData(dataSources, tx) {
|
|
|
163
177
|
const localDateTz = (0, moment_timezone_1.default)(collectedAt).tz(timezone);
|
|
164
178
|
const defaultPartitionKeys = {
|
|
165
179
|
domain: domain.subdomain,
|
|
166
|
-
datasetid: dataSet.id
|
|
167
|
-
date: localDateTz.format(format)
|
|
168
|
-
workdate: workDate
|
|
180
|
+
datasetid: dataSet.id /* It should not be 'data_set_id' as column name duplicated for Glue */,
|
|
181
|
+
date: localDateTz.format(format) /* local time date */,
|
|
182
|
+
workdate: workDate /* working date */,
|
|
169
183
|
workshift: workShift
|
|
170
184
|
};
|
|
171
185
|
var partitionKeys = Object.assign(Object.assign({}, defaultPartitionKeys), dataSet.partitionKeys);
|
|
@@ -182,32 +196,23 @@ async function _generateMockupData(dataSources, tx) {
|
|
|
182
196
|
debug('sample', sample);
|
|
183
197
|
partitionKeys = formatDate(partitionKeys, localDateTz);
|
|
184
198
|
partitionKeys = replaceVariables(partitionKeys, Object.assign({}, sample));
|
|
199
|
+
const dataKeys = fillDataKeys(dataSet === null || dataSet === void 0 ? void 0 : dataSet.dataKeySet, sample);
|
|
185
200
|
const { ooc, oos, judgment } = dataset_1.DataUseCase.evaluate(dataSet, dataSet.dataItems, sample) || {};
|
|
186
|
-
const result = await tx.getRepository(dataset_1.DataSample).save({
|
|
187
|
-
|
|
188
|
-
description: dataSet.description,
|
|
189
|
-
useCase: dataSet.useCase,
|
|
190
|
-
dataSet: dataSet,
|
|
191
|
-
dataSetVersion: dataSet.version,
|
|
192
|
-
data: sample,
|
|
193
|
-
domain,
|
|
194
|
-
partitionKeys,
|
|
195
|
-
spec,
|
|
201
|
+
const result = await tx.getRepository(dataset_1.DataSample).save(Object.assign(Object.assign({ name: dataSet.name, description: dataSet.description, useCase: dataSet.useCase, dataSet: dataSet, dataSetVersion: dataSet.version, data: sample, domain,
|
|
202
|
+
partitionKeys }, dataKeys), { spec,
|
|
196
203
|
ooc,
|
|
197
204
|
oos,
|
|
198
205
|
judgment,
|
|
199
206
|
collectedAt,
|
|
200
207
|
workDate,
|
|
201
|
-
workShift,
|
|
202
|
-
creator: user,
|
|
203
|
-
updater: user
|
|
204
|
-
});
|
|
208
|
+
workShift, creator: user, updater: user }));
|
|
205
209
|
return true;
|
|
206
210
|
}
|
|
207
211
|
async function generateMockupData(params, context) {
|
|
208
212
|
const { domain, user, tx } = context.state;
|
|
209
213
|
const dataSet = await tx.getRepository(dataset_1.DataSet).findOne({
|
|
210
|
-
where: { id: params.dataSetId }
|
|
214
|
+
where: { id: params.dataSetId },
|
|
215
|
+
relations: ['dataKeySet']
|
|
211
216
|
});
|
|
212
217
|
const products = await tx.getRepository(product_base_1.Product).find({
|
|
213
218
|
select: ['id', 'name', 'description'],
|
|
@@ -223,10 +228,12 @@ async function generateMockupData(params, context) {
|
|
|
223
228
|
});
|
|
224
229
|
const dataItems = dataSet.dataItems;
|
|
225
230
|
const spec = dataItems.reduce((spec, dataItem) => {
|
|
226
|
-
spec[dataItem.tag] = Object.assign(Object.assign({}, dataItem.spec), { name: dataItem.name
|
|
231
|
+
spec[dataItem.tag] = Object.assign(Object.assign({}, dataItem.spec), { name: dataItem.name /* do we need ? */, hidden: dataItem.hidden });
|
|
227
232
|
return spec;
|
|
228
233
|
}, {});
|
|
229
|
-
const promises = Array(params.numSamples)
|
|
234
|
+
const promises = Array(params.numSamples)
|
|
235
|
+
.fill(0)
|
|
236
|
+
.map(x => {
|
|
230
237
|
return _generateMockupData({ domain, user, dataSet, products, operations, spec }, tx);
|
|
231
238
|
});
|
|
232
239
|
await Promise.all(promises);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-data-sample-mockup.js","sourceRoot":"","sources":["../../server/controllers/create-data-sample-mockup.ts"],"names":[],"mappings":";;;;;;AAAA,sEAAoC;AAIpC,qDAA0E;AAC1E,+DAAsD;AACtD,+DAAwD;AAExD,2DAAgE;AAIhE,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"create-data-sample-mockup.js","sourceRoot":"","sources":["../../server/controllers/create-data-sample-mockup.ts"],"names":[],"mappings":";;;;;;AAAA,sEAAoC;AAIpC,qDAA0E;AAC1E,+DAAsD;AACtD,+DAAwD;AAExD,2DAAgE;AAIhE,MAAM,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;AAC3C,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,mEAAmE,CAAC,CAAA;AAEnG,MAAM,YAAY,GAAG,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE;IACxC,MAAM,IAAI,GAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,YAAY,KAAI,EAAE,CAAA;IAC3C,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE;QACrC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QAC/B,IAAI,KAAK,IAAI,IAAI,EAAE;YACjB,GAAG,CAAC,OAAO,KAAK,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;SACpE;QACD,OAAO,GAAG,CAAA;IACZ,CAAC,EAAE,EAAE,CAAC,CAAA;AACR,CAAC,CAAA;AAED,2CAA2C;AAC3C,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACrC,KAAK,MAAM,CAAC,IAAI,IAAI,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,OAAO,IAAI,CAAA;IACb,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;SACtC,IAAI,CAAC,CAAC,CAAC;SACP,GAAG,CAAC,CAAC,CAAC,EAAE;QACP,OAAO,mBAAmB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAA;IACvF,CAAC,CAAC,CAAA;IAEJ,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;IAC3B,OAAO,IAAI,CAAA;AACb,CAAC;AAnDD,gDAmDC"}
|
|
@@ -6,9 +6,49 @@
|
|
|
6
6
|
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
|
-
"date":
|
|
10
|
-
"name": "logs/application-2022-07-
|
|
11
|
-
"hash": "
|
|
9
|
+
"date": 1658848950753,
|
|
10
|
+
"name": "logs/application-2022-07-27-00.log",
|
|
11
|
+
"hash": "bd391b29decb04926e0e7e919aebf7adc23b603ff067d41dce255458f9e90be1"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"date": 1658851297696,
|
|
15
|
+
"name": "logs/application-2022-07-27-01.log",
|
|
16
|
+
"hash": "c52cb5a0946bd8d7be250b6486aaaea86ef5e38307d52a152ae9c58befa6e83c"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"date": 1658854854828,
|
|
20
|
+
"name": "logs/application-2022-07-27-02.log",
|
|
21
|
+
"hash": "115add2313f90f5de5693370f7993a4e99e840819e418ecc8d1de5acc65773c6"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"date": 1658886679440,
|
|
25
|
+
"name": "logs/application-2022-07-27-10.log",
|
|
26
|
+
"hash": "88d97090c6dfc682a9010503885a628fce788cdb9141201b6e210d14fdb2166e"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"date": 1658899886103,
|
|
30
|
+
"name": "logs/application-2022-07-27-14.log",
|
|
31
|
+
"hash": "7373326383b3e661229083699c571377506f7dfe2b4305e779ed6069dd14fb8c"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"date": 1658901632649,
|
|
35
|
+
"name": "logs/application-2022-07-27-15.log",
|
|
36
|
+
"hash": "0e7123cb07e8c5ca1933a87c66461d0c1f7667f4952627cd9c7bf1ecd79a92e2"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"date": 1658912725485,
|
|
40
|
+
"name": "logs/application-2022-07-27-18.log",
|
|
41
|
+
"hash": "6e32d9a68eb68ac9ba09281902897c76e1ed35efc645ca932c76175c33159d21"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"date": 1658916101521,
|
|
45
|
+
"name": "logs/application-2022-07-27-19.log",
|
|
46
|
+
"hash": "986169e08eaf9844cc96fd710cca1b8c93692accc2cb1437ca1d95695fe4f236"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"date": 1658964845471,
|
|
50
|
+
"name": "logs/application-2022-07-28-08.log",
|
|
51
|
+
"hash": "a20f3d9fbe6df503dca7cacc1d36f9d472d869f7e5a9ec1837893dc37f7dc99a"
|
|
12
52
|
}
|
|
13
53
|
],
|
|
14
54
|
"hashType": "sha256"
|
|
@@ -5,11 +5,6 @@
|
|
|
5
5
|
},
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
|
7
7
|
"files": [
|
|
8
|
-
{
|
|
9
|
-
"date": 1657552236185,
|
|
10
|
-
"name": "logs/connections-2022-07-12-00.log",
|
|
11
|
-
"hash": "a32352468fe215d00f4c3726ad01e9414e4fd27205351af763cbfaa84546c7e8"
|
|
12
|
-
},
|
|
13
8
|
{
|
|
14
9
|
"date": 1657777492666,
|
|
15
10
|
"name": "logs/connections-2022-07-14-14.log",
|
|
@@ -34,6 +29,46 @@
|
|
|
34
29
|
"date": 1658452553880,
|
|
35
30
|
"name": "logs/connections-2022-07-22-10.log",
|
|
36
31
|
"hash": "148e96bfa4cf9866bd7cdcdbc546b4bfdab27e9807076c6ef11c17c1d0895c5a"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"date": 1658848954778,
|
|
35
|
+
"name": "logs/connections-2022-07-27-00.log",
|
|
36
|
+
"hash": "8613b09de8198ae40d67fdaf11d654f033cc68ffea0fff98995711f5e742fed8"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"date": 1658851301196,
|
|
40
|
+
"name": "logs/connections-2022-07-27-01.log",
|
|
41
|
+
"hash": "70d57cd7bdcacd9deb834a6364db28b5fc3ff83f2a562d6d72f60f0a1413ddcf"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"date": 1658854857639,
|
|
45
|
+
"name": "logs/connections-2022-07-27-02.log",
|
|
46
|
+
"hash": "f01e07779d2711fc6e7c685de68d457a0c2f9307715004d256ff2b8d0a032b64"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"date": 1658886683796,
|
|
50
|
+
"name": "logs/connections-2022-07-27-10.log",
|
|
51
|
+
"hash": "b5ce5ab73ad894cd67426457786181b2b03e50aa1e59acb242dcaabdbe5f0aa0"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"date": 1658899890343,
|
|
55
|
+
"name": "logs/connections-2022-07-27-14.log",
|
|
56
|
+
"hash": "2a3996cf9acc7ffe5e52aa035cb910b2ec0495aeca7c1f42ad07ab8267f7c7f1"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"date": 1658912728908,
|
|
60
|
+
"name": "logs/connections-2022-07-27-18.log",
|
|
61
|
+
"hash": "159de889ce5e36f484db84bd48ede8a87821369f507dcdfdd266c30d99e1a2d8"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"date": 1658916105216,
|
|
65
|
+
"name": "logs/connections-2022-07-27-19.log",
|
|
66
|
+
"hash": "f6b1bb6b793ec64ba5530b4f5f96fb8d85ff98e8c79b81075a37f97fc9df5527"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"date": 1658964849940,
|
|
70
|
+
"name": "logs/connections-2022-07-28-08.log",
|
|
71
|
+
"hash": "8aa75c915cf346d5fe6c127a399b969ba36d2cf62bb04fca80ff3a54df8ae147"
|
|
37
72
|
}
|
|
38
73
|
],
|
|
39
74
|
"hashType": "sha256"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
2022-07-27T00:22:33+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-27T00:22:38+09:00 error: connect ECONNREFUSED 127.0.0.1:5432
|
|
3
|
+
2022-07-27T00:22:39+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-27T00:22:39+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-27T00:23:11+09:00 info: File Storage is Ready.
|
|
6
|
+
2022-07-27T00:23:15+09:00 error: connect ECONNREFUSED 127.0.0.1:5432
|
|
7
|
+
2022-07-27T00:23:16+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
8
|
+
2022-07-27T00:23:16+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
9
|
+
2022-07-27T00:23:44+09:00 info: File Storage is Ready.
|
|
10
|
+
2022-07-27T00:23:50+09:00 info: Database connection established
|
|
11
|
+
2022-07-27T00:23:51+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
12
|
+
2022-07-27T00:23:51+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
13
|
+
2022-07-27T00:37:33+09:00 error: Field "dataKeyItems" of type "[DataKeyItem!]" must have a selection of subfields. Did you mean "dataKeyItems { ... }"?
|
|
14
|
+
2022-07-27T00:43:57+09:00 error: Variable "$patch" got invalid value { dataKeyItems: [[Object]], cuFlag: "M" }; Field "dataKeyItems" is not defined by type "DataSetPatch". Did you mean "dataItems"?
|
|
15
|
+
2022-07-27T00:46:56+09:00 error: Variable "$patch" got invalid value { dataKeyItems: [[Object]], cuFlag: "M" }; Field "dataKeyItems" is not defined by type "DataSetPatch". Did you mean "dataItems"?
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
2022-07-27T01:01:39+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-27T01:01:46+09:00 info: Database connection established
|
|
3
|
+
2022-07-27T01:01:47+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-27T01:01:47+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-27T01:17:25+09:00 info: File Storage is Ready.
|
|
6
|
+
2022-07-27T01:17:31+09:00 info: Database connection established
|
|
7
|
+
2022-07-27T01:17:33+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
8
|
+
2022-07-27T01:17:33+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
9
|
+
2022-07-27T01:34:24+09:00 info: File Storage is Ready.
|
|
10
|
+
2022-07-27T01:34:30+09:00 info: Database connection established
|
|
11
|
+
2022-07-27T01:34:31+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
12
|
+
2022-07-27T01:34:31+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
13
|
+
2022-07-27T01:40:11+09:00 info: File Storage is Ready.
|
|
14
|
+
2022-07-27T01:40:16+09:00 info: Database connection established
|
|
15
|
+
2022-07-27T01:40:17+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
16
|
+
2022-07-27T01:40:17+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
17
|
+
2022-07-27T01:54:40+09:00 error: Cannot read property 'map' of null
|
|
18
|
+
2022-07-27T01:56:53+09:00 error: dataKeySet.map is not a function
|
|
19
|
+
2022-07-27T01:58:11+09:00 info: File Storage is Ready.
|
|
20
|
+
2022-07-27T01:58:20+09:00 info: Database connection established
|
|
21
|
+
2022-07-27T01:58:21+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
22
|
+
2022-07-27T01:58:21+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
2022-07-27T02:00:56+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-27T02:01:03+09:00 info: Database connection established
|
|
3
|
+
2022-07-27T02:01:04+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-27T02:01:04+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-27T02:08:10+09:00 info: File Storage is Ready.
|
|
6
|
+
2022-07-27T02:08:17+09:00 info: Database connection established
|
|
7
|
+
2022-07-27T02:08:19+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
8
|
+
2022-07-27T02:08:19+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
9
|
+
2022-07-27T02:10:21+09:00 info: File Storage is Ready.
|
|
10
|
+
2022-07-27T02:10:26+09:00 info: Database connection established
|
|
11
|
+
2022-07-27T02:10:28+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
12
|
+
2022-07-27T02:10:28+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
13
|
+
2022-07-27T02:14:15+09:00 info: File Storage is Ready.
|
|
14
|
+
2022-07-27T02:14:22+09:00 info: Database connection established
|
|
15
|
+
2022-07-27T02:14:24+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
16
|
+
2022-07-27T02:14:24+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
17
|
+
2022-07-27T02:24:45+09:00 info: File Storage is Ready.
|
|
18
|
+
2022-07-27T02:24:51+09:00 info: Database connection established
|
|
19
|
+
2022-07-27T02:24:52+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
20
|
+
2022-07-27T02:24:52+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
21
|
+
2022-07-27T02:32:38+09:00 info: File Storage is Ready.
|
|
22
|
+
2022-07-27T02:32:44+09:00 info: Database connection established
|
|
23
|
+
2022-07-27T02:32:45+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
24
|
+
2022-07-27T02:32:45+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
2022-07-27T10:51:21+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-27T10:51:27+09:00 error: connect ECONNREFUSED 127.0.0.1:5432
|
|
3
|
+
2022-07-27T10:51:29+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-27T10:51:29+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-27T10:54:07+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
6
|
+
2022-07-27T10:54:13+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
7
|
+
2022-07-27T10:54:45+09:00 info: File Storage is Ready.
|
|
8
|
+
2022-07-27T10:54:51+09:00 info: Database connection established
|
|
9
|
+
2022-07-27T10:54:52+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
10
|
+
2022-07-27T10:54:52+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
2022-07-27T14:31:28+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-27T14:31:34+09:00 error: connect ECONNREFUSED 127.0.0.1:5432
|
|
3
|
+
2022-07-27T14:31:35+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-27T14:31:35+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-27T14:33:41+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
6
|
+
2022-07-27T14:34:13+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
7
|
+
2022-07-27T14:34:37+09:00 info: File Storage is Ready.
|
|
8
|
+
2022-07-27T14:34:44+09:00 info: Database connection established
|
|
9
|
+
2022-07-27T14:34:45+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
10
|
+
2022-07-27T14:34:45+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
2022-07-27T18:05:27+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-27T18:05:33+09:00 info: Database connection established
|
|
3
|
+
2022-07-27T18:05:34+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-27T18:05:34+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-27T18:47:23+09:00 error: Variable "$dataKeySetId" of required type "String!" was not provided.
|
|
6
|
+
2022-07-27T18:53:17+09:00 info: File Storage is Ready.
|
|
7
|
+
2022-07-27T18:53:24+09:00 info: Database connection established
|
|
8
|
+
2022-07-27T18:53:25+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
9
|
+
2022-07-27T18:53:25+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
10
|
+
2022-07-27T18:57:59+09:00 info: File Storage is Ready.
|
|
11
|
+
2022-07-27T18:58:07+09:00 info: Database connection established
|
|
12
|
+
2022-07-27T18:58:08+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
13
|
+
2022-07-27T18:58:08+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
2022-07-27T19:01:43+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-27T19:01:50+09:00 info: Database connection established
|
|
3
|
+
2022-07-27T19:01:51+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-27T19:01:51+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-27T19:09:25+09:00 info: File Storage is Ready.
|
|
6
|
+
2022-07-27T19:09:32+09:00 info: Database connection established
|
|
7
|
+
2022-07-27T19:09:33+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
8
|
+
2022-07-27T19:09:33+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
9
|
+
2022-07-27T19:10:22+09:00 info: File Storage is Ready.
|
|
10
|
+
2022-07-27T19:10:27+09:00 info: Database connection established
|
|
11
|
+
2022-07-27T19:10:28+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
12
|
+
2022-07-27T19:10:28+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
13
|
+
2022-07-27T19:11:32+09:00 error: Variable "$dataKeySetId" of required type "String!" was not provided.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
2022-07-28T08:34:08+09:00 info: File Storage is Ready.
|
|
2
|
+
2022-07-28T08:34:15+09:00 info: Database connection established
|
|
3
|
+
2022-07-28T08:34:17+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
+
2022-07-28T08:34:17+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
+
2022-07-28T08:39:16+09:00 error: Variable "$dataKeySetId" of required type "String!" was not provided.
|
|
6
|
+
2022-07-28T08:39:36+09:00 error: Variable "$dataKeySetId" of required type "String!" was not provided.
|
|
7
|
+
2022-07-28T08:51:40+09:00 info: File Storage is Ready.
|
|
8
|
+
2022-07-28T08:51:46+09:00 info: Database connection established
|
|
9
|
+
2022-07-28T08:51:47+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
10
|
+
2022-07-28T08:51:47+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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/reference-app",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"@things-factory/auth-ui": "^5.0.1",
|
|
69
69
|
"@things-factory/board-service": "^5.0.2",
|
|
70
70
|
"@things-factory/board-ui": "^5.0.1",
|
|
71
|
-
"@things-factory/ccp": "^5.0.
|
|
71
|
+
"@things-factory/ccp": "^5.0.3",
|
|
72
72
|
"@things-factory/context-ui": "^5.0.1",
|
|
73
73
|
"@things-factory/dashboard": "^5.0.2",
|
|
74
|
-
"@things-factory/dataset": "^5.0.
|
|
74
|
+
"@things-factory/dataset": "^5.0.3",
|
|
75
75
|
"@things-factory/export-ui": "^5.0.1",
|
|
76
76
|
"@things-factory/export-ui-excel": "^5.0.1",
|
|
77
77
|
"@things-factory/grist-ui": "^5.0.1",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@things-factory/oauth2-client": "^5.0.1",
|
|
84
84
|
"@things-factory/print-ui": "^5.0.1",
|
|
85
85
|
"@things-factory/product-base": "^5.0.2",
|
|
86
|
-
"@things-factory/qc": "^5.0.
|
|
86
|
+
"@things-factory/qc": "^5.0.3",
|
|
87
87
|
"@things-factory/resource-ui": "^5.0.1",
|
|
88
88
|
"@things-factory/routing-base": "^5.0.2",
|
|
89
89
|
"@things-factory/setting-base": "^5.0.1",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@things-factory/builder": "^5.0.0"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "b4757c445c307a7a53c8ad73a43848648c33f16f"
|
|
100
100
|
}
|
|
@@ -2,7 +2,7 @@ import moment from 'moment-timezone'
|
|
|
2
2
|
import { EntityManager } from 'typeorm'
|
|
3
3
|
|
|
4
4
|
import { User } from '@things-factory/auth-base'
|
|
5
|
-
import {
|
|
5
|
+
import { DataSample, DataSet, DataUseCase } from '@things-factory/dataset'
|
|
6
6
|
import { Product } from '@things-factory/product-base'
|
|
7
7
|
import { Operation } from '@things-factory/routing-base'
|
|
8
8
|
import { Domain } from '@things-factory/shell'
|
|
@@ -10,9 +10,20 @@ import { getWorkDateAndShift } from '@things-factory/work-shift'
|
|
|
10
10
|
|
|
11
11
|
import { DataSampleMockupInfo } from '../service/data-sample-mockup/data-sample-mockup-type'
|
|
12
12
|
|
|
13
|
-
const randomWords =
|
|
13
|
+
const randomWords = require('random-words')
|
|
14
14
|
const debug = require('debug')('things-factory:reference-app:controller/create-data-sample-mockup')
|
|
15
15
|
|
|
16
|
+
const fillDataKeys = (dataKeySet, data) => {
|
|
17
|
+
const keys = dataKeySet?.dataKeyItems || []
|
|
18
|
+
return keys.reduce((sum, key, index) => {
|
|
19
|
+
const value = data[key.dataKey]
|
|
20
|
+
if (value != null) {
|
|
21
|
+
sum[`key0${index + 1}`] = value instanceof Array ? value[0] : value
|
|
22
|
+
}
|
|
23
|
+
return sum
|
|
24
|
+
}, {})
|
|
25
|
+
}
|
|
26
|
+
|
|
16
27
|
// parse variable javascript string pattern
|
|
17
28
|
const replaceVariables = (keys, dic) => {
|
|
18
29
|
for (const k in keys) {
|
|
@@ -38,21 +49,20 @@ const formatDate = (keys, _moment) => {
|
|
|
38
49
|
return keys
|
|
39
50
|
}
|
|
40
51
|
|
|
41
|
-
/**
|
|
52
|
+
/**
|
|
42
53
|
* Normal Distribution
|
|
43
54
|
* https://stackoverflow.com/questions/25582882/javascript-math-random-normal-distribution-gaussian-bell-curve
|
|
44
55
|
*/
|
|
45
56
|
function normal_dist(min, max, skew) {
|
|
46
|
-
let u = 0,
|
|
47
|
-
|
|
48
|
-
while(
|
|
49
|
-
|
|
50
|
-
|
|
57
|
+
let u = 0,
|
|
58
|
+
v = 0
|
|
59
|
+
while (u === 0) u = Math.random() //Converting [0,1) to (0,1)
|
|
60
|
+
while (v === 0) v = Math.random()
|
|
61
|
+
let num = Math.sqrt(-2.0 * Math.log(u)) * Math.cos(2.0 * Math.PI * v)
|
|
62
|
+
|
|
51
63
|
num = num / 10.0 + 0.5 // Translate to 0 -> 1
|
|
52
|
-
if (num > 1 || num < 0)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
else{
|
|
64
|
+
if (num > 1 || num < 0) num = normal_dist(min, max, skew) // resample between 0 and 1 if out of range
|
|
65
|
+
else {
|
|
56
66
|
num = Math.pow(num, skew) // Skew
|
|
57
67
|
num *= max - min // Stretch to fill range
|
|
58
68
|
num += min // offset to min
|
|
@@ -76,9 +86,14 @@ function fillColumns(prev, next, dict) {
|
|
|
76
86
|
const isValidSpec = spec && Object.keys(spec).length
|
|
77
87
|
const arr = Array.from(Array(quota).keys())
|
|
78
88
|
|
|
79
|
-
if(type == 'number') {
|
|
80
|
-
if (isValidSpec) {
|
|
81
|
-
|
|
89
|
+
if (type == 'number') {
|
|
90
|
+
if (isValidSpec) {
|
|
91
|
+
/* generate values refer to spec info. */
|
|
92
|
+
const {
|
|
93
|
+
CCP: {
|
|
94
|
+
criticalLimits: { minimum, maximum }
|
|
95
|
+
}
|
|
96
|
+
} = spec
|
|
82
97
|
while (values.length < quota) {
|
|
83
98
|
let value = 0
|
|
84
99
|
if (typeof minimum === 'number' && typeof maximum === 'number') {
|
|
@@ -92,18 +107,20 @@ function fillColumns(prev, next, dict) {
|
|
|
92
107
|
}
|
|
93
108
|
values.push(value)
|
|
94
109
|
}
|
|
95
|
-
} else {
|
|
110
|
+
} else {
|
|
111
|
+
/* random number */
|
|
96
112
|
const p = Math.random()
|
|
97
113
|
const q = () => randomIndex(10) + 1
|
|
98
114
|
// fixed
|
|
99
115
|
if (p > 0.33) {
|
|
100
116
|
values = Array(quota).fill(q())
|
|
101
|
-
} else if(p > 0.66) {
|
|
117
|
+
} else if (p > 0.66) {
|
|
118
|
+
/* or random */
|
|
102
119
|
values = arr.map(i => q())
|
|
103
|
-
|
|
104
|
-
|
|
120
|
+
} else {
|
|
121
|
+
/* or incremental */
|
|
105
122
|
values = arr.reduce((prev, i) => {
|
|
106
|
-
prev.push(!!prev.length ? prev[0] + i: q())
|
|
123
|
+
prev.push(!!prev.length ? prev[0] + i : q())
|
|
107
124
|
return prev
|
|
108
125
|
}, [])
|
|
109
126
|
}
|
|
@@ -120,7 +137,7 @@ function fillColumns(prev, next, dict) {
|
|
|
120
137
|
curr.add(randomIndex(60), 'minutes')
|
|
121
138
|
return curr
|
|
122
139
|
}, now)
|
|
123
|
-
} else if (next['tag'].indexOf('edAt') > 0) {
|
|
140
|
+
} else if (next['tag'].indexOf('edAt') > 0) {
|
|
124
141
|
/* ex) createdAt => '2022-06-15 09:21:30 */
|
|
125
142
|
arr.reduce(curr => {
|
|
126
143
|
values.push(curr.format(atFormat))
|
|
@@ -147,7 +164,7 @@ function fillColumns(prev, next, dict) {
|
|
|
147
164
|
}
|
|
148
165
|
}
|
|
149
166
|
|
|
150
|
-
async function _generateMockupData(dataSources:any, tx:EntityManager) {
|
|
167
|
+
async function _generateMockupData(dataSources: any, tx: EntityManager) {
|
|
151
168
|
const { user, domain, dataSet, spec, products, operations } = dataSources
|
|
152
169
|
|
|
153
170
|
const collectedAt = new Date()
|
|
@@ -157,16 +174,16 @@ async function _generateMockupData(dataSources:any, tx:EntityManager) {
|
|
|
157
174
|
|
|
158
175
|
// workDate ex) 2022-04-04
|
|
159
176
|
const { workDate, workShift } = await getWorkDateAndShift(domain, collectedAt, { timezone, format })
|
|
160
|
-
|
|
177
|
+
|
|
161
178
|
// local time dataSet timezone or domain timezone or default 'UTC'
|
|
162
|
-
|
|
179
|
+
|
|
163
180
|
// const collectedAt = dataSample.collectedAt || new Date()
|
|
164
181
|
const localDateTz = moment(collectedAt).tz(timezone)
|
|
165
182
|
const defaultPartitionKeys = {
|
|
166
183
|
domain: domain.subdomain,
|
|
167
|
-
datasetid: dataSet.id
|
|
168
|
-
date: localDateTz.format(format)
|
|
169
|
-
workdate: workDate
|
|
184
|
+
datasetid: dataSet.id /* It should not be 'data_set_id' as column name duplicated for Glue */,
|
|
185
|
+
date: localDateTz.format(format) /* local time date */,
|
|
186
|
+
workdate: workDate /* working date */,
|
|
170
187
|
workshift: workShift
|
|
171
188
|
}
|
|
172
189
|
|
|
@@ -193,6 +210,8 @@ async function _generateMockupData(dataSources:any, tx:EntityManager) {
|
|
|
193
210
|
...sample
|
|
194
211
|
})
|
|
195
212
|
|
|
213
|
+
const dataKeys = fillDataKeys(dataSet?.dataKeySet, sample)
|
|
214
|
+
|
|
196
215
|
const { ooc, oos, judgment } = DataUseCase.evaluate(dataSet, dataSet.dataItems, sample) || {}
|
|
197
216
|
const result = await tx.getRepository(DataSample).save({
|
|
198
217
|
name: dataSet.name,
|
|
@@ -203,6 +222,7 @@ async function _generateMockupData(dataSources:any, tx:EntityManager) {
|
|
|
203
222
|
data: sample,
|
|
204
223
|
domain,
|
|
205
224
|
partitionKeys,
|
|
225
|
+
...dataKeys,
|
|
206
226
|
spec,
|
|
207
227
|
ooc,
|
|
208
228
|
oos,
|
|
@@ -230,18 +250,19 @@ export async function generateMockupData(
|
|
|
230
250
|
const { domain, user, tx } = context.state
|
|
231
251
|
|
|
232
252
|
const dataSet: DataSet = await tx.getRepository(DataSet).findOne({
|
|
233
|
-
where: { id: params.dataSetId }
|
|
253
|
+
where: { id: params.dataSetId },
|
|
254
|
+
relations: ['dataKeySet']
|
|
234
255
|
})
|
|
235
256
|
|
|
236
257
|
const products = await tx.getRepository(Product).find({
|
|
237
|
-
select: [
|
|
258
|
+
select: ['id', 'name', 'description'],
|
|
238
259
|
where: {
|
|
239
260
|
domain
|
|
240
261
|
}
|
|
241
262
|
})
|
|
242
263
|
|
|
243
264
|
const operations = await tx.getRepository(Operation).find({
|
|
244
|
-
select: [
|
|
265
|
+
select: ['id', 'name', 'description'],
|
|
245
266
|
where: {
|
|
246
267
|
domain
|
|
247
268
|
}
|
|
@@ -252,17 +273,19 @@ export async function generateMockupData(
|
|
|
252
273
|
const spec = dataItems.reduce((spec, dataItem) => {
|
|
253
274
|
spec[dataItem.tag] = {
|
|
254
275
|
...dataItem.spec,
|
|
255
|
-
name: dataItem.name
|
|
276
|
+
name: dataItem.name /* do we need ? */,
|
|
256
277
|
hidden: dataItem.hidden
|
|
257
278
|
}
|
|
258
279
|
|
|
259
280
|
return spec
|
|
260
281
|
}, {})
|
|
261
282
|
|
|
262
|
-
const promises = Array(params.numSamples)
|
|
263
|
-
|
|
264
|
-
|
|
283
|
+
const promises = Array(params.numSamples)
|
|
284
|
+
.fill(0)
|
|
285
|
+
.map(x => {
|
|
286
|
+
return _generateMockupData({ domain, user, dataSet, products, operations, spec }, tx)
|
|
287
|
+
})
|
|
265
288
|
|
|
266
289
|
await Promise.all(promises)
|
|
267
290
|
return true
|
|
268
|
-
}
|
|
291
|
+
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
2022-07-22T10:15:52+09:00 info: File Storage is Ready.
|
|
2
|
-
2022-07-22T10:15:57+09:00 error: connect ECONNREFUSED 127.0.0.1:5432
|
|
3
|
-
2022-07-22T10:15:58+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
4
|
-
2022-07-22T10:15:58+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
5
|
-
2022-07-22T10:16:03+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
6
|
-
2022-07-22T10:16:09+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
7
|
-
2022-07-22T10:16:15+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
8
|
-
2022-07-22T10:16:22+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
9
|
-
2022-07-22T10:16:27+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
10
|
-
2022-07-22T10:16:35+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
11
|
-
2022-07-22T10:16:40+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
12
|
-
2022-07-22T10:16:46+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
13
|
-
2022-07-22T10:16:52+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
14
|
-
2022-07-22T10:16:59+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
15
|
-
2022-07-22T10:17:08+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
16
|
-
2022-07-22T10:17:23+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
17
|
-
2022-07-22T10:17:28+09:00 error: No repository for "Domain" was found. Looks like this entity is not registered in current "default" connection?
|
|
18
|
-
2022-07-22T10:18:30+09:00 info: File Storage is Ready.
|
|
19
|
-
2022-07-22T10:18:36+09:00 info: Database connection established
|
|
20
|
-
2022-07-22T10:18:37+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
21
|
-
2022-07-22T10:18:37+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
|
22
|
-
2022-07-22T10:25:36+09:00 error: update or delete on table "data_sets" violates foreign key constraint "FK_823511ff4d34651925528ec2863" on table "data_samples"
|
|
23
|
-
2022-07-22T10:38:39+09:00 info: File Storage is Ready.
|
|
24
|
-
2022-07-22T10:38:49+09:00 info: Database connection established
|
|
25
|
-
2022-07-22T10:38:52+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
|
26
|
-
2022-07-22T10:38:52+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|