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 2021/11/02 20:11:20 UTC
[incubator-streampipes] 01/03: [STREAMPIPES-445] Add page for
adapter details
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch STREAMPIPES-445
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 466a5fbb94890d7d0728acb5ea2f48a3061c6f1a
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Tue Nov 2 11:05:56 2021 +0100
[STREAMPIPES-445] Add page for adapter details
---
ui/cypress/tests/adapter/fileStream.ts | 3 +-
ui/cypress/tests/adapter/testMonitoringAdapter.ts | 22 ++++++--
.../adapter-details/adapter-details.component.html | 20 ++++++++
.../adapter-details/adapter-details.component.scss | 17 ++++++
.../adapter-details/adapter-details.component.ts | 38 ++++++++++++++
.../data-marketplace.component.html | 16 +++---
.../existing-adapters.component.html | 36 +++++++------
.../existing-adapters.component.ts | 16 ++++--
.../my-adapters/my-adapters.component.html | 28 ++++++++++
.../my-adapters/my-adapters.component.scss | 17 ++++++
.../my-adapters/my-adapters.component.ts | 60 ++++++++++++++++++++++
ui/src/app/connect/connect.module.ts | 6 ++-
.../pipeline-overview.component.html | 36 +++++++------
13 files changed, 265 insertions(+), 50 deletions(-)
diff --git a/ui/cypress/tests/adapter/fileStream.ts b/ui/cypress/tests/adapter/fileStream.ts
index bc65b0b..673950a 100644
--- a/ui/cypress/tests/adapter/fileStream.ts
+++ b/ui/cypress/tests/adapter/fileStream.ts
@@ -22,8 +22,7 @@ import { GenericAdapterBuilder } from '../../support/builder/GenericAdapterBuild
describe('Test File Stream Adapter', () => {
before('Setup Test', () => {
- // cy.initStreamPipesTest();
- cy.login();
+ cy.initStreamPipesTest();
FileManagementUtils.addFile('fileTest/random.csv');
});
diff --git a/ui/cypress/tests/adapter/testMonitoringAdapter.ts b/ui/cypress/tests/adapter/testMonitoringAdapter.ts
index ee9d79f..9f8dd57 100644
--- a/ui/cypress/tests/adapter/testMonitoringAdapter.ts
+++ b/ui/cypress/tests/adapter/testMonitoringAdapter.ts
@@ -18,19 +18,35 @@
import { AdapterUtils } from '../../support/utils/AdapterUtils';
import { GenericAdapterBuilder } from '../../support/builder/GenericAdapterBuilder';
+import { FileManagementUtils } from '../../support/utils/FileManagementUtils';
describe('Test File Stream Adapter', () => {
before('Setup Test', () => {
- // cy.initStreamPipesTest();
- cy.login();
+ cy.initStreamPipesTest();
+ FileManagementUtils.addFile('fileTest/random.csv');
});
it('Perform Test', () => {
+ const one = GenericAdapterBuilder
+ .create('File_Stream')
+ .setName('File Stream Adapter Test 1')
+ .setTimestampProperty('timestamp')
+ .addProtocolInput('input', 'speed', '1')
+ .addProtocolInput('checkbox', 'replaceTimestamp', 'check')
+ .setFormat('csv')
+ .addFormatInput('input', 'delimiter', ';')
+ .addFormatInput('checkbox', 'header', 'check');
+ AdapterUtils.testGenericStreamAdapter(one.build());
+
+ one.setName('File Stream Adapter Test 1');
+ AdapterUtils.testGenericStreamAdapter(one.build());
const adapterInput = GenericAdapterBuilder
.create('Apache_Kafka')
- .setName('Kafka4')
+ .setName('Internal Monitor Adapter')
.setTimestampProperty('timestamp')
+ .setStoreInDataLake()
+ .addDimensionProperty('adapterId')
.addProtocolInput('select', 'Unauthenticated', 'check')
.addProtocolInput('input', 'host', 'localhost')
.addProtocolInput('input', 'port', '9094')
diff --git a/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.html b/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.html
new file mode 100644
index 0000000..fb42bdc
--- /dev/null
+++ b/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.html
@@ -0,0 +1,20 @@
+<!--
+ ~ 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.
+ ~
+ -->
+
+<p>adapter-details works!</p>
+<h1>{{adapterDetails.elementId}}</h1>
diff --git a/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.scss b/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.scss
new file mode 100644
index 0000000..13cbc4a
--- /dev/null
+++ b/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.scss
@@ -0,0 +1,17 @@
+/*
+ * 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.
+ *
+ */
diff --git a/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.ts b/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.ts
new file mode 100644
index 0000000..6618105
--- /dev/null
+++ b/ui/src/app/connect/components/data-marketplace/adapter-details/adapter-details.component.ts
@@ -0,0 +1,38 @@
+/*
+ * 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 { Component, Input, OnInit } from '@angular/core';
+import { AdapterDescriptionUnion } from '../../../../core-model/gen/streampipes-model';
+
+@Component({
+ selector: 'sp-adapter-details',
+ templateUrl: './adapter-details.component.html',
+ styleUrls: ['./adapter-details.component.scss']
+})
+export class AdapterDetailsComponent implements OnInit {
+
+ @Input()
+ adapterDetails: AdapterDescriptionUnion;
+
+ constructor() {
+ }
+
+ ngOnInit(): void {
+ }
+
+}
diff --git a/ui/src/app/connect/components/data-marketplace/data-marketplace.component.html b/ui/src/app/connect/components/data-marketplace/data-marketplace.component.html
index 07e0171..d3e302b 100644
--- a/ui/src/app/connect/components/data-marketplace/data-marketplace.component.html
+++ b/ui/src/app/connect/components/data-marketplace/data-marketplace.component.html
@@ -37,7 +37,9 @@
</div>
</div>
- <div fxLayout="row" class="fixed-height data-marketplace-options">
+ <div *ngIf="newAdapterFromDescription===undefined && selectedIndex === 0"
+ fxLayout="row"
+ class="fixed-height data-marketplace-options">
<div class="data-marketplace-options-item pl-5" style="margin-top:8px;" fxLayoutAlign="start center"
fxLayout="row">
@@ -66,8 +68,8 @@
</mat-form-field>
</div>
<span fxFlex></span>
-
</div>
+
<div class="container-fluid marketplace-container" *ngIf="adapterLoadingError" fxFlex="100"
fxLayoutAlign="center center" fxLayout="row">
<h4>Available adapters could not be loaded. Did you start a Connect worker node?</h4>
@@ -101,12 +103,10 @@
</div>
<div *ngIf="selectedIndex === 1">
<div fxFlex="100" class="adapter-container">
- <sp-existing-adapters [existingAdapters]="filteredAdapters"
- [filterTerm]="filterTerm"
- (updateAdapterEmitter)="updateDescriptionsAndRunningAdatpers()"
- (createTemplateEmitter)="templateFromRunningAdapter($event)">
-
- </sp-existing-adapters>
+ <sp-my-adapters [existingAdapters]="filteredAdapters"
+ (updateAdapterEmitter)="updateDescriptionsAndRunningAdatpers()"
+ (createTemplateEmitter)="templateFromRunningAdapter($event)">
+ </sp-my-adapters>
</div>
</div>
</div>
diff --git a/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.html b/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.html
index 13c90cc..9fd91d5 100644
--- a/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.html
+++ b/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.html
@@ -84,12 +84,16 @@
<th mat-header-cell *matHeaderCellDef> Action</th>
<td mat-cell *matCellDef="let adapter">
<div fxLayout="row">
- <!-- <span fxFlex fxFlexOrder="1" fxLayout="row" fxLayoutAlign="center center">-->
- <!-- <button color="primary" mat-button mat-icon-button matTooltip="Show adapter"-->
- <!-- matTooltipPosition="above"><i-->
- <!-- class="material-icons">search</i>-->
- <!-- </button>-->
- <!-- </span>-->
+ <span fxFlex fxFlexOrder="1" fxLayout="row" fxLayoutAlign="center center">
+ <button (click)="showAdapterDetails(adapter)"
+ color="accent"
+ mat-button
+ mat-icon-button
+ matTooltip="Adapter Details"
+ matTooltipPosition="above">
+ <i class="material-icons">search</i>
+ </button>
+ </span>
<!-- <span fxFlex fxFlexOrder="2" fxLayout="row" fxLayoutAlign="center center">-->
<!-- <button color="primary" mat-button mat-icon-button matTooltip="Modify adapter"-->
<!-- matTooltipPosition="above"-->
@@ -98,17 +102,17 @@
<!-- </button>-->
<!-- </span>-->
<span fxFlex fxFlexOrder="1" fxLayout="row" fxLayoutAlign="center center">
- <button color="accent" mat-button mat-icon-button matTooltip="Create adapter template"
- matTooltipPosition="above" (click)="createTemplate(adapter)"><i
- class="material-icons">content_copy</i>
- </button>
- </span>
+ <button color="accent" mat-button mat-icon-button matTooltip="Create adapter template"
+ matTooltipPosition="above" (click)="createTemplate(adapter)"><i
+ class="material-icons">content_copy</i>
+ </button>
+ </span>
<span fxFlex fxFlexOrder="3" fxLayout="row" fxLayoutAlign="center center">
- <button color="accent" mat-button mat-icon-button matTooltip="Delete adapter"
- data-cy="delete" matTooltipPosition="above" (click)="deleteAdapter(adapter)">
- <i class="material-icons">delete</i>
- </button>
- </span>
+ <button color="accent" mat-button mat-icon-button matTooltip="Delete adapter"
+ data-cy="delete" matTooltipPosition="above" (click)="deleteAdapter(adapter)">
+ <i class="material-icons">delete</i>
+ </button>
+ </span>
</div>
</td>
</ng-container>
diff --git a/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.ts b/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.ts
index 1e75705..ed5ef73 100644
--- a/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.ts
+++ b/ui/src/app/connect/components/data-marketplace/existing-adapters/existing-adapters.component.ts
@@ -37,15 +37,15 @@ export class ExistingAdaptersComponent implements OnInit {
_existingAdapters: AdapterDescriptionUnion[];
- @Input()
- filterTerm: string;
-
@Output()
updateAdapterEmitter: EventEmitter<void> = new EventEmitter<void>();
@Output()
createTemplateEmitter: EventEmitter<AdapterDescriptionUnion> = new EventEmitter<AdapterDescriptionUnion>();
+ @Output()
+ showAdapterDetailsEmitter: EventEmitter<AdapterDescriptionUnion> = new EventEmitter<AdapterDescriptionUnion>();
+
@ViewChild(MatPaginator) paginator: MatPaginator;
pageSize = 1;
@ViewChild(MatSort) sort: MatSort;
@@ -103,12 +103,20 @@ export class ExistingAdaptersComponent implements OnInit {
this.updateAdapterEmitter.emit();
}
});
- };
+ }
+
+ viewAdapterDetails(adapter: AdapterDescriptionUnion): void {
+ console.log(adapter);
+ }
createTemplate(adapter: AdapterDescriptionUnion): void {
this.createTemplateEmitter.emit(adapter);
}
+ showAdapterDetails(adapter: AdapterDescriptionUnion): void {
+ this.showAdapterDetailsEmitter.emit(adapter);
+ }
+
@Input()
set existingAdapters(adapters: AdapterDescriptionUnion[]) {
this._existingAdapters = adapters;
diff --git a/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.html b/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.html
new file mode 100644
index 0000000..8fbfafd
--- /dev/null
+++ b/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.html
@@ -0,0 +1,28 @@
+<!--
+ ~ 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-existing-adapters *ngIf="showAllAdapters"
+ [existingAdapters]="existingAdapters"
+ (showAdapterDetailsEmitter)="showAdapterDetails($event)"
+ (updateAdapterEmitter)="updateDescriptionsAndRunningAdatpers()"
+ (createTemplateEmitter)="createTemplate($event)">
+</sp-existing-adapters>
+
+<sp-adapter-details *ngIf="!showAllAdapters"
+ [adapterDetails]="adapterDetails">
+</sp-adapter-details>
\ No newline at end of file
diff --git a/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.scss b/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.scss
new file mode 100644
index 0000000..13cbc4a
--- /dev/null
+++ b/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.scss
@@ -0,0 +1,17 @@
+/*
+ * 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.
+ *
+ */
diff --git a/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.ts b/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.ts
new file mode 100644
index 0000000..4bd0c3d
--- /dev/null
+++ b/ui/src/app/connect/components/data-marketplace/my-adapters/my-adapters.component.ts
@@ -0,0 +1,60 @@
+/*
+ * 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 { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
+import { AdapterDescriptionUnion } from '../../../../core-model/gen/streampipes-model';
+
+@Component({
+ selector: 'sp-my-adapters',
+ templateUrl: './my-adapters.component.html',
+ styleUrls: ['./my-adapters.component.scss']
+})
+export class MyAdaptersComponent implements OnInit {
+
+ @Input()
+ existingAdapters: AdapterDescriptionUnion[];
+
+ @Output()
+ updateAdapterEmitter: EventEmitter<void> = new EventEmitter<void>();
+
+ @Output()
+ createTemplateEmitter: EventEmitter<AdapterDescriptionUnion> = new EventEmitter<AdapterDescriptionUnion>();
+
+ showAllAdapters: boolean;
+ adapterDetails: AdapterDescriptionUnion;
+
+ constructor() {
+ }
+
+ ngOnInit(): void {
+ this.showAllAdapters = true;
+ }
+
+ updateDescriptionsAndRunningAdatpers() {
+ this.updateAdapterEmitter.emit();
+ }
+
+ createTemplate(adapter: AdapterDescriptionUnion): void {
+ this.createTemplateEmitter.emit(adapter);
+ }
+
+ showAdapterDetails(adapter: AdapterDescriptionUnion): void {
+ this.showAllAdapters = false;
+ this.adapterDetails = adapter;
+ }
+}
diff --git a/ui/src/app/connect/connect.module.ts b/ui/src/app/connect/connect.module.ts
index a91fa7f..ac3e01d 100644
--- a/ui/src/app/connect/connect.module.ts
+++ b/ui/src/app/connect/connect.module.ts
@@ -80,6 +80,8 @@ import { LoadingMessageComponent } from './components/schema-editor/loading-mess
import { SchemaEditorHeaderComponent } from './components/schema-editor/schema-editor-header/schema-editor-header.component';
import { StartAdapterConfigurationComponent } from './components/start-adapter-configuration/start-adapter-configuration.component';
import { DeleteAdapterDialogComponent } from './dialog/delete-adapter-dialog/delete-adapter-dialog.component';
+import { AdapterDetailsComponent } from './components/data-marketplace/adapter-details/adapter-details.component';
+import { MyAdaptersComponent } from './components/data-marketplace/my-adapters/my-adapters.component';
@NgModule({
imports: [
@@ -134,7 +136,9 @@ import { DeleteAdapterDialogComponent } from './dialog/delete-adapter-dialog/del
ErrorMessageComponent,
LoadingMessageComponent,
SchemaEditorHeaderComponent,
- StartAdapterConfigurationComponent
+ StartAdapterConfigurationComponent,
+ AdapterDetailsComponent,
+ MyAdaptersComponent
],
providers: [
RestService,
diff --git a/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html b/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html
index d243744..5aa2c98 100644
--- a/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html
+++ b/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html
@@ -22,18 +22,19 @@
<th mat-header-cell mat-sort-header *matHeaderCellDef> Status</th>
<td mat-cell *matCellDef="let pipeline">
<div fxLayout="row" fxLayoutAlign="start center">
- <div *ngIf="pipeline.running && pipeline.healthStatus == 'OK'" class="light light-green"></div>
- <div *ngIf="pipeline.running && pipeline.healthStatus == 'REQUIRES_ATTENTION'" class="light light-yellow"></div>
- <div *ngIf="pipeline.running && pipeline.healthStatus == 'FAILURE'" class="light light-red"></div>
- <div *ngIf="!pipeline.running" class="light light-neutral" [matTooltip]="'Stopped'"></div>
- <button class="ml-10"
- mat-button
- mat-icon-button
- (click)="openPipelineNotificationsDialog(pipeline)"
- *ngIf="pipeline.pipelineNotifications.length > 0"
- matTooltip="{{pipeline.pipelineNotifications.length}} notification{{pipeline.pipelineNotifications.length > 1 ? 's' : ''}}">
- <mat-icon color="warn">warning</mat-icon>
- </button>
+ <div *ngIf="pipeline.running && pipeline.healthStatus == 'OK'" class="light light-green"></div>
+ <div *ngIf="pipeline.running && pipeline.healthStatus == 'REQUIRES_ATTENTION'"
+ class="light light-yellow"></div>
+ <div *ngIf="pipeline.running && pipeline.healthStatus == 'FAILURE'" class="light light-red"></div>
+ <div *ngIf="!pipeline.running" class="light light-neutral" [matTooltip]="'Stopped'"></div>
+ <button class="ml-10"
+ mat-button
+ mat-icon-button
+ (click)="openPipelineNotificationsDialog(pipeline)"
+ *ngIf="pipeline.pipelineNotifications.length > 0"
+ matTooltip="{{pipeline.pipelineNotifications.length}} notification{{pipeline.pipelineNotifications.length > 1 ? 's' : ''}}">
+ <mat-icon color="warn">warning</mat-icon>
+ </button>
</div>
</td>
</ng-container>
@@ -73,22 +74,25 @@
<td mat-cell *matCellDef="let pipeline">
<div fxLayout="row">
<span fxFlex fxFlexOrder="1" fxLayout="row" fxLayoutAlign="center center">
- <button color="accent" mat-button mat-icon-button matTooltip="Show pipeline" matTooltipPosition="above"
+ <button color="accent" mat-button mat-icon-button matTooltip="Show pipeline"
+ matTooltipPosition="above"
(click)="pipelineOperationsService.showPipelineDetails(pipeline._id)"><i
class="material-icons">search</i>
</button>
</span>
<span fxFlex fxFlexOrder="2" fxLayout="row" fxLayoutAlign="center center">
- <button color="accent" mat-button mat-icon-button matTooltip="Modify pipeline" matTooltipPosition="above"
+ <button color="accent" mat-button mat-icon-button matTooltip="Modify pipeline"
+ matTooltipPosition="above"
[disabled]="pipeline.running"
(click)="pipelineOperationsService.modifyPipeline(pipeline._id)">
<i class="material-icons">mode_edit</i>
</button>
</span>
<span fxFlex fxFlexOrder="3" fxLayout="row" fxLayoutAlign="center center">
- <button color="accent" mat-button mat-icon-button matTooltip="Delete pipeline" matTooltipPosition="above"
+ <button color="accent" mat-button mat-icon-button matTooltip="Delete pipeline"
+ matTooltipPosition="above"
(click)="pipelineOperationsService.showDeleteDialog(pipeline, refreshPipelinesEmitter)"
- data-cy="delete" >
+ data-cy="delete">
<i class="material-icons">delete</i>
</button>
</span>