You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/05/16 14:15:15 UTC
[incubator-streampipes] branch STREAMPIPES-537 updated: [STEAMPIPES-537] Update app-routing template
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch STREAMPIPES-537
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/STREAMPIPES-537 by this push:
new 44779f7ba [STEAMPIPES-537] Update app-routing template
44779f7ba is described below
commit 44779f7ba53ad3f41ad945fc646c0a0aaba12d1c
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Mon May 16 16:15:01 2022 +0200
[STEAMPIPES-537] Update app-routing template
---
ui/deployment/app-routing.module.mst | 3 +++
ui/deployment/modules.yml | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ui/deployment/app-routing.module.mst b/ui/deployment/app-routing.module.mst
index 8994a2fd0..2ef9f3f92 100644
--- a/ui/deployment/app-routing.module.mst
+++ b/ui/deployment/app-routing.module.mst
@@ -64,6 +64,9 @@ const routes: Routes = [
{ path: '{{{link}}}', component: {{{ng5_component}}}, data: { authPageNames: [{{{pageNames}}}]}},
{{/ng5}}
{{/modulesActive}}
+
+ { path: '', data: { authPageNames: [PageName.SETTINGS]}, loadChildren: () => import('./configuration/configuration.module').then(m => m.ConfigurationModule)},
+
{ path: 'notifications', component: NotificationsComponent },
{ path: 'info', component: InfoComponent },
{ path: 'pipeline-details', component: PipelineDetailsComponent },
diff --git a/ui/deployment/modules.yml b/ui/deployment/modules.yml
index a63513e00..f286a0c2a 100644
--- a/ui/deployment/modules.yml
+++ b/ui/deployment/modules.yml
@@ -72,10 +72,10 @@ spAdd:
spConfiguration:
ng5: True
ng5_moduleName: 'ConfigurationModule'
- ng5_component: 'ConfigurationComponent'
- ng5_componentPath: './configuration/configuration.component'
+ ng5_component: 'GeneralConfigurationComponent'
+ ng5_componentPath: './configuration/general-configuration/general-configuration.component'
path: './configuration/configuration.module'
- link: 'configuration'
+ link: ''
url: '/configuration'
title: 'Configuration'
description: 'In the configuration module, basic StreamPipes settings and services can be configured.'