You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2025/12/03 16:41:34 UTC
(streampipes) branch 3960-make-datasets-a-first-class-ui-view updated (e54cffaa66 -> 356b1b9cf3)
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a change to branch 3960-make-datasets-a-first-class-ui-view
in repository https://gitbox.apache.org/repos/asf/streampipes.git
from e54cffaa66 fix: Various layout bugs (#3954)
new f0c36082ab Move datasets to top-level view
new 5db87db6a1 Use sp-table in dataset configuration
add 70db85b584 refactor(#3956): Add e2e test for charts (#3957)
add 91e66456c5 fix: Use asset storage for default asset migration (#3955)
add b4f205e698 fix: Update default roles and privileges (#3959)
add e2eaa319fb fix: Align UI views with dashboard and data explorer permissions (#3961)
add 38f7cfcc04 fix: Connect admins can see live preview (#3963)
add 8a9e3527c6 fix: Connect admins can upload files (#3964)
add 3ebe611381 feat: Add connection test to export provider (#3942)
add 96246cd2e1 fix: Align UI permissions for assets and sites (#3965)
add 588e7e0db2 feat: Remove pipeline selection from data explorer query selector (#3958)
add 32af33024a fixes: on dev small usability fixes and fixes on filter function (#3951)
add 6ab2d3d198 feat: Add e2e test for asset roles (#3966)
add 6a283327c2 feat: Improved Logging and Manual Trigger for Datalake Retention (#3945)
add 2713eeb004 Enhance the filter behavior for Labels and Types on Resources (#3962)
add 02a77a308a fix: Remove unused import
add 765d7bf524 Fix for missing pre-used labels in label selection (#3969)
add 818dcd9754 fix: Properly handle deleted labels in asset view (#3970)
add 9ebbdf82e4 fix: Title width in data explorer (#3973)
add 363157d829 fix: Use elementId in asset export
add 57cd56c079 feat: Add e2e to test asset filters (#3976)
add 6ed0e50277 chore: Update RELEASE_NOTES.md for version 0.98.0 (#3988)
add 2b3ef49418 refactor: Update version in github bug report template
add 76a43042f2 refactor: Rename DataExplorer services to Chart services and update references (#3987)
add 7e40101021 refactor: Migrate configuration to control flow syntax (#3982)
add af3b546e41 refactor: Migrate modules home, info, login, notifications and profile to control flow syntax (#3984)
add b814989fb5 refactor(#3927): migrate all data sinks from streampipesdatasink to istreampipesdatasink (#3928)
add 3539cc35d3 Replaced the library fusesource/mqtt with hiveMq (#3934)
add 9de1159151 refactor: Migrate assets to control flow syntax (#3993)
add 9a7b8d33c9 chore(deps-dev): bump node-forge from 1.3.1 to 1.3.2 in /ui (#3977)
add ae73d7270c Popup to ensure saving when creating a new chart (#3991)
add 170525d49b Fix: failing tests due to chart save pop up (#4002)
add ea607d8f21 refactor: Migrate editor to control flow syntax (#3997)
add 9ff09d7729 refactor: Migrate pipeline-details & pipelines to control flow syntax (#3999)
add 16df077c00 refactor: Remove deprecated classes StreamPipesDataProcessor & StreamPipesDataSink (#3995)
add e7f147a2d3 refactor: Rename adapter-description components to adapter-catalog-item and streamline code (#4008)
add 2168e4dc27 refactor: Migrate shared-ui to control flow syntax (#4006)
add 92765480b0 refactor: Migrate core & core-ui to control flow syntax (#4004)
add dbd631014c fix: Correct type checking error for HTTP headers in Python client (#3990)
add 5fd50b1055 fix: Fixing Non-deterministic Behavior in StreamPipesApiPathTest (#4012)
add 03de78e2e4 feat: Extend capabilities of machine data simulator (#4013)
add 104b5f2578 chore(deps): bump org.apache.maven.plugins:maven-archetype-plugin from 3.2.1 to 3.4.1 (#3855)
new b26f5f1d3e Merge branch 'dev' into 3960-make-datasets-a-first-class-ui-view
new 356b1b9cf3 Modify imports after merge
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/ISSUE_TEMPLATE/bug_report.yml | 2 +-
RELEASE_NOTES.md | 124 ++++
.../streampipes-archetype-extensions-jvm/pom.xml | 2 +-
pom.xml | 19 +-
.../go-client-e2e/adapter/machine.json | 25 +-
.../streampipes/client/client.py | 13 +-
.../client/util/StreamPipesApiPathTest.java | 8 +-
streampipes-commons/pom.xml | 2 +-
.../apache/streampipes/commons/constants/Envs.java | 1 +
.../commons/environment/DefaultEnvironment.java | 5 +
.../commons/environment/Environment.java | 1 +
.../export/ObjectStorge/IObjectStorage.java | 1 +
.../export/ObjectStorge/LocalFolder.java | 5 +
.../dataexplorer/export/ObjectStorge/S3.java | 5 +
.../ObjectStorge/TestExportProviderConnection.java | 71 ++
streampipes-data-export/pom.xml | 5 +
.../streampipes/export/DataLakeExportManager.java | 129 ++--
.../iiot/IIoTAdaptersExtensionModuleExport.java | 5 +-
.../simulator/machine/MachineDataSimulator.java | 121 +---
.../machine/MachineDataSimulatorAdapter.java | 23 +-
.../machine/MachineDataSimulatorUtils.java | 157 +----
.../machine/event/DiagnosticSimulator.java | 371 ++++++++++
.../simulator/machine/event/EventSimulator.java | 11 +-
.../FlowSimulator.java} | 102 +--
.../simulator/machine/event/PressureSimulator.java | 80 +++
.../machine/event/SensorValueSimulator.java | 9 +-
.../machine/event/WaterlevelSimulator.java | 88 +++
.../MachineDataSimulatorMigrationV1.java} | 29 +-
.../documentation.md | 32 -
.../icon.png | Bin 12881 -> 0 bytes
.../strings.en | 44 --
.../documentation.md | 34 -
.../icon.png | Bin 31009 -> 0 bytes
.../strings.en | 26 -
.../strings.en | 5 +-
.../connectors/influx/sink/InfluxDbSink.java | 56 +-
.../streampipes-connectors-mqtt/pom.xml | 7 +-
.../mqtt/migration/MQTTAdapterMigrationV1.java | 10 +-
.../connectors/mqtt/security/SecurityUtils.java | 70 +-
.../connectors/mqtt/shared/MqttBase.java | 84 ++-
.../connectors/mqtt/shared/MqttConfig.java | 19 +-
.../connectors/mqtt/shared/MqttConnectUtils.java | 29 +-
.../connectors/mqtt/shared/MqttConsumer.java | 90 ++-
.../connectors/mqtt/shared/MqttPublisher.java | 56 +-
.../streampipes-sinks-brokers-jvm/pom.xml | 6 +-
.../jvm/bufferrest/BufferRestPublisherSink.java | 48 +-
.../sinks/brokers/jvm/jms/JmsPublisherSink.java | 56 +-
.../jvm/rabbitmq/RabbitMqPublisherSink.java | 51 +-
.../sinks/databases/jvm/couchdb/CouchDbSink.java | 45 +-
.../sinks/databases/jvm/ditto/DittoSink.java | 55 +-
.../sinks/databases/jvm/iotdb/IotDbSink.java | 55 +-
.../sinks/databases/jvm/milvus/MilvusSink.java | 52 +-
.../sinks/databases/jvm/parquet/ParquetSink.java | 54 +-
.../databases/jvm/postgresql/PostgreSqlSink.java | 59 +-
.../sinks/databases/jvm/redis/RedisSink.java | 64 +-
.../sinks/databases/jvm/tsfile/TsFileSink.java | 54 +-
.../sinks/internal/jvm/datalake/DataLakeSink.java | 62 +-
.../InternalStreamPipesNotificationSink.java | 23 +-
.../sinks/notifications/jvm/email/EmailSink.java | 25 +-
.../notifications/jvm/msteams/MSTeamsSink.java | 25 +-
.../notifications/jvm/onesignal/OneSignalSink.java | 23 +-
.../jvm/slack/SlackNotificationSink.java | 23 +-
.../notifications/jvm/telegram/TelegramSink.java | 23 +-
streampipes-integration-tests/pom.xml | 2 +-
.../adapters/AdaptersIntegrationTest.java | 16 +-
.../integration/adapters/MqttAdapterTLSTester.java | 1 -
.../src/test/resources/truststore.jks | Bin 0 -> 1238 bytes
streampipes-messaging-mqtt/pom.xml | 4 +-
.../messaging/mqtt/AbstractMqttConnector.java | 46 +-
.../streampipes/messaging/mqtt/MqttConsumer.java | 118 ++--
.../streampipes/messaging/mqtt/MqttPublisher.java | 87 ++-
.../model/client/user/DefaultPrivilege.java | 14 -
.../model/datalake/RetentionExportConfig.java | 57 +-
.../streampipes/model/datalake/RetentionLog.java | 69 ++
.../manager/setup/CouchDbInstallationStep.java | 2 -
.../setup/tasks/CreateDefaultAssetTask.java | 43 --
.../apache/streampipes/rest/ResetManagement.java | 3 +-
.../apache/streampipes/rest/impl/FileResource.java | 5 +-
.../admin/ExportProviderConfigurationResource.java | 40 +-
.../rest/impl/datalake/DataLakeResource.java | 305 +++-----
.../streampipes/rest/security/AuthConstants.java | 4 +
.../core/migrations/AvailableMigrations.java | 6 +-
.../v070/CreateDefaultAssetMigration.java | 50 --
.../RemoveObsoletePrivilegesMigration.java} | 32 +-
.../service/core/scheduler/DataLakeScheduler.java | 158 +----
.../management/authorization/PrivilegeManager.java | 46 +-
.../user/management/authorization/RoleManager.java | 11 +-
.../standalone/StreamPipesDataProcessor.java | 69 --
.../wrapper/standalone/StreamPipesDataSink.java | 71 --
.../standalone/StreamPipesNotificationSink.java | 50 +-
ui/cypress/support/builder/AssetBuilder.ts | 82 +++
.../model/{TreeNodeUserInput.ts => Asset.ts} | 11 +-
ui/cypress/support/utils/DashboardUtils.ts | 22 +
ui/cypress/support/utils/asset/AssetBtns.ts | 26 +
ui/cypress/support/utils/asset/AssetUtils.ts | 82 ++-
.../utils/configuration/ConfigurationUtils.ts | 8 +-
.../support/utils/configuration/SiteUtils.ts | 2 +-
.../support/utils/dataExplorer/DataExplorerBtns.ts | 18 +-
.../utils/dataExplorer/DataExplorerUtils.ts | 127 +++-
ui/cypress/support/utils/filter/FilterBtns.ts | 63 ++
ui/cypress/support/utils/filter/FilterUtils.ts | 97 +++
.../tests/assetManagement/assetFilterTest.spec.ts | 282 ++++++++
.../assetManagement/generalAssetTest.smoke.spec.ts | 2 -
ui/cypress/tests/connect/adapterWithAssets.spec.ts | 10 +-
.../dataDownloadDialogTest.smoke.spec.ts | 5 +-
.../dataExplorer/addAssetToDashboard.smoke.spec.ts | 14 +-
.../dataExplorer/addAssetsToDataView.smoke.spec.ts | 14 +-
.../tests/dataExplorer/charts/heatmap.spec.ts | 7 +-
.../tests/dataExplorer/charts/histogram.spec.ts | 3 +-
.../tests/dataExplorer/charts/indicator.spec.ts | 3 +-
ui/cypress/tests/dataExplorer/charts/map.spec.ts | 7 +-
.../dataExplorer/charts/scatter.smoke.spec.ts | 3 +-
ui/cypress/tests/dataExplorer/charts/table.spec.ts | 3 +-
.../dataExplorer/charts/timeSeriesSave.spec.ts | 12 +-
.../dataExplorer/deleteViewAndDashboard.spec.ts | 5 +-
.../dataExplorer/missingDataInDataLake.spec.ts | 5 +-
.../widgetDataConfiguration.smoke.spec.ts | 5 +-
ui/cypress/tests/pipeline/pipelineAsset.spec.ts | 10 +-
.../testAddAssetOnResourceCreation.ts | 8 +-
.../userManagement/testUserRoleAssets.spec.ts | 148 ++++
.../userManagement/testUserRoleCharts.spec.ts | 159 +++++
.../userManagement/testUserRoleDashboard.spec.ts | 204 ++++++
.../testVariousUserRoles.smoke.spec.ts | 9 +-
ui/deployment/dev/config.yml | 1 +
ui/deployment/i18n/de.json | 83 ++-
ui/deployment/i18n/en.json | 86 +--
ui/deployment/modules.yml | 13 +
ui/package-lock.json | 12 +-
.../src/lib/apis/datalake-rest.service.ts | 7 +
.../src/lib/apis/export-provider.service.ts | 10 +-
.../model/config/export-provider-config.model.ts | 7 +-
.../model/datalake/data-lake-query-config.model.ts | 1 -
.../src/lib/model/gen/streampipes-model-client.ts | 5 +-
.../src/lib/model/gen/streampipes-model.ts | 26 +-
.../asset-browser-hierarchy.component.html | 132 ++--
.../asset-browser-node-info.component.html | 64 +-
.../asset-browser-node.component.html | 90 +--
...asset-browser-filter-asset-model.component.html | 49 +-
.../asset-browser-filter-labels.component.html | 55 +-
.../asset-browser-filter-outer.component.html | 45 +-
.../asset-browser-filter-sites.component.html | 49 +-
.../asset-browser-filter-type.component.html | 49 +-
.../asset-browser-filter.component.html | 104 +--
.../asset-browser-toolbar.component.html | 1 +
.../asset-browser-toolbar.component.ts | 1 +
.../asset-browser/asset-browser.component.html | 47 +-
.../asset-browser/asset-browser.component.ts | 1 +
.../asset-browser/asset-browser.service.ts | 116 ++-
.../asset-link-configuration.component.html | 49 +-
.../basic-header-title/header-title.component.html | 3 +
.../basic-header-title/header-title.component.scss | 9 +-
.../basic-header-title/header-title.component.ts | 3 +
.../basic-inner-panel.component.html | 92 +--
.../basic-nav-tabs/basic-nav-tabs.component.html | 86 +--
.../basic-view/basic-view.component.html | 77 +-
.../pipeline-element-documentation.component.html | 53 +-
.../live-preview-table.component.html | 48 +-
.../pipeline-element-runtime-info.component.html | 51 +-
.../pipeline-element.component.html | 56 +-
.../sidebar-resize/sidebar-resize.component.html | 40 +-
.../exception-details.component.html | 69 +-
.../sp-exception-message.component.html | 64 +-
.../split-section/split-section.component.html | 44 +-
.../split-section/split-section.component.scss | 1 -
.../refresh-interval-settings.component.html | 44 +-
.../time-range-selector.component.html | 183 ++---
.../custom-time-range-selection.component.html | 171 ++---
.../time-selector-menu.component.html | 136 ++--
.../confirm-dialog/confirm-dialog.component.html | 45 +-
.../components/download/download.component.html | 76 +-
.../select-data-range.component.html | 82 +--
.../select-format/select-format.component.html | 213 +++---
.../data-download-dialog.component.html | 95 +--
.../object-permission-dialog.component.html | 154 ++--
.../pipeline-element-help.component.html | 58 +-
ui/src/app/_enums/page-name.enum.ts | 1 +
ui/src/app/_enums/user-privilege.enum.ts | 6 -
ui/src/app/_guards/page-auth.can-active.guard.ts | 18 +-
ui/src/app/assets/assets.module.ts | 6 +
.../asset-details-basics.component.html | 75 +-
.../asset-details-labels.component.html | 189 ++---
.../asset-details-labels.component.ts | 12 +-
.../asset-details-site.component.html | 77 +-
.../asset-location/asset-location.component.html | 64 +-
.../asset-details-links.component.html | 106 +--
.../asset-link-item/asset-link-item.component.html | 71 +-
.../asset-link-section.component.html | 71 +-
.../edit-asset/asset-details.component.html | 175 ++---
.../asset-selection-panel.component.html | 258 +++----
.../view-asset-basics.component.html | 87 +--
.../view-asset/view-asset.component.html | 132 ++--
.../asset-overview/asset-overview.component.html | 104 +--
.../asset-overview/asset-overview.component.ts | 46 +-
.../edit-asset-link-dialog.component.html | 455 ++++++------
.../manage-asset-links-dialog.component.html | 778 +++++++++++----------
.../configuration/configuration-tabs.service.ts | 6 -
ui/src/app/configuration/configuration.module.ts | 25 +-
.../datalake-configuration.component.html | 437 ------------
.../data-retention-dialog.component.html | 77 --
.../delete-datalake-index-dialog.component.html | 98 ---
.../extensions-installation.component.html | 152 ++--
...xtensions-service-details-dialog.component.html | 53 +-
.../file-upload/file-upload-dialog.component.html | 234 ++++---
.../file-upload/file-upload-dialog.component.ts | 2 +-
.../edit-location-area.component.html | 95 +--
.../edit-location/edit-location.component.html | 71 +-
.../manage-site/manage-site-dialog.component.html | 50 +-
.../manage-site/manage-site-dialog.component.ts | 8 +-
.../email-configuration.component.html | 495 +++++++------
.../email-template-configuration.component.html | 56 +-
.../export/data-export-import.component.html | 48 +-
.../data-export-dialog.component.html | 155 ++--
.../data-export-item.component.html | 47 +-
.../data-import-dialog.component.html | 389 ++++++-----
.../endpoint-item/endpoint-item.component.html | 173 ++---
.../extensions-installation.component.html | 114 ++-
.../certificate-configuration.component.html | 258 +++----
.../service-configs-item.component.html | 72 +-
.../service-configs-password.component.html | 40 +-
.../service-configs/service-configs.component.html | 52 +-
.../registered-extensions-services.component.html | 54 +-
.../general-configuration.component.html | 379 +++++-----
.../edit-label/edit-label.component.html | 45 +-
.../label-configuration.component.html | 146 ++--
.../messaging-configuration.component.html | 272 +++----
.../edit-group-dialog.component.html | 49 +-
.../edit-role-dialog.component.html | 93 +--
.../edit-user-dialog.component.html | 338 ++++-----
.../role-configuration.component.html | 178 ++---
.../security-service-config.component.html | 142 ++--
.../security-user-config.component.html | 251 +++----
.../user-group-configuration.component.html | 159 +++--
.../location-features-configuration.component.html | 131 ++--
.../sites-configuration.component.html | 51 +-
.../sites-configuration.component.ts | 20 +-
.../adapter-catalog/adapter-catalog.component.html | 14 +-
.../adapter-catalog/adapter-catalog.component.scss | 28 -
.../adapter-catalog/adapter-catalog.component.ts | 32 +-
...nt.html => adapter-catalog-item.component.html} | 9 +-
...nt.scss => adapter-catalog-item.component.scss} | 27 +-
...ponent.ts => adapter-catalog-item.component.ts} | 40 +-
.../adapter-configuration.component.ts | 2 +-
.../event-schema/event-schema.component.ts | 5 +-
.../adapter-details-logs.component.html | 2 +-
.../create-adapter/create-adapter.component.ts | 50 +-
.../edit-adapter/edit-adapter.component.html | 2 +-
.../edit-adapter/edit-adapter.component.ts | 30 +-
.../existing-adapters.component.ts | 10 +-
ui/src/app/connect/connect.module.ts | 4 +-
ui/src/app/connect/connect.routes.ts | 11 +-
.../core-ui/error-hint/error-hint.component.html | 119 ++--
.../simple-logs/simple-logs.component.html | 74 +-
.../multi-step-status-indicator.component.html | 81 ++-
...pipeline-element-template-config.component.html | 189 ++---
.../pipeline-operation-status.component.html | 92 ++-
.../pipeline-started-status.component.html | 135 ++--
.../single-marker-map.component.html | 36 +-
.../static-alternatives.component.html | 151 ++--
.../static-any-input.component.html | 88 +--
.../add-to-collection.component.html | 139 ++--
.../static-collection.component.html | 82 ++-
.../static-file-input.component.html | 218 +++---
.../static-free-input.component.html | 206 +++---
.../static-group/static-group.component.html | 125 ++--
.../static-mapping-nary.component.html | 64 +-
.../static-mapping-unary.component.html | 54 +-
.../static-one-of-input.component.html | 91 +--
.../static-property.component.html | 548 ++++++++-------
...tic-runtime-resolvable-any-input.component.html | 109 +--
.../static-runtime-resolvable-group.component.html | 127 ++--
...c-runtime-resolvable-oneof-input.component.html | 107 +--
...ic-runtime-resolvable-tree-input.component.html | 124 ++--
.../static-tree-input-browse-nodes.component.html | 147 ++--
.../static-tree-input-button-menu.component.html | 113 +--
.../static-tree-input-node-details.component.html | 51 +-
...static-tree-input-selected-nodes.component.html | 70 +-
.../static-secret-input.component.html | 40 +-
ui/src/app/core-ui/topics/topics.component.html | 354 +++++-----
.../breadcrumb/breadcrumb.component.html | 58 +-
.../core/components/toolbar/toolbar.component.html | 277 ++++----
.../components/kiosk/dashboard-kiosk.component.ts | 4 +-
.../dashboard-overview-table.component.html | 5 +-
.../dashboard-overview-table.component.ts | 20 +-
.../chart-selection/chart-selection.component.html | 20 +-
.../chart-selection/chart-selection.component.ts | 12 +-
.../panel/dashboard-panel.component.html | 4 +-
.../components/panel/dashboard-panel.component.ts | 20 +-
.../dashboard-toolbar.component.html | 4 +-
.../dashboard-toolbar.component.ts | 2 +-
ui/src/app/dashboard/dashboard.module.ts | 6 +-
.../data-explorer-chart-container.component.html | 212 +++---
.../data-explorer-chart-container.component.scss | 2 +-
.../data-explorer-chart-container.component.ts | 16 +-
.../base/base-data-explorer-widget.directive.ts | 4 +-
.../components/charts/base/base-widget-config.ts | 4 +-
.../gauge/config/gauge-widget-config.component.ts | 4 +-
.../config/heatmap-widget-config.component.ts | 4 +-
.../map/config/map-widget-config.component.ts | 4 +-
.../config/pie-chart-widget-config.component.ts | 4 +-
.../status-heatmap-widget-config.component.ts | 4 +-
.../config/status-widget-config.component.ts | 4 +-
.../table/config/table-widget-config.component.ts | 4 +-
.../time-series-chart-widget-config.component.ts | 4 +-
.../traffic-light-widget-config.component.ts | 4 +-
.../echarts-renderer/base-echarts-renderer.ts | 8 +-
...on.service.ts => chart-colorization.service.ts} | 2 +-
...-service.ts => chart-field-provider.service.ts} | 2 +-
...=> chart-panel-can-deactivate-guard.service.ts} | 17 +-
...routing.service.ts => chart-routing.service.ts} | 2 +-
...r-shared.service.ts => chart-shared.service.ts} | 2 +-
.../data-explorer-chart-view.component.html | 1 +
.../data-explorer-chart-view.component.ts | 99 ++-
.../data-explorer-designer-panel.component.scss | 1 +
...ta-explorer-widget-data-settings.component.html | 233 +-----
...data-explorer-widget-data-settings.component.ts | 122 +---
.../field-selection-panel.component.ts | 4 +-
.../filter-selection-panel.component.ts | 4 +-
.../group-selection-panel.component.ts | 4 +-
.../data-explorer-overview-table.component.html | 6 +-
.../data-explorer-overview-table.component.ts | 25 +-
.../overview/data-explorer-overview.component.ts | 4 +-
ui/src/app/data-explorer/data-explorer.module.ts | 5 +-
ui/src/app/data-explorer/data-explorer.routes.ts | 2 +-
....service.ts => chart-detect-changes.service.ts} | 2 +-
.../datalake-configuration-entry.ts | 2 +-
.../datalake-configuration.component.html | 435 ++++++++++++
.../datalake-configuration.component.scss | 0
.../datalake-configuration.component.ts | 67 +-
ui/src/app/dataset/dataset.module.ts | 110 +++
.../select-export/select-format.component.html | 0
.../select-export/select-format.component.scss | 0
.../select-export/select-format.component.ts | 0
.../select-data-retention.component.html | 0
.../select-data-retention.component.scss | 0
.../select-data-retention.component.ts | 0
.../select-retention/select-data.component.html | 0
.../select-retention/select-data.component.scss | 0
.../select-retention/select-data.component.ts | 0
.../select-retention-action.component.html | 0
.../select-retention-action.component.scss | 0
.../select-retention-action.component.ts | 0
.../data-retention-dialog.component.html | 87 +++
.../data-retention-dialog.component.scss | 0
.../data-retention-dialog.component.ts | 21 +-
.../model/data-retention-config.model.ts | 0
.../model/data-retention-dialog.model.ts | 0
.../model/data-retention-provider.model.ts | 0
.../model/retention-config.model.ts | 0
.../model/retention-export-config.model.ts | 0
.../data-retention-log-dialog.component.html | 97 +++
.../data-retention-log-dialog.component.ts} | 36 +-
.../data-retention-now-dialog.component.html | 81 +++
.../data-retention-now-dialog.component.ts | 75 ++
.../delete-datalake-index-dialog.component.html | 114 +++
.../delete-datalake-index-dialog.component.ts | 0
.../delete-export-provider-dialog.component.html | 92 +++
.../delete-export-provider-dialog.component.ts | 0
...export-provider-connection-test.component.html} | 75 +-
.../export-provider-connection-test.component.ts | 79 +++
.../export-provider-dialog.component.html | 0
.../export-provider-dialog.component.ts | 0
.../custom-output-strategy.component.html | 130 ++--
.../output-strategy/output-strategy.component.html | 96 +--
.../property-selection.component.html | 85 ++-
.../user-defined-output.component.html | 136 ++--
.../pipeline-assembly-drawing-area.component.html | 47 +-
...-assembly-options-pipeline-cache.component.html | 80 ++-
.../pipeline-assembly-options.component.html | 44 +-
.../pipeline-assembly.component.html | 63 +-
.../pipeline-element-icon-stand-row.component.html | 70 +-
.../pipeline-element-icon-stand.component.html | 339 +++++----
.../pipeline-element-options.component.html | 143 ++--
.../pipeline-element-preview.component.html | 79 +--
.../pipeline-element-statistics.component.html | 75 +-
.../dropped-pipeline-element.component.html | 199 +++---
.../components/pipeline/pipeline.component.html | 108 +--
.../compatible-elements.component.html | 101 +--
.../dialog/customize/customize.component.html | 359 +++++-----
.../matching-error/matching-error.component.html | 84 ++-
.../missing-elements-for-tutorial.component.html | 49 +-
.../pipeline-element-discovery.component.html | 97 +--
.../save-pipeline-settings.component.html | 177 +++--
.../save-pipeline/save-pipeline.component.html | 169 ++---
ui/src/app/editor/editor.component.html | 122 ++--
ui/src/app/home/components/status.component.html | 58 +-
ui/src/app/home/home.component.html | 119 ++--
ui/src/app/info/versions/versions.component.html | 164 ++---
.../activate-account.component.html | 76 +-
.../components/auth-box/auth-box.component.html | 98 ++-
.../login/components/login/login.component.html | 173 ++---
.../components/register/register.component.html | 192 ++---
.../restore-password.component.html | 145 ++--
.../set-new-password.component.html | 169 ++---
.../login/components/setup/setup.component.html | 267 +++----
.../app/notifications/notifications.component.html | 239 ++++---
.../actions/pipeline-actions.component.html | 88 +--
...pipeline-details-expansion-panel.component.html | 53 +-
.../status/pipeline-status.component.html | 92 +--
.../pipeline-details-toolbar.component.html | 70 +-
.../pipeline-details-toolbar.component.ts | 3 +
.../preview/pipeline-preview.component.html | 62 +-
.../pipeline-code-dialog.component.html | 45 +-
.../pipeline-logs-dialog.component.html | 63 +-
.../pipeline-details.component.html | 86 +--
.../pipeline-details/pipeline-details.component.ts | 12 +-
.../functions-logs/functions-logs.component.html | 52 +-
.../functions-metrics.component.html | 61 +-
.../pipeline-overview.component.html | 277 ++++----
.../delete-pipeline-dialog.component.html | 156 +++--
.../pipeline-notifications.component.html | 43 +-
.../pipeline-status-dialog.component.html | 155 ++--
.../start-all-pipelines-dialog.component.html | 168 +++--
ui/src/app/pipelines/pipelines.component.html | 119 ++--
ui/src/app/pipelines/pipelines.component.ts | 10 +-
.../general-profile-settings.component.html | 219 +++---
.../token/token-management-settings.component.html | 335 ++++-----
.../change-email-dialog.component.html | 141 ++--
.../change-password-dialog.component.html | 137 ++--
ui/src/app/profile/profile.component.html | 66 +-
ui/src/scss/sp/_variables.scss | 1 +
420 files changed, 16875 insertions(+), 13659 deletions(-)
create mode 100644 streampipes-data-explorer-export/src/main/java/org/apache/streampipes/dataexplorer/export/ObjectStorge/TestExportProviderConnection.java
copy streampipes-service-core/src/main/java/org/apache/streampipes/service/core/scheduler/DataLakeScheduler.java => streampipes-data-export/src/main/java/org/apache/streampipes/export/DataLakeExportManager.java (66%)
create mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/adapters/simulator/machine/event/DiagnosticSimulator.java
copy streampipes-client-api/src/main/java/org/apache/streampipes/client/api/live/IConfiguredEventProducer.java => streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/adapters/simulator/machine/event/EventSimulator.java (74%)
copy streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/adapters/simulator/machine/{MachineDataSimulatorUtils.java => event/FlowSimulator.java} (54%)
create mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/adapters/simulator/machine/event/PressureSimulator.java
copy streampipes-commons/src/main/java/org/apache/streampipes/commons/parser/PrimitiveTypeParser.java => streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/adapters/simulator/machine/event/SensorValueSimulator.java (78%)
create mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/adapters/simulator/machine/event/WaterlevelSimulator.java
copy streampipes-extensions/{streampipes-connectors-kafka/src/main/java/org/apache/streampipes/extensions/connectors/kafka/migration/KafkaAdapterMigrationV2.java => streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/migration/MachineDataSimulatorMigrationV1.java} (66%)
delete mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/resources/org.apache.streampipes.connect.iiot.adapters.simulator.machine.v2.file/documentation.md
delete mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/resources/org.apache.streampipes.connect.iiot.adapters.simulator.machine.v2.file/icon.png
delete mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/resources/org.apache.streampipes.connect.iiot.adapters.simulator.machine.v2.file/strings.en
delete mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/resources/org.apache.streampipes.connect.iiot.adapters.simulator.machine.v2/documentation.md
delete mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/resources/org.apache.streampipes.connect.iiot.adapters.simulator.machine.v2/icon.png
delete mode 100644 streampipes-extensions/streampipes-connect-adapters-iiot/src/main/resources/org.apache.streampipes.connect.iiot.adapters.simulator.machine.v2/strings.en
create mode 100644 streampipes-integration-tests/src/test/resources/truststore.jks
create mode 100644 streampipes-model/src/main/java/org/apache/streampipes/model/datalake/RetentionLog.java
delete mode 100644 streampipes-pipeline-management/src/main/java/org/apache/streampipes/manager/setup/tasks/CreateDefaultAssetTask.java
delete mode 100644 streampipes-service-core/src/main/java/org/apache/streampipes/service/core/migrations/v070/CreateDefaultAssetMigration.java
copy streampipes-service-core/src/main/java/org/apache/streampipes/service/core/migrations/{v970/AddDataLakePipelineTemplateMigration.java => v099/RemoveObsoletePrivilegesMigration.java} (54%)
delete mode 100644 streampipes-wrapper-standalone/src/main/java/org/apache/streampipes/wrapper/standalone/StreamPipesDataProcessor.java
delete mode 100644 streampipes-wrapper-standalone/src/main/java/org/apache/streampipes/wrapper/standalone/StreamPipesDataSink.java
create mode 100644 ui/cypress/support/builder/AssetBuilder.ts
copy ui/cypress/support/model/{TreeNodeUserInput.ts => Asset.ts} (78%)
create mode 100644 ui/cypress/support/utils/filter/FilterBtns.ts
create mode 100644 ui/cypress/support/utils/filter/FilterUtils.ts
create mode 100644 ui/cypress/tests/assetManagement/assetFilterTest.spec.ts
create mode 100644 ui/cypress/tests/userManagement/testUserRoleAssets.spec.ts
create mode 100644 ui/cypress/tests/userManagement/testUserRoleCharts.spec.ts
create mode 100644 ui/cypress/tests/userManagement/testUserRoleDashboard.spec.ts
copy streampipes-client-api/src/main/java/org/apache/streampipes/client/api/annotation/NotYetImplemented.java => ui/projects/streampipes/platform-services/src/lib/model/config/export-provider-config.model.ts (82%)
delete mode 100644 ui/src/app/configuration/datalake-configuration/datalake-configuration.component.html
delete mode 100644 ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.html
delete mode 100644 ui/src/app/configuration/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
rename ui/src/app/connect/components/adapter-catalog/adapter-description/{adapter-description.component.html => adapter-catalog-item.component.html} (93%)
rename ui/src/app/connect/components/adapter-catalog/adapter-description/{adapter-description.component.scss => adapter-catalog-item.component.scss} (83%)
rename ui/src/app/connect/components/adapter-catalog/adapter-description/{adapter-description.component.ts => adapter-catalog-item.component.ts} (70%)
rename ui/src/app/data-explorer-shared/services/{data-explorer-colorization.service.ts => chart-colorization.service.ts} (98%)
rename ui/src/app/data-explorer-shared/services/{data-explorer-field-provider-service.ts => chart-field-provider.service.ts} (99%)
rename ui/src/app/data-explorer-shared/services/{data-explorer-panel.can-deactivate.guard.ts => chart-panel-can-deactivate-guard.service.ts} (71%)
rename ui/src/app/data-explorer-shared/services/{data-explorer-routing.service.ts => chart-routing.service.ts} (98%)
rename ui/src/app/data-explorer-shared/services/{data-explorer-shared.service.ts => chart-shared.service.ts} (99%)
rename ui/src/app/data-explorer/services/{data-explorer-detect-changes.service.ts => chart-detect-changes.service.ts} (98%)
rename ui/src/app/{configuration => dataset/components}/datalake-configuration/datalake-configuration-entry.ts (91%)
create mode 100644 ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
rename ui/src/app/{configuration => dataset/components}/datalake-configuration/datalake-configuration.component.scss (100%)
rename ui/src/app/{configuration => dataset/components}/datalake-configuration/datalake-configuration.component.ts (81%)
create mode 100644 ui/src/app/dataset/dataset.module.ts
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-export/select-format.component.html (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-export/select-format.component.scss (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-export/select-format.component.ts (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.scss (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.ts (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-data.component.html (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-data.component.scss (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-data.component.ts (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.html (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.scss (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.ts (100%)
create mode 100644 ui/src/app/dataset/dialog/data-retention-dialog/data-retention-dialog.component.html
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/data-retention-dialog.component.scss (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/data-retention-dialog.component.ts (84%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/model/data-retention-config.model.ts (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/model/data-retention-dialog.model.ts (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/model/data-retention-provider.model.ts (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/model/retention-config.model.ts (100%)
rename ui/src/app/{configuration => dataset}/dialog/data-retention-dialog/model/retention-export-config.model.ts (100%)
create mode 100644 ui/src/app/dataset/dialog/data-retention-log-dialog/data-retention-log-dialog.component.html
copy ui/src/app/{pipeline-details/dialogs/pipeline-code/pipeline-code-dialog.component.ts => dataset/dialog/data-retention-log-dialog/data-retention-log-dialog.component.ts} (58%)
create mode 100644 ui/src/app/dataset/dialog/data-retention-now-dialog/data-retention-now-dialog.component.html
create mode 100644 ui/src/app/dataset/dialog/data-retention-now-dialog/data-retention-now-dialog.component.ts
create mode 100644 ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
rename ui/src/app/{configuration => dataset}/dialog/delete-datalake-index/delete-datalake-index-dialog.component.ts (100%)
create mode 100644 ui/src/app/dataset/dialog/delete-export-provider/delete-export-provider-dialog.component.html
rename ui/src/app/{configuration => dataset}/dialog/delete-export-provider/delete-export-provider-dialog.component.ts (100%)
rename ui/src/app/{configuration/dialog/delete-export-provider/delete-export-provider-dialog.component.html => dataset/dialog/export-provider-connection-test/export-provider-connection-test.component.html} (50%)
create mode 100644 ui/src/app/dataset/dialog/export-provider-connection-test/export-provider-connection-test.component.ts
rename ui/src/app/{configuration => dataset}/dialog/export-provider-dialog/export-provider-dialog.component.html (100%)
rename ui/src/app/{configuration => dataset}/dialog/export-provider-dialog/export-provider-dialog.component.ts (100%)
(streampipes) 01/04: Move datasets to top-level view
Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch 3960-make-datasets-a-first-class-ui-view
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit f0c36082ab09e713b5385004f1a817ce5071ffbd
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Nov 25 08:35:03 2025 +0100
Move datasets to top-level view
---
ui/deployment/dev/config.yml | 1 +
ui/deployment/modules.yml | 13 +
.../basic-header-title/header-title.component.html | 3 +
.../basic-header-title/header-title.component.scss | 7 +
.../basic-header-title/header-title.component.ts | 3 +
ui/src/app/_enums/page-name.enum.ts | 1 +
.../configuration/configuration-tabs.service.ts | 6 -
ui/src/app/configuration/configuration.module.ts | 23 --
.../datalake-configuration.component.html | 437 ---------------------
.../datalake-configuration-entry.ts | 2 +-
.../datalake-configuration.component.html | 403 +++++++++++++++++++
.../datalake-configuration.component.scss | 0
.../datalake-configuration.component.ts | 12 +-
ui/src/app/dataset/dataset.module.ts | 102 +++++
.../select-export/select-format.component.html | 0
.../select-export/select-format.component.scss | 0
.../select-export/select-format.component.ts | 0
.../select-data-retention.component.html | 0
.../select-data-retention.component.scss | 0
.../select-data-retention.component.ts | 0
.../select-retention/select-data.component.html | 0
.../select-retention/select-data.component.scss | 0
.../select-retention/select-data.component.ts | 0
.../select-retention-action.component.html | 0
.../select-retention-action.component.scss | 0
.../select-retention-action.component.ts | 0
.../data-retention-dialog.component.html | 0
.../data-retention-dialog.component.scss | 0
.../data-retention-dialog.component.ts | 0
.../model/data-retention-config.model.ts | 0
.../model/data-retention-dialog.model.ts | 0
.../model/data-retention-provider.model.ts | 0
.../model/retention-config.model.ts | 0
.../model/retention-export-config.model.ts | 0
.../delete-datalake-index-dialog.component.html | 0
.../delete-datalake-index-dialog.component.ts | 0
.../delete-export-provider-dialog.component.html | 0
.../delete-export-provider-dialog.component.ts | 0
.../export-provider-dialog.component.html | 0
.../export-provider-dialog.component.ts | 0
40 files changed, 540 insertions(+), 473 deletions(-)
diff --git a/ui/deployment/dev/config.yml b/ui/deployment/dev/config.yml
index 39676e6e0f..26817a9431 100644
--- a/ui/deployment/dev/config.yml
+++ b/ui/deployment/dev/config.yml
@@ -25,4 +25,5 @@ modules:
- spDashboard
- spDataExplorer
- spAssets
+ - spDatasets
- spConfiguration
diff --git a/ui/deployment/modules.yml b/ui/deployment/modules.yml
index 8c30a2c1d3..a807e89301 100644
--- a/ui/deployment/modules.yml
+++ b/ui/deployment/modules.yml
@@ -28,6 +28,19 @@ spAssets:
pageNames: 'PageName.ASSETS'
showStatusBox: false
category: 'management'
+spDatasets:
+ componentImport: False
+ moduleName: 'DatasetModule'
+ path: './dataset/dataset.module'
+ link: 'datasets'
+ url: '/datasets'
+ title: 'Datasets'
+ description: 'Manage datasets'
+ icon: 'dataset'
+ privileges: '[UserPrivilege.PRIVILEGE_READ_PIPELINE, UserPrivilege.PRIVILEGE_WRITE_PIPELINE, UserPrivilege.PRIVILEGE_READ_DASHBOARD, UserPrivilege.PRIVILEGE_WRITE_DASHBOARD]'
+ pageNames: 'PageName.DATASETS'
+ showStatusBox: false
+ category: 'management'
spHome:
streamPipesModule: True
moduleName: 'HomeModule'
diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.html b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.html
index f503b279ca..8d858ab132 100644
--- a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.html
+++ b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.html
@@ -18,4 +18,7 @@
<div class="header-title title-left-border" [ngStyle]="{ margin: margin }">
{{ title }}
+ @if (description) {
+ <div class="header-description">{{ description }}</div>
+ }
</div>
diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss
index 3146d3239c..05d774f767 100644
--- a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss
+++ b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss
@@ -29,3 +29,10 @@
)
1;
}
+
+.header-description {
+ font-size: clamp(0.875rem, 1.2vw, 0.95rem);
+ line-height: 1.35;
+ color: var(--fg-muted);
+ font-weight: 300;
+}
diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.ts b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.ts
index b9683b44ce..9934cf101a 100644
--- a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.ts
+++ b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.ts
@@ -28,6 +28,9 @@ export class SpBasicHeaderTitleComponent implements OnInit {
@Input()
title: string;
+ @Input()
+ description: string;
+
@Input()
margin = '20px 0px';
diff --git a/ui/src/app/_enums/page-name.enum.ts b/ui/src/app/_enums/page-name.enum.ts
index 99c9e30cc4..9197e00f55 100644
--- a/ui/src/app/_enums/page-name.enum.ts
+++ b/ui/src/app/_enums/page-name.enum.ts
@@ -31,4 +31,5 @@ export enum PageName {
PROFILE,
SETTINGS,
ASSETS,
+ DATASETS,
}
diff --git a/ui/src/app/configuration/configuration-tabs.service.ts b/ui/src/app/configuration/configuration-tabs.service.ts
index f37b3bade0..1c8c0558e9 100644
--- a/ui/src/app/configuration/configuration-tabs.service.ts
+++ b/ui/src/app/configuration/configuration-tabs.service.ts
@@ -31,12 +31,6 @@ export class SpConfigurationTabsService {
itemLink: ['configuration', 'general'],
roles: ['ROLE_ADMIN'],
},
- {
- itemId: 'datalake',
- itemTitle: this.translateService.instant('Data Lake'),
- itemLink: ['configuration', 'datalake'],
- roles: ['ROLE_ADMIN'],
- },
{
itemId: 'export',
itemTitle: this.translateService.instant('Export/Import'),
diff --git a/ui/src/app/configuration/configuration.module.ts b/ui/src/app/configuration/configuration.module.ts
index f4ffeaafec..90a43d737d 100644
--- a/ui/src/app/configuration/configuration.module.ts
+++ b/ui/src/app/configuration/configuration.module.ts
@@ -29,8 +29,6 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MessagingConfigurationComponent } from './messaging-configuration/messaging-configuration.component';
import { DragDropModule } from '@angular/cdk/drag-drop';
-import { DatalakeConfigurationComponent } from './datalake-configuration/datalake-configuration.component';
-import { DeleteDatalakeIndexComponent } from './dialog/delete-datalake-index/delete-datalake-index-dialog.component';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import { SecurityConfigurationComponent } from './security-configuration/security-configuration.component';
import { CoreUiModule } from '../core-ui/core-ui.module';
@@ -106,13 +104,6 @@ import { AlternateIdConfigurationComponent } from './security-configuration/alte
import { UserAcknowledgmentComponent } from './general-configuration/user-acknowledgement/user-acknowledgment.component';
import { QuillEditorComponent } from 'ngx-quill';
import { MatStepperModule } from '@angular/material/stepper';
-import { DataRetentionDialogComponent } from './dialog/data-retention-dialog/data-retention-dialog.component';
-import { ExportProviderComponent } from './dialog/export-provider-dialog/export-provider-dialog.component';
-import { SelectDataComponent } from './dialog/data-retention-dialog/components/select-retention/select-data.component';
-import { SelectDataRetentionComponent } from './dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component';
-import { SelectRetentionActionComponent } from './dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component';
-import { SelectDataExportComponent } from './dialog/data-retention-dialog/components/select-export/select-format.component';
-import { DeleteExportProviderComponent } from './dialog/delete-export-provider/delete-export-provider-dialog.component';
@NgModule({
imports: [
CommonModule,
@@ -152,11 +143,6 @@ import { DeleteExportProviderComponent } from './dialog/delete-export-provider/d
component: GeneralConfigurationComponent,
canActivate: [configurationRouteGuard],
},
- {
- path: 'datalake',
- component: DatalakeConfigurationComponent,
- canActivate: [configurationRouteGuard],
- },
{
path: 'email',
component: EmailConfigurationComponent,
@@ -223,7 +209,6 @@ import { DeleteExportProviderComponent } from './dialog/delete-export-provider/d
ServiceConfigsBooleanComponent,
ServiceConfigsItemComponent,
ServiceConfigsNumberComponent,
- DeleteDatalakeIndexComponent,
EditAssetLocationComponent,
EditAssetLocationAreaComponent,
EditRoleDialogComponent,
@@ -249,7 +234,6 @@ import { DeleteExportProviderComponent } from './dialog/delete-export-provider/d
SecurityServiceConfigComponent,
SiteAreaConfigurationComponent,
MessagingConfigurationComponent,
- DatalakeConfigurationComponent,
SpConfigurationLinkSettingsComponent,
SpDataExportImportComponent,
SpDataExportDialogComponent,
@@ -262,8 +246,6 @@ import { DeleteExportProviderComponent } from './dialog/delete-export-provider/d
SpMessagingBrokerConfigComponent,
SpRegisteredExtensionsServiceComponent,
SpExtensionsServiceConfigurationComponent,
- DataRetentionDialogComponent,
- ExportProviderComponent,
SpExtensionsInstallationComponent,
SpExtensionsInstallationDialogComponent,
EndpointItemComponent,
@@ -275,11 +257,6 @@ import { DeleteExportProviderComponent } from './dialog/delete-export-provider/d
CertificateDetailsDialogComponent,
AlternateIdConfigurationComponent,
UserAcknowledgmentComponent,
- SelectDataComponent,
- SelectDataRetentionComponent,
- SelectRetentionActionComponent,
- SelectDataExportComponent,
- DeleteExportProviderComponent,
],
providers: [
OrderByPipe,
diff --git a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.html b/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.html
deleted file mode 100644
index a78bea7e96..0000000000
--- a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.html
+++ /dev/null
@@ -1,437 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- ~
- -->
-
-<sp-basic-nav-tabs [spNavigationItems]="tabs" [activeLink]="'datalake'">
- <div fxLayout="row" class="page-container-padding">
- <div fxFlex="100" fxLayout="column" fxLayoutAlign="start start">
- <sp-split-section
- [title]="'Data Lake Settings' | translate"
- [subtitle]="'Manage persisted data streams' | translate"
- >
- <button
- section-actions
- color="accent"
- mat-icon-button
- [matTooltip]="'Refresh' | translate"
- data-cy="refresh-data-lake-measures"
- (click)="loadAvailableMeasurements()"
- >
- <mat-icon>refresh</mat-icon>
- </button>
- <div fxFlex="100" fxLayout="column">
- <table
- fxFlex="100"
- mat-table
- data-cy="datalake-settings"
- [dataSource]="dataSource"
- style="width: 100%"
- matSort
- >
- <ng-container matColumnDef="name">
- <th
- mat-header-cell
- mat-sort-header
- *matHeaderCellDef
- >
- {{ 'Name' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.name }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="pipeline">
- <th
- mat-header-cell
- mat-sort-header
- *matHeaderCellDef
- >
- {{ 'Related Pipeline' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.pipelines }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="events">
- <th
- mat-header-cell
- mat-sort-header
- *matHeaderCellDef
- >
- {{ '# Events' | translate }}
- </th>
- <td
- mat-cell
- data-cy="datalake-number-of-events"
- *matCellDef="let configurationEntry"
- >
- @if (configurationEntry.events < 0) {
- <mat-spinner
- [diameter]="20"
- fxLayoutAlign="center"
- style="margin: 10px 0 5px 0"
- color="accent"
- data-cy="datalake-number-of-events-spinner"
- >{{ 'Loading' | translate }}
- </mat-spinner>
- } @else {
- <span>
- {{ configurationEntry.events | number }}
- </span>
- }
- </td>
- </ng-container>
-
- <ng-container matColumnDef="download">
- <th mat-header-cell *matHeaderCellDef>Download</th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Download data from index'
- | translate
- "
- matTooltipPosition="above"
- data-cy="datalake-download-btn"
- (click)="
- openDownloadDialog(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons"
- >download</i
- >
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="truncate">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Truncate' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Truncate all data from index'
- | translate
- "
- matTooltipPosition="above"
- data-cy="datalake-truncate-btn"
- (click)="
- cleanDatalakeIndex(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons"
- >local_fire_department</i
- >
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="remove">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Remove' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Remove index from database'
- | translate
- "
- data-cy="datalake-delete-btn"
- matTooltipPosition="above"
- [disabled]="
- !configurationEntry.remove
- "
- (click)="
- deleteDatalakeIndex(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons">delete</i>
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="retention">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Retention Rate' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Set retention rate' | translate
- "
- data-cy="datalake-retention-btn"
- matTooltipPosition="above"
- (click)="
- openRetentionDialog(
- configurationEntry.elementId
- )
- "
- >
- <i
- class="material-icons"
- [ngStyle]="{
- color: configurationEntry?.retention
- ? 'green'
- : 'red'
- }"
- >history</i
- >
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <tr
- mat-header-row
- *matHeaderRowDef="displayedColumns"
- ></tr>
- <tr
- mat-row
- *matRowDef="let row; columns: displayedColumns"
- ></tr>
- </table>
- </div>
- <div fxFlex="100" fxLayoutAlign="end end">
- <mat-paginator
- [pageSizeOptions]="[pageSize]"
- [pageSize]="pageSize"
- (page)="onPageChange($event)"
- ></mat-paginator>
- </div>
- @if (availableMeasurements.length === 0) {
- <h5>{{ '(no stored measurements)' | translate }}</h5>
- }
- </sp-split-section>
- <sp-split-section
- [title]="'Export Providers' | translate"
- [subtitle]="
- 'Add, Edit, and Delete export providers used for backing up data lakes.'
- | translate
- "
- >
- <div
- fxLayout="row"
- fxLayoutAlign="end center"
- section-actions
- fxLayoutGap="5px"
- >
- <button
- mat-flat-button
- matTooltip="{{ 'New' | translate }}"
- data-cy="new-export-providers"
- (click)="createExportProvider(null)"
- >
- <mat-icon>add</mat-icon>
- <span>{{ 'New' | translate }}</span>
- </button>
- <button
- mat-icon-button
- matTooltip="{{ 'Refresh' | translate }}"
- data-cy="refresh-export-providers-measures"
- (click)="loadAvailableExportProvider()"
- >
- <mat-icon>refresh</mat-icon>
- </button>
- </div>
- <table
- fxFlex="100"
- mat-table
- data-cy="exportproviders-settings"
- [dataSource]="dataSourceExport"
- style="width: 100%"
- matSort
- >
- <ng-container matColumnDef="providertype">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Provider Type' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.providerType }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="endpoint">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Endpoint' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.endPoint }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="bucket">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Bucket' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.bucketName }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="editExportProvider">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Edit' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div
- *ngIf="
- configurationEntry.providerId !== 'FOLDER'
- "
- >
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- matTooltip="{{
- 'Edit Export Provider'
- | translate
- }}"
- matTooltipPosition="above"
- data-cy="exportProvider-edit-btn"
- (click)="
- createExportProvider(
- configurationEntry
- )
- "
- >
- <i class="material-icons">edit</i>
- </button>
- </span>
- </div>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="delete">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Remove' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div
- *ngIf="
- configurationEntry.providerId !== 'FOLDER'
- "
- >
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- matTooltip="{{
- 'Remove export provider configuration'
- | translate
- }}"
- data-cy="exportProvider-delete-btn"
- matTooltipPosition="above"
- (click)="
- deleteExportProvider(
- configurationEntry.providerId
- )
- "
- >
- <i class="material-icons">delete</i>
- </button>
- </span>
- </div>
- </div>
- </td>
- </ng-container>
-
- <tr
- mat-header-row
- *matHeaderRowDef="displayedColumnsExport"
- ></tr>
- <tr
- mat-row
- *matRowDef="let row; columns: displayedColumnsExport"
- ></tr>
- </table>
-
- <div
- *ngIf="
- !availableExportProvider ||
- availableExportProvider.length === 0
- "
- >
- <h5>{{ 'no stored export providers' | translate }}</h5>
- </div>
- </sp-split-section>
- </div>
- </div>
-</sp-basic-nav-tabs>
diff --git a/ui/src/app/configuration/datalake-configuration/datalake-configuration-entry.ts b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration-entry.ts
similarity index 91%
rename from ui/src/app/configuration/datalake-configuration/datalake-configuration-entry.ts
rename to ui/src/app/dataset/components/datalake-configuration/datalake-configuration-entry.ts
index 545d12a72d..a56a29e6e5 100644
--- a/ui/src/app/configuration/datalake-configuration/datalake-configuration-entry.ts
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration-entry.ts
@@ -1,5 +1,5 @@
import { RetentionTimeConfig } from '@streampipes/platform-services';
-import { RetentionConfig } from '../dialog/data-retention-dialog/model/retention-config.model';
+import { RetentionConfig } from '../../dialog/data-retention-dialog/model/retention-config.model';
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
new file mode 100644
index 0000000000..63eff78102
--- /dev/null
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
@@ -0,0 +1,403 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ -->
+
+<sp-basic-view [showBackLink]="false" [padding]="true">
+ <div fxLayout="column" fxLayoutAlign="start start">
+ <sp-basic-header-title-component
+ [title]="'Datasets' | translate"
+ ></sp-basic-header-title-component>
+ <button
+ section-actions
+ color="accent"
+ mat-icon-button
+ [matTooltip]="'Refresh' | translate"
+ data-cy="refresh-data-lake-measures"
+ (click)="loadAvailableMeasurements()"
+ >
+ <mat-icon>refresh</mat-icon>
+ </button>
+ <div fxFlex="100" fxLayout="column">
+ <table
+ fxFlex="100"
+ mat-table
+ data-cy="datalake-settings"
+ [dataSource]="dataSource"
+ style="width: 100%"
+ matSort
+ >
+ <ng-container matColumnDef="name">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Name' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.name }}
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="pipeline">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Related Pipeline' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.pipelines }}
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="events">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ '# Events' | translate }}
+ </th>
+ <td
+ mat-cell
+ data-cy="datalake-number-of-events"
+ *matCellDef="let configurationEntry"
+ >
+ @if (configurationEntry.events < 0) {
+ <mat-spinner
+ [diameter]="20"
+ fxLayoutAlign="center"
+ style="margin: 10px 0 5px 0"
+ color="accent"
+ data-cy="datalake-number-of-events-spinner"
+ >{{ 'Loading' | translate }}
+ </mat-spinner>
+ } @else {
+ <span>
+ {{ configurationEntry.events | number }}
+ </span>
+ }
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="download">
+ <th mat-header-cell *matHeaderCellDef>Download</th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ [matTooltip]="
+ 'Download data from index' | translate
+ "
+ matTooltipPosition="above"
+ data-cy="datalake-download-btn"
+ (click)="
+ openDownloadDialog(
+ configurationEntry.name
+ )
+ "
+ >
+ <i class="material-icons">download</i>
+ </button>
+ </span>
+ </div>
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="truncate">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Truncate' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ [matTooltip]="
+ 'Truncate all data from index'
+ | translate
+ "
+ matTooltipPosition="above"
+ data-cy="datalake-truncate-btn"
+ (click)="
+ cleanDatalakeIndex(
+ configurationEntry.name
+ )
+ "
+ >
+ <i class="material-icons"
+ >local_fire_department</i
+ >
+ </button>
+ </span>
+ </div>
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="remove">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Remove' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ [matTooltip]="
+ 'Remove index from database' | translate
+ "
+ data-cy="datalake-delete-btn"
+ matTooltipPosition="above"
+ [disabled]="!configurationEntry.remove"
+ (click)="
+ deleteDatalakeIndex(
+ configurationEntry.name
+ )
+ "
+ >
+ <i class="material-icons">delete</i>
+ </button>
+ </span>
+ </div>
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="retention">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Retention Rate' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ [matTooltip]="
+ 'Set retention rate' | translate
+ "
+ data-cy="datalake-retention-btn"
+ matTooltipPosition="above"
+ (click)="
+ openRetentionDialog(
+ configurationEntry.elementId
+ )
+ "
+ >
+ <i
+ class="material-icons"
+ [ngStyle]="{
+ color: configurationEntry?.retention
+ ? 'green'
+ : 'red'
+ }"
+ >history</i
+ >
+ </button>
+ </span>
+ </div>
+ </td>
+ </ng-container>
+
+ <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
+ <tr
+ mat-row
+ *matRowDef="let row; columns: displayedColumns"
+ ></tr>
+ </table>
+ </div>
+ <div fxFlex="100" fxLayoutAlign="end end">
+ <mat-paginator
+ [pageSizeOptions]="[pageSize]"
+ [pageSize]="pageSize"
+ (page)="onPageChange($event)"
+ ></mat-paginator>
+ </div>
+ @if (availableMeasurements.length === 0) {
+ <h5>{{ '(no stored measurements)' | translate }}</h5>
+ }
+ <sp-split-section
+ [title]="'Export Providers' | translate"
+ [subtitle]="
+ 'Add, Edit, and Delete export providers used for backing up data lakes.'
+ | translate
+ "
+ >
+ <div
+ fxLayout="row"
+ fxLayoutAlign="end center"
+ section-actions
+ fxLayoutGap="5px"
+ >
+ <button
+ mat-flat-button
+ matTooltip="{{ 'New' | translate }}"
+ data-cy="new-export-providers"
+ (click)="createExportProvider(null)"
+ >
+ <mat-icon>add</mat-icon>
+ <span>{{ 'New' | translate }}</span>
+ </button>
+ <button
+ mat-icon-button
+ matTooltip="{{ 'Refresh' | translate }}"
+ data-cy="refresh-export-providers-measures"
+ (click)="loadAvailableExportProvider()"
+ >
+ <mat-icon>refresh</mat-icon>
+ </button>
+ </div>
+ <table
+ fxFlex="100"
+ mat-table
+ data-cy="exportproviders-settings"
+ [dataSource]="dataSourceExport"
+ style="width: 100%"
+ matSort
+ >
+ <ng-container matColumnDef="providertype">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Provider Type' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.providerType }}
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="endpoint">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Endpoint' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.endPoint }}
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="bucket">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Bucket' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.bucketName }}
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="editExportProvider">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Edit' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div *ngIf="configurationEntry.providerId !== 'FOLDER'">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ matTooltip="{{
+ 'Edit Export Provider' | translate
+ }}"
+ matTooltipPosition="above"
+ data-cy="exportProvider-edit-btn"
+ (click)="
+ createExportProvider(
+ configurationEntry
+ )
+ "
+ >
+ <i class="material-icons">edit</i>
+ </button>
+ </span>
+ </div>
+ </div>
+ </td>
+ </ng-container>
+
+ <ng-container matColumnDef="delete">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Remove' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div *ngIf="configurationEntry.providerId !== 'FOLDER'">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ matTooltip="{{
+ 'Remove export provider configuration'
+ | translate
+ }}"
+ data-cy="exportProvider-delete-btn"
+ matTooltipPosition="above"
+ (click)="
+ deleteExportProvider(
+ configurationEntry.providerId
+ )
+ "
+ >
+ <i class="material-icons">delete</i>
+ </button>
+ </span>
+ </div>
+ </div>
+ </td>
+ </ng-container>
+
+ <tr
+ mat-header-row
+ *matHeaderRowDef="displayedColumnsExport"
+ ></tr>
+ <tr
+ mat-row
+ *matRowDef="let row; columns: displayedColumnsExport"
+ ></tr>
+ </table>
+
+ <div
+ *ngIf="
+ !availableExportProvider ||
+ availableExportProvider.length === 0
+ "
+ >
+ <h5>{{ 'no stored export providers' | translate }}</h5>
+ </div>
+ </sp-split-section>
+ </div>
+</sp-basic-view>
diff --git a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.scss b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.scss
similarity index 100%
rename from ui/src/app/configuration/datalake-configuration/datalake-configuration.component.scss
rename to ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.scss
diff --git a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.ts b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
similarity index 94%
rename from ui/src/app/configuration/datalake-configuration/datalake-configuration.component.ts
rename to ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
index bd64e827da..a2be2d06ce 100644
--- a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.ts
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
@@ -41,12 +41,12 @@ import {
SpBreadcrumbService,
SpNavigationItem,
} from '@streampipes/shared-ui';
-import { DeleteDatalakeIndexComponent } from '../dialog/delete-datalake-index/delete-datalake-index-dialog.component';
-import { SpConfigurationTabsService } from '../configuration-tabs.service';
-import { SpConfigurationRoutes } from '../configuration.routes';
-import { DataRetentionDialogComponent } from '../dialog/data-retention-dialog/data-retention-dialog.component';
-import { ExportProviderComponent } from '../dialog/export-provider-dialog/export-provider-dialog.component';
-import { DeleteExportProviderComponent } from '../dialog/delete-export-provider/delete-export-provider-dialog.component';
+import { DeleteDatalakeIndexComponent } from '../../dialog/delete-datalake-index/delete-datalake-index-dialog.component';
+import { SpConfigurationTabsService } from '../../../configuration/configuration-tabs.service';
+import { SpConfigurationRoutes } from '../../../configuration/configuration.routes';
+import { DataRetentionDialogComponent } from '../../dialog/data-retention-dialog/data-retention-dialog.component';
+import { ExportProviderComponent } from '../../dialog/export-provider-dialog/export-provider-dialog.component';
+import { DeleteExportProviderComponent } from '../../dialog/delete-export-provider/delete-export-provider-dialog.component';
import { TranslateService } from '@ngx-translate/core';
@Component({
diff --git a/ui/src/app/dataset/dataset.module.ts b/ui/src/app/dataset/dataset.module.ts
new file mode 100644
index 0000000000..f38f8b14ef
--- /dev/null
+++ b/ui/src/app/dataset/dataset.module.ts
@@ -0,0 +1,102 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import { CommonModule } from '@angular/common';
+import { NgModule } from '@angular/core';
+import { PlatformServicesModule } from '@streampipes/platform-services';
+import { CoreUiModule } from '../core-ui/core-ui.module';
+import { RouterModule } from '@angular/router';
+import { SharedUiModule } from '@streampipes/shared-ui';
+import { TranslateModule } from '@ngx-translate/core';
+import { DeleteDatalakeIndexComponent } from './dialog/delete-datalake-index/delete-datalake-index-dialog.component';
+import { DatalakeConfigurationComponent } from './components/datalake-configuration/datalake-configuration.component';
+import { DataRetentionDialogComponent } from './dialog/data-retention-dialog/data-retention-dialog.component';
+import { SelectDataComponent } from './dialog/data-retention-dialog/components/select-retention/select-data.component';
+import { SelectDataRetentionComponent } from './dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component';
+import { ExportProviderComponent } from './dialog/export-provider-dialog/export-provider-dialog.component';
+import { SelectRetentionActionComponent } from './dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component';
+import { SelectDataExportComponent } from './dialog/data-retention-dialog/components/select-export/select-format.component';
+import { DeleteExportProviderComponent } from './dialog/delete-export-provider/delete-export-provider-dialog.component';
+import {
+ DefaultLayoutDirective,
+ FlexLayoutModule,
+} from '@ngbracket/ngx-layout';
+import { MatButtonModule, MatIconButton } from '@angular/material/button';
+import { MatIconModule } from '@angular/material/icon';
+import { MatTooltipModule } from '@angular/material/tooltip';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { MatDividerModule } from '@angular/material/divider';
+import { MatTableModule } from '@angular/material/table';
+import { MatSortModule } from '@angular/material/sort';
+import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
+import { MatFormFieldModule } from '@angular/material/form-field';
+import { MatRadioModule } from '@angular/material/radio';
+import { MatSelectModule } from '@angular/material/select';
+import { MatPaginatorModule } from '@angular/material/paginator';
+import { MatInputModule } from '@angular/material/input';
+
+@NgModule({
+ imports: [
+ CommonModule,
+ CoreUiModule,
+ PlatformServicesModule,
+ SharedUiModule,
+ TranslateModule.forChild(),
+ RouterModule.forChild([
+ {
+ path: '',
+ children: [
+ {
+ path: '',
+ component: DatalakeConfigurationComponent,
+ },
+ ],
+ },
+ ]),
+ FlexLayoutModule,
+ MatIconModule,
+ MatTooltipModule,
+ FormsModule,
+ ReactiveFormsModule,
+ MatButtonModule,
+ MatDividerModule,
+ MatTableModule,
+ MatSortModule,
+ MatProgressSpinnerModule,
+ MatFormFieldModule,
+ MatRadioModule,
+ MatSelectModule,
+ MatPaginatorModule,
+ MatInputModule,
+ ],
+ declarations: [
+ DeleteDatalakeIndexComponent,
+ DatalakeConfigurationComponent,
+ DataRetentionDialogComponent,
+ ExportProviderComponent,
+ SelectDataComponent,
+ SelectDataRetentionComponent,
+ SelectRetentionActionComponent,
+ SelectDataExportComponent,
+ DeleteExportProviderComponent,
+ ],
+ exports: [],
+})
+export class DatasetModule {
+ constructor() {}
+}
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-export/select-format.component.html b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-export/select-format.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-export/select-format.component.html
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-export/select-format.component.html
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-export/select-format.component.scss b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-export/select-format.component.scss
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-export/select-format.component.scss
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-export/select-format.component.scss
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-export/select-format.component.ts b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-export/select-format.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-export/select-format.component.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-export/select-format.component.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.scss b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.scss
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.scss
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.scss
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.ts b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data.component.html b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data.component.html
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data.component.html
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data.component.scss b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data.component.scss
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data.component.scss
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data.component.scss
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data.component.ts b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data.component.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-data.component.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.html b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.html
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.html
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.scss b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.scss
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.scss
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.scss
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.ts b/ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.html b/ui/src/app/dataset/dialog/data-retention-dialog/data-retention-dialog.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.html
rename to ui/src/app/dataset/dialog/data-retention-dialog/data-retention-dialog.component.html
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.scss b/ui/src/app/dataset/dialog/data-retention-dialog/data-retention-dialog.component.scss
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.scss
rename to ui/src/app/dataset/dialog/data-retention-dialog/data-retention-dialog.component.scss
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.ts b/ui/src/app/dataset/dialog/data-retention-dialog/data-retention-dialog.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/data-retention-dialog.component.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/model/data-retention-config.model.ts b/ui/src/app/dataset/dialog/data-retention-dialog/model/data-retention-config.model.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/model/data-retention-config.model.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/model/data-retention-config.model.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/model/data-retention-dialog.model.ts b/ui/src/app/dataset/dialog/data-retention-dialog/model/data-retention-dialog.model.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/model/data-retention-dialog.model.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/model/data-retention-dialog.model.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/model/data-retention-provider.model.ts b/ui/src/app/dataset/dialog/data-retention-dialog/model/data-retention-provider.model.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/model/data-retention-provider.model.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/model/data-retention-provider.model.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/model/retention-config.model.ts b/ui/src/app/dataset/dialog/data-retention-dialog/model/retention-config.model.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/model/retention-config.model.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/model/retention-config.model.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-dialog/model/retention-export-config.model.ts b/ui/src/app/dataset/dialog/data-retention-dialog/model/retention-export-config.model.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-dialog/model/retention-export-config.model.ts
rename to ui/src/app/dataset/dialog/data-retention-dialog/model/retention-export-config.model.ts
diff --git a/ui/src/app/configuration/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html b/ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
rename to ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
diff --git a/ui/src/app/configuration/dialog/delete-datalake-index/delete-datalake-index-dialog.component.ts b/ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/delete-datalake-index/delete-datalake-index-dialog.component.ts
rename to ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.ts
diff --git a/ui/src/app/configuration/dialog/delete-export-provider/delete-export-provider-dialog.component.html b/ui/src/app/dataset/dialog/delete-export-provider/delete-export-provider-dialog.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/delete-export-provider/delete-export-provider-dialog.component.html
rename to ui/src/app/dataset/dialog/delete-export-provider/delete-export-provider-dialog.component.html
diff --git a/ui/src/app/configuration/dialog/delete-export-provider/delete-export-provider-dialog.component.ts b/ui/src/app/dataset/dialog/delete-export-provider/delete-export-provider-dialog.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/delete-export-provider/delete-export-provider-dialog.component.ts
rename to ui/src/app/dataset/dialog/delete-export-provider/delete-export-provider-dialog.component.ts
diff --git a/ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.html b/ui/src/app/dataset/dialog/export-provider-dialog/export-provider-dialog.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.html
rename to ui/src/app/dataset/dialog/export-provider-dialog/export-provider-dialog.component.html
diff --git a/ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.ts b/ui/src/app/dataset/dialog/export-provider-dialog/export-provider-dialog.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.ts
rename to ui/src/app/dataset/dialog/export-provider-dialog/export-provider-dialog.component.ts
(streampipes) 02/04: Use sp-table in dataset configuration
Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch 3960-make-datasets-a-first-class-ui-view
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 5db87db6a131967c79e475dde7d961ad368ca499
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Nov 25 09:50:52 2025 +0100
Use sp-table in dataset configuration
---
.../basic-header-title/header-title.component.scss | 2 +-
.../split-section/split-section.component.scss | 1 -
.../datalake-configuration.component.html | 439 +++++++++------------
.../datalake-configuration.component.ts | 10 +-
ui/src/app/dataset/dataset.module.ts | 2 +
.../delete-datalake-index-dialog.component.html | 1 +
ui/src/scss/sp/_variables.scss | 1 +
7 files changed, 189 insertions(+), 267 deletions(-)
diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss
index 05d774f767..50f3c6a8e3 100644
--- a/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss
+++ b/ui/projects/streampipes/shared-ui/src/lib/components/basic-header-title/header-title.component.scss
@@ -17,7 +17,7 @@
*/
.header-title {
- font-size: 1.7rem;
+ font-size: 1.5rem;
font-weight: 700;
display: inline-block;
padding-left: 12px; /* space so text doesn't overlap border */
diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/split-section/split-section.component.scss b/ui/projects/streampipes/shared-ui/src/lib/components/split-section/split-section.component.scss
index c7820057d2..79a351b11f 100644
--- a/ui/projects/streampipes/shared-ui/src/lib/components/split-section/split-section.component.scss
+++ b/ui/projects/streampipes/shared-ui/src/lib/components/split-section/split-section.component.scss
@@ -20,7 +20,6 @@
width: 100%;
display: block;
--accent: hsl(221 83% 53%);
- --fg-muted: color-mix(in oklab, currentColor 60%, transparent);
--divider: color-mix(in oklab, currentColor 18%, transparent);
}
diff --git a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
index 63eff78102..8b75f4bc4a 100644
--- a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
@@ -18,27 +18,33 @@
<sp-basic-view [showBackLink]="false" [padding]="true">
<div fxLayout="column" fxLayoutAlign="start start">
- <sp-basic-header-title-component
- [title]="'Datasets' | translate"
- ></sp-basic-header-title-component>
- <button
- section-actions
- color="accent"
- mat-icon-button
- [matTooltip]="'Refresh' | translate"
- data-cy="refresh-data-lake-measures"
- (click)="loadAvailableMeasurements()"
+ <div
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ fxFlex="100"
+ class="w-100"
>
- <mat-icon>refresh</mat-icon>
- </button>
- <div fxFlex="100" fxLayout="column">
- <table
- fxFlex="100"
- mat-table
- data-cy="datalake-settings"
+ <sp-basic-header-title-component
+ [title]="'Datasets' | translate"
+ ></sp-basic-header-title-component>
+ <span fxFlex></span>
+ <button
+ color="accent"
+ mat-icon-button
+ [matTooltip]="'Refresh' | translate"
+ data-cy="refresh-data-lake-measures"
+ (click)="loadAvailableMeasurements()"
+ >
+ <mat-icon>refresh</mat-icon>
+ </button>
+ </div>
+ <div fxLayout="column" class="w-100">
+ <sp-table
[dataSource]="dataSource"
- style="width: 100%"
+ [columns]="displayedColumns"
+ [showActionsMenu]="true"
matSort
+ data-cy="datalake-settings"
>
<ng-container matColumnDef="name">
<th mat-header-cell mat-sort-header *matHeaderCellDef>
@@ -84,107 +90,6 @@
</td>
</ng-container>
- <ng-container matColumnDef="download">
- <th mat-header-cell *matHeaderCellDef>Download</th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Download data from index' | translate
- "
- matTooltipPosition="above"
- data-cy="datalake-download-btn"
- (click)="
- openDownloadDialog(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons">download</i>
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="truncate">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Truncate' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Truncate all data from index'
- | translate
- "
- matTooltipPosition="above"
- data-cy="datalake-truncate-btn"
- (click)="
- cleanDatalakeIndex(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons"
- >local_fire_department</i
- >
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="remove">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Remove' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Remove index from database' | translate
- "
- data-cy="datalake-delete-btn"
- matTooltipPosition="above"
- [disabled]="!configurationEntry.remove"
- (click)="
- deleteDatalakeIndex(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons">delete</i>
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
<ng-container matColumnDef="retention">
<th mat-header-cell *matHeaderCellDef>
{{ 'Retention Rate' | translate }}
@@ -226,34 +131,60 @@
</td>
</ng-container>
- <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
- <tr
- mat-row
- *matRowDef="let row; columns: displayedColumns"
- ></tr>
- </table>
- </div>
- <div fxFlex="100" fxLayoutAlign="end end">
- <mat-paginator
- [pageSizeOptions]="[pageSize]"
- [pageSize]="pageSize"
- (page)="onPageChange($event)"
- ></mat-paginator>
+ <ng-template spTableActions let-element>
+ <button
+ mat-menu-item
+ data-cy="datalake-download-btn"
+ (click)="openDownloadDialog(element.name)"
+ >
+ <mat-icon>download</mat-icon>
+ <span>{{
+ 'Download data from index' | translate
+ }}</span>
+ </button>
+ <button
+ mat-menu-item
+ data-cy="datalake-truncate-btn"
+ (click)="cleanDatalakeIndex(element.name)"
+ >
+ <mat-icon>local_fire_department</mat-icon>
+ <span>{{
+ 'Truncate all data from index' | translate
+ }}</span>
+ </button>
+ <button
+ mat-menu-item
+ data-cy="datalake-delete-btn"
+ [disabled]="!element.remove"
+ (click)="deleteDatalakeIndex(element.name)"
+ >
+ <mat-icon>delete</mat-icon>
+ <span>{{
+ 'Remove index from database' | translate
+ }}</span>
+ </button>
+ </ng-template>
+ </sp-table>
</div>
- @if (availableMeasurements.length === 0) {
- <h5>{{ '(no stored measurements)' | translate }}</h5>
- }
- <sp-split-section
- [title]="'Export Providers' | translate"
- [subtitle]="
- 'Add, Edit, and Delete export providers used for backing up data lakes.'
- | translate
- "
+
+ <div
+ fxLayout="row"
+ fxFlex="100"
+ class="mt-10 w-100"
+ fxLayoutAlign="start center"
>
+ <sp-basic-header-title-component
+ [title]="'Export Providers' | translate"
+ [description]="
+ 'Add, Edit, and Delete export providers used for backing up data lakes.'
+ | translate
+ "
+ ></sp-basic-header-title-component>
+ <span fxFlex></span>
<div
+ fxFlex
fxLayout="row"
fxLayoutAlign="end center"
- section-actions
fxLayoutGap="5px"
>
<button
@@ -274,130 +205,124 @@
<mat-icon>refresh</mat-icon>
</button>
</div>
- <table
- fxFlex="100"
- mat-table
- data-cy="exportproviders-settings"
- [dataSource]="dataSourceExport"
- style="width: 100%"
- matSort
- >
- <ng-container matColumnDef="providertype">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Provider Type' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.providerType }}
- </td>
- </ng-container>
+ </div>
+ <table
+ fxFlex="100"
+ mat-table
+ data-cy="exportproviders-settings"
+ [dataSource]="dataSourceExport"
+ style="width: 100%"
+ matSort
+ >
+ <ng-container matColumnDef="providertype">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Provider Type' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.providerType }}
+ </td>
+ </ng-container>
- <ng-container matColumnDef="endpoint">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Endpoint' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.endPoint }}
- </td>
- </ng-container>
+ <ng-container matColumnDef="endpoint">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Endpoint' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.endPoint }}
+ </td>
+ </ng-container>
- <ng-container matColumnDef="bucket">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Bucket' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.bucketName }}
- </td>
- </ng-container>
+ <ng-container matColumnDef="bucket">
+ <th mat-header-cell mat-sort-header *matHeaderCellDef>
+ {{ 'Bucket' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ {{ configurationEntry.bucketName }}
+ </td>
+ </ng-container>
- <ng-container matColumnDef="editExportProvider">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Edit' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div *ngIf="configurationEntry.providerId !== 'FOLDER'">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
+ <ng-container matColumnDef="editExportProvider">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Edit' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div *ngIf="configurationEntry.providerId !== 'FOLDER'">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ matTooltip="{{
+ 'Edit Export Provider' | translate
+ }}"
+ matTooltipPosition="above"
+ data-cy="exportProvider-edit-btn"
+ (click)="
+ createExportProvider(configurationEntry)
+ "
>
- <button
- color="accent"
- mat-icon-button
- matTooltip="{{
- 'Edit Export Provider' | translate
- }}"
- matTooltipPosition="above"
- data-cy="exportProvider-edit-btn"
- (click)="
- createExportProvider(
- configurationEntry
- )
- "
- >
- <i class="material-icons">edit</i>
- </button>
- </span>
- </div>
+ <i class="material-icons">edit</i>
+ </button>
+ </span>
</div>
- </td>
- </ng-container>
+ </div>
+ </td>
+ </ng-container>
- <ng-container matColumnDef="delete">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Remove' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div *ngIf="configurationEntry.providerId !== 'FOLDER'">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
+ <ng-container matColumnDef="delete">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Remove' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div *ngIf="configurationEntry.providerId !== 'FOLDER'">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ matTooltip="{{
+ 'Remove export provider configuration'
+ | translate
+ }}"
+ data-cy="exportProvider-delete-btn"
+ matTooltipPosition="above"
+ (click)="
+ deleteExportProvider(
+ configurationEntry.providerId
+ )
+ "
>
- <button
- color="accent"
- mat-icon-button
- matTooltip="{{
- 'Remove export provider configuration'
- | translate
- }}"
- data-cy="exportProvider-delete-btn"
- matTooltipPosition="above"
- (click)="
- deleteExportProvider(
- configurationEntry.providerId
- )
- "
- >
- <i class="material-icons">delete</i>
- </button>
- </span>
- </div>
+ <i class="material-icons">delete</i>
+ </button>
+ </span>
</div>
- </td>
- </ng-container>
+ </div>
+ </td>
+ </ng-container>
- <tr
- mat-header-row
- *matHeaderRowDef="displayedColumnsExport"
- ></tr>
- <tr
- mat-row
- *matRowDef="let row; columns: displayedColumnsExport"
- ></tr>
- </table>
+ <tr mat-header-row *matHeaderRowDef="displayedColumnsExport"></tr>
+ <tr
+ mat-row
+ *matRowDef="let row; columns: displayedColumnsExport"
+ ></tr>
+ </table>
- <div
- *ngIf="
- !availableExportProvider ||
- availableExportProvider.length === 0
- "
- >
- <h5>{{ 'no stored export providers' | translate }}</h5>
- </div>
- </sp-split-section>
+ <div
+ *ngIf="
+ !availableExportProvider || availableExportProvider.length === 0
+ "
+ >
+ <h5>{{ 'no stored export providers' | translate }}</h5>
+ </div>
</div>
</sp-basic-view>
diff --git a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
index a2be2d06ce..5115c5da29 100644
--- a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
@@ -56,8 +56,6 @@ import { TranslateService } from '@ngx-translate/core';
standalone: false,
})
export class DatalakeConfigurationComponent implements OnInit {
- tabs: SpNavigationItem[] = [];
-
@ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatSort) sort: MatSort;
@@ -65,7 +63,6 @@ export class DatalakeConfigurationComponent implements OnInit {
private dataViewDataExplorerService = inject(ChartService);
private dialogService = inject(DialogService);
private breadcrumbService = inject(SpBreadcrumbService);
- private tabService = inject(SpConfigurationTabsService);
private exportProviderRestService = inject(ExportProviderService);
private translateService = inject(TranslateService);
private cdr = inject(ChangeDetectorRef);
@@ -82,10 +79,8 @@ export class DatalakeConfigurationComponent implements OnInit {
'name',
'pipeline',
'events',
- 'download',
- 'truncate',
- 'remove',
'retention',
+ 'actions',
];
displayedColumnsExport: string[] = [
@@ -100,10 +95,9 @@ export class DatalakeConfigurationComponent implements OnInit {
pageIndex = 0;
ngOnInit(): void {
- this.tabs = this.tabService.getTabs();
this.breadcrumbService.updateBreadcrumb([
SpConfigurationRoutes.BASE,
- { label: this.tabService.getTabTitle('datalake') },
+ { label: 'Datasets' },
]);
this.loadAvailableMeasurements();
this.loadAvailableExportProvider();
diff --git a/ui/src/app/dataset/dataset.module.ts b/ui/src/app/dataset/dataset.module.ts
index f38f8b14ef..0fdad9b66e 100644
--- a/ui/src/app/dataset/dataset.module.ts
+++ b/ui/src/app/dataset/dataset.module.ts
@@ -49,6 +49,7 @@ import { MatRadioModule } from '@angular/material/radio';
import { MatSelectModule } from '@angular/material/select';
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatInputModule } from '@angular/material/input';
+import { MatMenuModule } from '@angular/material/menu';
@NgModule({
imports: [
@@ -83,6 +84,7 @@ import { MatInputModule } from '@angular/material/input';
MatSelectModule,
MatPaginatorModule,
MatInputModule,
+ MatMenuModule,
],
declarations: [
DeleteDatalakeIndexComponent,
diff --git a/ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html b/ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
index e5c1c21eb6..87d9e52db7 100644
--- a/ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
+++ b/ui/src/app/dataset/dialog/delete-datalake-index/delete-datalake-index-dialog.component.html
@@ -75,6 +75,7 @@
>
<div fxLayout="row" fxLayoutAlign="space-around">
<mat-spinner
+ [diameter]="25"
[mode]="'indeterminate'"
color="accent"
></mat-spinner>
diff --git a/ui/src/scss/sp/_variables.scss b/ui/src/scss/sp/_variables.scss
index ca9cd8a27a..d63946748e 100644
--- a/ui/src/scss/sp/_variables.scss
+++ b/ui/src/scss/sp/_variables.scss
@@ -27,6 +27,7 @@ $sp-color-error: #b71c1c;
:root {
--mat-sys-body-medium-size: 10pt;
+ --fg-muted: color-mix(in oklab, currentColor 60%, transparent);
--color-data-view: rgb(122, 206, 227);
--color-dashboard: rgb(76, 115, 164);
(streampipes) 03/04: Merge branch 'dev' into 3960-make-datasets-a-first-class-ui-view
Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch 3960-make-datasets-a-first-class-ui-view
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit b26f5f1d3e103c6ce637efb10476c78e5500afeb
Merge: 5db87db6a1 104b5f2578
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Dec 3 16:35:13 2025 +0100
Merge branch 'dev' into 3960-make-datasets-a-first-class-ui-view
.github/ISSUE_TEMPLATE/bug_report.yml | 2 +-
RELEASE_NOTES.md | 124 ++++
.../streampipes-archetype-extensions-jvm/pom.xml | 2 +-
pom.xml | 19 +-
.../go-client-e2e/adapter/machine.json | 25 +-
.../streampipes/client/client.py | 13 +-
.../client/util/StreamPipesApiPathTest.java | 8 +-
streampipes-commons/pom.xml | 2 +-
.../apache/streampipes/commons/constants/Envs.java | 1 +
.../commons/environment/DefaultEnvironment.java | 5 +
.../commons/environment/Environment.java | 1 +
.../export/ObjectStorge/IObjectStorage.java | 1 +
.../export/ObjectStorge/LocalFolder.java | 5 +
.../dataexplorer/export/ObjectStorge/S3.java | 5 +
.../ObjectStorge/TestExportProviderConnection.java | 71 ++
streampipes-data-export/pom.xml | 5 +
.../streampipes/export/DataLakeExportManager.java | 129 ++--
.../iiot/IIoTAdaptersExtensionModuleExport.java | 5 +-
.../simulator/machine/MachineDataSimulator.java | 121 +---
.../machine/MachineDataSimulatorAdapter.java | 23 +-
.../machine/MachineDataSimulatorUtils.java | 157 +----
.../machine/event/DiagnosticSimulator.java | 371 ++++++++++
.../simulator/machine/event/EventSimulator.java | 17 +-
.../FlowSimulator.java} | 102 +--
.../simulator/machine/event/PressureSimulator.java | 80 +++
.../machine/event/SensorValueSimulator.java | 12 +-
.../machine/event/WaterlevelSimulator.java | 88 +++
.../migration/MachineDataSimulatorMigrationV1.java | 56 ++
.../documentation.md | 32 -
.../icon.png | Bin 12881 -> 0 bytes
.../strings.en | 44 --
.../documentation.md | 34 -
.../icon.png | Bin 31009 -> 0 bytes
.../strings.en | 26 -
.../strings.en | 5 +-
.../connectors/influx/sink/InfluxDbSink.java | 56 +-
.../streampipes-connectors-mqtt/pom.xml | 7 +-
.../mqtt/migration/MQTTAdapterMigrationV1.java | 10 +-
.../connectors/mqtt/security/SecurityUtils.java | 70 +-
.../connectors/mqtt/shared/MqttBase.java | 84 ++-
.../connectors/mqtt/shared/MqttConfig.java | 19 +-
.../connectors/mqtt/shared/MqttConnectUtils.java | 29 +-
.../connectors/mqtt/shared/MqttConsumer.java | 90 ++-
.../connectors/mqtt/shared/MqttPublisher.java | 56 +-
.../streampipes-sinks-brokers-jvm/pom.xml | 6 +-
.../jvm/bufferrest/BufferRestPublisherSink.java | 48 +-
.../sinks/brokers/jvm/jms/JmsPublisherSink.java | 56 +-
.../jvm/rabbitmq/RabbitMqPublisherSink.java | 51 +-
.../sinks/databases/jvm/couchdb/CouchDbSink.java | 45 +-
.../sinks/databases/jvm/ditto/DittoSink.java | 55 +-
.../sinks/databases/jvm/iotdb/IotDbSink.java | 55 +-
.../sinks/databases/jvm/milvus/MilvusSink.java | 52 +-
.../sinks/databases/jvm/parquet/ParquetSink.java | 54 +-
.../databases/jvm/postgresql/PostgreSqlSink.java | 59 +-
.../sinks/databases/jvm/redis/RedisSink.java | 64 +-
.../sinks/databases/jvm/tsfile/TsFileSink.java | 54 +-
.../sinks/internal/jvm/datalake/DataLakeSink.java | 62 +-
.../InternalStreamPipesNotificationSink.java | 23 +-
.../sinks/notifications/jvm/email/EmailSink.java | 25 +-
.../notifications/jvm/msteams/MSTeamsSink.java | 25 +-
.../notifications/jvm/onesignal/OneSignalSink.java | 23 +-
.../jvm/slack/SlackNotificationSink.java | 23 +-
.../notifications/jvm/telegram/TelegramSink.java | 23 +-
streampipes-integration-tests/pom.xml | 2 +-
.../adapters/AdaptersIntegrationTest.java | 16 +-
.../integration/adapters/MqttAdapterTLSTester.java | 1 -
.../src/test/resources/truststore.jks | Bin 0 -> 1238 bytes
streampipes-messaging-mqtt/pom.xml | 4 +-
.../messaging/mqtt/AbstractMqttConnector.java | 46 +-
.../streampipes/messaging/mqtt/MqttConsumer.java | 118 ++--
.../streampipes/messaging/mqtt/MqttPublisher.java | 87 ++-
.../model/client/user/DefaultPrivilege.java | 14 -
.../model/datalake/RetentionExportConfig.java | 57 +-
.../streampipes/model/datalake/RetentionLog.java | 69 ++
.../manager/setup/CouchDbInstallationStep.java | 2 -
.../apache/streampipes/rest/ResetManagement.java | 3 +-
.../apache/streampipes/rest/impl/FileResource.java | 5 +-
.../admin/ExportProviderConfigurationResource.java | 40 +-
.../rest/impl/datalake/DataLakeResource.java | 305 +++-----
.../streampipes/rest/security/AuthConstants.java | 4 +
.../core/migrations/AvailableMigrations.java | 6 +-
.../v070/CreateDefaultAssetMigration.java | 50 --
.../v099/RemoveObsoletePrivilegesMigration.java | 63 ++
.../service/core/scheduler/DataLakeScheduler.java | 158 +----
.../management/authorization/PrivilegeManager.java | 46 +-
.../user/management/authorization/RoleManager.java | 11 +-
.../standalone/StreamPipesDataProcessor.java | 69 --
.../wrapper/standalone/StreamPipesDataSink.java | 71 --
.../standalone/StreamPipesNotificationSink.java | 50 +-
ui/cypress/support/builder/AssetBuilder.ts | 82 +++
ui/cypress/support/model/Asset.ts | 27 +
ui/cypress/support/utils/DashboardUtils.ts | 22 +
ui/cypress/support/utils/asset/AssetBtns.ts | 26 +
ui/cypress/support/utils/asset/AssetUtils.ts | 82 ++-
.../utils/configuration/ConfigurationUtils.ts | 8 +-
.../support/utils/configuration/SiteUtils.ts | 2 +-
.../support/utils/dataExplorer/DataExplorerBtns.ts | 18 +-
.../utils/dataExplorer/DataExplorerUtils.ts | 127 +++-
ui/cypress/support/utils/filter/FilterBtns.ts | 63 ++
ui/cypress/support/utils/filter/FilterUtils.ts | 97 +++
.../tests/assetManagement/assetFilterTest.spec.ts | 282 ++++++++
.../assetManagement/generalAssetTest.smoke.spec.ts | 2 -
ui/cypress/tests/connect/adapterWithAssets.spec.ts | 10 +-
.../dataDownloadDialogTest.smoke.spec.ts | 5 +-
.../dataExplorer/addAssetToDashboard.smoke.spec.ts | 14 +-
.../dataExplorer/addAssetsToDataView.smoke.spec.ts | 14 +-
.../tests/dataExplorer/charts/heatmap.spec.ts | 7 +-
.../tests/dataExplorer/charts/histogram.spec.ts | 3 +-
.../tests/dataExplorer/charts/indicator.spec.ts | 3 +-
ui/cypress/tests/dataExplorer/charts/map.spec.ts | 7 +-
.../dataExplorer/charts/scatter.smoke.spec.ts | 3 +-
ui/cypress/tests/dataExplorer/charts/table.spec.ts | 3 +-
.../dataExplorer/charts/timeSeriesSave.spec.ts | 12 +-
.../dataExplorer/deleteViewAndDashboard.spec.ts | 5 +-
.../dataExplorer/missingDataInDataLake.spec.ts | 5 +-
.../widgetDataConfiguration.smoke.spec.ts | 5 +-
ui/cypress/tests/pipeline/pipelineAsset.spec.ts | 10 +-
.../testAddAssetOnResourceCreation.ts | 8 +-
.../userManagement/testUserRoleAssets.spec.ts | 148 ++++
.../userManagement/testUserRoleCharts.spec.ts | 159 +++++
.../userManagement/testUserRoleDashboard.spec.ts | 204 ++++++
.../testVariousUserRoles.smoke.spec.ts | 9 +-
ui/deployment/i18n/de.json | 83 ++-
ui/deployment/i18n/en.json | 86 +--
ui/package-lock.json | 12 +-
.../src/lib/apis/datalake-rest.service.ts | 7 +
.../src/lib/apis/export-provider.service.ts | 10 +-
.../model/config/export-provider-config.model.ts} | 11 +-
.../model/datalake/data-lake-query-config.model.ts | 1 -
.../src/lib/model/gen/streampipes-model-client.ts | 5 +-
.../src/lib/model/gen/streampipes-model.ts | 26 +-
.../asset-browser-hierarchy.component.html | 132 ++--
.../asset-browser-node-info.component.html | 64 +-
.../asset-browser-node.component.html | 90 +--
...asset-browser-filter-asset-model.component.html | 49 +-
.../asset-browser-filter-labels.component.html | 55 +-
.../asset-browser-filter-outer.component.html | 45 +-
.../asset-browser-filter-sites.component.html | 49 +-
.../asset-browser-filter-type.component.html | 49 +-
.../asset-browser-filter.component.html | 104 +--
.../asset-browser-toolbar.component.html | 1 +
.../asset-browser-toolbar.component.ts | 1 +
.../asset-browser/asset-browser.component.html | 47 +-
.../asset-browser/asset-browser.component.ts | 1 +
.../asset-browser/asset-browser.service.ts | 116 ++-
.../asset-link-configuration.component.html | 49 +-
.../basic-inner-panel.component.html | 92 +--
.../basic-nav-tabs/basic-nav-tabs.component.html | 86 +--
.../basic-view/basic-view.component.html | 77 +-
.../pipeline-element-documentation.component.html | 53 +-
.../live-preview-table.component.html | 48 +-
.../pipeline-element-runtime-info.component.html | 51 +-
.../pipeline-element.component.html | 56 +-
.../sidebar-resize/sidebar-resize.component.html | 40 +-
.../exception-details.component.html | 69 +-
.../sp-exception-message.component.html | 64 +-
.../split-section/split-section.component.html | 44 +-
.../refresh-interval-settings.component.html | 44 +-
.../time-range-selector.component.html | 183 ++---
.../custom-time-range-selection.component.html | 171 ++---
.../time-selector-menu.component.html | 136 ++--
.../confirm-dialog/confirm-dialog.component.html | 45 +-
.../components/download/download.component.html | 76 +-
.../select-data-range.component.html | 82 +--
.../select-format/select-format.component.html | 213 +++---
.../data-download-dialog.component.html | 95 +--
.../object-permission-dialog.component.html | 154 ++--
.../pipeline-element-help.component.html | 58 +-
ui/src/app/_enums/user-privilege.enum.ts | 6 -
ui/src/app/_guards/page-auth.can-active.guard.ts | 18 +-
ui/src/app/assets/assets.module.ts | 6 +
.../asset-details-basics.component.html | 75 +-
.../asset-details-labels.component.html | 189 ++---
.../asset-details-labels.component.ts | 12 +-
.../asset-details-site.component.html | 77 +-
.../asset-location/asset-location.component.html | 64 +-
.../asset-details-links.component.html | 106 +--
.../asset-link-item/asset-link-item.component.html | 71 +-
.../asset-link-section.component.html | 71 +-
.../edit-asset/asset-details.component.html | 175 ++---
.../asset-selection-panel.component.html | 258 +++----
.../view-asset-basics.component.html | 87 +--
.../view-asset/view-asset.component.html | 132 ++--
.../asset-overview/asset-overview.component.html | 104 +--
.../asset-overview/asset-overview.component.ts | 46 +-
.../edit-asset-link-dialog.component.html | 455 ++++++------
.../manage-asset-links-dialog.component.html | 778 +++++++++++----------
ui/src/app/configuration/configuration.module.ts | 16 +
.../datalake-configuration.component.html | 551 +++++++++++++++
.../data-retention-log-dialog.component.html | 97 +++
.../data-retention-log-dialog.component.ts | 39 +-
.../data-retention-now-dialog.component.html | 81 +++
.../data-retention-now-dialog.component.ts | 75 ++
...export-provider-connection-test.component.html} | 75 +-
.../export-provider-connection-test.component.ts | 79 +++
.../extensions-installation.component.html | 152 ++--
...xtensions-service-details-dialog.component.html | 53 +-
.../file-upload/file-upload-dialog.component.html | 234 ++++---
.../file-upload/file-upload-dialog.component.ts | 2 +-
.../edit-location-area.component.html | 95 +--
.../edit-location/edit-location.component.html | 71 +-
.../manage-site/manage-site-dialog.component.html | 50 +-
.../manage-site/manage-site-dialog.component.ts | 8 +-
.../email-configuration.component.html | 495 +++++++------
.../email-template-configuration.component.html | 56 +-
.../export/data-export-import.component.html | 48 +-
.../data-export-dialog.component.html | 155 ++--
.../data-export-item.component.html | 47 +-
.../data-import-dialog.component.html | 389 ++++++-----
.../endpoint-item/endpoint-item.component.html | 173 ++---
.../extensions-installation.component.html | 114 ++-
.../certificate-configuration.component.html | 258 +++----
.../service-configs-item.component.html | 72 +-
.../service-configs-password.component.html | 40 +-
.../service-configs/service-configs.component.html | 52 +-
.../registered-extensions-services.component.html | 54 +-
.../general-configuration.component.html | 379 +++++-----
.../edit-label/edit-label.component.html | 45 +-
.../label-configuration.component.html | 146 ++--
.../messaging-configuration.component.html | 272 +++----
.../edit-group-dialog.component.html | 49 +-
.../edit-role-dialog.component.html | 93 +--
.../edit-user-dialog.component.html | 338 ++++-----
.../role-configuration.component.html | 178 ++---
.../security-service-config.component.html | 142 ++--
.../security-user-config.component.html | 251 +++----
.../user-group-configuration.component.html | 159 +++--
.../location-features-configuration.component.html | 131 ++--
.../sites-configuration.component.html | 51 +-
.../sites-configuration.component.ts | 20 +-
.../adapter-catalog/adapter-catalog.component.html | 14 +-
.../adapter-catalog/adapter-catalog.component.scss | 28 -
.../adapter-catalog/adapter-catalog.component.ts | 32 +-
...nt.html => adapter-catalog-item.component.html} | 9 +-
...nt.scss => adapter-catalog-item.component.scss} | 27 +-
...ponent.ts => adapter-catalog-item.component.ts} | 40 +-
.../adapter-configuration.component.ts | 2 +-
.../event-schema/event-schema.component.ts | 5 +-
.../adapter-details-logs.component.html | 2 +-
.../create-adapter/create-adapter.component.ts | 50 +-
.../edit-adapter/edit-adapter.component.html | 2 +-
.../edit-adapter/edit-adapter.component.ts | 30 +-
.../existing-adapters.component.ts | 10 +-
ui/src/app/connect/connect.module.ts | 4 +-
ui/src/app/connect/connect.routes.ts | 11 +-
.../core-ui/error-hint/error-hint.component.html | 119 ++--
.../simple-logs/simple-logs.component.html | 74 +-
.../multi-step-status-indicator.component.html | 81 ++-
...pipeline-element-template-config.component.html | 189 ++---
.../pipeline-operation-status.component.html | 92 ++-
.../pipeline-started-status.component.html | 135 ++--
.../single-marker-map.component.html | 36 +-
.../static-alternatives.component.html | 151 ++--
.../static-any-input.component.html | 88 +--
.../add-to-collection.component.html | 139 ++--
.../static-collection.component.html | 82 ++-
.../static-file-input.component.html | 218 +++---
.../static-free-input.component.html | 206 +++---
.../static-group/static-group.component.html | 125 ++--
.../static-mapping-nary.component.html | 64 +-
.../static-mapping-unary.component.html | 54 +-
.../static-one-of-input.component.html | 91 +--
.../static-property.component.html | 548 ++++++++-------
...tic-runtime-resolvable-any-input.component.html | 109 +--
.../static-runtime-resolvable-group.component.html | 127 ++--
...c-runtime-resolvable-oneof-input.component.html | 107 +--
...ic-runtime-resolvable-tree-input.component.html | 124 ++--
.../static-tree-input-browse-nodes.component.html | 147 ++--
.../static-tree-input-button-menu.component.html | 113 +--
.../static-tree-input-node-details.component.html | 51 +-
...static-tree-input-selected-nodes.component.html | 70 +-
.../static-secret-input.component.html | 40 +-
ui/src/app/core-ui/topics/topics.component.html | 354 +++++-----
.../breadcrumb/breadcrumb.component.html | 58 +-
.../core/components/toolbar/toolbar.component.html | 277 ++++----
.../components/kiosk/dashboard-kiosk.component.ts | 4 +-
.../dashboard-overview-table.component.html | 5 +-
.../dashboard-overview-table.component.ts | 20 +-
.../chart-selection/chart-selection.component.html | 20 +-
.../chart-selection/chart-selection.component.ts | 12 +-
.../panel/dashboard-panel.component.html | 4 +-
.../components/panel/dashboard-panel.component.ts | 20 +-
.../dashboard-toolbar.component.html | 4 +-
.../dashboard-toolbar.component.ts | 2 +-
ui/src/app/dashboard/dashboard.module.ts | 6 +-
.../data-explorer-chart-container.component.html | 212 +++---
.../data-explorer-chart-container.component.scss | 2 +-
.../data-explorer-chart-container.component.ts | 16 +-
.../base/base-data-explorer-widget.directive.ts | 4 +-
.../components/charts/base/base-widget-config.ts | 4 +-
.../gauge/config/gauge-widget-config.component.ts | 4 +-
.../config/heatmap-widget-config.component.ts | 4 +-
.../map/config/map-widget-config.component.ts | 4 +-
.../config/pie-chart-widget-config.component.ts | 4 +-
.../status-heatmap-widget-config.component.ts | 4 +-
.../config/status-widget-config.component.ts | 4 +-
.../table/config/table-widget-config.component.ts | 4 +-
.../time-series-chart-widget-config.component.ts | 4 +-
.../traffic-light-widget-config.component.ts | 4 +-
.../echarts-renderer/base-echarts-renderer.ts | 8 +-
...on.service.ts => chart-colorization.service.ts} | 2 +-
...-service.ts => chart-field-provider.service.ts} | 2 +-
...=> chart-panel-can-deactivate-guard.service.ts} | 17 +-
...routing.service.ts => chart-routing.service.ts} | 2 +-
...r-shared.service.ts => chart-shared.service.ts} | 2 +-
.../data-explorer-chart-view.component.html | 1 +
.../data-explorer-chart-view.component.ts | 99 ++-
.../data-explorer-designer-panel.component.scss | 1 +
...ta-explorer-widget-data-settings.component.html | 233 +-----
...data-explorer-widget-data-settings.component.ts | 122 +---
.../field-selection-panel.component.ts | 4 +-
.../filter-selection-panel.component.ts | 4 +-
.../group-selection-panel.component.ts | 4 +-
.../data-explorer-overview-table.component.html | 6 +-
.../data-explorer-overview-table.component.ts | 25 +-
.../overview/data-explorer-overview.component.ts | 4 +-
ui/src/app/data-explorer/data-explorer.module.ts | 5 +-
ui/src/app/data-explorer/data-explorer.routes.ts | 2 +-
....service.ts => chart-detect-changes.service.ts} | 2 +-
.../datalake-configuration.component.ts | 45 ++
.../data-retention-dialog.component.html | 68 +-
.../data-retention-dialog.component.ts | 21 +-
.../delete-datalake-index-dialog.component.html | 169 +++--
.../delete-export-provider-dialog.component.html | 130 ++--
.../custom-output-strategy.component.html | 130 ++--
.../output-strategy/output-strategy.component.html | 96 +--
.../property-selection.component.html | 85 ++-
.../user-defined-output.component.html | 136 ++--
.../pipeline-assembly-drawing-area.component.html | 47 +-
...-assembly-options-pipeline-cache.component.html | 80 ++-
.../pipeline-assembly-options.component.html | 44 +-
.../pipeline-assembly.component.html | 63 +-
.../pipeline-element-icon-stand-row.component.html | 70 +-
.../pipeline-element-icon-stand.component.html | 339 +++++----
.../pipeline-element-options.component.html | 143 ++--
.../pipeline-element-preview.component.html | 79 +--
.../pipeline-element-statistics.component.html | 75 +-
.../dropped-pipeline-element.component.html | 199 +++---
.../components/pipeline/pipeline.component.html | 108 +--
.../compatible-elements.component.html | 101 +--
.../dialog/customize/customize.component.html | 359 +++++-----
.../matching-error/matching-error.component.html | 84 ++-
.../missing-elements-for-tutorial.component.html | 49 +-
.../pipeline-element-discovery.component.html | 97 +--
.../save-pipeline-settings.component.html | 177 +++--
.../save-pipeline/save-pipeline.component.html | 169 ++---
ui/src/app/editor/editor.component.html | 122 ++--
ui/src/app/home/components/status.component.html | 58 +-
ui/src/app/home/home.component.html | 119 ++--
ui/src/app/info/versions/versions.component.html | 164 ++---
.../activate-account.component.html | 76 +-
.../components/auth-box/auth-box.component.html | 98 ++-
.../login/components/login/login.component.html | 173 ++---
.../components/register/register.component.html | 192 ++---
.../restore-password.component.html | 145 ++--
.../set-new-password.component.html | 169 ++---
.../login/components/setup/setup.component.html | 267 +++----
.../app/notifications/notifications.component.html | 239 ++++---
.../actions/pipeline-actions.component.html | 88 +--
...pipeline-details-expansion-panel.component.html | 53 +-
.../status/pipeline-status.component.html | 92 +--
.../pipeline-details-toolbar.component.html | 70 +-
.../pipeline-details-toolbar.component.ts | 3 +
.../preview/pipeline-preview.component.html | 62 +-
.../pipeline-code-dialog.component.html | 45 +-
.../pipeline-logs-dialog.component.html | 63 +-
.../pipeline-details.component.html | 86 +--
.../pipeline-details/pipeline-details.component.ts | 12 +-
.../functions-logs/functions-logs.component.html | 52 +-
.../functions-metrics.component.html | 61 +-
.../pipeline-overview.component.html | 277 ++++----
.../delete-pipeline-dialog.component.html | 156 +++--
.../pipeline-notifications.component.html | 43 +-
.../pipeline-status-dialog.component.html | 155 ++--
.../start-all-pipelines-dialog.component.html | 168 +++--
ui/src/app/pipelines/pipelines.component.html | 119 ++--
ui/src/app/pipelines/pipelines.component.ts | 10 +-
.../general-profile-settings.component.html | 219 +++---
.../token/token-management-settings.component.html | 335 ++++-----
.../change-email-dialog.component.html | 141 ++--
.../change-password-dialog.component.html | 137 ++--
ui/src/app/profile/profile.component.html | 66 +-
382 files changed, 16880 insertions(+), 13098 deletions(-)
diff --cc ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
index 5115c5da29,12af50c644..61eaaffd7f
--- a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
@@@ -41,13 -42,15 +42,15 @@@ import
SpBreadcrumbService,
SpNavigationItem,
} from '@streampipes/shared-ui';
-import { DeleteDatalakeIndexComponent } from '../dialog/delete-datalake-index/delete-datalake-index-dialog.component';
-import { SpConfigurationTabsService } from '../configuration-tabs.service';
-import { SpConfigurationRoutes } from '../configuration.routes';
-import { DataRetentionDialogComponent } from '../dialog/data-retention-dialog/data-retention-dialog.component';
-import { ExportProviderComponent } from '../dialog/export-provider-dialog/export-provider-dialog.component';
-import { DeleteExportProviderComponent } from '../dialog/delete-export-provider/delete-export-provider-dialog.component';
+import { DeleteDatalakeIndexComponent } from '../../dialog/delete-datalake-index/delete-datalake-index-dialog.component';
+import { SpConfigurationTabsService } from '../../../configuration/configuration-tabs.service';
+import { SpConfigurationRoutes } from '../../../configuration/configuration.routes';
+import { DataRetentionDialogComponent } from '../../dialog/data-retention-dialog/data-retention-dialog.component';
+import { ExportProviderComponent } from '../../dialog/export-provider-dialog/export-provider-dialog.component';
+import { DeleteExportProviderComponent } from '../../dialog/delete-export-provider/delete-export-provider-dialog.component';
import { TranslateService } from '@ngx-translate/core';
+ import { ExportProviderConnectionTestComponent } from '../dialog/export-provider-connection-test/export-provider-connection-test.component';
+ import { DataRetentionLogDialogComponent } from '../dialog/data-retention-log-dialog/data-retention-log-dialog.component';
@Component({
selector: 'sp-datalake-configuration',
@@@ -79,8 -85,11 +82,9 @@@ export class DatalakeConfigurationCompo
'name',
'pipeline',
'events',
- 'download',
- 'truncate',
- 'remove',
'retention',
+ 'actions',
+ 'retentionlog',
];
displayedColumnsExport: string[] = [
(streampipes) 04/04: Modify imports after merge
Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch 3960-make-datasets-a-first-class-ui-view
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 356b1b9cf346c116187aaa4fb1fe074a891b8d1c
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Dec 3 17:40:18 2025 +0100
Modify imports after merge
---
ui/src/app/configuration/configuration.module.ts | 18 +-
.../datalake-configuration.component.html | 551 ---------------------
.../datalake-configuration.component.html | 107 ++++
.../datalake-configuration.component.ts | 6 +-
ui/src/app/dataset/dataset.module.ts | 6 +
.../data-retention-log-dialog.component.html | 0
.../data-retention-log-dialog.component.ts | 0
.../data-retention-now-dialog.component.html | 0
.../data-retention-now-dialog.component.ts | 0
.../export-provider-connection-test.component.html | 0
.../export-provider-connection-test.component.ts | 0
11 files changed, 117 insertions(+), 571 deletions(-)
diff --git a/ui/src/app/configuration/configuration.module.ts b/ui/src/app/configuration/configuration.module.ts
index cd177cdc0a..71a8f65e77 100644
--- a/ui/src/app/configuration/configuration.module.ts
+++ b/ui/src/app/configuration/configuration.module.ts
@@ -26,12 +26,8 @@ import { MatTooltipModule } from '@angular/material/tooltip';
import { FlexLayoutModule } from '@ngbracket/ngx-layout';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
-
import { MessagingConfigurationComponent } from './messaging-configuration/messaging-configuration.component';
import { DragDropModule } from '@angular/cdk/drag-drop';
-import { DatalakeConfigurationComponent } from './datalake-configuration/datalake-configuration.component';
-import { DeleteDatalakeIndexComponent } from './dialog/delete-datalake-index/delete-datalake-index-dialog.component';
-import { ExportProviderConnectionTestComponent } from './dialog/export-provider-connection-test/export-provider-connection-test.component';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import { SecurityConfigurationComponent } from './security-configuration/security-configuration.component';
import { CoreUiModule } from '../core-ui/core-ui.module';
@@ -107,15 +103,7 @@ import { AlternateIdConfigurationComponent } from './security-configuration/alte
import { UserAcknowledgmentComponent } from './general-configuration/user-acknowledgement/user-acknowledgment.component';
import { QuillEditorComponent } from 'ngx-quill';
import { MatStepperModule } from '@angular/material/stepper';
-import { DataRetentionDialogComponent } from './dialog/data-retention-dialog/data-retention-dialog.component';
-import { ExportProviderComponent } from './dialog/export-provider-dialog/export-provider-dialog.component';
-import { SelectDataComponent } from './dialog/data-retention-dialog/components/select-retention/select-data.component';
-import { SelectDataRetentionComponent } from './dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component';
-import { SelectRetentionActionComponent } from './dialog/data-retention-dialog/components/select-retention/select-retention-action/select-retention-action.component';
-import { SelectDataExportComponent } from './dialog/data-retention-dialog/components/select-export/select-format.component';
-import { DeleteExportProviderComponent } from './dialog/delete-export-provider/delete-export-provider-dialog.component';
-import { DataRetentionNowDialogComponent } from './dialog/data-retention-now-dialog/data-retention-now-dialog.component';
-import { DataRetentionLogDialogComponent } from './dialog/data-retention-log-dialog/data-retention-log-dialog.component';
+
@NgModule({
imports: [
CommonModule,
@@ -221,10 +209,6 @@ import { DataRetentionLogDialogComponent } from './dialog/data-retention-log-dia
ServiceConfigsBooleanComponent,
ServiceConfigsItemComponent,
ServiceConfigsNumberComponent,
- DeleteDatalakeIndexComponent,
- DataRetentionNowDialogComponent,
- DataRetentionLogDialogComponent,
- ExportProviderConnectionTestComponent,
EditAssetLocationComponent,
EditAssetLocationAreaComponent,
EditRoleDialogComponent,
diff --git a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.html b/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.html
deleted file mode 100644
index b61961aa85..0000000000
--- a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.html
+++ /dev/null
@@ -1,551 +0,0 @@
-<!--
-~ Licensed to the Apache Software Foundation (ASF) under one or more
-~ contributor license agreements. See the NOTICE file distributed with
-~ this work for additional information regarding copyright ownership.
-~ The ASF licenses this file to You under the Apache License, Version 2.0
-~ (the "License"); you may not use this file except in compliance with
-~ the License. You may obtain a copy of the License at
-~
-~ http://www.apache.org/licenses/LICENSE-2.0
-~
-~ Unless required by applicable law or agreed to in writing, software
-~ distributed under the License is distributed on an "AS IS" BASIS,
-~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-~ See the License for the specific language governing permissions and
-~ limitations under the License.
-~
--->
-
-<sp-basic-nav-tabs [spNavigationItems]="tabs" [activeLink]="'datalake'">
- <div fxLayout="row" class="page-container-padding">
- <div fxFlex="100" fxLayout="column" fxLayoutAlign="start start">
- <sp-split-section
- [title]="'Data Lake Settings' | translate"
- [subtitle]="'Manage persisted data streams' | translate"
- >
- <button
- section-actions
- color="accent"
- mat-icon-button
- [matTooltip]="'Refresh' | translate"
- data-cy="refresh-data-lake-measures"
- (click)="loadAvailableMeasurements()"
- >
- <mat-icon>refresh</mat-icon>
- </button>
- <div fxFlex="100" fxLayout="column">
- <table
- fxFlex="100"
- mat-table
- data-cy="datalake-settings"
- [dataSource]="dataSource"
- style="width: 100%"
- matSort
- >
- <ng-container matColumnDef="name">
- <th
- mat-header-cell
- mat-sort-header
- *matHeaderCellDef
- >
- {{ 'Name' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.name }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="pipeline">
- <th
- mat-header-cell
- mat-sort-header
- *matHeaderCellDef
- >
- {{ 'Related Pipeline' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.pipelines }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="events">
- <th
- mat-header-cell
- mat-sort-header
- *matHeaderCellDef
- >
- {{ '# Events' | translate }}
- </th>
- <td
- mat-cell
- data-cy="datalake-number-of-events"
- *matCellDef="let configurationEntry"
- >
- @if (configurationEntry.events < 0) {
- <mat-spinner
- [diameter]="20"
- fxLayoutAlign="center"
- style="margin: 10px 0 5px 0"
- color="accent"
- data-cy="datalake-number-of-events-spinner"
- >{{ 'Loading' | translate }}
- </mat-spinner>
- } @else {
- <span>
- {{ configurationEntry.events | number }}
- </span>
- }
- </td>
- </ng-container>
-
- <ng-container matColumnDef="download">
- <th mat-header-cell *matHeaderCellDef>Download</th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Download data from index'
- | translate
- "
- matTooltipPosition="above"
- data-cy="datalake-download-btn"
- (click)="
- openDownloadDialog(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons"
- >download</i
- >
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="truncate">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Truncate' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Truncate all data from index'
- | translate
- "
- matTooltipPosition="above"
- data-cy="datalake-truncate-btn"
- (click)="
- cleanDatalakeIndex(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons"
- >local_fire_department</i
- >
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="remove">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Remove' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Remove index from database'
- | translate
- "
- data-cy="datalake-delete-btn"
- matTooltipPosition="above"
- [disabled]="
- !configurationEntry.remove
- "
- (click)="
- deleteDatalakeIndex(
- configurationEntry.name
- )
- "
- >
- <i class="material-icons">delete</i>
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="retention">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Retention Rate' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- 'Set retention rate' | translate
- "
- data-cy="datalake-retention-btn"
- matTooltipPosition="above"
- (click)="
- openRetentionDialog(
- configurationEntry.elementId
- )
- "
- >
- <i
- class="material-icons"
- [ngStyle]="{
- color: configurationEntry?.retention
- ? 'green'
- : 'red'
- }"
- >history</i
- >
- </button>
- </span>
- </div>
- </td>
- </ng-container>
-
- <ng-container matColumnDef="retentionlog">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Retention Log' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- @if (configurationEntry?.retention) {
- <button
- color="accent"
- mat-icon-button
- [matTooltip]="
- ('Open Retention Log'
- | translate) +
- (configurationEntry
- ?.retention
- ?.retentionExportConfig
- ?.lastExport
- ? ' • ' +
- (configurationEntry
- .retention
- .retentionExportConfig
- .lastExport
- | date
- : 'yyyy-MM-dd HH:mm:ss')
- : '')
- "
- data-cy="datalake-retention-log-btn"
- matTooltipPosition="above"
- (click)="
- openRetentionLog(
- configurationEntry
- ?.retention
- .retentionExportConfig
- .retentionLog
- )
- "
- >
- <i
- class="material-icons"
- [ngStyle]="{
- color:
- configurationEntry
- ?.retention
- ?.retentionExportConfig
- ?.retentionLog
- ?.length &&
- configurationEntry
- .retention
- .retentionExportConfig
- .retentionLog[
- configurationEntry
- .retention
- .retentionExportConfig
- .retentionLog
- .length - 1
- ].status
- ? 'green'
- : 'red'
- }"
- >list_alt</i
- >
- </button>
- } @else {
- <p>-</p>
- }
- </span>
- </div>
- </td>
- </ng-container>
-
- <tr
- mat-header-row
- *matHeaderRowDef="displayedColumns"
- ></tr>
- <tr
- mat-row
- *matRowDef="let row; columns: displayedColumns"
- ></tr>
- </table>
- </div>
- <div fxFlex="100" fxLayoutAlign="end end">
- <mat-paginator
- [pageSizeOptions]="[pageSize]"
- [pageSize]="pageSize"
- (page)="onPageChange($event)"
- ></mat-paginator>
- </div>
- @if (availableMeasurements.length === 0) {
- <h5>{{ '(no stored measurements)' | translate }}</h5>
- }
- </sp-split-section>
- <sp-split-section
- [title]="'Export Providers' | translate"
- [subtitle]="
- 'Add, Edit, and Delete export providers used for backing up data lakes.'
- | translate
- "
- >
- <div
- fxLayout="row"
- fxLayoutAlign="end center"
- section-actions
- fxLayoutGap="5px"
- >
- <button
- mat-flat-button
- matTooltip="{{ 'New' | translate }}"
- data-cy="new-export-providers"
- (click)="createExportProvider(null)"
- >
- <mat-icon>add</mat-icon>
- <span>{{ 'New' | translate }}</span>
- </button>
- <button
- mat-icon-button
- matTooltip="{{ 'Refresh' | translate }}"
- data-cy="refresh-export-providers-measures"
- (click)="loadAvailableExportProvider()"
- >
- <mat-icon>refresh</mat-icon>
- </button>
- </div>
- <table
- fxFlex="100"
- mat-table
- data-cy="exportproviders-settings"
- [dataSource]="dataSourceExport"
- style="width: 100%"
- matSort
- >
- <ng-container matColumnDef="providertype">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Provider Type' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.providerType }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="endpoint">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Endpoint' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.endPoint }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="bucket">
- <th mat-header-cell mat-sort-header *matHeaderCellDef>
- {{ 'Bucket' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- {{ configurationEntry.bucketName }}
- </td>
- </ng-container>
-
- <ng-container matColumnDef="editExportProvider">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Edit' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- @if (configurationEntry.providerId !== 'FOLDER') {
- <div>
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- matTooltip="{{
- 'Edit Export Provider'
- | translate
- }}"
- matTooltipPosition="above"
- data-cy="exportProvider-edit-btn"
- (click)="
- createExportProvider(
- configurationEntry
- )
- "
- >
- <i class="material-icons"
- >edit</i
- >
- </button>
- </span>
- </div>
- </div>
- }
- </td>
- </ng-container>
-
- <ng-container matColumnDef="delete">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Remove' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- @if (configurationEntry.providerId !== 'FOLDER') {
- <div>
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- matTooltip="{{
- 'Remove export provider configuration'
- | translate
- }}"
- data-cy="exportProvider-delete-btn"
- matTooltipPosition="above"
- (click)="
- deleteExportProvider(
- configurationEntry.providerId
- )
- "
- >
- <i class="material-icons"
- >delete</i
- >
- </button>
- </span>
- </div>
- </div>
- }
- </td>
- </ng-container>
-
- <ng-container matColumnDef="test">
- <th mat-header-cell *matHeaderCellDef>
- {{ 'Test' | translate }}
- </th>
- <td mat-cell *matCellDef="let configurationEntry">
- <div>
- <div fxLayout="row">
- <span
- fxFlex
- fxFlexOrder="3"
- fxLayout="row"
- fxLayoutAlign="start center"
- >
- <button
- color="accent"
- mat-icon-button
- matTooltip="{{
- 'Test export provider configuration'
- | translate
- }}"
- data-cy="exportProvider-test-btn"
- matTooltipPosition="above"
- (click)="
- testExportProvider(
- configurationEntry.providerId
- )
- "
- >
- <i class="material-icons"
- >bug_report</i
- >
- </button>
- </span>
- </div>
- </div>
- </td>
- </ng-container>
-
- <tr
- mat-header-row
- *matHeaderRowDef="displayedColumnsExport"
- ></tr>
- <tr
- mat-row
- *matRowDef="let row; columns: displayedColumnsExport"
- ></tr>
- </table>
-
- @if (
- !availableExportProvider ||
- availableExportProvider.length === 0
- ) {
- <div>
- <h5>{{ 'no stored export providers' | translate }}</h5>
- </div>
- }
- </sp-split-section>
- </div>
- </div>
-</sp-basic-nav-tabs>
diff --git a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
index 8b75f4bc4a..d7a58c29a4 100644
--- a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.html
@@ -131,6 +131,77 @@
</td>
</ng-container>
+ <ng-container matColumnDef="retentionlog">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Retention Log' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ @if (configurationEntry?.retention) {
+ <button
+ color="accent"
+ mat-icon-button
+ [matTooltip]="
+ ('Open Retention Log' | translate) +
+ (configurationEntry?.retention
+ ?.retentionExportConfig
+ ?.lastExport
+ ? ' • ' +
+ (configurationEntry.retention
+ .retentionExportConfig
+ .lastExport
+ | date
+ : 'yyyy-MM-dd HH:mm:ss')
+ : '')
+ "
+ data-cy="datalake-retention-log-btn"
+ matTooltipPosition="above"
+ (click)="
+ openRetentionLog(
+ configurationEntry?.retention
+ .retentionExportConfig
+ .retentionLog
+ )
+ "
+ >
+ <i
+ class="material-icons"
+ [ngStyle]="{
+ color:
+ configurationEntry
+ ?.retention
+ ?.retentionExportConfig
+ ?.retentionLog
+ ?.length &&
+ configurationEntry.retention
+ .retentionExportConfig
+ .retentionLog[
+ configurationEntry
+ .retention
+ .retentionExportConfig
+ .retentionLog
+ .length - 1
+ ].status
+ ? 'green'
+ : 'red'
+ }"
+ >list_alt</i
+ >
+ </button>
+ } @else {
+ <p>-</p>
+ }
+ </span>
+ </div>
+ </td>
+ </ng-container>
+
<ng-template spTableActions let-element>
<button
mat-menu-item
@@ -310,6 +381,42 @@
</td>
</ng-container>
+ <ng-container matColumnDef="test">
+ <th mat-header-cell *matHeaderCellDef>
+ {{ 'Test' | translate }}
+ </th>
+ <td mat-cell *matCellDef="let configurationEntry">
+ <div>
+ <div fxLayout="row">
+ <span
+ fxFlex
+ fxFlexOrder="3"
+ fxLayout="row"
+ fxLayoutAlign="start center"
+ >
+ <button
+ color="accent"
+ mat-icon-button
+ matTooltip="{{
+ 'Test export provider configuration'
+ | translate
+ }}"
+ data-cy="exportProvider-test-btn"
+ matTooltipPosition="above"
+ (click)="
+ testExportProvider(
+ configurationEntry.providerId
+ )
+ "
+ >
+ <i class="material-icons">bug_report</i>
+ </button>
+ </span>
+ </div>
+ </div>
+ </td>
+ </ng-container>
+
<tr mat-header-row *matHeaderRowDef="displayedColumnsExport"></tr>
<tr
mat-row
diff --git a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
index 61eaaffd7f..42a473f89d 100644
--- a/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
+++ b/ui/src/app/dataset/components/datalake-configuration/datalake-configuration.component.ts
@@ -49,8 +49,8 @@ import { DataRetentionDialogComponent } from '../../dialog/data-retention-dialog
import { ExportProviderComponent } from '../../dialog/export-provider-dialog/export-provider-dialog.component';
import { DeleteExportProviderComponent } from '../../dialog/delete-export-provider/delete-export-provider-dialog.component';
import { TranslateService } from '@ngx-translate/core';
-import { ExportProviderConnectionTestComponent } from '../dialog/export-provider-connection-test/export-provider-connection-test.component';
-import { DataRetentionLogDialogComponent } from '../dialog/data-retention-log-dialog/data-retention-log-dialog.component';
+import { ExportProviderConnectionTestComponent } from '../../dialog/export-provider-connection-test/export-provider-connection-test.component';
+import { DataRetentionLogDialogComponent } from '../../dialog/data-retention-log-dialog/data-retention-log-dialog.component';
@Component({
selector: 'sp-datalake-configuration',
@@ -83,8 +83,8 @@ export class DatalakeConfigurationComponent implements OnInit {
'pipeline',
'events',
'retention',
- 'actions',
'retentionlog',
+ 'actions',
];
displayedColumnsExport: string[] = [
diff --git a/ui/src/app/dataset/dataset.module.ts b/ui/src/app/dataset/dataset.module.ts
index 0fdad9b66e..6141db5427 100644
--- a/ui/src/app/dataset/dataset.module.ts
+++ b/ui/src/app/dataset/dataset.module.ts
@@ -50,6 +50,9 @@ import { MatSelectModule } from '@angular/material/select';
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatInputModule } from '@angular/material/input';
import { MatMenuModule } from '@angular/material/menu';
+import { DataRetentionNowDialogComponent } from './dialog/data-retention-now-dialog/data-retention-now-dialog.component';
+import { DataRetentionLogDialogComponent } from './dialog/data-retention-log-dialog/data-retention-log-dialog.component';
+import { ExportProviderConnectionTestComponent } from './dialog/export-provider-connection-test/export-provider-connection-test.component';
@NgModule({
imports: [
@@ -88,6 +91,9 @@ import { MatMenuModule } from '@angular/material/menu';
],
declarations: [
DeleteDatalakeIndexComponent,
+ DataRetentionNowDialogComponent,
+ DataRetentionLogDialogComponent,
+ ExportProviderConnectionTestComponent,
DatalakeConfigurationComponent,
DataRetentionDialogComponent,
ExportProviderComponent,
diff --git a/ui/src/app/configuration/dialog/data-retention-log-dialog/data-retention-log-dialog.component.html b/ui/src/app/dataset/dialog/data-retention-log-dialog/data-retention-log-dialog.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-log-dialog/data-retention-log-dialog.component.html
rename to ui/src/app/dataset/dialog/data-retention-log-dialog/data-retention-log-dialog.component.html
diff --git a/ui/src/app/configuration/dialog/data-retention-log-dialog/data-retention-log-dialog.component.ts b/ui/src/app/dataset/dialog/data-retention-log-dialog/data-retention-log-dialog.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-log-dialog/data-retention-log-dialog.component.ts
rename to ui/src/app/dataset/dialog/data-retention-log-dialog/data-retention-log-dialog.component.ts
diff --git a/ui/src/app/configuration/dialog/data-retention-now-dialog/data-retention-now-dialog.component.html b/ui/src/app/dataset/dialog/data-retention-now-dialog/data-retention-now-dialog.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-now-dialog/data-retention-now-dialog.component.html
rename to ui/src/app/dataset/dialog/data-retention-now-dialog/data-retention-now-dialog.component.html
diff --git a/ui/src/app/configuration/dialog/data-retention-now-dialog/data-retention-now-dialog.component.ts b/ui/src/app/dataset/dialog/data-retention-now-dialog/data-retention-now-dialog.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/data-retention-now-dialog/data-retention-now-dialog.component.ts
rename to ui/src/app/dataset/dialog/data-retention-now-dialog/data-retention-now-dialog.component.ts
diff --git a/ui/src/app/configuration/dialog/export-provider-connection-test/export-provider-connection-test.component.html b/ui/src/app/dataset/dialog/export-provider-connection-test/export-provider-connection-test.component.html
similarity index 100%
rename from ui/src/app/configuration/dialog/export-provider-connection-test/export-provider-connection-test.component.html
rename to ui/src/app/dataset/dialog/export-provider-connection-test/export-provider-connection-test.component.html
diff --git a/ui/src/app/configuration/dialog/export-provider-connection-test/export-provider-connection-test.component.ts b/ui/src/app/dataset/dialog/export-provider-connection-test/export-provider-connection-test.component.ts
similarity index 100%
rename from ui/src/app/configuration/dialog/export-provider-connection-test/export-provider-connection-test.component.ts
rename to ui/src/app/dataset/dialog/export-provider-connection-test/export-provider-connection-test.component.ts