@finos/legend-graph 32.3.17 → 32.3.19
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/graph-manager/AbstractPureGraphManager.d.ts +3 -2
- package/lib/graph-manager/AbstractPureGraphManager.d.ts.map +1 -1
- package/lib/graph-manager/AbstractPureGraphManager.js.map +1 -1
- package/lib/graph-manager/action/dev-metadata/DeployProjectResponse.d.ts +54 -0
- package/lib/graph-manager/action/dev-metadata/DeployProjectResponse.d.ts.map +1 -0
- package/lib/graph-manager/action/dev-metadata/DeployProjectResponse.js +74 -0
- package/lib/graph-manager/action/dev-metadata/DeployProjectResponse.js.map +1 -0
- package/lib/graph-manager/action/dev-metadata/MetadataRequestOptions.d.ts +20 -0
- package/lib/graph-manager/action/dev-metadata/MetadataRequestOptions.d.ts.map +1 -0
- package/lib/graph-manager/action/dev-metadata/MetadataRequestOptions.js +20 -0
- package/lib/graph-manager/action/dev-metadata/MetadataRequestOptions.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.d.ts +3 -2
- package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.js +17 -4
- package/lib/graph-manager/protocol/pure/v1/V1_PureGraphManager.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.d.ts +2 -1
- package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.js +2 -2
- package/lib/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/V1_GraphManagerEngine.d.ts +2 -2
- package/lib/graph-manager/protocol/pure/v1/engine/V1_GraphManagerEngine.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/V1_RemoteEngine.d.ts +2 -2
- package/lib/graph-manager/protocol/pure/v1/engine/V1_RemoteEngine.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/V1_RemoteEngine.js +4 -4
- package/lib/graph-manager/protocol/pure/v1/engine/V1_RemoteEngine.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/dev-metadata/V1_DevMetadataPushRequest.d.ts +15 -1
- package/lib/graph-manager/protocol/pure/v1/engine/dev-metadata/V1_DevMetadataPushRequest.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/dev-metadata/V1_DevMetadataPushRequest.js +27 -5
- package/lib/graph-manager/protocol/pure/v1/engine/dev-metadata/V1_DevMetadataPushRequest.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.d.ts +3 -3
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.js +3 -3
- package/lib/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextCombination.d.ts +21 -0
- package/lib/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextCombination.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextCombination.js +24 -0
- package/lib/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextCombination.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_PureProtocolSerialization.d.ts +2 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_PureProtocolSerialization.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_PureProtocolSerialization.js +16 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_PureProtocolSerialization.js.map +1 -1
- package/lib/index.d.ts +6 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +6 -4
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/src/graph-manager/AbstractPureGraphManager.ts +7 -4
- package/src/graph-manager/action/dev-metadata/DeployProjectResponse.ts +96 -0
- package/src/graph-manager/action/dev-metadata/MetadataRequestOptions.ts +20 -0
- package/src/graph-manager/protocol/pure/v1/V1_PureGraphManager.ts +27 -7
- package/src/graph-manager/protocol/pure/v1/engine/V1_EngineServerClient.ts +5 -5
- package/src/graph-manager/protocol/pure/v1/engine/V1_GraphManagerEngine.ts +2 -4
- package/src/graph-manager/protocol/pure/v1/engine/V1_RemoteEngine.ts +4 -8
- package/src/graph-manager/protocol/pure/v1/engine/dev-metadata/V1_DevMetadataPushRequest.ts +36 -5
- package/src/graph-manager/protocol/pure/v1/lakehouse/entitlements/V1_CoreEntitlements.ts +4 -4
- package/src/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextCombination.ts +26 -0
- package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_PureProtocolSerialization.ts +27 -0
- package/src/index.ts +12 -1
- package/tsconfig.json +3 -1
- package/lib/graph-manager/action/dev-metadata/DevMetadataResult.d.ts +0 -36
- package/lib/graph-manager/action/dev-metadata/DevMetadataResult.d.ts.map +0 -1
- package/lib/graph-manager/action/dev-metadata/DevMetadataResult.js +0 -47
- package/lib/graph-manager/action/dev-metadata/DevMetadataResult.js.map +0 -1
- package/src/graph-manager/action/dev-metadata/DevMetadataResult.ts +0 -59
|
@@ -370,8 +370,13 @@ import {
|
|
|
370
370
|
type V1_RawLineageModel,
|
|
371
371
|
} from './model/lineage/V1_Lineage.js';
|
|
372
372
|
import { V1_IngestDefinition } from './model/packageableElements/ingest/V1_IngestDefinition.js';
|
|
373
|
-
import type {
|
|
374
|
-
import {
|
|
373
|
+
import type { DeployProjectResponse } from '../../../action/dev-metadata/DeployProjectResponse.js';
|
|
374
|
+
import {
|
|
375
|
+
V1_DevMetadataPushRequest,
|
|
376
|
+
V1_MetadataRequestOptions,
|
|
377
|
+
V1_MetadatProject,
|
|
378
|
+
} from './engine/dev-metadata/V1_DevMetadataPushRequest.js';
|
|
379
|
+
import type { MetadataRequestOptions } from '../../../action/dev-metadata/MetadataRequestOptions.js';
|
|
375
380
|
|
|
376
381
|
class V1_PureModelContextDataIndex {
|
|
377
382
|
elements: V1_PackageableElement[] = [];
|
|
@@ -4280,13 +4285,28 @@ export class V1_PureGraphManager extends AbstractPureGraphManager {
|
|
|
4280
4285
|
// --------------------------------------------- SDLC --------------------------------------------------
|
|
4281
4286
|
|
|
4282
4287
|
async pushToDevMetadata(
|
|
4283
|
-
|
|
4284
|
-
|
|
4288
|
+
groupId: string,
|
|
4289
|
+
artiactId: string,
|
|
4290
|
+
versionId: string,
|
|
4291
|
+
options: MetadataRequestOptions | undefined,
|
|
4285
4292
|
graph: PureModel,
|
|
4286
|
-
): Promise<
|
|
4293
|
+
): Promise<DeployProjectResponse> {
|
|
4287
4294
|
const request = new V1_DevMetadataPushRequest();
|
|
4288
|
-
|
|
4289
|
-
|
|
4295
|
+
const project = new V1_MetadatProject();
|
|
4296
|
+
project.groupId = groupId;
|
|
4297
|
+
project.artifactId = artiactId;
|
|
4298
|
+
project.versionId = versionId;
|
|
4299
|
+
request.project = project;
|
|
4300
|
+
if (options) {
|
|
4301
|
+
const requestOptions = new V1_MetadataRequestOptions();
|
|
4302
|
+
requestOptions.includeArtifacts = options.includeArtifacts;
|
|
4303
|
+
requestOptions.buildOverrides = options.buildOverrides;
|
|
4304
|
+
request.options = requestOptions;
|
|
4305
|
+
}
|
|
4306
|
+
request.model = graph.origin
|
|
4307
|
+
? this.buildPureModelSDLCPointer(graph.origin, undefined)
|
|
4308
|
+
: this.getFullGraphModelData(graph);
|
|
4309
|
+
return this.engine.pushToDevMetadata(request);
|
|
4290
4310
|
}
|
|
4291
4311
|
|
|
4292
4312
|
// --------------------------------------------- Change Detection ---------------------------------------------
|
|
@@ -94,6 +94,7 @@ import type { DeploymentResult } from '../../../../action/DeploymentResult.js';
|
|
|
94
94
|
import type { PersistentDataCube } from '../../../../action/query/PersistentDataCube.js';
|
|
95
95
|
import { type V1_LambdaTdsToRelationInput } from './pureProtocol/V1_LambdaTdsToRelationInput.js';
|
|
96
96
|
import type { V1_RawLineageModel } from '../model/lineage/V1_Lineage.js';
|
|
97
|
+
import type { V1_DevMetadataPushRequest } from './dev-metadata/V1_DevMetadataPushRequest.js';
|
|
97
98
|
|
|
98
99
|
enum CORE_ENGINE_ACTIVITY_TRACE {
|
|
99
100
|
GRAMMAR_TO_JSON = 'transform Pure code to protocol',
|
|
@@ -1224,18 +1225,17 @@ export class V1_EngineServerClient extends AbstractServerClient {
|
|
|
1224
1225
|
);
|
|
1225
1226
|
|
|
1226
1227
|
// ------------------------------------------- Dev Mode -------------------------------------------
|
|
1227
|
-
_devMetadata = (): string =>
|
|
1228
|
+
_devMetadata = (): string =>
|
|
1229
|
+
`${this.baseUrl}/lakehouse/metadata/deploy/project`;
|
|
1228
1230
|
|
|
1229
1231
|
pushToDevMetadata = (
|
|
1230
|
-
|
|
1231
|
-
projectName: string,
|
|
1232
|
-
request: PlainObject,
|
|
1232
|
+
request: PlainObject<V1_DevMetadataPushRequest>,
|
|
1233
1233
|
): Promise<PlainObject> =>
|
|
1234
1234
|
this.postWithTracing(
|
|
1235
1235
|
this.getTraceData(
|
|
1236
1236
|
CORE_ENGINE_ACTIVITY_TRACE.VALIDATE_SERVICE_ASSERTION_ID,
|
|
1237
1237
|
),
|
|
1238
|
-
`${this._devMetadata()}
|
|
1238
|
+
`${this._devMetadata()}`,
|
|
1239
1239
|
request,
|
|
1240
1240
|
);
|
|
1241
1241
|
}
|
|
@@ -100,7 +100,7 @@ import type {
|
|
|
100
100
|
V1_RawLineageModel,
|
|
101
101
|
} from '../model/lineage/V1_Lineage.js';
|
|
102
102
|
import type { V1_DevMetadataPushRequest } from './dev-metadata/V1_DevMetadataPushRequest.js';
|
|
103
|
-
import type {
|
|
103
|
+
import type { DeployProjectResponse } from '../../../../action/dev-metadata/DeployProjectResponse.js';
|
|
104
104
|
|
|
105
105
|
export interface V1_GraphManagerEngine {
|
|
106
106
|
config: TEMPORARY__AbstractEngineConfig;
|
|
@@ -421,8 +421,6 @@ export interface V1_GraphManagerEngine {
|
|
|
421
421
|
|
|
422
422
|
// ------------------------------------------- Dev Mode -------------------------------------------
|
|
423
423
|
pushToDevMetadata(
|
|
424
|
-
did: string,
|
|
425
|
-
projectName: string,
|
|
426
424
|
request: V1_DevMetadataPushRequest,
|
|
427
|
-
): Promise<
|
|
425
|
+
): Promise<DeployProjectResponse>;
|
|
428
426
|
}
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
V1_LineageInput,
|
|
174
174
|
} from '../model/lineage/V1_Lineage.js';
|
|
175
175
|
import { V1_DevMetadataPushRequest } from './dev-metadata/V1_DevMetadataPushRequest.js';
|
|
176
|
-
import {
|
|
176
|
+
import { DeployProjectResponse } from '../../../../action/dev-metadata/DeployProjectResponse.js';
|
|
177
177
|
|
|
178
178
|
class V1_RemoteEngineConfig extends TEMPORARY__AbstractEngineConfig {
|
|
179
179
|
private engine: V1_RemoteEngine;
|
|
@@ -1408,15 +1408,11 @@ export class V1_RemoteEngine implements V1_GraphManagerEngine {
|
|
|
1408
1408
|
// ------------------------------------------- Ddev Mode -------------------------------------------
|
|
1409
1409
|
|
|
1410
1410
|
async pushToDevMetadata(
|
|
1411
|
-
did: string,
|
|
1412
|
-
projectName: string,
|
|
1413
1411
|
request: V1_DevMetadataPushRequest,
|
|
1414
|
-
): Promise<
|
|
1412
|
+
): Promise<DeployProjectResponse> {
|
|
1415
1413
|
const result = (await this.engineServerClient.pushToDevMetadata(
|
|
1416
|
-
did,
|
|
1417
|
-
projectName,
|
|
1418
1414
|
V1_DevMetadataPushRequest.serialization.toJson(request),
|
|
1419
|
-
)) as unknown as PlainObject<
|
|
1420
|
-
return
|
|
1415
|
+
)) as unknown as PlainObject<DeployProjectResponse>;
|
|
1416
|
+
return DeployProjectResponse.serialization.fromJson(result);
|
|
1421
1417
|
}
|
|
1422
1418
|
}
|
|
@@ -14,16 +14,47 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { SerializationFactory } from '@finos/legend-shared';
|
|
18
|
-
import { createModelSchema, primitive } from 'serializr';
|
|
17
|
+
import { SerializationFactory, usingModelSchema } from '@finos/legend-shared';
|
|
18
|
+
import { createModelSchema, optional, primitive, raw } from 'serializr';
|
|
19
|
+
import type { V1_PureModelContext } from '../../model/context/V1_PureModelContext.js';
|
|
20
|
+
import { V1_pureModelContextPropSchema } from '../../transformation/pureProtocol/V1_PureProtocolSerialization.js';
|
|
21
|
+
|
|
22
|
+
export class V1_MetadatProject {
|
|
23
|
+
versionId: string | undefined;
|
|
24
|
+
groupId!: string;
|
|
25
|
+
artifactId!: string;
|
|
26
|
+
|
|
27
|
+
static readonly serialization = new SerializationFactory(
|
|
28
|
+
createModelSchema(V1_MetadatProject, {
|
|
29
|
+
groupId: primitive(),
|
|
30
|
+
artifactId: primitive(),
|
|
31
|
+
versionId: optional(primitive()),
|
|
32
|
+
}),
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class V1_MetadataRequestOptions {
|
|
37
|
+
includeArtifacts: boolean | undefined;
|
|
38
|
+
buildOverrides: Record<string, string> | undefined;
|
|
39
|
+
|
|
40
|
+
static readonly serialization = new SerializationFactory(
|
|
41
|
+
createModelSchema(V1_MetadataRequestOptions, {
|
|
42
|
+
includeArtifacts: optional(primitive()),
|
|
43
|
+
buildOverrides: optional(raw()),
|
|
44
|
+
}),
|
|
45
|
+
);
|
|
46
|
+
}
|
|
19
47
|
|
|
20
48
|
export class V1_DevMetadataPushRequest {
|
|
21
|
-
|
|
22
|
-
|
|
49
|
+
model!: V1_PureModelContext;
|
|
50
|
+
options: V1_MetadataRequestOptions | undefined;
|
|
51
|
+
project!: V1_MetadatProject;
|
|
23
52
|
|
|
24
53
|
static readonly serialization = new SerializationFactory(
|
|
25
54
|
createModelSchema(V1_DevMetadataPushRequest, {
|
|
26
|
-
|
|
55
|
+
model: V1_pureModelContextPropSchema,
|
|
56
|
+
options: usingModelSchema(V1_MetadataRequestOptions.serialization.schema),
|
|
57
|
+
project: usingModelSchema(V1_MetadatProject.serialization.schema),
|
|
27
58
|
}),
|
|
28
59
|
);
|
|
29
60
|
}
|
|
@@ -39,6 +39,10 @@ export class V1_AdhocTeam extends V1_OrganizationalScope {
|
|
|
39
39
|
users: V1_User[] = [];
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
export class V1_ProducerScope extends V1_OrganizationalScope {
|
|
43
|
+
did!: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
42
46
|
export class V1_UnknownOrganizationalScopeType extends V1_OrganizationalScope {
|
|
43
47
|
content!: PlainObject;
|
|
44
48
|
}
|
|
@@ -52,10 +56,6 @@ export class V1_Role {
|
|
|
52
56
|
name!: string;
|
|
53
57
|
}
|
|
54
58
|
|
|
55
|
-
export class V1_ProducerScope extends V1_OrganizationalScope {
|
|
56
|
-
did!: string;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
59
|
export class V1_RoleMembership {
|
|
60
60
|
user!: V1_User;
|
|
61
61
|
role!: V1_Role;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025-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_PureModelContext } from './V1_PureModelContext.js';
|
|
18
|
+
|
|
19
|
+
export class V1_PureModelContextCombination extends V1_PureModelContext {
|
|
20
|
+
contexts: V1_PureModelContext[];
|
|
21
|
+
|
|
22
|
+
constructor(contexts: V1_PureModelContext[]) {
|
|
23
|
+
super();
|
|
24
|
+
this.contexts = contexts;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -51,6 +51,7 @@ import type {
|
|
|
51
51
|
ClassifierPathMappingMap,
|
|
52
52
|
SubtypeInfo,
|
|
53
53
|
} from '../../../../../action/protocol/ProtocolInfo.js';
|
|
54
|
+
import { V1_PureModelContextCombination } from '../../model/context/V1_PureModelContextCombination.js';
|
|
54
55
|
|
|
55
56
|
enum V1_SDLCType {
|
|
56
57
|
ALLOY = 'alloy',
|
|
@@ -61,6 +62,7 @@ export enum V1_PureModelContextType {
|
|
|
61
62
|
POINTER = 'pointer',
|
|
62
63
|
COMPOSITE = 'composite',
|
|
63
64
|
TEXT = 'text',
|
|
65
|
+
COMBINATION = 'combination',
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
export const V1_entitiesToPureModelContextData = async (
|
|
@@ -173,6 +175,24 @@ const V1_pureModelContextCompositeModelSchema = createModelSchema(
|
|
|
173
175
|
},
|
|
174
176
|
);
|
|
175
177
|
|
|
178
|
+
const V1_pureModelContextCombinationModelSchema = createModelSchema(
|
|
179
|
+
V1_PureModelContextCombination,
|
|
180
|
+
{
|
|
181
|
+
_type: usingConstantValueSchema(V1_PureModelContextType.COMBINATION),
|
|
182
|
+
serializer: usingModelSchema(V1_Protocol.serialization.schema),
|
|
183
|
+
contexts: list(
|
|
184
|
+
custom(
|
|
185
|
+
(element: V1_PureModelContext) =>
|
|
186
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
187
|
+
V1_serializePureModelContext(element),
|
|
188
|
+
(element: PlainObject<V1_PureModelContext>) =>
|
|
189
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
190
|
+
V1_deserializePureModelContext(element),
|
|
191
|
+
),
|
|
192
|
+
),
|
|
193
|
+
},
|
|
194
|
+
);
|
|
195
|
+
|
|
176
196
|
export const V1_setupPureModelContextDataSerialization = (
|
|
177
197
|
plugins: PureProtocolProcessorPlugin[],
|
|
178
198
|
subtypeInfo?: SubtypeInfo | undefined,
|
|
@@ -227,6 +247,11 @@ export const V1_serializePureModelContext = (
|
|
|
227
247
|
return serialize(V1_pureModelContextCompositeModelSchema, pureModelContext);
|
|
228
248
|
} else if (pureModelContext instanceof V1_PureModelContextText) {
|
|
229
249
|
return serialize(V1_pureModelContextTextSchema, pureModelContext);
|
|
250
|
+
} else if (pureModelContext instanceof V1_PureModelContextCombination) {
|
|
251
|
+
return serialize(
|
|
252
|
+
V1_pureModelContextCombinationModelSchema,
|
|
253
|
+
pureModelContext,
|
|
254
|
+
);
|
|
230
255
|
}
|
|
231
256
|
throw new UnsupportedOperationError(
|
|
232
257
|
`Can't serialize Pure model context`,
|
|
@@ -246,6 +271,8 @@ export const V1_deserializePureModelContext = (
|
|
|
246
271
|
return deserialize(V1_pureModelContextCompositeModelSchema, json);
|
|
247
272
|
case V1_PureModelContextType.TEXT:
|
|
248
273
|
return deserialize(V1_pureModelContextTextSchema, json);
|
|
274
|
+
case V1_PureModelContextType.COMBINATION:
|
|
275
|
+
return deserialize(V1_pureModelContextCombinationModelSchema, json);
|
|
249
276
|
default:
|
|
250
277
|
throw new UnsupportedOperationError(
|
|
251
278
|
`Can't deserialize Pure model context`,
|
package/src/index.ts
CHANGED
|
@@ -193,6 +193,7 @@ export {
|
|
|
193
193
|
V1_DataProductRegion,
|
|
194
194
|
V1_DeliveryFrequency,
|
|
195
195
|
V1_DataProductDiagram,
|
|
196
|
+
V1_ModelAccessPointGroup,
|
|
196
197
|
V1_DataProductEmbeddedImageIcon,
|
|
197
198
|
V1_DataProductIcon,
|
|
198
199
|
V1_DataProductLibraryIcon,
|
|
@@ -372,6 +373,7 @@ export {
|
|
|
372
373
|
V1_entitlementsDataProductDetailsResponseToDataProductDetails,
|
|
373
374
|
V1_EntitlementsDataProductModelSchema,
|
|
374
375
|
V1_EntitlementsLakehouseEnvironmentModelSchema,
|
|
376
|
+
V1_liteDataContractModelSchema,
|
|
375
377
|
V1_liteDataContractsResponseModelSchemaToContracts,
|
|
376
378
|
V1_liteDataContractWithUserStatusModelSchema,
|
|
377
379
|
V1_OrganizationalScopeType,
|
|
@@ -551,7 +553,14 @@ export * from './graph-manager/action/query/QuerySearchSpecification.js';
|
|
|
551
553
|
export * from './graph-manager/action/EngineError.js';
|
|
552
554
|
export * from './graph-manager/action/compilation/CompilationWarning.js';
|
|
553
555
|
export * from './graph-manager/action/compilation/CompilationResult.js';
|
|
554
|
-
export {
|
|
556
|
+
export {
|
|
557
|
+
LogType,
|
|
558
|
+
DeployProjectResponse,
|
|
559
|
+
BuildLog,
|
|
560
|
+
BuildPhaseActionState,
|
|
561
|
+
BuildPhaseStatus,
|
|
562
|
+
} from './graph-manager/action/dev-metadata/DeployProjectResponse.js';
|
|
563
|
+
export { MetadataRequestOptions } from './graph-manager/action/dev-metadata/MetadataRequestOptions.js';
|
|
555
564
|
export {
|
|
556
565
|
CodeCompletionResult,
|
|
557
566
|
Completion,
|
|
@@ -600,6 +609,7 @@ export { V1_PureModelContextData } from './graph-manager/protocol/pure/v1/model/
|
|
|
600
609
|
export { V1_PureModelContext } from './graph-manager/protocol/pure/v1/model/context/V1_PureModelContext.js';
|
|
601
610
|
export { V1_PureModelContextText } from './graph-manager/protocol/pure/v1/model/context/V1_PureModelContextText.js';
|
|
602
611
|
export { V1_PureModelContextComposite } from './graph-manager/protocol/pure/v1/model/context/V1_PureModelContextComposite.js';
|
|
612
|
+
export { V1_PureModelContextCombination } from './graph-manager/protocol/pure/v1/model/context/V1_PureModelContextCombination.js';
|
|
603
613
|
export {
|
|
604
614
|
V1_SDLC,
|
|
605
615
|
V1_LegendSDLC,
|
|
@@ -791,6 +801,7 @@ export {
|
|
|
791
801
|
export {
|
|
792
802
|
V1_EmbeddedData,
|
|
793
803
|
V1_RelationElement,
|
|
804
|
+
V1_RelationRowTestData,
|
|
794
805
|
V1_DataElementReference,
|
|
795
806
|
V1_ExternalFormatData,
|
|
796
807
|
type V1_EmbeddedDataVisitor,
|
package/tsconfig.json
CHANGED
|
@@ -400,7 +400,8 @@
|
|
|
400
400
|
"./src/graph-manager/action/compilation/CompilationResult.ts",
|
|
401
401
|
"./src/graph-manager/action/compilation/CompilationWarning.ts",
|
|
402
402
|
"./src/graph-manager/action/compilation/Completion.ts",
|
|
403
|
-
"./src/graph-manager/action/dev-metadata/
|
|
403
|
+
"./src/graph-manager/action/dev-metadata/DeployProjectResponse.ts",
|
|
404
|
+
"./src/graph-manager/action/dev-metadata/MetadataRequestOptions.ts",
|
|
404
405
|
"./src/graph-manager/action/execution/ExecutionResult.ts",
|
|
405
406
|
"./src/graph-manager/action/execution/ExecutionResultHelper.ts",
|
|
406
407
|
"./src/graph-manager/action/execution/INTERNAL__UnknownExecutionResult.ts",
|
|
@@ -525,6 +526,7 @@
|
|
|
525
526
|
"./src/graph-manager/protocol/pure/v1/model/V1_Protocol.ts",
|
|
526
527
|
"./src/graph-manager/protocol/pure/v1/model/V1_SourceInformation.ts",
|
|
527
528
|
"./src/graph-manager/protocol/pure/v1/model/context/V1_PureModelContext.ts",
|
|
529
|
+
"./src/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextCombination.ts",
|
|
528
530
|
"./src/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextComposite.ts",
|
|
529
531
|
"./src/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextData.ts",
|
|
530
532
|
"./src/graph-manager/protocol/pure/v1/model/context/V1_PureModelContextPointer.ts",
|
|
@@ -1,36 +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
|
-
import { SerializationFactory } from '@finos/legend-shared';
|
|
17
|
-
export declare class DevMetadataGroupId {
|
|
18
|
-
did: string | undefined;
|
|
19
|
-
static readonly serialization: SerializationFactory<DevMetadataGroupId>;
|
|
20
|
-
}
|
|
21
|
-
export declare class ProjectDetails {
|
|
22
|
-
groupId: DevMetadataGroupId | undefined;
|
|
23
|
-
artifactId: string;
|
|
24
|
-
version: string;
|
|
25
|
-
static readonly serialization: SerializationFactory<ProjectDetails>;
|
|
26
|
-
}
|
|
27
|
-
export declare enum DevMetadataDeploymentStatus {
|
|
28
|
-
SUCCESS = "SUCCESS",
|
|
29
|
-
FAILURE = "FAILURE"
|
|
30
|
-
}
|
|
31
|
-
export declare class DevMetadataResult {
|
|
32
|
-
projectDetails: ProjectDetails;
|
|
33
|
-
deploymentStatus: string;
|
|
34
|
-
static readonly serialization: SerializationFactory<DevMetadataResult>;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=DevMetadataResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DevMetadataResult.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/action/dev-metadata/DevMetadataResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAoB,MAAM,sBAAsB,CAAC;AAG9E,qBAAa,kBAAkB;IAC7B,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IAExB,MAAM,CAAC,QAAQ,CAAC,aAAa,2CAI3B;CACH;AAED,qBAAa,cAAc;IACzB,OAAO,EAAG,kBAAkB,GAAG,SAAS,CAAC;IACzC,UAAU,EAAG,MAAM,CAAC;IACpB,OAAO,EAAG,MAAM,CAAC;IAEjB,MAAM,CAAC,QAAQ,CAAC,aAAa,uCAM3B;CACH;AAED,oBAAY,2BAA2B;IACrC,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,qBAAa,iBAAiB;IAC5B,cAAc,EAAG,cAAc,CAAC;IAChC,gBAAgB,EAAG,MAAM,CAAC;IAE1B,MAAM,CAAC,QAAQ,CAAC,aAAa,0CAK3B;CACH"}
|
|
@@ -1,47 +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
|
-
import { SerializationFactory, usingModelSchema } from '@finos/legend-shared';
|
|
17
|
-
import { createModelSchema, optional, primitive } from 'serializr';
|
|
18
|
-
export class DevMetadataGroupId {
|
|
19
|
-
did;
|
|
20
|
-
static serialization = new SerializationFactory(createModelSchema(DevMetadataGroupId, {
|
|
21
|
-
did: optional(primitive()),
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
export class ProjectDetails {
|
|
25
|
-
groupId;
|
|
26
|
-
artifactId;
|
|
27
|
-
version;
|
|
28
|
-
static serialization = new SerializationFactory(createModelSchema(ProjectDetails, {
|
|
29
|
-
groupId: usingModelSchema(DevMetadataGroupId.serialization.schema),
|
|
30
|
-
artifactId: primitive(),
|
|
31
|
-
version: primitive(),
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
export var DevMetadataDeploymentStatus;
|
|
35
|
-
(function (DevMetadataDeploymentStatus) {
|
|
36
|
-
DevMetadataDeploymentStatus["SUCCESS"] = "SUCCESS";
|
|
37
|
-
DevMetadataDeploymentStatus["FAILURE"] = "FAILURE";
|
|
38
|
-
})(DevMetadataDeploymentStatus || (DevMetadataDeploymentStatus = {}));
|
|
39
|
-
export class DevMetadataResult {
|
|
40
|
-
projectDetails;
|
|
41
|
-
deploymentStatus;
|
|
42
|
-
static serialization = new SerializationFactory(createModelSchema(DevMetadataResult, {
|
|
43
|
-
projectDetails: usingModelSchema(ProjectDetails.serialization.schema),
|
|
44
|
-
deploymentStatus: primitive(),
|
|
45
|
-
}));
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=DevMetadataResult.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DevMetadataResult.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/dev-metadata/DevMetadataResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,OAAO,kBAAkB;IAC7B,GAAG,CAAqB;IAExB,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,kBAAkB,EAAE;QACpC,GAAG,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;KAC3B,CAAC,CACH,CAAC;;AAGJ,MAAM,OAAO,cAAc;IACzB,OAAO,CAAkC;IACzC,UAAU,CAAU;IACpB,OAAO,CAAU;IAEjB,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,cAAc,EAAE;QAChC,OAAO,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,aAAa,CAAC,MAAM,CAAC;QAClE,UAAU,EAAE,SAAS,EAAE;QACvB,OAAO,EAAE,SAAS,EAAE;KACrB,CAAC,CACH,CAAC;;AAGJ,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,kDAAmB,CAAA;IACnB,kDAAmB,CAAA;AACrB,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;AAED,MAAM,OAAO,iBAAiB;IAC5B,cAAc,CAAkB;IAChC,gBAAgB,CAAU;IAE1B,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,iBAAiB,EAAE;QACnC,cAAc,EAAE,gBAAgB,CAAC,cAAc,CAAC,aAAa,CAAC,MAAM,CAAC;QACrE,gBAAgB,EAAE,SAAS,EAAE;KAC9B,CAAC,CACH,CAAC"}
|
|
@@ -1,59 +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
|
-
|
|
17
|
-
import { SerializationFactory, usingModelSchema } from '@finos/legend-shared';
|
|
18
|
-
import { createModelSchema, optional, primitive } from 'serializr';
|
|
19
|
-
|
|
20
|
-
export class DevMetadataGroupId {
|
|
21
|
-
did: string | undefined;
|
|
22
|
-
|
|
23
|
-
static readonly serialization = new SerializationFactory(
|
|
24
|
-
createModelSchema(DevMetadataGroupId, {
|
|
25
|
-
did: optional(primitive()),
|
|
26
|
-
}),
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export class ProjectDetails {
|
|
31
|
-
groupId!: DevMetadataGroupId | undefined;
|
|
32
|
-
artifactId!: string;
|
|
33
|
-
version!: string;
|
|
34
|
-
|
|
35
|
-
static readonly serialization = new SerializationFactory(
|
|
36
|
-
createModelSchema(ProjectDetails, {
|
|
37
|
-
groupId: usingModelSchema(DevMetadataGroupId.serialization.schema),
|
|
38
|
-
artifactId: primitive(),
|
|
39
|
-
version: primitive(),
|
|
40
|
-
}),
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export enum DevMetadataDeploymentStatus {
|
|
45
|
-
SUCCESS = 'SUCCESS',
|
|
46
|
-
FAILURE = 'FAILURE',
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export class DevMetadataResult {
|
|
50
|
-
projectDetails!: ProjectDetails;
|
|
51
|
-
deploymentStatus!: string;
|
|
52
|
-
|
|
53
|
-
static readonly serialization = new SerializationFactory(
|
|
54
|
-
createModelSchema(DevMetadataResult, {
|
|
55
|
-
projectDetails: usingModelSchema(ProjectDetails.serialization.schema),
|
|
56
|
-
deploymentStatus: primitive(),
|
|
57
|
-
}),
|
|
58
|
-
);
|
|
59
|
-
}
|