@finos/legend-graph 10.0.0 → 10.1.2
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/lib/DSLMapping_Exports.d.ts +4 -0
- package/lib/DSLMapping_Exports.d.ts.map +1 -1
- package/lib/DSLMapping_Exports.js +4 -0
- package/lib/DSLMapping_Exports.js.map +1 -1
- package/lib/DSLService_Exports.d.ts +4 -0
- package/lib/DSLService_Exports.d.ts.map +1 -1
- package/lib/DSLService_Exports.js +4 -0
- package/lib/DSLService_Exports.js.map +1 -1
- package/lib/graph/PureGraphPlugin.d.ts +1 -1
- package/lib/graph/PureGraphPlugin.js +1 -1
- package/lib/graphManager/AbstractPureGraphManager.d.ts +7 -11
- package/lib/graphManager/AbstractPureGraphManager.d.ts.map +1 -1
- package/lib/graphManager/AbstractPureGraphManager.js +13 -0
- package/lib/graphManager/AbstractPureGraphManager.js.map +1 -1
- package/lib/graphManager/PureGraphManagerPlugin.d.ts +7 -4
- package/lib/graphManager/PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graphManager/PureGraphManagerPlugin.js +1 -1
- package/lib/graphManager/PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/validation/DSLService_ValidationHelper.d.ts +3 -2
- package/lib/graphManager/action/validation/DSLService_ValidationHelper.d.ts.map +1 -1
- package/lib/graphManager/action/validation/DSLService_ValidationHelper.js +1 -1
- package/lib/graphManager/action/validation/DSLService_ValidationHelper.js.map +1 -1
- package/lib/index.d.ts +5 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +6 -3
- package/lib/index.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/service/MultiExecutionServiceTestResult.d.ts +20 -0
- package/lib/models/metamodels/pure/packageableElements/service/MultiExecutionServiceTestResult.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/service/MultiExecutionServiceTestResult.js +20 -0
- package/lib/models/metamodels/pure/packageableElements/service/MultiExecutionServiceTestResult.js.map +1 -0
- package/lib/models/protocols/pure/PureProtocolProcessorPlugin.d.ts +1 -1
- package/lib/models/protocols/pure/PureProtocolProcessorPlugin.js +1 -1
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.d.ts +4 -6
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.js +46 -144
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_Engine.d.ts +1 -2
- package/lib/models/protocols/pure/v1/engine/V1_Engine.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_Engine.js +3 -4
- package/lib/models/protocols/pure/v1/engine/V1_Engine.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.d.ts +0 -2
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.js +0 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/service/V1_MultiExecutionServiceTestResult.d.ts +20 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/service/V1_MultiExecutionServiceTestResult.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/service/V1_MultiExecutionServiceTestResult.js +20 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/service/V1_MultiExecutionServiceTestResult.js.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_TestResultBuilderHelper.d.ts +5 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_TestResultBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_TestResultBuilderHelper.js +17 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_TestResultBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_TestSerializationHelper.d.ts +3 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_TestSerializationHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_TestSerializationHelper.js +16 -4
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_TestSerializationHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.js +9 -9
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.js.map +1 -1
- package/lib/package.json +5 -1
- package/package.json +8 -4
- package/src/DSLMapping_Exports.ts +4 -0
- package/src/DSLService_Exports.ts +7 -0
- package/src/graph/PureGraphPlugin.ts +1 -1
- package/src/graphManager/AbstractPureGraphManager.ts +24 -27
- package/src/graphManager/PureGraphManagerPlugin.ts +18 -8
- package/src/graphManager/action/validation/DSLService_ValidationHelper.ts +4 -7
- package/src/index.ts +9 -1
- package/src/models/metamodels/pure/packageableElements/service/MultiExecutionServiceTestResult.ts +21 -0
- package/src/models/protocols/pure/PureProtocolProcessorPlugin.ts +1 -1
- package/src/models/protocols/pure/v1/V1_PureGraphManager.ts +174 -319
- package/src/models/protocols/pure/v1/engine/V1_Engine.ts +4 -11
- package/src/models/protocols/pure/v1/engine/V1_EngineServerClient.ts +0 -13
- package/src/models/protocols/pure/v1/model/packageableElements/service/V1_MultiExecutionServiceTestResult.ts +21 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_TestResultBuilderHelper.ts +25 -4
- package/src/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_TestSerializationHelper.ts +29 -3
- package/src/models/protocols/pure/v1/transformation/pureProtocol/serializationHelpers/V1_ValueSpecificationSerializer.ts +9 -9
- package/tsconfig.json +2 -0
|
@@ -46,7 +46,6 @@ import {
|
|
|
46
46
|
V1_serializePureModelContext,
|
|
47
47
|
V1_serializePureModelContextData,
|
|
48
48
|
} from '../transformation/pureProtocol/V1_PureProtocolSerialization.js';
|
|
49
|
-
import { V1_DEPRECATED__ServiceTestResult } from './service/V1_DEPRECATED__ServiceTestResult.js';
|
|
50
49
|
import { V1_serializeRawValueSpecification } from '../transformation/pureProtocol/serializationHelpers/V1_RawValueSpecificationSerializationHelper.js';
|
|
51
50
|
import { V1_transformRawLambda } from '../transformation/pureGraph/from/V1_RawValueSpecificationTransformer.js';
|
|
52
51
|
import { V1_GenerateFileInput } from '../engine/generation/V1_FileGenerationInput.js';
|
|
@@ -180,6 +179,10 @@ export class V1_Engine {
|
|
|
180
179
|
return this.engineServerClient;
|
|
181
180
|
}
|
|
182
181
|
|
|
182
|
+
getCurrentUserId(): string | undefined {
|
|
183
|
+
return this.engineServerClient.currentUserId;
|
|
184
|
+
}
|
|
185
|
+
|
|
183
186
|
async setup(config: V1_EngineSetupConfig): Promise<void> {
|
|
184
187
|
this.config.setEnv(config.env);
|
|
185
188
|
this.config.setTabSize(config.tabSize);
|
|
@@ -634,16 +637,6 @@ export class V1_Engine {
|
|
|
634
637
|
return (await this.engineServerClient.getServerServiceInfo()) as unknown as V1_ServiceConfigurationInfo;
|
|
635
638
|
}
|
|
636
639
|
|
|
637
|
-
async runLegacyServiceTests(
|
|
638
|
-
model: V1_PureModelContextData,
|
|
639
|
-
): Promise<V1_DEPRECATED__ServiceTestResult[]> {
|
|
640
|
-
return (
|
|
641
|
-
await this.engineServerClient.runServiceTests(
|
|
642
|
-
V1_serializePureModelContextData(model),
|
|
643
|
-
)
|
|
644
|
-
).map((v) => V1_DEPRECATED__ServiceTestResult.serialization.fromJson(v));
|
|
645
|
-
}
|
|
646
|
-
|
|
647
640
|
async registerService(
|
|
648
641
|
input: V1_PureModelContext,
|
|
649
642
|
server: string,
|
|
@@ -25,7 +25,6 @@ import {
|
|
|
25
25
|
import type { ImportMode } from '../../../../../graphManager/action/generation/ImportConfigurationDescription.js';
|
|
26
26
|
import type { V1_PureModelContextData } from '../model/context/V1_PureModelContextData.js';
|
|
27
27
|
import type { V1_LambdaReturnTypeResult } from './compilation/V1_LambdaReturnTypeResult.js';
|
|
28
|
-
import type { V1_DEPRECATED__ServiceTestResult } from './service/V1_DEPRECATED__ServiceTestResult.js';
|
|
29
28
|
import type { V1_ServiceRegistrationResult } from './service/V1_ServiceRegistrationResult.js';
|
|
30
29
|
import type { V1_ServiceConfigurationInfo } from './service/V1_ServiceConfiguration.js';
|
|
31
30
|
import type { V1_CompileResult } from './compilation/V1_CompileResult.js';
|
|
@@ -580,18 +579,6 @@ export class V1_EngineServerClient extends AbstractServerClient {
|
|
|
580
579
|
{},
|
|
581
580
|
{ skipProcessing: true },
|
|
582
581
|
);
|
|
583
|
-
runServiceTests = (
|
|
584
|
-
model: PlainObject<V1_PureModelContextData>,
|
|
585
|
-
): Promise<PlainObject<V1_DEPRECATED__ServiceTestResult>[]> =>
|
|
586
|
-
this.postWithTracing(
|
|
587
|
-
this.getTraceData(CORE_ENGINE_TRACER_SPAN.RUN_SERVICE_TESTS),
|
|
588
|
-
`${this._service()}/doTest`,
|
|
589
|
-
model,
|
|
590
|
-
{},
|
|
591
|
-
undefined,
|
|
592
|
-
undefined,
|
|
593
|
-
{ enableCompression: true },
|
|
594
|
-
);
|
|
595
582
|
|
|
596
583
|
// ------------------------------------------- Query -------------------------------------------
|
|
597
584
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { V1_TestResult } from '../../test/result/V1_TestResult.js';
|
|
18
|
+
|
|
19
|
+
export class V1_MultiExecutionServiceTestResult extends V1_TestResult {
|
|
20
|
+
keyIndexedTestResults: Map<string, V1_TestResult> = new Map();
|
|
21
|
+
}
|
|
@@ -20,22 +20,24 @@ import {
|
|
|
20
20
|
guaranteeType,
|
|
21
21
|
UnsupportedOperationError,
|
|
22
22
|
} from '@finos/legend-shared';
|
|
23
|
+
import { MultiExecutionServiceTestResult } from '../../../../../../../metamodels/pure/packageableElements/service/MultiExecutionServiceTestResult.js';
|
|
23
24
|
import { AssertFail } from '../../../../../../../metamodels/pure/test/assertion/status/AssertFail.js';
|
|
24
25
|
import type { AssertionStatus } from '../../../../../../../metamodels/pure/test/assertion/status/AssertionStatus.js';
|
|
25
26
|
import { AssertPass } from '../../../../../../../metamodels/pure/test/assertion/status/AssertPass.js';
|
|
26
27
|
import { EqualToJsonAssertFail } from '../../../../../../../metamodels/pure/test/assertion/status/EqualToJsonAssertFail.js';
|
|
27
28
|
import { AtomicTestId } from '../../../../../../../metamodels/pure/test/result/AtomicTestId.js';
|
|
28
29
|
import {
|
|
30
|
+
type TestResult,
|
|
29
31
|
TestError,
|
|
30
32
|
TestFailed,
|
|
31
33
|
TestPassed,
|
|
32
|
-
type TestResult,
|
|
33
34
|
} from '../../../../../../../metamodels/pure/test/result/TestResult.js';
|
|
34
35
|
import {
|
|
35
36
|
AtomicTest,
|
|
36
37
|
TestSuite,
|
|
37
38
|
} from '../../../../../../../metamodels/pure/test/Test.js';
|
|
38
39
|
import type { Testable } from '../../../../../../../metamodels/pure/test/Testable.js';
|
|
40
|
+
import { V1_MultiExecutionServiceTestResult } from '../../../../model/packageableElements/service/V1_MultiExecutionServiceTestResult.js';
|
|
39
41
|
import { V1_AssertFail } from '../../../../model/test/assertion/status/V1_AssertFail.js';
|
|
40
42
|
import type { V1_AssertionStatus } from '../../../../model/test/assertion/status/V1_AssertionStatus.js';
|
|
41
43
|
import { V1_AssertPass } from '../../../../model/test/assertion/status/V1_AssertPass.js';
|
|
@@ -150,16 +152,35 @@ export const V1_buildTestPassed = (
|
|
|
150
152
|
return testPassed;
|
|
151
153
|
};
|
|
152
154
|
|
|
153
|
-
export const
|
|
155
|
+
export const V1_buildMultiExecutionServiceTestResult = (
|
|
156
|
+
element: V1_MultiExecutionServiceTestResult,
|
|
157
|
+
testable: Testable,
|
|
158
|
+
): MultiExecutionServiceTestResult => {
|
|
159
|
+
const multi = new MultiExecutionServiceTestResult();
|
|
160
|
+
multi.testable = testable;
|
|
161
|
+
multi.atomicTestId = buildAtomicTestId(element.atomicTestId, testable);
|
|
162
|
+
multi.keyIndexedTestResults = new Map<string, TestResult>();
|
|
163
|
+
Array.from(element.keyIndexedTestResults.entries()).forEach((result) => {
|
|
164
|
+
multi.keyIndexedTestResults.set(
|
|
165
|
+
result[0],
|
|
166
|
+
V1_buildTestResult(result[1], testable),
|
|
167
|
+
);
|
|
168
|
+
});
|
|
169
|
+
return multi;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export function V1_buildTestResult(
|
|
154
173
|
element: V1_TestResult,
|
|
155
174
|
testable: Testable,
|
|
156
|
-
): TestResult
|
|
175
|
+
): TestResult {
|
|
157
176
|
if (element instanceof V1_TestPassed) {
|
|
158
177
|
return V1_buildTestPassed(element, testable);
|
|
159
178
|
} else if (element instanceof V1_TestFailed) {
|
|
160
179
|
return V1_buildTestFailed(element, testable);
|
|
161
180
|
} else if (element instanceof V1_TestError) {
|
|
162
181
|
return V1_buildTestError(element, testable);
|
|
182
|
+
} else if (element instanceof V1_MultiExecutionServiceTestResult) {
|
|
183
|
+
return V1_buildMultiExecutionServiceTestResult(element, testable);
|
|
163
184
|
}
|
|
164
185
|
throw new UnsupportedOperationError(`Can't build test result`, element);
|
|
165
|
-
}
|
|
186
|
+
}
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
UnsupportedOperationError,
|
|
20
20
|
usingConstantValueSchema,
|
|
21
21
|
usingModelSchema,
|
|
22
|
+
deserializeMap,
|
|
22
23
|
} from '@finos/legend-shared';
|
|
23
24
|
import {
|
|
24
25
|
createModelSchema,
|
|
@@ -27,8 +28,10 @@ import {
|
|
|
27
28
|
list,
|
|
28
29
|
primitive,
|
|
29
30
|
serialize,
|
|
31
|
+
SKIP,
|
|
30
32
|
} from 'serializr';
|
|
31
33
|
import type { PureProtocolProcessorPlugin } from '../../../../PureProtocolProcessorPlugin.js';
|
|
34
|
+
import { V1_MultiExecutionServiceTestResult } from '../../../model/packageableElements/service/V1_MultiExecutionServiceTestResult.js';
|
|
32
35
|
import { V1_ServiceTest } from '../../../model/packageableElements/service/V1_ServiceTest.js';
|
|
33
36
|
import { V1_ServiceTestSuite } from '../../../model/packageableElements/service/V1_ServiceTestSuite.js';
|
|
34
37
|
import { V1_AssertFail } from '../../../model/test/assertion/status/V1_AssertFail.js';
|
|
@@ -74,6 +77,9 @@ enum V1_TestResultType {
|
|
|
74
77
|
TEST_ERROR = 'testError',
|
|
75
78
|
TEST_PASSED = 'testPassed',
|
|
76
79
|
TEST_FAILED = 'testFailed',
|
|
80
|
+
MULTI_EXECUTION_TEST_RESULT = 'multiExecutionTestResult',
|
|
81
|
+
// Remove once https://github.com/finos/legend-engine/pull/808 is released
|
|
82
|
+
TEMPROARY_MULTI_EXECUTION_TEST_RESULT = 'MultiExecutionServiceTestResult',
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export enum V1_TestSuiteType {
|
|
@@ -177,13 +183,29 @@ export const V1_testFailedModelSchema = createModelSchema(V1_TestFailed, {
|
|
|
177
183
|
testable: primitive(),
|
|
178
184
|
});
|
|
179
185
|
|
|
186
|
+
export const V1_MultiExecutionServiceTestResultModelSchema = createModelSchema(
|
|
187
|
+
V1_MultiExecutionServiceTestResult,
|
|
188
|
+
{
|
|
189
|
+
atomicTestId: usingModelSchema(V1_atomicTestIdModelSchema),
|
|
190
|
+
keyIndexedTestResults: custom(
|
|
191
|
+
() => SKIP,
|
|
192
|
+
(val) =>
|
|
193
|
+
deserializeMap(val, (v) =>
|
|
194
|
+
V1_deserializeTestResult(v as PlainObject<V1_TestResult>),
|
|
195
|
+
),
|
|
196
|
+
),
|
|
197
|
+
testable: primitive(),
|
|
198
|
+
},
|
|
199
|
+
);
|
|
200
|
+
|
|
180
201
|
export const V1_testPassedModelSchema = createModelSchema(V1_TestPassed, {
|
|
181
202
|
atomicTestId: usingModelSchema(V1_atomicTestIdModelSchema),
|
|
182
203
|
testable: primitive(),
|
|
183
204
|
});
|
|
184
|
-
|
|
205
|
+
|
|
206
|
+
export function V1_deserializeTestResult(
|
|
185
207
|
json: PlainObject<V1_TestResult>,
|
|
186
|
-
): V1_TestResult
|
|
208
|
+
): V1_TestResult {
|
|
187
209
|
switch (json._type) {
|
|
188
210
|
case V1_TestResultType.TEST_ERROR:
|
|
189
211
|
return deserialize(V1_testErrorModelSchema, json);
|
|
@@ -191,12 +213,16 @@ export const V1_deserializeTestResult = (
|
|
|
191
213
|
return deserialize(V1_testFailedModelSchema, json);
|
|
192
214
|
case V1_TestResultType.TEST_PASSED:
|
|
193
215
|
return deserialize(V1_testPassedModelSchema, json);
|
|
216
|
+
case V1_TestResultType.MULTI_EXECUTION_TEST_RESULT:
|
|
217
|
+
case V1_TestResultType.TEMPROARY_MULTI_EXECUTION_TEST_RESULT:
|
|
218
|
+
return deserialize(V1_MultiExecutionServiceTestResultModelSchema, json);
|
|
194
219
|
default:
|
|
195
220
|
throw new UnsupportedOperationError(
|
|
196
221
|
`Can't deserialize atomic test of type '${json._type}'`,
|
|
197
222
|
);
|
|
198
223
|
}
|
|
199
|
-
}
|
|
224
|
+
}
|
|
225
|
+
|
|
200
226
|
export const V1_serializeAtomicTest = (
|
|
201
227
|
protocol: V1_AtomicTest,
|
|
202
228
|
): PlainObject<V1_AtomicTest> => {
|
|
@@ -234,55 +234,55 @@ const appliedPropertyModelSchema = createModelSchema(V1_AppliedProperty, {
|
|
|
234
234
|
|
|
235
235
|
const collectionModelSchema = createModelSchema(V1_Collection, {
|
|
236
236
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.COLLECTION),
|
|
237
|
+
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
237
238
|
values: list(
|
|
238
239
|
custom(
|
|
239
240
|
(val) => V1_serializeValueSpecification(val),
|
|
240
241
|
(val) => V1_deserializeValueSpecification(val),
|
|
241
242
|
),
|
|
242
243
|
),
|
|
243
|
-
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
244
244
|
});
|
|
245
245
|
|
|
246
246
|
const cDecimalModelSchema = createModelSchema(V1_CDecimal, {
|
|
247
247
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CDECIMAL),
|
|
248
|
-
values: list(primitive()),
|
|
249
248
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
249
|
+
values: list(primitive()),
|
|
250
250
|
});
|
|
251
251
|
|
|
252
252
|
const cIntegerModelSchema = createModelSchema(V1_CInteger, {
|
|
253
253
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CINTEGER),
|
|
254
|
-
values: list(primitive()),
|
|
255
254
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
255
|
+
values: list(primitive()),
|
|
256
256
|
});
|
|
257
257
|
|
|
258
258
|
const cStringModelSchema = createModelSchema(V1_CString, {
|
|
259
259
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CSTRING),
|
|
260
|
-
values: list(primitive()),
|
|
261
260
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
261
|
+
values: list(primitive()),
|
|
262
262
|
});
|
|
263
263
|
|
|
264
264
|
const cfloatModelSchema = createModelSchema(V1_CFloat, {
|
|
265
265
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CFLOAT),
|
|
266
|
-
values: list(primitive()),
|
|
267
266
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
267
|
+
values: list(primitive()),
|
|
268
268
|
});
|
|
269
269
|
|
|
270
270
|
const cDateTimeModelSchema = createModelSchema(V1_CDateTime, {
|
|
271
271
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CDATETIME),
|
|
272
|
-
values: list(primitive()),
|
|
273
272
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
273
|
+
values: list(primitive()),
|
|
274
274
|
});
|
|
275
275
|
|
|
276
276
|
const cStrictTimeModelSchema = createModelSchema(V1_CStrictTime, {
|
|
277
277
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CSTRICTTIME),
|
|
278
|
-
values: list(primitive()),
|
|
279
278
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
279
|
+
values: list(primitive()),
|
|
280
280
|
});
|
|
281
281
|
|
|
282
282
|
const cStrictDateModelSchema = createModelSchema(V1_CStrictDate, {
|
|
283
283
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CSTRICTDATE),
|
|
284
|
-
values: list(primitive()),
|
|
285
284
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
285
|
+
values: list(primitive()),
|
|
286
286
|
});
|
|
287
287
|
|
|
288
288
|
const cLatestDateModelSchema = createModelSchema(V1_CLatestDate, {
|
|
@@ -292,8 +292,8 @@ const cLatestDateModelSchema = createModelSchema(V1_CLatestDate, {
|
|
|
292
292
|
|
|
293
293
|
const cBooleanModelSchema = createModelSchema(V1_CBoolean, {
|
|
294
294
|
_type: usingConstantValueSchema(V1_ValueSpecificationType.CBOOLEAN),
|
|
295
|
-
values: list(primitive()),
|
|
296
295
|
multiplicity: usingModelSchema(V1_multiplicitySchema),
|
|
296
|
+
values: list(primitive()),
|
|
297
297
|
});
|
|
298
298
|
|
|
299
299
|
const aggregationValueModelSchema = createModelSchema(V1_AggregateValue, {
|
package/tsconfig.json
CHANGED
|
@@ -215,6 +215,7 @@
|
|
|
215
215
|
"./src/models/metamodels/pure/packageableElements/section/SectionIndex.ts",
|
|
216
216
|
"./src/models/metamodels/pure/packageableElements/service/ConnectionTestData.ts",
|
|
217
217
|
"./src/models/metamodels/pure/packageableElements/service/DEPRECATED__ServiceTest.ts",
|
|
218
|
+
"./src/models/metamodels/pure/packageableElements/service/MultiExecutionServiceTestResult.ts",
|
|
218
219
|
"./src/models/metamodels/pure/packageableElements/service/ParameterValue.ts",
|
|
219
220
|
"./src/models/metamodels/pure/packageableElements/service/Service.ts",
|
|
220
221
|
"./src/models/metamodels/pure/packageableElements/service/ServiceExecution.ts",
|
|
@@ -422,6 +423,7 @@
|
|
|
422
423
|
"./src/models/protocols/pure/v1/model/packageableElements/section/V1_SectionIndex.ts",
|
|
423
424
|
"./src/models/protocols/pure/v1/model/packageableElements/service/V1_ConnectionTestData.ts",
|
|
424
425
|
"./src/models/protocols/pure/v1/model/packageableElements/service/V1_DEPRECATED__ServiceTest.ts",
|
|
426
|
+
"./src/models/protocols/pure/v1/model/packageableElements/service/V1_MultiExecutionServiceTestResult.ts",
|
|
425
427
|
"./src/models/protocols/pure/v1/model/packageableElements/service/V1_ParameterValue.ts",
|
|
426
428
|
"./src/models/protocols/pure/v1/model/packageableElements/service/V1_Service.ts",
|
|
427
429
|
"./src/models/protocols/pure/v1/model/packageableElements/service/V1_ServiceExecution.ts",
|