@finos/legend-application-studio 22.4.8 → 22.5.0
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/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +2 -1
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +2 -2
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +3 -3
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +2 -2
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +4 -4
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/StatusBar.js +1 -1
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.js +5 -1
- package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
- package/lib/components/editor/command/project-search.css +1 -1
- package/lib/components/editor/command/project-search.css.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +2 -2
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +5 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +9 -2
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +3 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +62 -8
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +5 -5
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +6 -6
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +103 -16
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js +3 -3
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +8 -8
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.js +1 -1
- package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
- package/lib/components/shared/ProjectSelectorUtils.d.ts.map +1 -1
- package/lib/components/shared/ProjectSelectorUtils.js +4 -4
- package/lib/components/shared/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +2 -2
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +6 -4
- package/lib/stores/ChangeDetectionState.js +12 -12
- package/lib/stores/ChangeDetectionState.js.map +1 -1
- package/lib/stores/DependencyProjectViewerHelper.js +1 -1
- package/lib/stores/DependencyProjectViewerHelper.js.map +1 -1
- package/lib/stores/EditorGraphState.d.ts +1 -1
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +64 -59
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorSDLCState.d.ts.map +1 -1
- package/lib/stores/EditorSDLCState.js +21 -21
- package/lib/stores/EditorSDLCState.js.map +1 -1
- package/lib/stores/EditorStore.js +39 -39
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EditorTabManagerState.js +1 -1
- package/lib/stores/EditorTabManagerState.js.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.js +8 -8
- package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
- package/lib/stores/ExplorerTreeState.d.ts +5 -3
- package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/ExplorerTreeState.js +11 -5
- package/lib/stores/ExplorerTreeState.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +15 -15
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/LegendStudioDocumentation.d.ts +1 -0
- package/lib/stores/LegendStudioDocumentation.d.ts.map +1 -1
- package/lib/stores/LegendStudioDocumentation.js +1 -0
- package/lib/stores/LegendStudioDocumentation.js.map +1 -1
- package/lib/stores/LegendStudioStorage.d.ts +20 -0
- package/lib/stores/LegendStudioStorage.d.ts.map +1 -0
- package/lib/stores/LegendStudioStorage.js +21 -0
- package/lib/stores/LegendStudioStorage.js.map +1 -0
- package/lib/stores/editor-state/ExternalFormatState.js +2 -2
- package/lib/stores/editor-state/ExternalFormatState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +3 -3
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js +4 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +9 -9
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +9 -9
- package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.js +6 -6
- package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts +2 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +9 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +11 -11
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +10 -10
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +12 -12
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +12 -12
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +6 -6
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +8 -8
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +4 -4
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +2 -2
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +2 -2
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +2 -0
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +22 -12
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +2 -2
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +13 -13
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/shared/MockDataUtils.d.ts +6 -0
- package/lib/stores/shared/MockDataUtils.d.ts.map +1 -1
- package/lib/stores/shared/MockDataUtils.js +32 -3
- package/lib/stores/shared/MockDataUtils.js.map +1 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts +6 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js +15 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +19 -19
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +11 -11
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js +12 -12
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +23 -23
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +10 -10
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +33 -33
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +16 -16
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +3 -3
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +16 -16
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/lib/stores/workspace-setup/ProjectConfigurationStatus.js +1 -1
- package/lib/stores/workspace-setup/ProjectConfigurationStatus.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +17 -17
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +15 -13
- package/src/components/EditorComponentTestUtils.tsx +3 -2
- package/src/components/LegendStudioAppInfo.tsx +4 -2
- package/src/components/LegendStudioApplication.tsx +6 -3
- package/src/components/editor/ActivityBar.tsx +5 -3
- package/src/components/editor/Editor.tsx +4 -4
- package/src/components/editor/StatusBar.tsx +4 -4
- package/src/components/editor/aux-panel/DevTool.tsx +7 -1
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +8 -6
- package/src/components/editor/edit-panel/FunctionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -1
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +77 -1
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +6 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +164 -26
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +13 -9
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +4 -1
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +7 -7
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +4 -2
- package/src/components/editor/side-bar/Explorer.tsx +268 -40
- package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +5 -5
- package/src/components/editor/side-bar/ProjectOverview.tsx +13 -13
- package/src/components/editor/side-bar/WorkflowManager.tsx +6 -2
- package/src/components/editor/side-bar/WorkspaceReview.tsx +2 -2
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +2 -2
- package/src/components/project-viewer/ProjectViewer.tsx +2 -2
- package/src/components/shared/ProjectSelectorUtils.tsx +7 -5
- package/src/components/workspace-review/WorkspaceReview.tsx +4 -4
- package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
- package/src/components/workspace-setup/WorkspaceSetup.tsx +2 -2
- package/src/stores/ChangeDetectionState.ts +12 -12
- package/src/stores/DependencyProjectViewerHelper.ts +2 -2
- package/src/stores/EditorGraphState.ts +80 -60
- package/src/stores/EditorSDLCState.ts +25 -21
- package/src/stores/EditorStore.ts +39 -39
- package/src/stores/EditorTabManagerState.ts +1 -1
- package/src/stores/EmbeddedQueryBuilderState.ts +14 -8
- package/src/stores/ExplorerTreeState.ts +16 -6
- package/src/stores/LegendStudioBaseStore.ts +29 -20
- package/src/stores/LegendStudioDocumentation.ts +1 -0
- package/src/stores/LegendStudioStorage.ts +20 -0
- package/src/stores/editor-state/ExternalFormatState.ts +2 -2
- package/src/stores/editor-state/FileGenerationState.ts +3 -3
- package/src/stores/editor-state/GrammarTextEditorState.ts +7 -1
- package/src/stores/editor-state/GraphGenerationState.ts +9 -9
- package/src/stores/editor-state/ModelImporterState.ts +13 -9
- package/src/stores/editor-state/element-editor-state/ClassEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/ClassState.ts +6 -6
- package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +3 -1
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +8 -0
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +11 -11
- package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +12 -10
- package/src/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +12 -12
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +12 -12
- package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +6 -6
- package/src/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/service/ServiceEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +12 -8
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +4 -4
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +1 -1
- package/src/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +2 -2
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +2 -2
- package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +33 -12
- package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +2 -2
- package/src/stores/project-viewer/ProjectViewerStore.ts +15 -13
- package/src/stores/shared/MockDataUtils.ts +44 -3
- package/src/stores/shared/modifier/STO_Relational_GraphModifierHelper.ts +26 -1
- package/src/stores/sidebar-state/LocalChangesState.ts +21 -19
- package/src/stores/sidebar-state/ProjectOverviewState.ts +11 -11
- package/src/stores/sidebar-state/WorkflowManagerState.ts +12 -12
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +27 -23
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +16 -10
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +35 -33
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +18 -16
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +3 -3
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +16 -16
- package/src/stores/workspace-setup/ProjectConfigurationStatus.ts +1 -1
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +17 -17
- package/tsconfig.json +1 -0
|
@@ -264,7 +264,9 @@ export class SchemaSetModelGenerationState {
|
|
|
264
264
|
|
|
265
265
|
*generate(): GeneratorFn<boolean> {
|
|
266
266
|
this.generatingModelsState.inProgress();
|
|
267
|
-
this.editorStore.applicationStore.setNotification(
|
|
267
|
+
this.editorStore.applicationStore.notificationService.setNotification(
|
|
268
|
+
undefined,
|
|
269
|
+
);
|
|
268
270
|
try {
|
|
269
271
|
const properties = [...this.configurationProperties];
|
|
270
272
|
this.addInferredConfigurationProperties(properties);
|
|
@@ -279,11 +281,11 @@ export class SchemaSetModelGenerationState {
|
|
|
279
281
|
return true;
|
|
280
282
|
} catch (error) {
|
|
281
283
|
assertErrorThrown(error);
|
|
282
|
-
this.editorStore.applicationStore.
|
|
284
|
+
this.editorStore.applicationStore.logService.error(
|
|
283
285
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
|
|
284
286
|
error,
|
|
285
287
|
);
|
|
286
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
288
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
287
289
|
this.setGenerationValue('');
|
|
288
290
|
return false;
|
|
289
291
|
} finally {
|
|
@@ -306,16 +308,16 @@ export class SchemaSetModelGenerationState {
|
|
|
306
308
|
undefined,
|
|
307
309
|
),
|
|
308
310
|
);
|
|
309
|
-
this.editorStore.applicationStore.notifySuccess(
|
|
311
|
+
this.editorStore.applicationStore.notificationService.notifySuccess(
|
|
310
312
|
'Generated elements imported into project',
|
|
311
313
|
);
|
|
312
314
|
} catch (error) {
|
|
313
315
|
assertErrorThrown(error);
|
|
314
|
-
this.editorStore.applicationStore.
|
|
316
|
+
this.editorStore.applicationStore.logService.error(
|
|
315
317
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
|
|
316
318
|
error,
|
|
317
319
|
);
|
|
318
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
320
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
319
321
|
} finally {
|
|
320
322
|
this.importGeneratedElementsState.complete();
|
|
321
323
|
}
|
|
@@ -331,11 +333,11 @@ export class SchemaSetModelGenerationState {
|
|
|
331
333
|
return entities;
|
|
332
334
|
} catch (error) {
|
|
333
335
|
assertErrorThrown(error);
|
|
334
|
-
this.editorStore.applicationStore.
|
|
336
|
+
this.editorStore.applicationStore.logService.error(
|
|
335
337
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
|
|
336
338
|
error,
|
|
337
339
|
);
|
|
338
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
340
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
339
341
|
throw error;
|
|
340
342
|
} finally {
|
|
341
343
|
this.importGeneratedElementsState.complete();
|
|
@@ -409,7 +411,7 @@ export class ImportSchemaContentState {
|
|
|
409
411
|
this.closeModal();
|
|
410
412
|
} catch (error) {
|
|
411
413
|
assertErrorThrown(error);
|
|
412
|
-
this.editorStore.applicationStore.notifyError(
|
|
414
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
413
415
|
`Can't load patch: Error: ${error.message}`,
|
|
414
416
|
);
|
|
415
417
|
this.loadingSchemaContentState.fail();
|
|
@@ -571,7 +573,7 @@ export class SchemaSetEditorState extends ElementEditorState {
|
|
|
571
573
|
);
|
|
572
574
|
} catch (error) {
|
|
573
575
|
assertErrorThrown(error);
|
|
574
|
-
this.editorStore.applicationStore.
|
|
576
|
+
this.editorStore.applicationStore.logService.error(
|
|
575
577
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
|
|
576
578
|
error,
|
|
577
579
|
);
|
|
@@ -96,7 +96,7 @@ export class FlatDataPropertyMappingState extends PropertyMappingState {
|
|
|
96
96
|
if (error instanceof ParserError) {
|
|
97
97
|
this.setParserError(error);
|
|
98
98
|
}
|
|
99
|
-
this.editorStore.applicationStore.
|
|
99
|
+
this.editorStore.applicationStore.logService.error(
|
|
100
100
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
101
101
|
error,
|
|
102
102
|
);
|
|
@@ -129,7 +129,7 @@ export class FlatDataPropertyMappingState extends PropertyMappingState {
|
|
|
129
129
|
this.clearErrors();
|
|
130
130
|
} catch (error) {
|
|
131
131
|
assertErrorThrown(error);
|
|
132
|
-
this.editorStore.applicationStore.
|
|
132
|
+
this.editorStore.applicationStore.logService.error(
|
|
133
133
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
134
134
|
error,
|
|
135
135
|
);
|
|
@@ -234,7 +234,7 @@ export abstract class FlatDataInstanceSetImplementationState extends InstanceSet
|
|
|
234
234
|
});
|
|
235
235
|
} catch (error) {
|
|
236
236
|
assertErrorThrown(error);
|
|
237
|
-
this.editorStore.applicationStore.
|
|
237
|
+
this.editorStore.applicationStore.logService.error(
|
|
238
238
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
239
239
|
error,
|
|
240
240
|
);
|
|
@@ -835,7 +835,7 @@ export class MappingEditorState extends ElementEditorState {
|
|
|
835
835
|
openInAdjacentTab: boolean,
|
|
836
836
|
): void {
|
|
837
837
|
if (mappingElement instanceof AssociationImplementation) {
|
|
838
|
-
this.editorStore.applicationStore.notifyUnsupportedFeature(
|
|
838
|
+
this.editorStore.applicationStore.notificationService.notifyUnsupportedFeature(
|
|
839
839
|
'Association mapping editor',
|
|
840
840
|
);
|
|
841
841
|
return;
|
|
@@ -1298,7 +1298,7 @@ export class MappingEditorState extends ElementEditorState {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
} catch (error) {
|
|
1300
1300
|
assertErrorThrown(error);
|
|
1301
|
-
this.editorStore.applicationStore.
|
|
1301
|
+
this.editorStore.applicationStore.logService.warn(
|
|
1302
1302
|
LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
|
|
1303
1303
|
`Can't locate error, redirecting to text mode`,
|
|
1304
1304
|
error,
|
|
@@ -1462,7 +1462,7 @@ export class MappingEditorState extends ElementEditorState {
|
|
|
1462
1462
|
this.editorStore.pluginManager.getApplicationPlugins(),
|
|
1463
1463
|
);
|
|
1464
1464
|
if (setImplementation instanceof OperationSetImplementation) {
|
|
1465
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
1465
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
1466
1466
|
`Can't auto-generate input data for operation class mapping. Please pick a concrete class mapping instead`,
|
|
1467
1467
|
);
|
|
1468
1468
|
}
|
|
@@ -188,7 +188,7 @@ export class MappingExecutionQueryState extends LambdaEditorState {
|
|
|
188
188
|
this.clearErrors();
|
|
189
189
|
} catch (error) {
|
|
190
190
|
assertErrorThrown(error);
|
|
191
|
-
this.editorStore.applicationStore.
|
|
191
|
+
this.editorStore.applicationStore.logService.error(
|
|
192
192
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
193
193
|
error,
|
|
194
194
|
);
|
|
@@ -636,7 +636,7 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
636
636
|
),
|
|
637
637
|
);
|
|
638
638
|
} else {
|
|
639
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
639
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
640
640
|
new UnsupportedOperationError(
|
|
641
641
|
`Can't build input data for the specified source`,
|
|
642
642
|
source,
|
|
@@ -669,11 +669,11 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
669
669
|
}
|
|
670
670
|
} catch (error) {
|
|
671
671
|
assertErrorThrown(error);
|
|
672
|
-
this.editorStore.applicationStore.
|
|
672
|
+
this.editorStore.applicationStore.logService.error(
|
|
673
673
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
674
674
|
error,
|
|
675
675
|
);
|
|
676
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
676
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
|
|
@@ -748,11 +748,11 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
748
748
|
}
|
|
749
749
|
} catch (error) {
|
|
750
750
|
assertErrorThrown(error);
|
|
751
|
-
this.editorStore.applicationStore.
|
|
751
|
+
this.editorStore.applicationStore.logService.error(
|
|
752
752
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
753
753
|
error,
|
|
754
754
|
);
|
|
755
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
755
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
758
|
|
|
@@ -813,11 +813,11 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
813
813
|
}
|
|
814
814
|
} catch (error) {
|
|
815
815
|
assertErrorThrown(error);
|
|
816
|
-
this.editorStore.applicationStore.
|
|
816
|
+
this.editorStore.applicationStore.logService.error(
|
|
817
817
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
818
818
|
error,
|
|
819
819
|
);
|
|
820
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
820
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
821
821
|
this.setExecutionResultText('');
|
|
822
822
|
} finally {
|
|
823
823
|
this.isExecuting = false;
|
|
@@ -912,11 +912,11 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
912
912
|
}
|
|
913
913
|
} catch (error) {
|
|
914
914
|
assertErrorThrown(error);
|
|
915
|
-
this.editorStore.applicationStore.
|
|
915
|
+
this.editorStore.applicationStore.logService.error(
|
|
916
916
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
917
917
|
error,
|
|
918
918
|
);
|
|
919
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
919
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
920
920
|
} finally {
|
|
921
921
|
this.isGeneratingPlan = false;
|
|
922
922
|
}
|
|
@@ -946,7 +946,7 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
946
946
|
if (setImplementation) {
|
|
947
947
|
if (this.inputDataState instanceof MappingExecutionEmptyInputDataState) {
|
|
948
948
|
if (setImplementation instanceof OperationSetImplementation) {
|
|
949
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
949
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
950
950
|
`Can't auto-generate input data for operation class mapping. Please pick a concrete class mapping instead`,
|
|
951
951
|
);
|
|
952
952
|
} else {
|
|
@@ -959,7 +959,7 @@ export class MappingExecutionState extends MappingEditorTabState {
|
|
|
959
959
|
);
|
|
960
960
|
}
|
|
961
961
|
} else {
|
|
962
|
-
this.editorStore.applicationStore.setActionAlertInfo({
|
|
962
|
+
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
963
963
|
message: 'Mapping execution input data is already set',
|
|
964
964
|
prompt: 'Do you want to regenerate the input data?',
|
|
965
965
|
type: ActionAlertType.CAUTION,
|
|
@@ -168,7 +168,7 @@ export class MappingTestQueryState extends LambdaEditorState {
|
|
|
168
168
|
this.clearErrors();
|
|
169
169
|
} catch (error) {
|
|
170
170
|
assertErrorThrown(error);
|
|
171
|
-
this.editorStore.applicationStore.
|
|
171
|
+
this.editorStore.applicationStore.logService.error(
|
|
172
172
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
173
173
|
error,
|
|
174
174
|
);
|
|
@@ -625,7 +625,7 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
625
625
|
}
|
|
626
626
|
this.setInputDataState(newInputDataState);
|
|
627
627
|
} else {
|
|
628
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
628
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
629
629
|
new UnsupportedOperationError(
|
|
630
630
|
`Can't build input data for source`,
|
|
631
631
|
source,
|
|
@@ -639,12 +639,12 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
639
639
|
*/
|
|
640
640
|
*regenerateExpectedResult(): GeneratorFn<void> {
|
|
641
641
|
if (DEPRECATED__validate_MappingTest(this.test)) {
|
|
642
|
-
this.editorStore.applicationStore.notifyError(
|
|
642
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
643
643
|
`Can't execute test '${this.test.name}'. Please make sure that the test query and input data are valid`,
|
|
644
644
|
);
|
|
645
645
|
return;
|
|
646
646
|
} else if (this.isExecutingTest) {
|
|
647
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
647
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
648
648
|
`Can't execute test '${this.test.name}' while it is running`,
|
|
649
649
|
);
|
|
650
650
|
return;
|
|
@@ -687,11 +687,11 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
687
687
|
} else {
|
|
688
688
|
throw new UnsupportedOperationError();
|
|
689
689
|
}
|
|
690
|
-
this.editorStore.applicationStore.
|
|
690
|
+
this.editorStore.applicationStore.logService.error(
|
|
691
691
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
692
692
|
error,
|
|
693
693
|
);
|
|
694
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
694
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
695
695
|
} finally {
|
|
696
696
|
this.isExecutingTest = false;
|
|
697
697
|
}
|
|
@@ -699,12 +699,12 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
699
699
|
|
|
700
700
|
*runTest(): GeneratorFn<void> {
|
|
701
701
|
if (DEPRECATED__validate_MappingTest(this.test)) {
|
|
702
|
-
this.editorStore.applicationStore.notifyError(
|
|
702
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
703
703
|
`Can't run test '${this.test.name}'. Please make sure that the test is valid`,
|
|
704
704
|
);
|
|
705
705
|
return;
|
|
706
706
|
} else if (this.isExecutingTest) {
|
|
707
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
707
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
708
708
|
`Test '${this.test.name}' is already running`,
|
|
709
709
|
);
|
|
710
710
|
return;
|
|
@@ -748,7 +748,7 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
748
748
|
}
|
|
749
749
|
} catch (error) {
|
|
750
750
|
assertErrorThrown(error);
|
|
751
|
-
this.editorStore.applicationStore.
|
|
751
|
+
this.editorStore.applicationStore.logService.error(
|
|
752
752
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
753
753
|
error,
|
|
754
754
|
);
|
|
@@ -782,7 +782,7 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
782
782
|
}
|
|
783
783
|
} catch (error) {
|
|
784
784
|
assertErrorThrown(error);
|
|
785
|
-
this.editorStore.applicationStore.
|
|
785
|
+
this.editorStore.applicationStore.logService.error(
|
|
786
786
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
787
787
|
error.message,
|
|
788
788
|
);
|
|
@@ -877,11 +877,11 @@ export class MappingTestState extends MappingEditorTabState {
|
|
|
877
877
|
}
|
|
878
878
|
} catch (error) {
|
|
879
879
|
assertErrorThrown(error);
|
|
880
|
-
this.editorStore.applicationStore.
|
|
880
|
+
this.editorStore.applicationStore.logService.error(
|
|
881
881
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
882
882
|
error,
|
|
883
883
|
);
|
|
884
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
884
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
885
885
|
} finally {
|
|
886
886
|
this.isGeneratingPlan = false;
|
|
887
887
|
}
|
package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts
CHANGED
|
@@ -86,7 +86,7 @@ export class PurePropertyMappingState extends PropertyMappingState {
|
|
|
86
86
|
if (error instanceof ParserError) {
|
|
87
87
|
this.setParserError(error);
|
|
88
88
|
}
|
|
89
|
-
this.editorStore.applicationStore.
|
|
89
|
+
this.editorStore.applicationStore.logService.error(
|
|
90
90
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
91
91
|
error,
|
|
92
92
|
);
|
|
@@ -116,7 +116,7 @@ export class PurePropertyMappingState extends PropertyMappingState {
|
|
|
116
116
|
this.clearErrors();
|
|
117
117
|
} catch (error) {
|
|
118
118
|
assertErrorThrown(error);
|
|
119
|
-
this.editorStore.applicationStore.
|
|
119
|
+
this.editorStore.applicationStore.logService.error(
|
|
120
120
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
121
121
|
error,
|
|
122
122
|
);
|
|
@@ -174,7 +174,7 @@ export class PureInstanceSetImplementationFilterState extends LambdaEditorState
|
|
|
174
174
|
if (error instanceof ParserError) {
|
|
175
175
|
this.setParserError(error);
|
|
176
176
|
}
|
|
177
|
-
this.editorStore.applicationStore.
|
|
177
|
+
this.editorStore.applicationStore.logService.error(
|
|
178
178
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
179
179
|
error,
|
|
180
180
|
);
|
|
@@ -202,7 +202,7 @@ export class PureInstanceSetImplementationFilterState extends LambdaEditorState
|
|
|
202
202
|
this.clearErrors();
|
|
203
203
|
} catch (error) {
|
|
204
204
|
assertErrorThrown(error);
|
|
205
|
-
this.editorStore.applicationStore.
|
|
205
|
+
this.editorStore.applicationStore.logService.error(
|
|
206
206
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
207
207
|
error,
|
|
208
208
|
);
|
|
@@ -309,7 +309,7 @@ export class PureInstanceSetImplementationState extends InstanceSetImplementatio
|
|
|
309
309
|
});
|
|
310
310
|
} catch (error) {
|
|
311
311
|
assertErrorThrown(error);
|
|
312
|
-
this.editorStore.applicationStore.
|
|
312
|
+
this.editorStore.applicationStore.logService.error(
|
|
313
313
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
314
314
|
error,
|
|
315
315
|
);
|
|
@@ -333,7 +333,7 @@ export class PureInstanceSetImplementationState extends InstanceSetImplementatio
|
|
|
333
333
|
);
|
|
334
334
|
} catch (error) {
|
|
335
335
|
assertErrorThrown(error);
|
|
336
|
-
this.editorStore.applicationStore.
|
|
336
|
+
this.editorStore.applicationStore.logService.error(
|
|
337
337
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
338
338
|
error,
|
|
339
339
|
);
|
|
@@ -96,7 +96,7 @@ export class RelationalPropertyMappingState extends PropertyMappingState {
|
|
|
96
96
|
if (error instanceof ParserError) {
|
|
97
97
|
this.setParserError(error);
|
|
98
98
|
}
|
|
99
|
-
this.editorStore.applicationStore.
|
|
99
|
+
this.editorStore.applicationStore.logService.error(
|
|
100
100
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
101
101
|
error,
|
|
102
102
|
);
|
|
@@ -131,7 +131,7 @@ export class RelationalPropertyMappingState extends PropertyMappingState {
|
|
|
131
131
|
this.clearErrors();
|
|
132
132
|
} catch (error) {
|
|
133
133
|
assertErrorThrown(error);
|
|
134
|
-
this.editorStore.applicationStore.
|
|
134
|
+
this.editorStore.applicationStore.logService.error(
|
|
135
135
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
136
136
|
error,
|
|
137
137
|
);
|
|
@@ -338,7 +338,7 @@ export class RootRelationalInstanceSetImplementationState extends RelationalInst
|
|
|
338
338
|
});
|
|
339
339
|
} catch (error) {
|
|
340
340
|
assertErrorThrown(error);
|
|
341
|
-
this.editorStore.applicationStore.
|
|
341
|
+
this.editorStore.applicationStore.logService.error(
|
|
342
342
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
343
343
|
error,
|
|
344
344
|
);
|
|
@@ -146,7 +146,7 @@ export class ServiceEditorState extends ElementEditorState {
|
|
|
146
146
|
).map((p) => User.serialization.fromJson(p));
|
|
147
147
|
} catch (error) {
|
|
148
148
|
assertErrorThrown(error);
|
|
149
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
149
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
150
150
|
return [];
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -276,7 +276,9 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
276
276
|
};
|
|
277
277
|
} catch (error) {
|
|
278
278
|
assertErrorThrown(error);
|
|
279
|
-
this.editorStore.applicationStore.notifyError(
|
|
279
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
280
|
+
error,
|
|
281
|
+
);
|
|
280
282
|
} finally {
|
|
281
283
|
this.loadQueryInfoState.reset();
|
|
282
284
|
}
|
|
@@ -296,7 +298,9 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
296
298
|
yield flowResult(this.updateLamba(lambda));
|
|
297
299
|
} catch (error) {
|
|
298
300
|
assertErrorThrown(error);
|
|
299
|
-
this.editorStore.applicationStore.notifyError(
|
|
301
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
302
|
+
error,
|
|
303
|
+
);
|
|
300
304
|
} finally {
|
|
301
305
|
this.setOpenQueryImporter(false);
|
|
302
306
|
this.importQueryState.reset();
|
|
@@ -346,7 +350,7 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
346
350
|
} catch (error) {
|
|
347
351
|
assertErrorThrown(error);
|
|
348
352
|
this.loadQueriesState.fail();
|
|
349
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
353
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
350
354
|
}
|
|
351
355
|
}
|
|
352
356
|
|
|
@@ -380,7 +384,7 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
380
384
|
this.clearErrors();
|
|
381
385
|
} catch (error) {
|
|
382
386
|
assertErrorThrown(error);
|
|
383
|
-
this.editorStore.applicationStore.
|
|
387
|
+
this.editorStore.applicationStore.logService.error(
|
|
384
388
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
385
389
|
error,
|
|
386
390
|
);
|
|
@@ -633,11 +637,11 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
633
637
|
}
|
|
634
638
|
} catch (error) {
|
|
635
639
|
assertErrorThrown(error);
|
|
636
|
-
this.editorStore.applicationStore.
|
|
640
|
+
this.editorStore.applicationStore.logService.error(
|
|
637
641
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
638
642
|
error,
|
|
639
643
|
);
|
|
640
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
644
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
641
645
|
} finally {
|
|
642
646
|
this.isGeneratingPlan = false;
|
|
643
647
|
}
|
|
@@ -713,11 +717,11 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
713
717
|
}
|
|
714
718
|
} catch (error) {
|
|
715
719
|
assertErrorThrown(error);
|
|
716
|
-
this.editorStore.applicationStore.
|
|
720
|
+
this.editorStore.applicationStore.logService.error(
|
|
717
721
|
LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
|
|
718
722
|
error,
|
|
719
723
|
);
|
|
720
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
724
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
721
725
|
} finally {
|
|
722
726
|
this.isRunningQuery = false;
|
|
723
727
|
}
|
|
@@ -270,7 +270,7 @@ export class ServiceRegistrationState {
|
|
|
270
270
|
'Service registration pattern is missing or empty',
|
|
271
271
|
);
|
|
272
272
|
|
|
273
|
-
this.editorStore.applicationStore.setActionAlertInfo({
|
|
273
|
+
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
274
274
|
message: `Service with pattern ${
|
|
275
275
|
serviceRegistrationResult.pattern
|
|
276
276
|
} registered ${this.activatePostRegistration ? 'and activated ' : ''}`,
|
|
@@ -281,7 +281,7 @@ export class ServiceRegistrationState {
|
|
|
281
281
|
label: 'Launch Service',
|
|
282
282
|
type: ActionAlertActionType.PROCEED,
|
|
283
283
|
handler: (): void => {
|
|
284
|
-
this.editorStore.applicationStore.navigator.visitAddress(
|
|
284
|
+
this.editorStore.applicationStore.navigationService.navigator.visitAddress(
|
|
285
285
|
generateServiceManagementUrl(
|
|
286
286
|
config.managementUrl,
|
|
287
287
|
serviceRegistrationResult.pattern,
|
|
@@ -298,11 +298,11 @@ export class ServiceRegistrationState {
|
|
|
298
298
|
});
|
|
299
299
|
} catch (error) {
|
|
300
300
|
assertErrorThrown(error);
|
|
301
|
-
this.editorStore.applicationStore.
|
|
301
|
+
this.editorStore.applicationStore.logService.error(
|
|
302
302
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SERVICE_REGISTRATION_FAILURE),
|
|
303
303
|
error,
|
|
304
304
|
);
|
|
305
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
305
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
306
306
|
} finally {
|
|
307
307
|
this.registrationState.reset();
|
|
308
308
|
this.registrationState.setMessage(undefined);
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts
CHANGED
|
@@ -195,7 +195,7 @@ export class ConnectionTestDataState {
|
|
|
195
195
|
this.generatingTestDataSate.pass();
|
|
196
196
|
} catch (error) {
|
|
197
197
|
assertErrorThrown(error);
|
|
198
|
-
this.editorStore.applicationStore.notifyError(
|
|
198
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
199
199
|
`Unable to generate test data: ${error.message}`,
|
|
200
200
|
);
|
|
201
201
|
this.generatingTestDataSate.fail();
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts
CHANGED
|
@@ -282,7 +282,7 @@ export class ServiceTestSetupState {
|
|
|
282
282
|
this.addExpressionParameterValue(expression);
|
|
283
283
|
} catch (error) {
|
|
284
284
|
assertErrorThrown(error);
|
|
285
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
285
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
286
286
|
} finally {
|
|
287
287
|
this.setShowNewParameterModal(false);
|
|
288
288
|
}
|
|
@@ -316,7 +316,7 @@ export class ServiceTestSetupState {
|
|
|
316
316
|
this.parameterValueStates.push(paramValueState);
|
|
317
317
|
} catch (error) {
|
|
318
318
|
assertErrorThrown(error);
|
|
319
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
319
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
|
|
@@ -406,7 +406,7 @@ export class ServiceTestSetupState {
|
|
|
406
406
|
this.parameterValueStates = parameterValueStates;
|
|
407
407
|
} catch (error) {
|
|
408
408
|
assertErrorThrown(error);
|
|
409
|
-
this.editorStore.applicationStore.notifyError(
|
|
409
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
410
410
|
`Unable to generate param values: ${error.message}`,
|
|
411
411
|
);
|
|
412
412
|
}
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts
CHANGED
|
@@ -160,7 +160,7 @@ export class ServiceTestSuiteState {
|
|
|
160
160
|
this.isRunningTest.complete();
|
|
161
161
|
} catch (error) {
|
|
162
162
|
assertErrorThrown(error);
|
|
163
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
163
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
164
164
|
this.isRunningTest.fail();
|
|
165
165
|
} finally {
|
|
166
166
|
this.testStates.forEach((t) => t.runningTestAction.complete());
|
|
@@ -198,7 +198,7 @@ export class ServiceTestSuiteState {
|
|
|
198
198
|
this.isRunningTest.complete();
|
|
199
199
|
} catch (error) {
|
|
200
200
|
assertErrorThrown(error);
|
|
201
|
-
this.editorStore.applicationStore.notifyError(error);
|
|
201
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
202
202
|
this.isRunningTest.fail();
|
|
203
203
|
} finally {
|
|
204
204
|
this.testStates.forEach((t) => t.runningTestAction.complete());
|
|
@@ -314,7 +314,7 @@ export class TestAssertionEditorState {
|
|
|
314
314
|
this.generatingExpectedAction.complete();
|
|
315
315
|
} catch (error) {
|
|
316
316
|
assertErrorThrown(error);
|
|
317
|
-
this.editorStore.applicationStore.notifyError(
|
|
317
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
318
318
|
`Error generating expected result: ${error.message}`,
|
|
319
319
|
);
|
|
320
320
|
this.generatingExpectedAction.fail();
|
|
@@ -159,7 +159,7 @@ export class TestableTestEditorState {
|
|
|
159
159
|
this.runningTestAction.complete();
|
|
160
160
|
} catch (error) {
|
|
161
161
|
assertErrorThrown(error);
|
|
162
|
-
this.editorStore.applicationStore.notifyError(
|
|
162
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
163
163
|
`Error running test: ${error.message}`,
|
|
164
164
|
);
|
|
165
165
|
this.runningTestAction.fail();
|
|
@@ -450,7 +450,7 @@ export class EntityChangeConflictEditorState extends EntityDiffViewerState {
|
|
|
450
450
|
),
|
|
451
451
|
);
|
|
452
452
|
} else {
|
|
453
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
453
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
454
454
|
`Can't mark conflict as resolved: more than one element found in parsed text`,
|
|
455
455
|
);
|
|
456
456
|
return;
|
|
@@ -459,7 +459,7 @@ export class EntityChangeConflictEditorState extends EntityDiffViewerState {
|
|
|
459
459
|
assertErrorThrown(error);
|
|
460
460
|
if (error instanceof ParserError) {
|
|
461
461
|
this.mergeEditorParserError = error;
|
|
462
|
-
this.editorStore.applicationStore.notifyWarning(
|
|
462
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
463
463
|
`Can't mark conflict as resolved. Parsing error: ${this.mergeEditorParserError.message}`,
|
|
464
464
|
);
|
|
465
465
|
}
|
|
@@ -209,7 +209,7 @@ export class EntityDiffViewState extends EntityDiffViewerState {
|
|
|
209
209
|
this.setFromGrammarText(
|
|
210
210
|
'/* Failed to transform grammar text, see JSON diff instead */',
|
|
211
211
|
);
|
|
212
|
-
this.editorStore.applicationStore.
|
|
212
|
+
this.editorStore.applicationStore.logService.error(
|
|
213
213
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
214
214
|
error,
|
|
215
215
|
);
|
|
@@ -232,7 +232,7 @@ export class EntityDiffViewState extends EntityDiffViewerState {
|
|
|
232
232
|
this.setFromGrammarText(
|
|
233
233
|
'/* Failed to transform grammar text, see JSON diff instead */',
|
|
234
234
|
);
|
|
235
|
-
this.editorStore.applicationStore.
|
|
235
|
+
this.editorStore.applicationStore.logService.error(
|
|
236
236
|
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
237
237
|
error,
|
|
238
238
|
);
|