Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#877] Format and lint deployment directory #920

Merged
merged 1 commit into from
Dec 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ui/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ dist

# Remove these in the future to lint additional modules
# Please also see .prettierignore
deployment
projects
src/app/_enums
src/app/_guards
Expand Down
1 change: 0 additions & 1 deletion ui/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ dist

# Remove these in the future to format additional modules
# Please also see .eslintignore
deployment
projects
src/app/_enums
src/app/_guards
Expand Down
1 change: 0 additions & 1 deletion ui/deployment/app-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { Injectable } from '@angular/core';

@Injectable()
export class AppConstants {

public readonly APP_NAME = 'Apache StreamPipes';
public readonly APP_TITLE = 'Apache StreamPipes';
public readonly EMAIL = '[email protected]';
Expand Down
24 changes: 13 additions & 11 deletions ui/deployment/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@
import { App } from './apps.model';

export class AvailableAppsService {

public static apps: App[] = [
{
appName: 'Asset Dashboards',
appDescription: 'Monitor measurements of your assets by placing visualizations on an image of your asset.',
appId: 'asset-monitoring',
appLink: 'asset-monitoring',
appModuleLink: () =>
import('../app-asset-monitoring/app-asset-monitoring.module').then(m => m.AppAssetMonitoringModule)
}
];
public static apps: App[] = [
{
appName: 'Asset Dashboards',
appDescription:
'Monitor measurements of your assets by placing visualizations on an image of your asset.',
appId: 'asset-monitoring',
appLink: 'asset-monitoring',
appModuleLink: () =>
import(
'../app-asset-monitoring/app-asset-monitoring.module'
).then(m => m.AppAssetMonitoringModule),
},
];
}
26 changes: 13 additions & 13 deletions ui/deployment/dev/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
# limitations under the License.

login:
backgroundImage: 'deployment/dev/img/background.png'
logo: 'deployment/dev/img/logo.png'
logo-navigation: 'deployment/dev/img/logo-navigation.png'
favicon: 'deployment/dev/img/favicon.png'
backgroundImage: 'deployment/dev/img/background.png'
logo: 'deployment/dev/img/logo.png'
logo-navigation: 'deployment/dev/img/logo-navigation.png'
favicon: 'deployment/dev/img/favicon.png'
modules:
- spPipelines
- spConnect
- spDashboard
- spDataExplorer
- spAppOverview
- spAdd
- spAssets
- spFiles
- spConfiguration
- spPipelines
- spConnect
- spDashboard
- spDataExplorer
- spAppOverview
- spAdd
- spAssets
- spFiles
- spConfiguration
261 changes: 130 additions & 131 deletions ui/deployment/modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,144 +13,143 @@
# See the License for the specific language governing permissions and
# limitations under the License.


spAssets:
componentImport: False
ng5_moduleName: 'AssetsModule'
ng5_component: 'EditorComponent'
ng5_componentPath: './editor/editor.component'
path: './assets/assets.module'
link: 'assets'
url: '/editor/:pipeline'
title: 'Asset Management'
description: 'Manage assets which help assigning pipelines, dashboards and adapters to real-world objects such as machines and plants.'
icon: 'precision_manufacturing'
homeImage: ''
admin: true
pageNames: 'PageName.ASSETS'
componentImport: False
ng5_moduleName: 'AssetsModule'
ng5_component: 'EditorComponent'
ng5_componentPath: './editor/editor.component'
path: './assets/assets.module'
link: 'assets'
url: '/editor/:pipeline'
title: 'Asset Management'
description: 'Manage assets which help assigning pipelines, dashboards and adapters to real-world objects such as machines and plants.'
icon: 'precision_manufacturing'
homeImage: ''
admin: true
pageNames: 'PageName.ASSETS'
spEditor:
componentImport: True
ng5_moduleName: 'EditorModule'
ng5_component: 'EditorComponent'
ng5_componentPath: './editor/editor.component'
path: './editor/editor.module'
link: 'editor'
url: '/editor/:pipeline'
title: 'Pipeline Editor'
description: 'The pipeline editor lets you create flexible data pipelines based on installed data streams, data sets, data processors and data sinks.'
icon: 'dashboard'
homeImage: '/assets/img/home/editor.png'
admin: false
pageNames: 'PageName.PIPELINE_EDITOR'
componentImport: True
ng5_moduleName: 'EditorModule'
ng5_component: 'EditorComponent'
ng5_componentPath: './editor/editor.component'
path: './editor/editor.module'
link: 'editor'
url: '/editor/:pipeline'
title: 'Pipeline Editor'
description: 'The pipeline editor lets you create flexible data pipelines based on installed data streams, data sets, data processors and data sinks.'
icon: 'dashboard'
homeImage: '/assets/img/home/editor.png'
admin: false
pageNames: 'PageName.PIPELINE_EDITOR'
spConnect:
componentImport: False
ng5_moduleName: 'ConnectModule'
ng5_component: 'ConnectComponent'
ng5_componentPath: './connect/connect.component'
path: './connect/connect.module'
link: 'connect'
url: '/connect'
title: 'Connect'
description: 'StreamPipes Connect lets you easily connect new data sources for a variety of data formats and protocols.'
icon: 'power'
homeImage: '/assets/img/home/editor.png'
admin: False
pageNames: 'PageName.CONNECT'
componentImport: False
ng5_moduleName: 'ConnectModule'
ng5_component: 'ConnectComponent'
ng5_componentPath: './connect/connect.component'
path: './connect/connect.module'
link: 'connect'
url: '/connect'
title: 'Connect'
description: 'StreamPipes Connect lets you easily connect new data sources for a variety of data formats and protocols.'
icon: 'power'
homeImage: '/assets/img/home/editor.png'
admin: False
pageNames: 'PageName.CONNECT'
spPipelines:
componentImport: False
ng5_moduleName: 'PipelinesModule'
ng5_component: 'PipelinesComponent'
ng5_componentPath: './pipelines/pipelines.component'
path: './pipelines/pipelines.module'
link: 'pipelines'
url: '/pipelines/:pipeline'
title: 'Pipelines'
description: 'All created pipelines are available in the pipeline view, where you can also start and stop pipelines.'
icon: 'play_arrow'
homeImage: '/assets/img/home/pipelines.png'
admin: False
pageNames: 'PageName.PIPELINE_OVERVIEW'
componentImport: False
ng5_moduleName: 'PipelinesModule'
ng5_component: 'PipelinesComponent'
ng5_componentPath: './pipelines/pipelines.component'
path: './pipelines/pipelines.module'
link: 'pipelines'
url: '/pipelines/:pipeline'
title: 'Pipelines'
description: 'All created pipelines are available in the pipeline view, where you can also start and stop pipelines.'
icon: 'play_arrow'
homeImage: '/assets/img/home/pipelines.png'
admin: False
pageNames: 'PageName.PIPELINE_OVERVIEW'
spAdd:
componentImport: False
ng5_moduleName: 'AddModule'
ng5_component: 'AddComponent'
ng5_componentPath: './add/add.component'
path: './add/add.module'
link: 'add'
url: '/add'
title: 'Install Pipeline Elements'
description: 'The pipeline element installation module can be used to extend StreamPipes with new algorithms and data sinks.'
icon: 'cloud_download'
homeImage: '/assets/img/home/add.png'
admin: True
pageNames: 'PageName.INSTALL_PIPELINE_ELEMENTS'
componentImport: False
ng5_moduleName: 'AddModule'
ng5_component: 'AddComponent'
ng5_componentPath: './add/add.component'
path: './add/add.module'
link: 'add'
url: '/add'
title: 'Install Pipeline Elements'
description: 'The pipeline element installation module can be used to extend StreamPipes with new algorithms and data sinks.'
icon: 'cloud_download'
homeImage: '/assets/img/home/add.png'
admin: True
pageNames: 'PageName.INSTALL_PIPELINE_ELEMENTS'
spConfiguration:
componentImport: False
ng5_moduleName: 'ConfigurationModule'
ng5_component: 'GeneralConfigurationComponent'
ng5_componentPath: './configuration/general-configuration/general-configuration.component'
path: './configuration/configuration.module'
link: 'configuration'
url: '/configuration'
title: 'Configuration'
description: 'In the configuration module, basic StreamPipes settings and services can be configured.'
icon: 'settings'
homeImage: '/assets/img/home/configuration.png'
pageNames: 'PageName.SETTINGS'
admin: True
componentImport: False
ng5_moduleName: 'ConfigurationModule'
ng5_component: 'GeneralConfigurationComponent'
ng5_componentPath: './configuration/general-configuration/general-configuration.component'
path: './configuration/configuration.module'
link: 'configuration'
url: '/configuration'
title: 'Configuration'
description: 'In the configuration module, basic StreamPipes settings and services can be configured.'
icon: 'settings'
homeImage: '/assets/img/home/configuration.png'
pageNames: 'PageName.SETTINGS'
admin: True
spAppOverview:
componentImport: False
ng5_moduleName: 'AppOverviewModule'
ng5_component: 'AppOverviewComponent'
ng5_componentPath: './app-overview/app-overview.component'
path: './app-overview/app-overview.module'
link: 'apps'
url: '/apps'
title: 'Apps'
description: 'The app overview lets you access additional plugins.'
icon: 'apps'
homeImage: '/assets/img/home/configuration.png'
admin: false
pageNames: 'PageName.APPS'
componentImport: False
ng5_moduleName: 'AppOverviewModule'
ng5_component: 'AppOverviewComponent'
ng5_componentPath: './app-overview/app-overview.component'
path: './app-overview/app-overview.module'
link: 'apps'
url: '/apps'
title: 'Apps'
description: 'The app overview lets you access additional plugins.'
icon: 'apps'
homeImage: '/assets/img/home/configuration.png'
admin: false
pageNames: 'PageName.APPS'
spDashboard:
componentImport: False
ng5_moduleName: 'DashboardModule'
ng5_component: 'DashboardComponent'
ng5_componentPath: './dashboard/dashboard.component'
path: './dashboard/dashboard.module'
link: 'dashboard'
url: '/dashboard'
title: 'Dashboard'
description: 'The live dashboard visualizes data in real-time.'
icon: 'insert_chart'
homeImage: '/assets/img/home/configuration.png'
admin: false
pageNames: 'PageName.DASHBOARD'
componentImport: False
ng5_moduleName: 'DashboardModule'
ng5_component: 'DashboardComponent'
ng5_componentPath: './dashboard/dashboard.component'
path: './dashboard/dashboard.module'
link: 'dashboard'
url: '/dashboard'
title: 'Dashboard'
description: 'The live dashboard visualizes data in real-time.'
icon: 'insert_chart'
homeImage: '/assets/img/home/configuration.png'
admin: false
pageNames: 'PageName.DASHBOARD'
spDataExplorer:
componentImport: False
ng5_moduleName: 'DataExplorerModule'
ng5_component: 'DataExplorerComponent'
ng5_componentPath: './data-explorer/data-explorer.component'
path: './data-explorer/data-explorer.module'
link: 'dataexplorer'
url: '/dataexplorer'
title: 'Data Explorer'
description: 'The data explorer lets you visually inspect historical data from your connected sources.'
icon: 'search'
homeImage: '/assets/img/home/configuration.png'
admin: false
pageNames: 'PageName.DATA_EXPLORER'
componentImport: False
ng5_moduleName: 'DataExplorerModule'
ng5_component: 'DataExplorerComponent'
ng5_componentPath: './data-explorer/data-explorer.component'
path: './data-explorer/data-explorer.module'
link: 'dataexplorer'
url: '/dataexplorer'
title: 'Data Explorer'
description: 'The data explorer lets you visually inspect historical data from your connected sources.'
icon: 'search'
homeImage: '/assets/img/home/configuration.png'
admin: false
pageNames: 'PageName.DATA_EXPLORER'
spFiles:
componentImport: False
ng5_moduleName: 'FilesModule'
ng5_component: 'FilesComponent'
ng5_componentPath: './files/files.component'
path: './files/files.module'
link: 'files'
url: '/files'
title: 'File Management'
description: 'The file management module lets you upload and manage files that are used by adapters or pipeline elements.'
icon: 'folder'
homeImage: '/assets/img/home/configuration.png'
admin: true
pageNames: 'PageName.FILE_UPLOAD'
componentImport: False
ng5_moduleName: 'FilesModule'
ng5_component: 'FilesComponent'
ng5_componentPath: './files/files.component'
path: './files/files.module'
link: 'files'
url: '/files'
title: 'File Management'
description: 'The file management module lets you upload and manage files that are used by adapters or pipeline elements.'
icon: 'folder'
homeImage: '/assets/img/home/configuration.png'
admin: true
pageNames: 'PageName.FILE_UPLOAD'
Loading