@finos/legend-extension-dsl-data-space 9.1.4 → 9.1.6

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.
Files changed (168) hide show
  1. package/lib/application/studio/DSL_DataSpace_LegendStudioCodeSnippet.d.ts +1 -1
  2. package/lib/application/studio/DSL_DataSpace_LegendStudioCodeSnippet.d.ts.map +1 -1
  3. package/lib/application/studio/DSL_DataSpace_LegendStudioCodeSnippet.js +15 -2
  4. package/lib/application/studio/DSL_DataSpace_LegendStudioCodeSnippet.js.map +1 -1
  5. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts +0 -4
  6. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
  7. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +0 -3
  8. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
  9. package/lib/components/DataSpaceDataAccess.d.ts +23 -0
  10. package/lib/components/DataSpaceDataAccess.d.ts.map +1 -0
  11. package/lib/components/DataSpaceDataAccess.js +34 -0
  12. package/lib/components/DataSpaceDataAccess.js.map +1 -0
  13. package/lib/components/DataSpaceDescription.d.ts +23 -0
  14. package/lib/components/DataSpaceDescription.d.ts.map +1 -0
  15. package/lib/components/DataSpaceDescription.js +26 -0
  16. package/lib/components/DataSpaceDescription.js.map +1 -0
  17. package/lib/components/DataSpaceDiagramViewer.d.ts +23 -0
  18. package/lib/components/DataSpaceDiagramViewer.d.ts.map +1 -0
  19. package/lib/components/DataSpaceDiagramViewer.js +75 -0
  20. package/lib/components/DataSpaceDiagramViewer.js.map +1 -0
  21. package/lib/components/DataSpaceExecutionContextViewer.d.ts +23 -0
  22. package/lib/components/DataSpaceExecutionContextViewer.d.ts.map +1 -0
  23. package/lib/components/DataSpaceExecutionContextViewer.js +58 -0
  24. package/lib/components/DataSpaceExecutionContextViewer.js.map +1 -0
  25. package/lib/components/DataSpaceInfoPanel.d.ts +23 -0
  26. package/lib/components/DataSpaceInfoPanel.d.ts.map +1 -0
  27. package/lib/components/DataSpaceInfoPanel.js +38 -0
  28. package/lib/components/DataSpaceInfoPanel.js.map +1 -0
  29. package/lib/components/DataSpaceMarkdownTextViewer.d.ts +20 -0
  30. package/lib/components/DataSpaceMarkdownTextViewer.d.ts.map +1 -0
  31. package/lib/components/DataSpaceMarkdownTextViewer.js +25 -0
  32. package/lib/components/DataSpaceMarkdownTextViewer.js.map +1 -0
  33. package/lib/components/DataSpaceModelsDocumentation.d.ts +23 -0
  34. package/lib/components/DataSpaceModelsDocumentation.d.ts.map +1 -0
  35. package/lib/components/DataSpaceModelsDocumentation.js +58 -0
  36. package/lib/components/DataSpaceModelsDocumentation.js.map +1 -0
  37. package/lib/components/{studio/DataSpacePreview.d.ts → DataSpacePlaceholder.d.ts} +4 -4
  38. package/lib/components/DataSpacePlaceholder.d.ts.map +1 -0
  39. package/lib/components/DataSpacePlaceholder.js +18 -0
  40. package/lib/components/DataSpacePlaceholder.js.map +1 -0
  41. package/lib/components/DataSpaceQuickStart.d.ts +23 -0
  42. package/lib/components/DataSpaceQuickStart.d.ts.map +1 -0
  43. package/lib/components/DataSpaceQuickStart.js +108 -0
  44. package/lib/components/DataSpaceQuickStart.js.map +1 -0
  45. package/lib/components/DataSpaceSupportPanel.d.ts +23 -0
  46. package/lib/components/DataSpaceSupportPanel.d.ts.map +1 -0
  47. package/lib/components/DataSpaceSupportPanel.js +40 -0
  48. package/lib/components/DataSpaceSupportPanel.js.map +1 -0
  49. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  50. package/lib/components/DataSpaceViewer.js +40 -276
  51. package/lib/components/DataSpaceViewer.js.map +1 -1
  52. package/lib/components/DataSpaceViewerActivityBar.d.ts +23 -0
  53. package/lib/components/DataSpaceViewerActivityBar.d.ts.map +1 -0
  54. package/lib/components/DataSpaceViewerActivityBar.js +105 -0
  55. package/lib/components/DataSpaceViewerActivityBar.js.map +1 -0
  56. package/lib/components/DataSpaceWiki.d.ts +23 -0
  57. package/lib/components/DataSpaceWiki.d.ts.map +1 -0
  58. package/lib/components/DataSpaceWiki.js +12 -0
  59. package/lib/components/DataSpaceWiki.js.map +1 -0
  60. package/lib/components/query/DataSpaceAdvancedSearchModal.js +1 -1
  61. package/lib/components/query/DataSpaceAdvancedSearchModal.js.map +1 -1
  62. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +1 -2
  63. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -1
  64. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js +0 -13
  65. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -1
  66. package/lib/components/studio/DataSpacePreviewAction.js +1 -1
  67. package/lib/components/studio/DataSpacePreviewAction.js.map +1 -1
  68. package/lib/graph/DSL_DataSpace_HashUtils.d.ts +3 -2
  69. package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -1
  70. package/lib/graph/DSL_DataSpace_HashUtils.js +3 -2
  71. package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -1
  72. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts +23 -0
  73. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -1
  74. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js +50 -0
  75. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -1
  76. package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.d.ts +5 -0
  77. package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
  78. package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.js +7 -0
  79. package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.js.map +1 -1
  80. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +39 -5
  81. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
  82. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +40 -8
  83. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
  84. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
  85. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +70 -11
  86. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -1
  87. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  88. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +62 -10
  89. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  90. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_SystemModels.json +7 -0
  91. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +39 -0
  92. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
  93. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +92 -3
  94. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
  95. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts +23 -0
  96. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -1
  97. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js +50 -0
  98. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -1
  99. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts +0 -1
  100. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -1
  101. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js +33 -5
  102. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -1
  103. package/lib/index.css +2 -2
  104. package/lib/index.css.map +1 -1
  105. package/lib/index.d.ts +2 -1
  106. package/lib/index.d.ts.map +1 -1
  107. package/lib/index.js +2 -1
  108. package/lib/index.js.map +1 -1
  109. package/lib/package.json +10 -6
  110. package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts +32 -0
  111. package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.d.ts.map +1 -0
  112. package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.js +17 -0
  113. package/lib/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.js.map +1 -0
  114. package/lib/stores/DataSpaceViewerState.d.ts +17 -14
  115. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  116. package/lib/stores/DataSpaceViewerState.js +25 -12
  117. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  118. package/lib/stores/studio/DataSpacePreviewState.d.ts.map +1 -1
  119. package/lib/stores/studio/DataSpacePreviewState.js +0 -3
  120. package/lib/stores/studio/DataSpacePreviewState.js.map +1 -1
  121. package/package.json +21 -17
  122. package/src/application/studio/DSL_DataSpace_LegendStudioCodeSnippet.ts +15 -2
  123. package/src/components/DSL_DataSpace_LegendApplicationPlugin.ts +0 -9
  124. package/src/components/DataSpaceDataAccess.tsx +66 -0
  125. package/src/components/DataSpaceDescription.tsx +55 -0
  126. package/src/components/DataSpaceDiagramViewer.tsx +199 -0
  127. package/src/components/DataSpaceExecutionContextViewer.tsx +167 -0
  128. package/src/components/DataSpaceInfoPanel.tsx +170 -0
  129. package/src/components/DataSpaceMarkdownTextViewer.tsx +33 -0
  130. package/src/components/DataSpaceModelsDocumentation.tsx +99 -0
  131. package/src/components/DataSpacePlaceholder.tsx +21 -0
  132. package/src/components/DataSpaceQuickStart.tsx +381 -0
  133. package/src/components/DataSpaceSupportPanel.tsx +80 -0
  134. package/src/components/DataSpaceViewer.tsx +88 -1052
  135. package/src/components/DataSpaceViewerActivityBar.tsx +215 -0
  136. package/src/components/DataSpaceWiki.tsx +41 -0
  137. package/src/components/query/DataSpaceAdvancedSearchModal.tsx +1 -1
  138. package/src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +0 -15
  139. package/src/components/studio/DataSpacePreviewAction.tsx +1 -1
  140. package/src/graph/DSL_DataSpace_HashUtils.ts +3 -2
  141. package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts +60 -0
  142. package/src/graphManager/DSL_DataSpace_PureGraphManagerPlugin.ts +9 -0
  143. package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +54 -15
  144. package/src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +99 -14
  145. package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +86 -17
  146. package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_SystemModels.json +7 -0
  147. package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +140 -2
  148. package/src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +60 -0
  149. package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +51 -7
  150. package/src/index.ts +2 -4
  151. package/src/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.ts +41 -0
  152. package/src/stores/DataSpaceViewerState.ts +39 -20
  153. package/src/stores/studio/DataSpacePreviewState.ts +0 -5
  154. package/tsconfig.json +13 -3
  155. package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.d.ts +0 -28
  156. package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.d.ts.map +0 -1
  157. package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.js +0 -30
  158. package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.js.map +0 -1
  159. package/lib/components/studio/DataSpacePreview.d.ts.map +0 -1
  160. package/lib/components/studio/DataSpacePreview.js +0 -52
  161. package/lib/components/studio/DataSpacePreview.js.map +0 -1
  162. package/lib/stores/studio/DataSpacePreviewStore.d.ts +0 -34
  163. package/lib/stores/studio/DataSpacePreviewStore.d.ts.map +0 -1
  164. package/lib/stores/studio/DataSpacePreviewStore.js +0 -98
  165. package/lib/stores/studio/DataSpacePreviewStore.js.map +0 -1
  166. package/src/application/studio/DSL_DataSpace_LegendStudioNavigation.ts +0 -53
  167. package/src/components/studio/DataSpacePreview.tsx +0 -129
  168. package/src/stores/studio/DataSpacePreviewStore.ts +0 -172
@@ -15,14 +15,14 @@
15
15
  */
16
16
  import packageJson from '../../../../package.json';
17
17
  import V1_SYSTEM_MODELS from './v1/V1_DSL_DataSpace_SystemModels.json';
18
- import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, } from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
18
+ import { V1_DataSpace, V1_DataSpaceDiagram, V1_DataSpaceExecutable, V1_DataSpaceExecutionContext, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceSupportEmail, } from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
19
19
  import { 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_DSL_DataSpace_ProtocolHelper.js';
22
22
  import { getOwnDataSpace } from '../../DSL_DataSpace_GraphManagerHelper.js';
23
- import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
23
+ import { DataSpace, DataSpaceExecutable, DataSpaceExecutionContext, DataSpaceSupportCombinedInfo, DataSpaceSupportEmail, DataSpaceDiagram, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
24
24
  import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, Class, Enumeration, Association, } from '@finos/legend-graph';
25
- import { V1_DSL_Diagram_PackageableElementPointerType, getDiagram, } from '@finos/legend-extension-dsl-diagram';
25
+ import { V1_DSL_Diagram_PackageableElementPointerType, V1_resolveDiagram, } from '@finos/legend-extension-dsl-diagram';
26
26
  export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::dataSpace::DataSpace';
27
27
  export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
28
28
  constructor() {
@@ -53,6 +53,7 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
53
53
  element.executionContexts = guaranteeNonNullable(elementProtocol.executionContexts, `Data space 'executionContexts' field is missing`).map((contextProtocol) => {
54
54
  const execContext = new DataSpaceExecutionContext();
55
55
  execContext.name = guaranteeNonEmptyString(contextProtocol.name, `Data space execution context 'name' field is missing or empty`);
56
+ execContext.title = contextProtocol.title;
56
57
  execContext.description = contextProtocol.description;
57
58
  execContext.mapping = PackageableElementExplicitReference.create(context.graph.getMapping(contextProtocol.mapping.path));
58
59
  execContext.defaultRuntime =
@@ -64,25 +65,56 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
64
65
  element.title = elementProtocol.title;
65
66
  element.description = elementProtocol.description;
66
67
  if (elementProtocol.featuredDiagrams) {
67
- element.featuredDiagrams = elementProtocol.featuredDiagrams.map((pointer) => PackageableElementExplicitReference.create(getDiagram(pointer.path, context.graph)));
68
+ element.featuredDiagrams = elementProtocol.featuredDiagrams.map((pointer) => V1_resolveDiagram(pointer.path, context));
68
69
  }
69
70
  if (elementProtocol.elements) {
70
71
  element.elements = elementProtocol.elements.map((pointer) => {
71
- const el = context.graph.getElement(pointer.path);
72
- if (el instanceof Class ||
73
- el instanceof Enumeration ||
74
- el instanceof Association) {
75
- return PackageableElementExplicitReference.create(el);
72
+ const elementReference = context.resolveElement(pointer.path, false);
73
+ if (elementReference.value instanceof Class ||
74
+ elementReference.value instanceof Enumeration ||
75
+ elementReference.value instanceof Association) {
76
+ return elementReference;
76
77
  }
77
78
  throw new UnsupportedOperationError(`Can't find data space element (only allow class, enumartion, association) '${pointer.path}'`);
78
79
  });
79
80
  }
81
+ if (elementProtocol.executables) {
82
+ element.executables = elementProtocol.executables.map((executableProtocol) => {
83
+ const executable = new DataSpaceExecutable();
84
+ executable.title = executableProtocol.title;
85
+ executable.description = executableProtocol.description;
86
+ executable.executable = context.resolveElement(executableProtocol.executable.path, false);
87
+ return executable;
88
+ });
89
+ }
90
+ if (elementProtocol.diagrams) {
91
+ element.diagrams = elementProtocol.diagrams.map((diagramProtocol) => {
92
+ const diagram = new DataSpaceDiagram();
93
+ diagram.title = diagramProtocol.title;
94
+ diagram.description = diagramProtocol.description;
95
+ diagram.diagram = V1_resolveDiagram(diagramProtocol.diagram.path, context);
96
+ return diagram;
97
+ });
98
+ }
80
99
  if (elementProtocol.supportInfo) {
81
100
  if (elementProtocol.supportInfo instanceof V1_DataSpaceSupportEmail) {
82
101
  const supportEmail = new DataSpaceSupportEmail();
102
+ supportEmail.documentationUrl =
103
+ elementProtocol.supportInfo.documentationUrl;
83
104
  supportEmail.address = guaranteeNonEmptyString(elementProtocol.supportInfo.address, `Data space support email 'address' field is missing or empty`);
84
105
  element.supportInfo = supportEmail;
85
106
  }
107
+ else if (elementProtocol.supportInfo instanceof
108
+ V1_DataSpaceSupportCombinedInfo) {
109
+ const combinedInfo = new DataSpaceSupportCombinedInfo();
110
+ combinedInfo.documentationUrl =
111
+ elementProtocol.supportInfo.documentationUrl;
112
+ combinedInfo.emails = elementProtocol.supportInfo.emails;
113
+ combinedInfo.website = elementProtocol.supportInfo.website;
114
+ combinedInfo.faqUrl = elementProtocol.supportInfo.faqUrl;
115
+ combinedInfo.supportUrl = elementProtocol.supportInfo.supportUrl;
116
+ element.supportInfo = combinedInfo;
117
+ }
86
118
  else {
87
119
  throw new UnsupportedOperationError(`Can't build data space support info`, elementProtocol.supportInfo);
88
120
  }
@@ -135,6 +167,7 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
135
167
  protocol.executionContexts = metamodel.executionContexts.map((execContext) => {
136
168
  const contextProtocol = new V1_DataSpaceExecutionContext();
137
169
  contextProtocol.name = execContext.name;
170
+ contextProtocol.title = execContext.title;
138
171
  contextProtocol.description = execContext.description;
139
172
  contextProtocol.mapping = new V1_PackageableElementPointer(PackageableElementPointerType.MAPPING, execContext.mapping.valueForSerialization ?? '');
140
173
  contextProtocol.defaultRuntime = new V1_PackageableElementPointer(PackageableElementPointerType.RUNTIME, execContext.defaultRuntime.valueForSerialization ?? '');
@@ -144,14 +177,40 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
144
177
  metamodel.defaultExecutionContext.name;
145
178
  protocol.title = metamodel.title;
146
179
  protocol.description = metamodel.description;
147
- protocol.featuredDiagrams = metamodel.featuredDiagrams?.map((diagramPath) => new V1_PackageableElementPointer(V1_DSL_Diagram_PackageableElementPointerType, diagramPath.valueForSerialization ?? ''));
148
- protocol.elements = metamodel.elements?.map((elPath) => new V1_PackageableElementPointer(PackageableElementPointerType.CLASS, elPath.valueForSerialization ?? ''));
180
+ protocol.featuredDiagrams = metamodel.featuredDiagrams?.map((diagramReference) => new V1_PackageableElementPointer(V1_DSL_Diagram_PackageableElementPointerType, diagramReference.valueForSerialization ?? ''));
181
+ protocol.elements = metamodel.elements?.map((elementReference) => new V1_PackageableElementPointer(PackageableElementPointerType.CLASS, elementReference.valueForSerialization ?? ''));
182
+ protocol.executables = metamodel.executables?.map((executable) => {
183
+ const executableProtocol = new V1_DataSpaceExecutable();
184
+ executableProtocol.title = executable.title;
185
+ executableProtocol.description = executable.description;
186
+ executableProtocol.executable = new V1_PackageableElementPointer(undefined, executable.executable.valueForSerialization ?? '');
187
+ return executableProtocol;
188
+ });
189
+ protocol.diagrams = metamodel.diagrams?.map((diagram) => {
190
+ const diagramProtocol = new V1_DataSpaceDiagram();
191
+ diagramProtocol.title = diagram.title;
192
+ diagramProtocol.description = diagram.description;
193
+ diagramProtocol.diagram = new V1_PackageableElementPointer(undefined, diagram.diagram.valueForSerialization ?? '');
194
+ return diagramProtocol;
195
+ });
149
196
  if (metamodel.supportInfo) {
150
197
  if (metamodel.supportInfo instanceof DataSpaceSupportEmail) {
151
198
  const supportEmail = new V1_DataSpaceSupportEmail();
199
+ supportEmail.documentationUrl =
200
+ metamodel.supportInfo.documentationUrl;
152
201
  supportEmail.address = metamodel.supportInfo.address;
153
202
  protocol.supportInfo = supportEmail;
154
203
  }
204
+ else if (metamodel.supportInfo instanceof DataSpaceSupportCombinedInfo) {
205
+ const combinedInfo = new V1_DataSpaceSupportCombinedInfo();
206
+ combinedInfo.documentationUrl =
207
+ metamodel.supportInfo.documentationUrl;
208
+ combinedInfo.emails = metamodel.supportInfo.emails;
209
+ combinedInfo.website = metamodel.supportInfo.website;
210
+ combinedInfo.faqUrl = metamodel.supportInfo.faqUrl;
211
+ combinedInfo.supportUrl = metamodel.supportInfo.supportUrl;
212
+ protocol.supportInfo = combinedInfo;
213
+ }
155
214
  else {
156
215
  throw new UnsupportedOperationError(`Can't transform data space support info`, metamodel.supportInfo);
157
216
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAChF,OAAO,EAEL,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,qEAAqE,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EACL,SAAS,EACT,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,8FAA8F,CAAC;AACtG,OAAO,EAWL,oBAAoB,EACpB,mCAAmC,EACnC,4BAA4B,EAC5B,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,KAAK,EACL,WAAW,EACX,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4CAA4C,EAC5C,UAAU,GACX,MAAM,qCAAqC,CAAC;AAE7C,MAAM,CAAC,MAAM,kCAAkC,GAC7C,6CAA6C,CAAC;AAEhD,MAAM,OAAO,yCAA0C,SAAQ,2BAA2B;IACxF;QACE,KAAK,CACH,WAAW,CAAC,UAAU,CAAC,2BAA2B,EAClD,WAAW,CAAC,OAAO,CACpB,CAAC;IACJ,CAAC;IAEQ,0BAA0B;QACjC,OAAO;YACL,IAAI,iBAAiB,CAAe;gBAClC,gBAAgB,EAAE,WAAW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,MAAM,kCAAkC,GAAG,GAAG,CAAC;IAE/C,MAAM,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;IACxC,IAAI,IAAI,CAAC,KAAK,KAAK,mCAAmC,EAAE;QACtD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;YACpC,MAAM,YAAY,GAChB,IAAI,CAAC,YACN,CAAC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE,CACxB,WAAW,CAAC,oBAAoB,EAAE,eAAe,CAAC,CACnD,CAAC;YACF,YAAY;iBACT,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,kBAAkB,CAC/C;iBACA,OAAO,CAAC,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"}
1
+ {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,O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,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,mBAAmB,EAEnB,KAAK,wBAAwB,EAU9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,WAAW,EAQX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,uBAAuB,EAKxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAUxG,qBAAa,0CAA2C,SAAQ,uCAAuC;IAC7F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAI/B,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,EAC1C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACpE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,CAAC;YAgDrB,uBAAuB;CAgOtC"}
1
+ {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,mBAAmB,EAEnB,KAAK,wBAAwB,EAU9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,WAAW,EAQX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAS9B,OAAO,EACL,uBAAuB,EAUxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAaxG,qBAAa,0CAA2C,SAAQ,uCAAuC;IAC7F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAI/B,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,EAC1C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACpE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,CAAC;YAgDrB,uBAAuB;CAwRtC"}
@@ -13,14 +13,14 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { getDiagram } from '@finos/legend-extension-dsl-diagram';
17
16
  import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, V1_Class, GRAPH_MANAGER_EVENT, } from '@finos/legend-graph';
18
17
  import { ActionState, assertErrorThrown, guaranteeNonEmptyString, guaranteeNonNullable, guaranteeType, isNonNullable, LogEvent, uniq, } from '@finos/legend-shared';
19
- import { DataSpaceSupportEmail } from '../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
20
- import { V1_DataSpaceSupportEmail } from '../../../../graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
21
- import { DataSpaceAnalysisResult, DataSpaceDocumentationEntry, DataSpaceExecutionContextAnalysisResult, DataSpaceStereotypeInfo, DataSpaceTaggedValueInfo, } from '../../../action/analytics/DataSpaceAnalysis.js';
18
+ import { DataSpaceSupportCombinedInfo, DataSpaceSupportEmail, } from '../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
19
+ import { V1_DataSpaceSupportCombinedInfo, V1_DataSpaceSupportEmail, } from '../../../../graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
20
+ import { DataSpaceAnalysisResult, DataSpaceDiagramAnalysisResult, DataSpaceDocumentationEntry, DataSpaceExecutableAnalysisResult, DataSpaceExecutableTDSResultColumn, DataSpaceExecutableTDSResult, DataSpaceExecutionContextAnalysisResult, DataSpaceServiceExecutableInfo, DataSpaceStereotypeInfo, DataSpaceTaggedValueInfo, } from '../../../action/analytics/DataSpaceAnalysis.js';
22
21
  import { DSL_DataSpace_PureGraphManagerExtension } from '../DSL_DataSpace_PureGraphManagerExtension.js';
23
- import { V1_DataSpaceAnalysisResult, V1_DataSpaceAssociationDocumentationEntry, V1_DataSpaceClassDocumentationEntry, V1_DataSpaceEnumerationDocumentationEntry, } from './engine/analytics/V1_DataSpaceAnalysis.js';
22
+ import { V1_DataSpaceAnalysisResult, V1_DataSpaceAssociationDocumentationEntry, V1_DataSpaceClassDocumentationEntry, V1_DataSpaceEnumerationDocumentationEntry, V1_DataSpaceExecutableTDSResult, V1_DataSpaceServiceExecutableInfo, } from './engine/analytics/V1_DataSpaceAnalysis.js';
23
+ import { getDiagram } from '@finos/legend-extension-dsl-diagram';
24
24
  const ANALYZE_DATA_SPACE_TRACE = 'analyze data space';
25
25
  export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_PureGraphManagerExtension {
26
26
  constructor(graphManager) {
@@ -85,9 +85,21 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
85
85
  if (analysisResult.supportInfo) {
86
86
  if (analysisResult.supportInfo instanceof V1_DataSpaceSupportEmail) {
87
87
  const supportEmail = new DataSpaceSupportEmail();
88
+ supportEmail.documentationUrl =
89
+ analysisResult.supportInfo.documentationUrl;
88
90
  supportEmail.address = guaranteeNonEmptyString(analysisResult.supportInfo.address, `Data space support email 'address' field is missing or empty`);
89
91
  result.supportInfo = supportEmail;
90
92
  }
93
+ else if (analysisResult.supportInfo instanceof V1_DataSpaceSupportCombinedInfo) {
94
+ const combinedInfo = new DataSpaceSupportCombinedInfo();
95
+ combinedInfo.documentationUrl =
96
+ analysisResult.supportInfo.documentationUrl;
97
+ combinedInfo.website = analysisResult.supportInfo.website;
98
+ combinedInfo.faqUrl = analysisResult.supportInfo.faqUrl;
99
+ combinedInfo.supportUrl = analysisResult.supportInfo.supportUrl;
100
+ combinedInfo.emails = analysisResult.supportInfo.emails;
101
+ result.supportInfo = combinedInfo;
102
+ }
91
103
  // NOTE: we will relax the check and not throw here for unknown support info type
92
104
  }
93
105
  // create an empty graph
@@ -161,6 +173,7 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
161
173
  analysisResult.executionContexts.forEach((context) => {
162
174
  const contextAnalysisResult = new DataSpaceExecutionContextAnalysisResult();
163
175
  contextAnalysisResult.name = context.name;
176
+ contextAnalysisResult.title = context.title;
164
177
  contextAnalysisResult.description = context.description;
165
178
  contextAnalysisResult.mapping = graph.getMapping(context.mapping);
166
179
  contextAnalysisResult.defaultRuntime = graph.getRuntime(context.defaultRuntime);
@@ -168,8 +181,6 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
168
181
  result.executionContextsIndex.set(contextAnalysisResult.name, contextAnalysisResult);
169
182
  });
170
183
  result.defaultExecutionContext = guaranteeNonNullable(result.executionContextsIndex.get(analysisResult.defaultExecutionContext));
171
- // featured diagrams
172
- result.featuredDiagrams = analysisResult.featuredDiagrams.map((path) => getDiagram(path, graph));
173
184
  // elements documentation
174
185
  result.elementDocs = analysisResult.elementDocs.flatMap((docEntry) => {
175
186
  const entries = [];
@@ -178,9 +189,7 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
178
189
  docEntry.properties.forEach((property) => {
179
190
  entries.push(new DataSpaceDocumentationEntry(docEntry.path, property.name, property.docs.join('\n')));
180
191
  });
181
- docEntry.inheritedProperties.forEach((property) => {
182
- entries.push(new DataSpaceDocumentationEntry(docEntry.path, property.name, property.docs.join('\n')));
183
- });
192
+ // NOTE: we don't want to list inherited properties
184
193
  }
185
194
  else if (docEntry instanceof V1_DataSpaceEnumerationDocumentationEntry) {
186
195
  docEntry.enumValues.forEach((enumValue) => {
@@ -194,6 +203,49 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
194
203
  }
195
204
  return entries;
196
205
  });
206
+ // featured diagrams
207
+ result.diagrams = analysisResult.featuredDiagrams
208
+ .map((path) => {
209
+ const diagram = new DataSpaceDiagramAnalysisResult();
210
+ diagram.title = path;
211
+ diagram.diagram = getDiagram(path, graph);
212
+ return diagram;
213
+ })
214
+ .concat(analysisResult.diagrams.map((diagramProtocol) => {
215
+ const diagram = new DataSpaceDiagramAnalysisResult();
216
+ diagram.title = diagramProtocol.title;
217
+ diagram.description = diagramProtocol.description;
218
+ diagram.diagram = getDiagram(diagramProtocol.diagram, graph);
219
+ return diagram;
220
+ }));
221
+ // executables
222
+ result.executables = analysisResult.executables.map((executableProtocol) => {
223
+ const executable = new DataSpaceExecutableAnalysisResult();
224
+ executable.title = executableProtocol.title;
225
+ executable.description = executableProtocol.description;
226
+ executable.executable = executableProtocol.executable;
227
+ if (executableProtocol.info instanceof V1_DataSpaceServiceExecutableInfo) {
228
+ const serviceExecutableInfo = new DataSpaceServiceExecutableInfo();
229
+ serviceExecutableInfo.query = executableProtocol.info.query;
230
+ serviceExecutableInfo.pattern = executableProtocol.info.pattern;
231
+ serviceExecutableInfo.mapping = executableProtocol.info.mapping;
232
+ serviceExecutableInfo.runtime = executableProtocol.info.runtime;
233
+ executable.info = serviceExecutableInfo;
234
+ }
235
+ if (executableProtocol.result instanceof V1_DataSpaceExecutableTDSResult) {
236
+ const tdsResult = new DataSpaceExecutableTDSResult();
237
+ tdsResult.columns = executableProtocol.result.columns.map((tdsColumn) => {
238
+ const column = new DataSpaceExecutableTDSResultColumn();
239
+ column.name = tdsColumn.name;
240
+ column.type = tdsColumn.type;
241
+ column.relationalType = tdsColumn.relationalType;
242
+ column.documentation = tdsColumn.documentation;
243
+ return column;
244
+ });
245
+ executable.result = tdsResult;
246
+ }
247
+ return executable;
248
+ });
197
249
  return result;
198
250
  }
199
251
  }
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EAEjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,iGAAiG,CAAC;AACxI,OAAO,EAAE,wBAAwB,EAAE,MAAM,6GAA6G,CAAC;AACvJ,OAAO,EACL,uBAAuB,EACvB,2BAA2B,EAC3B,uCAAuC,EACvC,uBAAuB,EACvB,wBAAwB,G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AC,CAC1B,CACF,CAAC;gBACJ,CAAC,CAAC,CAAC;aACJ;iBAAM,IACL,QAAQ,YAAY,yCAAyC,EAC7D;gBACA,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;oBACvC,OAAO,CAAC,IAAI,CACV,IAAI,2BAA2B,CAC7B,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CACzB,CACF,CAAC;gBACJ,CAAC,CAAC,CAAC;aACJ;YACD,OAAO,OAAO,CAAC;QACjB,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
1
+ {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EAEjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EACL,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,6GAA6G,CAAC;AACrH,OAAO,EACL,uBAAuB,EACvB,8BAA8B,EAC9B,2BAA2B,EAC3B,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,uCAAuC,EACvC,8BAA8B,EAC9B,uBAAuB,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,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC;oBACjD,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC;oBAC/C,OAAO,MAAM,CAAC;gBAChB,CAAC,CACF,CAAC;gBACF,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC;aAC/B;YACD,OAAO,UAAU,CAAC;QACpB,CAAC,CACF,CAAC;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -5,6 +5,13 @@
5
5
  "_type": "profile",
6
6
  "name": "enterprise",
7
7
  "tags": ["taxonomyNodes"]
8
+ },
9
+ {
10
+ "_type": "profile",
11
+ "name": "DataSpaceInfo",
12
+ "package": "meta::pure::metamodel::dataSpace::profiles",
13
+ "stereotypes": ["Verified"],
14
+ "tags": ["deprecationNotice"]
8
15
  }
9
16
  ]
10
17
  }
@@ -29,6 +29,7 @@ declare class V1_DataSpaceStereotypeInfo {
29
29
  }
30
30
  declare class V1_DataSpaceExecutionContextAnalysisResult {
31
31
  name: string;
32
+ title?: string | undefined;
32
33
  description?: string | undefined;
33
34
  mapping: string;
34
35
  defaultRuntime: string;
@@ -57,6 +58,42 @@ export declare class V1_DataSpaceAssociationDocumentationEntry extends V1_DataSp
57
58
  properties: V1_DataSpaceBasicDocumentationEntry[];
58
59
  static readonly serialization: SerializationFactory<V1_DataSpaceAssociationDocumentationEntry>;
59
60
  }
61
+ export declare class V1_DataSpaceDiagramAnalysisResult {
62
+ title: string;
63
+ description?: string | undefined;
64
+ diagram: string;
65
+ static readonly serialization: SerializationFactory<V1_DataSpaceDiagramAnalysisResult>;
66
+ }
67
+ export declare abstract class V1_DataSpaceExecutableInfo {
68
+ query: string;
69
+ }
70
+ export declare class V1_DataSpaceServiceExecutableInfo extends V1_DataSpaceExecutableInfo {
71
+ pattern: string;
72
+ mapping?: string | undefined;
73
+ runtime?: string | undefined;
74
+ static readonly serialization: SerializationFactory<V1_DataSpaceServiceExecutableInfo>;
75
+ }
76
+ export declare abstract class V1_DataSpaceExecutableResult {
77
+ }
78
+ export declare class V1_DataSpaceExecutableTDSResultColumn {
79
+ name: string;
80
+ documentation?: string | undefined;
81
+ type?: string | undefined;
82
+ relationalType?: string | undefined;
83
+ static readonly serialization: SerializationFactory<V1_DataSpaceExecutableTDSResultColumn>;
84
+ }
85
+ export declare class V1_DataSpaceExecutableTDSResult extends V1_DataSpaceExecutableResult {
86
+ columns: V1_DataSpaceExecutableTDSResultColumn[];
87
+ static readonly serialization: SerializationFactory<V1_DataSpaceExecutableTDSResult>;
88
+ }
89
+ export declare class V1_DataSpaceExecutableAnalysisResult {
90
+ title: string;
91
+ description?: string | undefined;
92
+ executable: string;
93
+ info?: V1_DataSpaceExecutableInfo | undefined;
94
+ result: V1_DataSpaceExecutableResult;
95
+ static readonly serialization: SerializationFactory<V1_DataSpaceExecutableAnalysisResult>;
96
+ }
60
97
  export declare class V1_DataSpaceAnalysisResult {
61
98
  name: string;
62
99
  package: string;
@@ -72,6 +109,8 @@ export declare class V1_DataSpaceAnalysisResult {
72
109
  featuredDiagrams: string[];
73
110
  elements: string[];
74
111
  elementDocs: V1_DataSpaceModelDocumentationEntry[];
112
+ executables: V1_DataSpaceExecutableAnalysisResult[];
113
+ diagrams: V1_DataSpaceDiagramAnalysisResult[];
75
114
  static readonly serialization: SerializationFactory<V1_DataSpaceAnalysisResult>;
76
115
  }
77
116
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,oBAAoB,EAIrB,MAAM,sB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qBAAa,0BAA0B;IACrC,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IAEd,YAAY,EAAE,2BAA2B,EAAE,CAAM;IACjD,WAAW,EAAE,0BAA0B,EAAE,CAAM;IAE/C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,KAAK,EAAG,uBAAuB,CAAC;IAEhC,iBAAiB,EAAE,0CAA0C,EAAE,CAAM;IACrE,uBAAuB,EAAG,MAAM,CAAC;IAEjC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAEhC,QAAQ,EAAE,MAAM,EAAE,CAAM;IACxB,WAAW,EAAE,mCAAmC,EAAE,CAAM;IAExD,MAAM,CAAC,QAAQ,CAAC,aAAa,mDA8B3B;CACH"}
1
+ {"version":3,"file":"V1_DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,oBAAoB,EAMrB,MAAM,sBAAsB,CAAC;AAW9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yEAAyE,CAAC;AAGvH,cAAM,2BAA2B;IAC/B,OAAO,EAAG,MAAM,CAAC;IACjB,GAAG,EAAG,MAAM,CAAC;IACb,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM,CAAC,QAAQ,CAAC,aAAa,oDAM3B;CACH;AAED,cAAM,0BAA0B;IAC9B,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM,CAAC,QAAQ,CAAC,aAAa,mDAK3B;CACH;AAED,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G,MAAM,CAAC;IAEjC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAEhC,QAAQ,EAAE,MAAM,EAAE,CAAM;IACxB,WAAW,EAAE,mCAAmC,EAAE,CAAM;IAExD,WAAW,EAAE,oCAAoC,EAAE,CAAM;IACzD,QAAQ,EAAE,iCAAiC,EAAE,CAAM;IAEnD,MAAM,CAAC,QAAQ,CAAC,aAAa,mDAqC3B;CACH"}
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { V1_PureModelContextData } from '@finos/legend-graph';
17
- import { SerializationFactory, optionalCustom, UnsupportedOperationError, } from '@finos/legend-shared';
18
- import { createModelSchema, custom, list, object, optional, primitive, SKIP, } from 'serializr';
17
+ import { SerializationFactory, optionalCustom, UnsupportedOperationError, customListWithSchema, usingConstantValueSchema, } from '@finos/legend-shared';
18
+ import { createModelSchema, custom, deserialize, list, object, optional, primitive, SKIP, } from 'serializr';
19
19
  import { V1_deserializeSupportInfo } from '../../transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
20
20
  class V1_DataSpaceTaggedValueInfo {
21
21
  profile;
@@ -37,6 +37,7 @@ class V1_DataSpaceStereotypeInfo {
37
37
  }
38
38
  class V1_DataSpaceExecutionContextAnalysisResult {
39
39
  name;
40
+ title;
40
41
  description;
41
42
  mapping;
42
43
  defaultRuntime;
@@ -47,6 +48,7 @@ class V1_DataSpaceExecutionContextAnalysisResult {
47
48
  mapping: primitive(),
48
49
  defaultRuntime: primitive(),
49
50
  compatibleRuntimes: list(primitive()),
51
+ title: optional(primitive()),
50
52
  }));
51
53
  }
52
54
  class V1_DataSpaceBasicDocumentationEntry {
@@ -120,6 +122,89 @@ function V1_deserializeModelDocumentationEntry(json) {
120
122
  throw new UnsupportedOperationError(`Can't deserialize model documentation entry of type '${json._type}'`);
121
123
  }
122
124
  }
125
+ class V1_DataSpaceDiagramAnalysisResult {
126
+ title;
127
+ description;
128
+ diagram;
129
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceDiagramAnalysisResult, {
130
+ description: optional(primitive()),
131
+ diagram: primitive(),
132
+ title: primitive(),
133
+ }));
134
+ }
135
+ export { V1_DataSpaceDiagramAnalysisResult };
136
+ export class V1_DataSpaceExecutableInfo {
137
+ query;
138
+ }
139
+ const V1_DATA_SPACE_SERVICE_EXECUTABLE_INFO_TYPE = 'service';
140
+ class V1_DataSpaceServiceExecutableInfo extends V1_DataSpaceExecutableInfo {
141
+ pattern;
142
+ mapping;
143
+ runtime;
144
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceServiceExecutableInfo, {
145
+ _type: usingConstantValueSchema(V1_DATA_SPACE_SERVICE_EXECUTABLE_INFO_TYPE),
146
+ mapping: optional(primitive()),
147
+ pattern: primitive(),
148
+ query: primitive(),
149
+ runtime: optional(primitive()),
150
+ }));
151
+ }
152
+ export { V1_DataSpaceServiceExecutableInfo };
153
+ const V1_deserializeDataSpaceExecutableInfo = (json) => {
154
+ switch (json._type) {
155
+ case V1_DATA_SPACE_SERVICE_EXECUTABLE_INFO_TYPE:
156
+ return deserialize(V1_DataSpaceServiceExecutableInfo.serialization.schema, json);
157
+ default:
158
+ throw new UnsupportedOperationError(`Can't deserialize data space executable info of type '${json._type}'`);
159
+ }
160
+ };
161
+ export class V1_DataSpaceExecutableResult {
162
+ }
163
+ const V1_DATA_SPACE_EXECUTABLE_TDS_RESULT_TYPE = 'tds';
164
+ class V1_DataSpaceExecutableTDSResultColumn {
165
+ name;
166
+ documentation;
167
+ type;
168
+ relationalType;
169
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceExecutableTDSResultColumn, {
170
+ documentation: optional(primitive()),
171
+ name: primitive(),
172
+ relationalType: optional(primitive()),
173
+ type: optional(primitive()),
174
+ }));
175
+ }
176
+ export { V1_DataSpaceExecutableTDSResultColumn };
177
+ class V1_DataSpaceExecutableTDSResult extends V1_DataSpaceExecutableResult {
178
+ columns = [];
179
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceExecutableTDSResult, {
180
+ _type: usingConstantValueSchema(V1_DATA_SPACE_SERVICE_EXECUTABLE_INFO_TYPE),
181
+ columns: list(object(V1_DataSpaceExecutableTDSResultColumn.serialization.schema)),
182
+ }));
183
+ }
184
+ export { V1_DataSpaceExecutableTDSResult };
185
+ const V1_deserializeDataSpaceExecutableResult = (json) => {
186
+ switch (json._type) {
187
+ case V1_DATA_SPACE_EXECUTABLE_TDS_RESULT_TYPE:
188
+ return deserialize(V1_DataSpaceExecutableTDSResult.serialization.schema, json);
189
+ default:
190
+ throw new UnsupportedOperationError(`Can't deserialize data space executable result of type '${json._type}'`);
191
+ }
192
+ };
193
+ class V1_DataSpaceExecutableAnalysisResult {
194
+ title;
195
+ description;
196
+ executable;
197
+ info;
198
+ result;
199
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceExecutableAnalysisResult, {
200
+ executable: primitive(),
201
+ description: optional(primitive()),
202
+ info: optionalCustom(() => SKIP, V1_deserializeDataSpaceExecutableInfo),
203
+ result: custom(() => SKIP, V1_deserializeDataSpaceExecutableResult),
204
+ title: primitive(),
205
+ }));
206
+ }
207
+ export { V1_DataSpaceExecutableAnalysisResult };
123
208
  class V1_DataSpaceAnalysisResult {
124
209
  name;
125
210
  package;
@@ -135,6 +220,8 @@ class V1_DataSpaceAnalysisResult {
135
220
  featuredDiagrams = [];
136
221
  elements = [];
137
222
  elementDocs = [];
223
+ executables = [];
224
+ diagrams = [];
138
225
  static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceAnalysisResult, {
139
226
  name: primitive(),
140
227
  package: primitive(),
@@ -147,9 +234,11 @@ class V1_DataSpaceAnalysisResult {
147
234
  model: object(V1_PureModelContextData),
148
235
  executionContexts: list(object(V1_DataSpaceExecutionContextAnalysisResult)),
149
236
  defaultExecutionContext: primitive(),
150
- featuredDiagrams: list(primitive()),
151
237
  elements: list(primitive()),
152
238
  elementDocs: list(custom(() => SKIP, V1_deserializeModelDocumentationEntry)),
239
+ featuredDiagrams: list(primitive()),
240
+ diagrams: customListWithSchema(V1_DataSpaceDiagramAnalysisResult.serialization.schema),
241
+ executables: customListWithSchema(V1_DataSpaceExecutableAnalysisResult.serialization.schema),
153
242
  }));
154
243
  }
155
244
  export { V1_DataSpaceAnalysisResult };
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,oBAAoB,EACpB,cAAc,EAEd,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,yBAAyB,EAAE,MAAM,sEAAsE,CAAC;AAEjH,MAAM,2BAA2B;IAC/B,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,2BAA2B,EAAE;QAC7C,OAAO,EAAE,SAAS,EAAE;QACpB,GAAG,EAAE,SAAS,EAAE;QAChB,KAAK,EAAE,SAAS,EAAE;KACnB,CAAC,CACH,CAAC;;AAGJ,MAAM,0BAA0B;IAC9B,OAAO,CAAU;IACjB,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,0BAA0B,EAAE;QAC5C,OAAO,EAAE,SAAS,EAAE;QACpB,KAAK,EAAE,SAAS,EAAE;KACnB,CAAC,CACH,CAAC;;AAGJ,MAAM,0CAA0C;IAC9C,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAU;IACjB,cAAc,CA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AAK,EAAE,MAAM,CAAC,uBAAuB,CAAC;QAEtC,iBAAiB,EAAE,IAAI,CACrB,MAAM,CAAC,0CAA0C,CAAC,CACnD;QACD,uBAAuB,EAAE,SAAS,EAAE;QAEpC,gBAAgB,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;QAEnC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;QAC3B,WAAW,EAAE,IAAI,CACf,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,qCAAqC,CAAC,CAC1D;KACF,CAAC,CACH,CAAC;;SApDS,0BAA0B"}
1
+ {"version":3,"file":"V1_DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,oBAAoB,EACpB,cAAc,EAEd,yBAAyB,EACzB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,yBAAyB,EAAE,MAAM,sEAAsE,CAAC;AAEjH,MAAM,2BAA2B;IAC/B,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,2BAA2B,EAAE;QAC7C,OAAO,EAAE,SAAS,EAAE;QACpB,GAAG,EAAE,SAAS,EAAE;QAChB,KAAK,EAAE,SAAS,EAAE;KACnB,CAAC,CACH,CAAC;;AAGJ,MAAM,0BAA0B;IAC9B,OAAO,CAAU;IACjB,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAA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