@finos/legend-extension-dsl-data-space 1.0.17 → 1.0.20
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/components/DataSpaceViewer.js +35 -35
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js +2 -2
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +11 -11
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js +2 -2
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/{DataSpace.d.ts → DSLDataSpace_DataSpace.d.ts} +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/{DataSpace.js → DSLDataSpace_DataSpace.js} +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +2 -2
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +14 -14
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/{V1_DataSpace.d.ts → V1_DSLDataSpace_DataSpace.d.ts} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/{V1_DataSpace.js → V1_DSLDataSpace_DataSpace.js} +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -1
- package/lib/package.json +88 -0
- package/package.json +20 -20
- package/src/components/DataSpaceViewer.tsx +1 -1
- package/src/components/query/DataSpaceQuerySetup.tsx +5 -5
- package/src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx +1 -1
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
- package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +1 -1
- package/src/models/metamodels/pure/model/packageableElements/dataSpace/{DataSpace.ts → DSLDataSpace_DataSpace.ts} +0 -0
- package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +15 -15
- package/src/models/protocols/pure/v1/model/packageableElements/dataSpace/{V1_DataSpace.ts → V1_DSLDataSpace_DataSpace.ts} +0 -0
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +1 -1
- package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -1
- package/tsconfig.json +2 -2
- package/CHANGELOG.md +0 -87
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DataSpace.d.ts.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DataSpace.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DataSpace.js.map +0 -1
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../../../package.json';
|
|
17
17
|
import V1_SYSTEM_MODELS from './v1/V1_DSLDataSpace_SystemModels.json';
|
|
18
|
-
import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, } from './v1/model/packageableElements/dataSpace/
|
|
18
|
+
import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, } from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
|
|
19
19
|
import { uuid, guaranteeNonEmptyString, guaranteeNonNullable, UnsupportedOperationError, isNonNullable, assertType, } from '@finos/legend-shared';
|
|
20
20
|
import { deserialize, serialize } from 'serializr';
|
|
21
21
|
import { V1_dataSpaceModelSchema, V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper';
|
|
22
22
|
import { getDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper';
|
|
23
|
-
import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '../../metamodels/pure/model/packageableElements/dataSpace/
|
|
23
|
+
import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
24
24
|
import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, V1_PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_StereotypePtr, } from '@finos/legend-graph';
|
|
25
25
|
import { Diagram, V1_DSLDiagram_PackageableElementPointerType, } from '@finos/legend-extension-dsl-diagram';
|
|
26
26
|
export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::dataSpace::DataSpace';
|
|
@@ -54,14 +54,14 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
54
54
|
element.artifactId = guaranteeNonEmptyString(elementProtocol.artifactId, `Data space 'artifactId' field is missing or empty`);
|
|
55
55
|
element.versionId = guaranteeNonEmptyString(elementProtocol.versionId, `Data space 'versionId' field is missing or empty`);
|
|
56
56
|
element.executionContexts = guaranteeNonNullable(elementProtocol.executionContexts, `Data space 'executionContexts' field is missing`).map((contextProtocol) => {
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return
|
|
57
|
+
const execContext = new DataSpaceExecutionContext();
|
|
58
|
+
execContext.name = guaranteeNonEmptyString(contextProtocol.name, `Data space execution context 'name' field is missing or empty`);
|
|
59
|
+
execContext.description = contextProtocol.description;
|
|
60
|
+
execContext.mapping = guaranteeNonNullable(contextProtocol.mapping, `Data space execution context 'mapping' field is missing or empty`).path;
|
|
61
|
+
execContext.defaultRuntime = guaranteeNonNullable(contextProtocol.defaultRuntime, `Data space execution context 'defaultRuntime' field is missing or empty`).path;
|
|
62
|
+
return execContext;
|
|
63
63
|
});
|
|
64
|
-
element.defaultExecutionContext = guaranteeNonNullable(element.executionContexts.find((
|
|
64
|
+
element.defaultExecutionContext = guaranteeNonNullable(element.executionContexts.find((execContext) => execContext.name ===
|
|
65
65
|
guaranteeNonEmptyString(elementProtocol.defaultExecutionContext, `Data space 'defaultExecutionContext' field is missing or empty`)), `Can't find default execution context '${elementProtocol.defaultExecutionContext}'`);
|
|
66
66
|
element.description = elementProtocol.description;
|
|
67
67
|
if (elementProtocol.featuredDiagrams) {
|
|
@@ -125,12 +125,12 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
125
125
|
protocol.groupId = metamodel.groupId;
|
|
126
126
|
protocol.artifactId = metamodel.artifactId;
|
|
127
127
|
protocol.versionId = metamodel.versionId;
|
|
128
|
-
protocol.executionContexts = metamodel.executionContexts.map((
|
|
128
|
+
protocol.executionContexts = metamodel.executionContexts.map((execContext) => {
|
|
129
129
|
const contextProtocol = new V1_DataSpaceExecutionContext();
|
|
130
|
-
contextProtocol.name =
|
|
131
|
-
contextProtocol.description =
|
|
132
|
-
contextProtocol.mapping = new V1_PackageableElementPointer(V1_PackageableElementPointerType.MAPPING,
|
|
133
|
-
contextProtocol.defaultRuntime = new V1_PackageableElementPointer(V1_PackageableElementPointerType.RUNTIME,
|
|
130
|
+
contextProtocol.name = execContext.name;
|
|
131
|
+
contextProtocol.description = execContext.description;
|
|
132
|
+
contextProtocol.mapping = new V1_PackageableElementPointer(V1_PackageableElementPointerType.MAPPING, execContext.mapping);
|
|
133
|
+
contextProtocol.defaultRuntime = new V1_PackageableElementPointer(V1_PackageableElementPointerType.RUNTIME, execContext.defaultRuntime);
|
|
134
134
|
return contextProtocol;
|
|
135
135
|
});
|
|
136
136
|
protocol.defaultExecutionContext =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAEL,IAAI,EACJ,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,mCAAmC,GACpC,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AACrF,OAAO,EAEL,SAAS,EACT,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EAeL,oBAAoB,EACpB,mCAAmC,EACnC,4BAA4B,EAC5B,gCAAgC,EAChC,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,OAAO,EACP,2CAA2C,GAC5C,MAAM,qCAAqC,CAAC;AAE7C,MAAM,CAAC,MAAM,kCAAkC,GAC7C,6CAA6C,CAAC;AAEhD,MAAM,OAAO,wCA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AC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
|
|
@@ -43,4 +43,4 @@ export declare class V1_DataSpace extends V1_PackageableElement implements Hasha
|
|
|
43
43
|
get hashCode(): string;
|
|
44
44
|
accept_PackageableElementVisitor<T>(visitor: V1_PackageableElementVisitor<T>): T;
|
|
45
45
|
}
|
|
46
|
-
//# sourceMappingURL=
|
|
46
|
+
//# sourceMappingURL=V1_DSLDataSpace_DataSpace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAE7B,8BAAsB,uBAAwB,YAAW,QAAQ;IAC/D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,wBACX,SAAQ,uBACR,YAAW,QAAQ;IAEnB,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF;AAED,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,4BAA4B,CAAC;IACvC,cAAc,EAAG,4BAA4B,CAAC;IAE9C,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,YAAa,SAAQ,qBAAsB,YAAW,QAAQ;IACzE,WAAW,EAAE,gBAAgB,EAAE,CAAM;IACrC,YAAY,EAAE,cAAc,EAAE,CAAM;IACpC,OAAO,EAAG,MAAM,CAAC;IACjB,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,EAAG,MAAM,CAAC;IACnB,iBAAiB,EAAG,4BAA4B,EAAE,CAAC;IACnD,uBAAuB,EAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,GAAG,SAAS,CAAC;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,IAAa,QAAQ,IAAI,MAAM,CAc9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EACL,qBAAqB,GAKtB,MAAM,qBAAqB,CAAC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AAC,IAAI,CAAC,CAAC;YACvE,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/
|
|
16
|
+
import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
17
17
|
import type { PackageableElementImplicitReference, V1_GraphBuilderContext } from '@finos/legend-graph';
|
|
18
18
|
export declare const V1_resolveDataSpace: (path: string, context: V1_GraphBuilderContext) => PackageableElementImplicitReference<DataSpace>;
|
|
19
19
|
//# sourceMappingURL=V1_DSLDataSpace_GraphBuilderHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLDataSpace_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2FAA2F,CAAC;AAC3H,OAAO,KAAK,EACV,mCAAmC,EACnC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,mBAAmB,SACxB,MAAM,WACH,sBAAsB,KAC9B,oCAAoC,SAAS,CAG7C,CAAC"}
|
package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { V1_DataSpace } from '../../model/packageableElements/dataSpace/
|
|
16
|
+
import { V1_DataSpace } from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
|
|
17
17
|
export declare const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = "dataSpace";
|
|
18
18
|
export declare const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = "email";
|
|
19
19
|
export declare const V1_dataSpaceModelSchema: import("serializr").ModelSchema<V1_DataSpace>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2BH,OAAO,EAEL,YAAY,EAGb,MAAM,
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2BH,OAAO,EAEL,YAAY,EAGb,MAAM,qEAAqE,CAAC;AAE7E,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAC/D,eAAO,MAAM,gCAAgC,UAAU,CAAC;AAgDxD,eAAO,MAAM,uBAAuB,+CA0DlC,CAAC"}
|
package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { createModelSchema, custom, deserialize, list, object, optional, primitive, serialize, SKIP, } from 'serializr';
|
|
17
17
|
import { V1_stereotypePtrSchema, V1_taggedValueSchema, V1_packageableElementPointerDeserializerSchema, } from '@finos/legend-graph';
|
|
18
18
|
import { deserializeArray, serializeArray, UnsupportedOperationError, usingConstantValueSchema, usingModelSchema, } from '@finos/legend-shared';
|
|
19
|
-
import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, } from '../../model/packageableElements/dataSpace/
|
|
19
|
+
import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, } from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
|
|
20
20
|
export const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = 'dataSpace';
|
|
21
21
|
export const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = 'email';
|
|
22
22
|
const V1_dataSpaceExecutionContextModelSchema = createModelSchema(V1_DataSpaceExecutionContext, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AACnB,OAAO,EAEL,sBAAsB,EACtB,oBAAoB,EACpB,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AACnB,OAAO,EAEL,sBAAsB,EACtB,oBAAoB,EACpB,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,qEAAqE,CAAC;AAE7E,MAAM,CAAC,MAAM,mCAAmC,GAAG,WAAW,CAAC;AAC/D,MAAM,CAAC,MAAM,gCAAgC,GAAG,OAAO,CAAC;AAExD,MAAM,uCAAuC,GAAG,iBAAiB,CAC/D,4BAA4B,EAC5B;IACE,cAAc,EAAE,gBAAgB,CAC9B,8CAA8C,CAC/C;IACD,WAAW,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;IAClC,OAAO,EAAE,gBAAgB,CAAC,8CAA8C,CAAC;IACzE,IAAI,EAAE,SAAS,EAAE;CAClB,CACF,CAAC;AAEF,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,wBAAwB,EAAE;IAC3E,KAAK,EAAE,wBAAwB,CAAC,gCAAgC,CAAC;IACjE,OAAO,EAAE,SAAS,EAAE;CACrB,CAAC,CAAC;AAEH,MAAM,uBAAuB,GAAG,CAC9B,QAA6C,EACO,EAAE;IACtD,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO,IAAI,CAAC;KACb;IACD,IAAI,QAAQ,YA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,CACjB,CAAC,MAAM,EAAE,EAAE,CACT,cAAc,CACZ,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,sBAAsB,EAAE,KAAK,CAAC,EACnD,IAAI,CACL,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CACd,MAAM,EACN,CAAC,CAAmB,EAAE,EAAE,CAAC,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,EAC/D,KAAK,CACN,CACJ;IACD,WAAW,EAAE,MAAM,CACjB,CAAC,GAAG,EAAE,EAAE,CAAC,uBAAuB,CAAC,GAAG,CAAC,EACrC,CAAC,GAAG,EAAE,EAAE,CAAC,yBAAyB,CAAC,GAAG,CAAC,CACxC;IACD,YAAY,EAAE,MAAM,CAClB,CAAC,MAAM,EAAE,EAAE,CACT,cAAc,CACZ,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,oBAAoB,EAAE,KAAK,CAAC,EACjD,IAAI,CACL,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CACd,MAAM,EACN,CAAC,CAAmB,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAC7D,KAAK,CACN,CACJ;IACD,SAAS,EAAE,SAAS,EAAE;CACvB,CAAC,CAAC"}
|
package/lib/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
+
"version": "1.0.20",
|
|
4
|
+
"description": "Legend extension for Data Space DSL",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"legend",
|
|
7
|
+
"legend-extension",
|
|
8
|
+
"dsl",
|
|
9
|
+
"dsl-data-space"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/finos/legend-studio/tree/master/packages/legend-extension-dsl-data-space",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/finos/legend-studio/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/finos/legend-studio.git",
|
|
18
|
+
"directory": "packages/legend-extension-dsl-data-space"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"type": "module",
|
|
23
|
+
"main": "lib/index.js",
|
|
24
|
+
"module": "lib/index.js",
|
|
25
|
+
"types": "lib/index.d.ts",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn clean && yarn build:sass && yarn build:ts",
|
|
28
|
+
"build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
|
|
29
|
+
"build:ts": "tsc --project ./tsconfig.build.json",
|
|
30
|
+
"clean": "npm-run-all clean:cache clean:lib",
|
|
31
|
+
"clean:cache": "rimraf \"build\"",
|
|
32
|
+
"clean:lib": "rimraf \"lib\"",
|
|
33
|
+
"dev": "npm-run-all --parallel dev:sass dev:ts",
|
|
34
|
+
"dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
|
|
35
|
+
"dev:ts": "tsc --watch --preserveWatchOutput",
|
|
36
|
+
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
|
|
37
|
+
"publish:prepare": "node ../../scripts/release/preparePublishContent.js",
|
|
38
|
+
"publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
|
|
39
|
+
"test": "jest",
|
|
40
|
+
"test:watch": "jest --watch"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@finos/legend-application": "workspace:*",
|
|
44
|
+
"@finos/legend-art": "workspace:*",
|
|
45
|
+
"@finos/legend-extension-dsl-diagram": "workspace:*",
|
|
46
|
+
"@finos/legend-graph": "workspace:*",
|
|
47
|
+
"@finos/legend-model-storage": "workspace:*",
|
|
48
|
+
"@finos/legend-query": "workspace:*",
|
|
49
|
+
"@finos/legend-server-depot": "workspace:*",
|
|
50
|
+
"@finos/legend-shared": "workspace:*",
|
|
51
|
+
"@finos/legend-studio": "workspace:*",
|
|
52
|
+
"@types/react": "17.0.41",
|
|
53
|
+
"@types/react-router-dom": "5.3.2",
|
|
54
|
+
"mobx": "6.5.0",
|
|
55
|
+
"mobx-react-lite": "3.3.0",
|
|
56
|
+
"monaco-editor": "0.33.0",
|
|
57
|
+
"react": "17.0.2",
|
|
58
|
+
"react-dom": "17.0.2",
|
|
59
|
+
"react-resize-detector": "7.0.0",
|
|
60
|
+
"react-router": "5.2.1",
|
|
61
|
+
"react-router-dom": "5.3.0",
|
|
62
|
+
"serializr": "2.0.5"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@finos/legend-dev-utils": "workspace:*",
|
|
66
|
+
"cross-env": "7.0.3",
|
|
67
|
+
"eslint": "8.11.0",
|
|
68
|
+
"jest": "27.5.1",
|
|
69
|
+
"npm-run-all": "4.1.5",
|
|
70
|
+
"rimraf": "3.0.2",
|
|
71
|
+
"sass": "1.49.9",
|
|
72
|
+
"typescript": "4.6.2"
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"react": "^17.0.0"
|
|
76
|
+
},
|
|
77
|
+
"publishConfig": {
|
|
78
|
+
"directory": "build/publishContent"
|
|
79
|
+
},
|
|
80
|
+
"extensions": {
|
|
81
|
+
"graphPreset": "@finos/legend-graph-preset-dsl-data-space",
|
|
82
|
+
"pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-protocol-processor",
|
|
83
|
+
"pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph-manager",
|
|
84
|
+
"pureGraphPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph",
|
|
85
|
+
"studioPlugin": "@finos/legend-studio-plugin-dsl-data-space",
|
|
86
|
+
"queryPlugin": "@finos/legend-query-plugin-dsl-data-space"
|
|
87
|
+
}
|
|
88
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"module": "lib/index.js",
|
|
25
25
|
"types": "lib/index.d.ts",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "yarn clean && yarn build:sass && yarn build:
|
|
27
|
+
"build": "yarn clean && yarn build:sass && yarn build:ts",
|
|
28
28
|
"build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
|
|
29
|
-
"build:
|
|
29
|
+
"build:ts": "tsc --project ./tsconfig.build.json",
|
|
30
30
|
"clean": "npm-run-all clean:cache clean:lib",
|
|
31
31
|
"clean:cache": "rimraf \"build\"",
|
|
32
32
|
"clean:lib": "rimraf \"lib\"",
|
|
33
|
-
"dev": "npm-run-all --parallel dev:sass dev:
|
|
33
|
+
"dev": "npm-run-all --parallel dev:sass dev:ts",
|
|
34
34
|
"dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
|
|
35
|
-
"dev:
|
|
35
|
+
"dev:ts": "tsc --watch --preserveWatchOutput",
|
|
36
36
|
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
|
|
37
37
|
"publish:prepare": "node ../../scripts/release/preparePublishContent.js",
|
|
38
38
|
"publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"test:watch": "jest --watch"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@finos/legend-application": "1.
|
|
44
|
-
"@finos/legend-art": "0.3.
|
|
45
|
-
"@finos/legend-extension-dsl-diagram": "1.0.
|
|
46
|
-
"@finos/legend-graph": "1.
|
|
47
|
-
"@finos/legend-model-storage": "0.0.
|
|
48
|
-
"@finos/legend-query": "
|
|
49
|
-
"@finos/legend-server-depot": "0.0.
|
|
50
|
-
"@finos/legend-shared": "1.2.
|
|
51
|
-
"@finos/legend-studio": "
|
|
52
|
-
"@types/react": "17.0.
|
|
43
|
+
"@finos/legend-application": "1.2.2",
|
|
44
|
+
"@finos/legend-art": "0.3.9",
|
|
45
|
+
"@finos/legend-extension-dsl-diagram": "1.0.20",
|
|
46
|
+
"@finos/legend-graph": "1.3.0",
|
|
47
|
+
"@finos/legend-model-storage": "0.0.22",
|
|
48
|
+
"@finos/legend-query": "1.1.0",
|
|
49
|
+
"@finos/legend-server-depot": "0.0.25",
|
|
50
|
+
"@finos/legend-shared": "1.2.4",
|
|
51
|
+
"@finos/legend-studio": "3.1.0",
|
|
52
|
+
"@types/react": "17.0.41",
|
|
53
53
|
"@types/react-router-dom": "5.3.2",
|
|
54
|
-
"mobx": "6.
|
|
54
|
+
"mobx": "6.5.0",
|
|
55
55
|
"mobx-react-lite": "3.3.0",
|
|
56
|
-
"monaco-editor": "0.
|
|
56
|
+
"monaco-editor": "0.33.0",
|
|
57
57
|
"react": "17.0.2",
|
|
58
58
|
"react-dom": "17.0.2",
|
|
59
59
|
"react-resize-detector": "7.0.0",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"serializr": "2.0.5"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@finos/legend-dev-utils": "0.3.
|
|
65
|
+
"@finos/legend-dev-utils": "0.3.13",
|
|
66
66
|
"cross-env": "7.0.3",
|
|
67
|
-
"eslint": "8.
|
|
67
|
+
"eslint": "8.11.0",
|
|
68
68
|
"jest": "27.5.1",
|
|
69
69
|
"npm-run-all": "4.1.5",
|
|
70
70
|
"rimraf": "3.0.2",
|
|
71
71
|
"sass": "1.49.9",
|
|
72
|
-
"typescript": "4.
|
|
72
|
+
"typescript": "4.6.2"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"react": "^17.0.0"
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
DataSpaceSupportEmail,
|
|
45
45
|
type DataSpaceSupportInfo,
|
|
46
|
-
} from '../models/metamodels/pure/model/packageableElements/dataSpace/
|
|
46
|
+
} from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
47
47
|
import type { ResolvedDataSpaceExecutionContext } from '../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
48
48
|
import type { PackageableRuntime } from '@finos/legend-graph';
|
|
49
49
|
import {
|
|
@@ -57,14 +57,14 @@ export const DataspaceQuerySetup = observer(
|
|
|
57
57
|
const toggleGetSnapshot = (): void => {
|
|
58
58
|
querySetupState.setToGetSnapShot(!querySetupState.toGetSnapShot);
|
|
59
59
|
flowResult(querySetupState.loadDataSpaces(searchText)).catch(
|
|
60
|
-
applicationStore.
|
|
60
|
+
applicationStore.alertUnhandledError,
|
|
61
61
|
);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
const next = (): void => {
|
|
65
65
|
if (querySetupState.dataSpaceViewerState) {
|
|
66
66
|
flowResult(querySetupState.proceedToCreateQuery()).catch(
|
|
67
|
-
applicationStore.
|
|
67
|
+
applicationStore.alertUnhandledError,
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
70
|
};
|
|
@@ -111,7 +111,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
111
111
|
() =>
|
|
112
112
|
debounce((input: string): void => {
|
|
113
113
|
flowResult(querySetupState.loadDataSpaces(input)).catch(
|
|
114
|
-
applicationStore.
|
|
114
|
+
applicationStore.alertUnhandledError,
|
|
115
115
|
);
|
|
116
116
|
}, 500),
|
|
117
117
|
[applicationStore, querySetupState],
|
|
@@ -126,7 +126,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
126
126
|
|
|
127
127
|
useEffect(() => {
|
|
128
128
|
flowResult(querySetupState.loadDataSpaces('')).catch(
|
|
129
|
-
applicationStore.
|
|
129
|
+
applicationStore.alertUnhandledError,
|
|
130
130
|
);
|
|
131
131
|
}, [querySetupState, applicationStore]);
|
|
132
132
|
|
|
@@ -134,7 +134,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
134
134
|
if (querySetupState.currentDataSpace) {
|
|
135
135
|
flowResult(
|
|
136
136
|
querySetupState.setUpDataSpace(querySetupState.currentDataSpace),
|
|
137
|
-
).catch(applicationStore.
|
|
137
|
+
).catch(applicationStore.alertUnhandledError);
|
|
138
138
|
}
|
|
139
139
|
}, [querySetupState, applicationStore, querySetupState.currentDataSpace]);
|
|
140
140
|
|
|
@@ -33,7 +33,7 @@ import type { PackageableElement } from '@finos/legend-graph';
|
|
|
33
33
|
import {
|
|
34
34
|
DataSpace,
|
|
35
35
|
DataSpaceExecutionContext,
|
|
36
|
-
} from '../../models/metamodels/pure/model/packageableElements/dataSpace/
|
|
36
|
+
} from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
37
37
|
import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
|
|
38
38
|
|
|
39
39
|
const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
|
-
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/
|
|
18
|
+
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
19
19
|
import type { Clazz } from '@finos/legend-shared';
|
|
20
20
|
import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import type { PureModel } from '@finos/legend-graph';
|
|
18
|
-
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/
|
|
18
|
+
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
19
19
|
|
|
20
20
|
export const getDataSpace = (path: string, graph: PureModel): DataSpace =>
|
|
21
21
|
graph.getExtensionElement(path, DataSpace, `Can't find data space '${path}'`);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
|
-
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/
|
|
18
|
+
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
19
19
|
import {
|
|
20
20
|
PureGraphManagerPlugin,
|
|
21
21
|
type PackageableElement,
|
|
File without changes
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
V1_DataSpace,
|
|
21
21
|
V1_DataSpaceExecutionContext,
|
|
22
22
|
V1_DataSpaceSupportEmail,
|
|
23
|
-
} from './v1/model/packageableElements/dataSpace/
|
|
23
|
+
} from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
|
|
24
24
|
import {
|
|
25
25
|
type PlainObject,
|
|
26
26
|
uuid,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
DataSpace,
|
|
42
42
|
DataSpaceExecutionContext,
|
|
43
43
|
DataSpaceSupportEmail,
|
|
44
|
-
} from '../../metamodels/pure/model/packageableElements/dataSpace/
|
|
44
|
+
} from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
45
45
|
import {
|
|
46
46
|
type Mapping,
|
|
47
47
|
type PackageableElement,
|
|
@@ -139,26 +139,26 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
139
139
|
elementProtocol.executionContexts,
|
|
140
140
|
`Data space 'executionContexts' field is missing`,
|
|
141
141
|
).map((contextProtocol) => {
|
|
142
|
-
const
|
|
143
|
-
|
|
142
|
+
const execContext = new DataSpaceExecutionContext();
|
|
143
|
+
execContext.name = guaranteeNonEmptyString(
|
|
144
144
|
contextProtocol.name,
|
|
145
145
|
`Data space execution context 'name' field is missing or empty`,
|
|
146
146
|
);
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
execContext.description = contextProtocol.description;
|
|
148
|
+
execContext.mapping = guaranteeNonNullable(
|
|
149
149
|
contextProtocol.mapping,
|
|
150
150
|
`Data space execution context 'mapping' field is missing or empty`,
|
|
151
151
|
).path;
|
|
152
|
-
|
|
152
|
+
execContext.defaultRuntime = guaranteeNonNullable(
|
|
153
153
|
contextProtocol.defaultRuntime,
|
|
154
154
|
`Data space execution context 'defaultRuntime' field is missing or empty`,
|
|
155
155
|
).path;
|
|
156
|
-
return
|
|
156
|
+
return execContext;
|
|
157
157
|
});
|
|
158
158
|
element.defaultExecutionContext = guaranteeNonNullable(
|
|
159
159
|
element.executionContexts.find(
|
|
160
|
-
(
|
|
161
|
-
|
|
160
|
+
(execContext) =>
|
|
161
|
+
execContext.name ===
|
|
162
162
|
guaranteeNonEmptyString(
|
|
163
163
|
elementProtocol.defaultExecutionContext,
|
|
164
164
|
`Data space 'defaultExecutionContext' field is missing or empty`,
|
|
@@ -256,17 +256,17 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
256
256
|
protocol.artifactId = metamodel.artifactId;
|
|
257
257
|
protocol.versionId = metamodel.versionId;
|
|
258
258
|
protocol.executionContexts = metamodel.executionContexts.map(
|
|
259
|
-
(
|
|
259
|
+
(execContext) => {
|
|
260
260
|
const contextProtocol = new V1_DataSpaceExecutionContext();
|
|
261
|
-
contextProtocol.name =
|
|
262
|
-
contextProtocol.description =
|
|
261
|
+
contextProtocol.name = execContext.name;
|
|
262
|
+
contextProtocol.description = execContext.description;
|
|
263
263
|
contextProtocol.mapping = new V1_PackageableElementPointer(
|
|
264
264
|
V1_PackageableElementPointerType.MAPPING,
|
|
265
|
-
|
|
265
|
+
execContext.mapping,
|
|
266
266
|
);
|
|
267
267
|
contextProtocol.defaultRuntime = new V1_PackageableElementPointer(
|
|
268
268
|
V1_PackageableElementPointerType.RUNTIME,
|
|
269
|
-
|
|
269
|
+
execContext.defaultRuntime,
|
|
270
270
|
);
|
|
271
271
|
return contextProtocol;
|
|
272
272
|
},
|
|
File without changes
|
package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { getDataSpace } from '../../../../../../graphManager/DSLDataSpace_GraphManagerHelper';
|
|
18
|
-
import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/
|
|
18
|
+
import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
19
19
|
import type {
|
|
20
20
|
PackageableElementImplicitReference,
|
|
21
21
|
V1_GraphBuilderContext,
|
package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
V1_DataSpace,
|
|
45
45
|
V1_DataSpaceExecutionContext,
|
|
46
46
|
V1_DataSpaceSupportEmail,
|
|
47
|
-
} from '../../model/packageableElements/dataSpace/
|
|
47
|
+
} from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
|
|
48
48
|
|
|
49
49
|
export const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = 'dataSpace';
|
|
50
50
|
export const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = 'email';
|
package/tsconfig.json
CHANGED
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"./src/graphManager/DSLDataSpace_GraphManagerHelper.ts",
|
|
43
43
|
"./src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts",
|
|
44
44
|
"./src/models/DSLDataSpace_ModelUtils.ts",
|
|
45
|
-
"./src/models/metamodels/pure/model/packageableElements/dataSpace/
|
|
45
|
+
"./src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts",
|
|
46
46
|
"./src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts",
|
|
47
|
-
"./src/models/protocols/pure/v1/model/packageableElements/dataSpace/
|
|
47
|
+
"./src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts",
|
|
48
48
|
"./src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts",
|
|
49
49
|
"./src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts",
|
|
50
50
|
"./src/stores/DataSpaceViewerState.ts",
|