@finos/legend-graph 1.3.0 → 2.0.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/GraphManagerState.d.ts +2 -2
- package/lib/GraphManagerState.js +4 -4
- package/lib/GraphManagerState.js.map +1 -1
- package/lib/graph/BasicModel.d.ts.map +1 -1
- package/lib/graph/BasicModel.js +1 -0
- package/lib/graph/BasicModel.js.map +1 -1
- package/lib/graph/DependencyManager.d.ts.map +1 -1
- package/lib/graph/DependencyManager.js +2 -0
- package/lib/graph/DependencyManager.js.map +1 -1
- package/lib/graph/PureModel.d.ts.map +1 -1
- package/lib/graph/PureModel.js +2 -0
- package/lib/graph/PureModel.js.map +1 -1
- package/lib/graphManager/AbstractPureGraphManager.d.ts +8 -6
- package/lib/graphManager/AbstractPureGraphManager.d.ts.map +1 -1
- package/lib/graphManager/AbstractPureGraphManager.js.map +1 -1
- package/lib/graphManager/GraphBuilderReport.d.ts +10 -0
- package/lib/graphManager/GraphBuilderReport.d.ts.map +1 -1
- package/lib/graphManager/GraphBuilderReport.js +6 -0
- package/lib/graphManager/GraphBuilderReport.js.map +1 -1
- package/lib/graphManager/{GraphManagerLogEvent.d.ts → GraphManagerEvent.d.ts} +12 -19
- package/lib/graphManager/GraphManagerEvent.d.ts.map +1 -0
- package/lib/graphManager/GraphManagerEvent.js +45 -0
- package/lib/graphManager/GraphManagerEvent.js.map +1 -0
- package/lib/graphManager/GraphManagerTelemetry.d.ts +28 -0
- package/lib/graphManager/GraphManagerTelemetry.d.ts.map +1 -0
- package/lib/graphManager/GraphManagerTelemetry.js +22 -0
- package/lib/graphManager/GraphManagerTelemetry.js.map +1 -0
- package/lib/index.d.ts +5 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -2
- package/lib/index.js.map +1 -1
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.d.ts +56 -9
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.js +339 -198
- package/lib/models/protocols/pure/v1/V1_PureGraphManager.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_Engine.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_Engine.js +2 -2
- package/lib/models/protocols/pure/v1/engine/V1_Engine.js.map +1 -1
- package/lib/models/protocols/pure/v1/engine/V1_EngineEvent.d.ts +21 -0
- package/lib/models/protocols/pure/v1/engine/V1_EngineEvent.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/engine/V1_EngineEvent.js +22 -0
- package/lib/models/protocols/pure/v1/engine/V1_EngineEvent.js.map +1 -0
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.d.ts +0 -5
- 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 -6
- package/lib/models/protocols/pure/v1/engine/V1_EngineServerClient.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContext.d.ts +0 -2
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContext.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContext.js +0 -2
- package/lib/models/protocols/pure/v1/model/context/V1_PureModelContext.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/valueSpecification/raw/V1_HackedUnit.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/valueSpecification/raw/V1_HackedUnit.js +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.js +2 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelPropertyMappingBuilder.js +4 -4
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelPropertyMappingBuilder.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_SectionBuilderHelper.js +4 -4
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_SectionBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ServiceBuilderHelper.js +2 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ServiceBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.js +3 -7
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationPathResolver.js +2 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationPathResolver.js.map +1 -1
- package/lib/package.json +2 -2
- package/package.json +5 -5
- package/src/GraphManagerState.ts +4 -4
- package/src/graph/BasicModel.ts +2 -0
- package/src/graph/DependencyManager.ts +5 -0
- package/src/graph/PureModel.ts +8 -0
- package/src/graphManager/AbstractPureGraphManager.ts +19 -6
- package/src/graphManager/GraphBuilderReport.ts +15 -1
- package/src/graphManager/{GraphManagerLogEvent.ts → GraphManagerEvent.ts} +10 -20
- package/src/graphManager/GraphManagerTelemetry.ts +35 -0
- package/src/index.ts +5 -5
- package/src/models/protocols/pure/v1/V1_PureGraphManager.ts +547 -403
- package/src/models/protocols/pure/v1/engine/V1_Engine.ts +2 -2
- package/src/models/protocols/pure/v1/engine/V1_EngineEvent.ts +21 -0
- package/src/models/protocols/pure/v1/engine/V1_EngineServerClient.ts +0 -6
- package/src/models/protocols/pure/v1/model/context/V1_PureModelContext.ts +1 -5
- package/src/models/protocols/pure/v1/model/valueSpecification/raw/V1_HackedUnit.ts +1 -1
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelClassMappingSecondPassBuilder.ts +2 -2
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/V1_ProtocolToMetaModelPropertyMappingBuilder.ts +4 -4
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_SectionBuilderHelper.ts +4 -4
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ServiceBuilderHelper.ts +2 -2
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationBuilderHelper.ts +4 -9
- package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ValueSpecificationPathResolver.ts +2 -2
- package/tsconfig.json +3 -1
- package/lib/graphManager/GraphManagerLogEvent.d.ts.map +0 -1
- package/lib/graphManager/GraphManagerLogEvent.js +0 -53
- package/lib/graphManager/GraphManagerLogEvent.js.map +0 -1
|
@@ -27,7 +27,6 @@ import {
|
|
|
27
27
|
NetworkClientError,
|
|
28
28
|
returnUndefOnError,
|
|
29
29
|
} from '@finos/legend-shared';
|
|
30
|
-
import { GRAPH_MANAGER_LOG_EVENT } from '../../../../../graphManager/GraphManagerLogEvent';
|
|
31
30
|
import {
|
|
32
31
|
type ImportConfigurationDescription,
|
|
33
32
|
ImportMode,
|
|
@@ -96,6 +95,7 @@ import type { ExecutionOptions } from '../../../../../graphManager/AbstractPureG
|
|
|
96
95
|
import type { ExternalFormatDescription } from '../../../../../graphManager/action/externalFormat/ExternalFormatDescription';
|
|
97
96
|
import { V1_ExternalFormatDescription } from './externalFormat/V1_ExternalFormatDescription';
|
|
98
97
|
import { V1_ExternalFormatModelGenerationInput } from './externalFormat/V1_ExternalFormatModelGeneration';
|
|
98
|
+
import { GRAPH_MANAGER_EVENT } from '../../../../../graphManager/GraphManagerEvent';
|
|
99
99
|
|
|
100
100
|
class V1_EngineConfig extends TEMPORARY__AbstractEngineConfig {
|
|
101
101
|
private engine: V1_Engine;
|
|
@@ -160,7 +160,7 @@ export class V1_Engine {
|
|
|
160
160
|
const startTime = Date.now();
|
|
161
161
|
const serializedGraph = V1_serializePureModelContextData(graph);
|
|
162
162
|
this.log.info(
|
|
163
|
-
LogEvent.create(
|
|
163
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_PROTOCOL_SERIALIZED),
|
|
164
164
|
Date.now() - startTime,
|
|
165
165
|
'ms',
|
|
166
166
|
);
|
|
@@ -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
|
+
export enum V1_ENGINE_EVENT {
|
|
18
|
+
GRAMMAR_TO_JSON = 'GRAMMAR_TO_JSON',
|
|
19
|
+
JSON_TO_GRAMMAR = 'JSON_TO_GRAMMAR',
|
|
20
|
+
COMPILATION = 'COMPILATION',
|
|
21
|
+
}
|
|
@@ -76,12 +76,6 @@ enum CORE_ENGINE_TRACER_SPAN {
|
|
|
76
76
|
DELETE_QUERY = 'delete query',
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export enum V1_ENGINE_LOG_EVENT {
|
|
80
|
-
GRAMMAR_TO_JSON = 'GRAMMAR_TO_JSON',
|
|
81
|
-
JSON_TO_GRAMMAR = 'JSON_TO_GRAMMAR',
|
|
82
|
-
COMPILATION = 'COMPILATION',
|
|
83
|
-
}
|
|
84
|
-
|
|
85
79
|
export class V1_EngineServerClient extends AbstractServerClient {
|
|
86
80
|
currentUserId?: string | undefined;
|
|
87
81
|
private env?: string | undefined;
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
/**
|
|
23
23
|
* @deprecated
|
|
24
24
|
*
|
|
25
|
-
* We might eventually
|
|
25
|
+
* We might eventually handle it in the same way we handled `HackedClass` where we make it a subclass of PackageableElementPtr
|
|
26
26
|
*/
|
|
27
27
|
export class V1_HackedUnit extends V1_ValueSpecification {
|
|
28
28
|
unitType!: string;
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
assertTrue,
|
|
25
25
|
guaranteeNonNullable,
|
|
26
26
|
} from '@finos/legend-shared';
|
|
27
|
-
import {
|
|
27
|
+
import { GRAPH_MANAGER_EVENT } from '../../../../../../../graphManager/GraphManagerEvent';
|
|
28
28
|
import type { Mapping } from '../../../../../../metamodels/pure/packageableElements/mapping/Mapping';
|
|
29
29
|
import type { SetImplementation } from '../../../../../../metamodels/pure/packageableElements/mapping/SetImplementation';
|
|
30
30
|
import type { PurePropertyMapping } from '../../../../../../metamodels/pure/packageableElements/store/modelToModel/mapping/PurePropertyMapping';
|
|
@@ -114,7 +114,7 @@ export class V1_ProtocolToMetaModelClassMappingSecondPassBuilder
|
|
|
114
114
|
if (!setImplementation) {
|
|
115
115
|
// TODO: we will get these cases sometimes since we haven't supported includedMappings
|
|
116
116
|
this.context.log.debug(
|
|
117
|
-
LogEvent.create(
|
|
117
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
118
118
|
`Can't find class mapping with ID '${parameter}' in mapping '${this.parent.path}' (perhaps because we haven't supported included mappings)`,
|
|
119
119
|
);
|
|
120
120
|
return undefined;
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
guaranteeNonNullable,
|
|
23
23
|
returnUndefOnError,
|
|
24
24
|
} from '@finos/legend-shared';
|
|
25
|
-
import {
|
|
25
|
+
import { GRAPH_MANAGER_EVENT } from '../../../../../../../graphManager/GraphManagerEvent';
|
|
26
26
|
import type { PropertyMapping } from '../../../../../../metamodels/pure/packageableElements/mapping/PropertyMapping';
|
|
27
27
|
import { PurePropertyMapping } from '../../../../../../metamodels/pure/packageableElements/store/modelToModel/mapping/PurePropertyMapping';
|
|
28
28
|
import { RelationalPropertyMapping } from '../../../../../../metamodels/pure/packageableElements/store/relational/mapping/RelationalPropertyMapping';
|
|
@@ -253,7 +253,7 @@ export class V1_ProtocolToMetaModelPropertyMappingBuilder
|
|
|
253
253
|
if (!enumerationMapping) {
|
|
254
254
|
// TODO: Since we don't support includedMappings, this will throw errors, but right now we can just make it undefined.
|
|
255
255
|
this.context.log.debug(
|
|
256
|
-
LogEvent.create(
|
|
256
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
257
257
|
`Can't find enumeration mapping with ID '${protocol.enumMappingId}' in mapping '${topParent.parent.path}' (perhaps because we haven't supported included mappings)`,
|
|
258
258
|
);
|
|
259
259
|
}
|
|
@@ -333,7 +333,7 @@ export class V1_ProtocolToMetaModelPropertyMappingBuilder
|
|
|
333
333
|
if (!enumerationMapping) {
|
|
334
334
|
// TODO: Since we don't support includedMappings, this will throw errors, but right now we can just make it undefined.
|
|
335
335
|
this.context.log.debug(
|
|
336
|
-
LogEvent.create(
|
|
336
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
337
337
|
`Can't find enumeration mapping with ID '${protocol.enumMappingId}' in mapping '${this.topParent?.parent.path} (perhaps because we haven't supported included mappings)`,
|
|
338
338
|
);
|
|
339
339
|
}
|
|
@@ -584,7 +584,7 @@ export class V1_ProtocolToMetaModelPropertyMappingBuilder
|
|
|
584
584
|
if (!enumerationMapping) {
|
|
585
585
|
// TODO: Since we don't support includedMappings, this will throw errors, but right now we can just make it undefined.
|
|
586
586
|
this.context.log.debug(
|
|
587
|
-
LogEvent.create(
|
|
587
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
588
588
|
`Can't find enumeration mapping with ID '${protocol.enumMappingId}' in mapping '${this.topParent?.parent.path}' (perhaps because we haven't supported included mappings)`,
|
|
589
589
|
);
|
|
590
590
|
}
|
package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_SectionBuilderHelper.ts
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
isNonNullable,
|
|
21
21
|
uniq,
|
|
22
22
|
} from '@finos/legend-shared';
|
|
23
|
-
import {
|
|
23
|
+
import { GRAPH_MANAGER_EVENT } from '../../../../../../../../graphManager/GraphManagerEvent';
|
|
24
24
|
import {
|
|
25
25
|
type Section,
|
|
26
26
|
ImportAwareCodeSection,
|
|
@@ -52,7 +52,7 @@ export const V1_buildSection = (
|
|
|
52
52
|
const element = context.graph.getNullableElement(_package, true);
|
|
53
53
|
if (!(element instanceof Package)) {
|
|
54
54
|
context.log.warn(
|
|
55
|
-
LogEvent.create(
|
|
55
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
56
56
|
`Can't find section import package '${_package}'`,
|
|
57
57
|
);
|
|
58
58
|
}
|
|
@@ -75,14 +75,14 @@ export const V1_buildSection = (
|
|
|
75
75
|
const element = context.graph.getNullableElement(elementPath);
|
|
76
76
|
if (!element) {
|
|
77
77
|
context.log.warn(
|
|
78
|
-
LogEvent.create(
|
|
78
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
79
79
|
`Can't find section element '${elementPath}'`,
|
|
80
80
|
);
|
|
81
81
|
return element;
|
|
82
82
|
}
|
|
83
83
|
if (context.graph.getOwnSection(element.path)) {
|
|
84
84
|
context.log.warn(
|
|
85
|
-
LogEvent.create(
|
|
85
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
86
86
|
`Found duplicated section element '${elementPath}'`,
|
|
87
87
|
);
|
|
88
88
|
} else {
|
package/src/models/protocols/pure/v1/transformation/pureGraph/to/helpers/V1_ServiceBuilderHelper.ts
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
assertType,
|
|
22
22
|
assertNonNullable,
|
|
23
23
|
} from '@finos/legend-shared';
|
|
24
|
-
import {
|
|
24
|
+
import { GRAPH_MANAGER_EVENT } from '../../../../../../../../graphManager/GraphManagerEvent';
|
|
25
25
|
import {
|
|
26
26
|
type Runtime,
|
|
27
27
|
RuntimePointer,
|
|
@@ -159,7 +159,7 @@ export const V1_buildServiceTest = (
|
|
|
159
159
|
*/
|
|
160
160
|
if (executionKeys.size) {
|
|
161
161
|
context.log.error(
|
|
162
|
-
LogEvent.create(
|
|
162
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
163
163
|
new GraphBuilderError(
|
|
164
164
|
`Execution(s) with key '${Array.from(executionKeys.values()).join(
|
|
165
165
|
', ',
|
|
@@ -866,15 +866,10 @@ export function V1_processProperty(
|
|
|
866
866
|
} else {
|
|
867
867
|
inferredVariable = processedParameters[0];
|
|
868
868
|
}
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
inferredType = V1_resolvePropertyExpressionTypeInference(
|
|
874
|
-
inferredVariable,
|
|
875
|
-
context,
|
|
876
|
-
);
|
|
877
|
-
}
|
|
869
|
+
const inferredType =
|
|
870
|
+
inferredVariable instanceof AbstractPropertyExpression
|
|
871
|
+
? inferredVariable.func.genericType.value.rawType
|
|
872
|
+
: V1_resolvePropertyExpressionTypeInference(inferredVariable, context);
|
|
878
873
|
if (inferredType instanceof Class) {
|
|
879
874
|
const processedProperty = new AbstractPropertyExpression(
|
|
880
875
|
'',
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
assertErrorThrown,
|
|
20
20
|
returnUndefOnError,
|
|
21
21
|
} from '@finos/legend-shared';
|
|
22
|
-
import {
|
|
22
|
+
import { GRAPH_MANAGER_EVENT } from '../../../../../../../../graphManager/GraphManagerEvent';
|
|
23
23
|
import type { PackageableElement } from '../../../../../../../metamodels/pure/packageableElements/PackageableElement';
|
|
24
24
|
import type { PackageableElementReference } from '../../../../../../../metamodels/pure/packageableElements/PackageableElementReference';
|
|
25
25
|
import { RawLambda } from '../../../../../../../metamodels/pure/rawValueSpecification/RawLambda';
|
|
@@ -364,7 +364,7 @@ const V1_resolveLambdaElementPaths = (
|
|
|
364
364
|
// return orginal lambda if anything goes wrong
|
|
365
365
|
error.message = `Can't resolve element paths for lambda:\n${error.message}`;
|
|
366
366
|
_context.log.warn(
|
|
367
|
-
LogEvent.create(
|
|
367
|
+
LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
|
|
368
368
|
error,
|
|
369
369
|
);
|
|
370
370
|
return rawLambdaProtocol;
|
package/tsconfig.json
CHANGED
|
@@ -60,7 +60,8 @@
|
|
|
60
60
|
"./src/graphManager/DSLGenerationSpecification_PureGraphManagerPlugin_Extension.ts",
|
|
61
61
|
"./src/graphManager/DSLMapping_PureGraphManagerPlugin_Extension.ts",
|
|
62
62
|
"./src/graphManager/GraphBuilderReport.ts",
|
|
63
|
-
"./src/graphManager/
|
|
63
|
+
"./src/graphManager/GraphManagerEvent.ts",
|
|
64
|
+
"./src/graphManager/GraphManagerTelemetry.ts",
|
|
64
65
|
"./src/graphManager/GraphManagerUtils.ts",
|
|
65
66
|
"./src/graphManager/PureGraphManagerPlugin.ts",
|
|
66
67
|
"./src/graphManager/action/EngineError.ts",
|
|
@@ -262,6 +263,7 @@
|
|
|
262
263
|
"./src/models/protocols/pure/v1/V1_PureGraphManager.ts",
|
|
263
264
|
"./src/models/protocols/pure/v1/engine/V1_Engine.ts",
|
|
264
265
|
"./src/models/protocols/pure/v1/engine/V1_EngineError.ts",
|
|
266
|
+
"./src/models/protocols/pure/v1/engine/V1_EngineEvent.ts",
|
|
265
267
|
"./src/models/protocols/pure/v1/engine/V1_EngineHelper.ts",
|
|
266
268
|
"./src/models/protocols/pure/v1/engine/V1_EngineServerClient.ts",
|
|
267
269
|
"./src/models/protocols/pure/v1/engine/V1_ExecutionHelper.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphManagerLogEvent.d.ts","sourceRoot":"","sources":["../../src/graphManager/GraphManagerLogEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,uBAAuB;IACjC,qBAAqB,wBAAwB;IAE7C,0BAA0B,+BAA+B;IACzD,uCAAuC,4CAA4C;IACnF,2CAA2C,gDAAgD;IAC3F,oCAAoC,yCAAyC;IAC7E,gCAAgC,qCAAqC;IACrE,+BAA+B,oCAAoC;IACnE,+BAA+B,oCAAoC;IACnE,uBAAuB,4BAA4B;IACnD,8CAA8C,mDAAmD;IACjG,mCAAmC,wCAAwC;IAC3E,iCAAiC,sCAAsC;IACvE,0BAA0B,+BAA+B;IACzD,4BAA4B,iCAAiC;IAC7D,+BAA+B,oCAAoC;IACnE,4BAA4B,iCAAiC;IAC7D,kCAAkC,uCAAuC;IAEzE,oCAAoC,yCAAyC;IAC7E,mCAAmC,wCAAwC;IAC3E,4BAA4B,iCAAiC;IAE7D,iBAAiB,sBAAsB;IACvC,sBAAsB,2BAA2B;IACjD,yBAAyB,kBAAkB;IAC3C,kCAAkC,uCAAuC;IACzE,kCAAkC,uCAAuC;IACzE,wCAAwC,6CAA6C;IACrF,+BAA+B,oCAAoC;IACnE,yBAAyB,8BAA8B;IACvD,wBAAwB,6BAA6B;IAErD,qBAAqB,0BAA0B;IAE/C,iBAAiB,sBAAsB;IACvC,mBAAmB,wBAAwB;IAC3C,eAAe,oBAAoB;CACpC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
export var GRAPH_MANAGER_LOG_EVENT;
|
|
17
|
-
(function (GRAPH_MANAGER_LOG_EVENT) {
|
|
18
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_FAILURE"] = "GRAPH_BUILD_FAILURE";
|
|
19
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_SYSTEM_BUILT"] = "GRAPH_BUILDER_SYSTEM_BUILT";
|
|
20
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_DEPENDENCIES_PREPROCESSED"] = "GRAPH_BUILDER_DEPENDENCIES_PREPROCESSED";
|
|
21
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_DEPENDENCIES_ENTITIES_FETCHED"] = "GRAPH_BUILDER_DEPENDENCIES_ENTITIES_FETCHED";
|
|
22
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_DEPENDENCIES_PROCESSED"] = "GRAPH_BUILDER_DEPENDENCIES_PROCESSED";
|
|
23
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_DEPENDENCIES_BUILT"] = "GRAPH_BUILDER_DEPENDENCIES_BUILT";
|
|
24
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_GENERATIONS_BUILT"] = "GRAPH_BUILDER_GENERATIONS_BUILT";
|
|
25
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_DATA_MODEL_PARSED"] = "GRAPH_BUILDER_DATA_MODEL_PARSED";
|
|
26
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_COMPLETED"] = "GRAPH_BUILDER_COMPLETED";
|
|
27
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_ELEMENTS_INITIALIZED_AND_INDEXED"] = "GRAPH_BUILDER_ELEMENTS_INITIALIZED_AND_INDEXED";
|
|
28
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_SECTION_INDICES_BUILT"] = "GRAPH_BUILDER_SECTION_INDICES_BUILT";
|
|
29
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_DOMAIN_MODELS_BUILT"] = "GRAPH_BUILDER_DOMAIN_MODELS_BUILT";
|
|
30
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_STORES_BUILT"] = "GRAPH_BUILDER_STORES_BUILT";
|
|
31
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_MAPPINGS_BUILT"] = "GRAPH_BUILDER_MAPPINGS_BUILT";
|
|
32
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_CONNECTIONS_BUILT"] = "GRAPH_BUILDER_CONNECTIONS_BUILT";
|
|
33
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_RUNTIMES_BUILT"] = "GRAPH_BUILDER_RUNTIMES_BUILT";
|
|
34
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_OTHER_ELEMENTS_BUILT"] = "GRAPH_BUILDER_OTHER_ELEMENTS_BUILT";
|
|
35
|
-
// TODO: we should be able to move these out with modularization
|
|
36
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_FILE_GENERATIONS_BUILT"] = "GRAPH_BUILDER_FILE_GENERATIONS_BUILT";
|
|
37
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_GENERATION_TREE_BUILT"] = "GRAPH_BUILDER_GENERATION_TREE_BUILT";
|
|
38
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_BUILDER_SERVICES_BUILT"] = "GRAPH_BUILDER_SERVICES_BUILT";
|
|
39
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_INITIALIZED"] = "GRAPH_INITIALIZED";
|
|
40
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_ENTITIES_FETCHED"] = "GRAPH_ENTITIES_FETCHED";
|
|
41
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_UPDATED_AND_REBUILT"] = "GRAPH_REBUILT";
|
|
42
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_MODEL_TO_GRAMMAR_TRANSFORMED"] = "GRAPH_MODEL_TO_GRAMMAR_TRANSFORMED";
|
|
43
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_GRAMMAR_TO_MODEL_TRANSFORMED"] = "GRAPH_GRAMMAR_TO_MODEL_TRANSFORMED";
|
|
44
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_META_MODEL_TO_PROTOCOL_TRANSFORMED"] = "GRAPH_META_MODEL_TO_PROTOCOL_TRANSFORMED";
|
|
45
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_COMPILE_CONTEXT_COLLECTED"] = "GRAPH_COMPILE_CONTEXT_COLLECTED";
|
|
46
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_PROTOCOL_SERIALIZED"] = "GRAPH_PROTOCOL_SERIALIZED";
|
|
47
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_HASHES_PRECOMPUTED"] = "GRAPH_HASHES_PRECOMPUTED";
|
|
48
|
-
GRAPH_MANAGER_LOG_EVENT["GRAPH_MANAGER_FAILURE"] = "GRAPH_MANAGER_FAILURE";
|
|
49
|
-
GRAPH_MANAGER_LOG_EVENT["EXECUTION_FAILURE"] = "EXECUTION_FAILURE";
|
|
50
|
-
GRAPH_MANAGER_LOG_EVENT["COMPILATION_FAILURE"] = "COMPILATION_FAILURE";
|
|
51
|
-
GRAPH_MANAGER_LOG_EVENT["PARSING_FAILURE"] = "PARSING_FAILURE";
|
|
52
|
-
})(GRAPH_MANAGER_LOG_EVENT || (GRAPH_MANAGER_LOG_EVENT = {}));
|
|
53
|
-
//# sourceMappingURL=GraphManagerLogEvent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphManagerLogEvent.js","sourceRoot":"","sources":["../../src/graphManager/GraphManagerLogEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,uBAuCX;AAvCD,WAAY,uBAAuB;IACjC,wEAA6C,CAAA;IAE7C,oFAAyD,CAAA;IACzD,8GAAmF,CAAA;IACnF,sHAA2F,CAAA;IAC3F,wGAA6E,CAAA;IAC7E,gGAAqE,CAAA;IACrE,8FAAmE,CAAA;IACnE,8FAAmE,CAAA;IACnE,8EAAmD,CAAA;IACnD,4HAAiG,CAAA;IACjG,sGAA2E,CAAA;IAC3E,kGAAuE,CAAA;IACvE,oFAAyD,CAAA;IACzD,wFAA6D,CAAA;IAC7D,8FAAmE,CAAA;IACnE,wFAA6D,CAAA;IAC7D,oGAAyE,CAAA;IACzE,gEAAgE;IAChE,wGAA6E,CAAA;IAC7E,sGAA2E,CAAA;IAC3E,wFAA6D,CAAA;IAE7D,kEAAuC,CAAA;IACvC,4EAAiD,CAAA;IACjD,sEAA2C,CAAA;IAC3C,oGAAyE,CAAA;IACzE,oGAAyE,CAAA;IACzE,gHAAqF,CAAA;IACrF,8FAAmE,CAAA;IACnE,kFAAuD,CAAA;IACvD,gFAAqD,CAAA;IAErD,0EAA+C,CAAA;IAE/C,kEAAuC,CAAA;IACvC,sEAA2C,CAAA;IAC3C,8DAAmC,CAAA;AACrC,CAAC,EAvCW,uBAAuB,KAAvB,uBAAuB,QAuClC"}
|