From b14ef78a81d7931523381600569469f9fa27a44a Mon Sep 17 00:00:00 2001 From: Philipp Zehnder Date: Wed, 31 Jul 2024 10:32:55 +0200 Subject: [PATCH] refactor: Remove unused code (#3078) * refactor: Remove unused code * refactor(#3078): Fix linting --- .../src/lib/apis/adapter-monitoring.service.ts | 6 +----- .../platform-services/src/lib/apis/adapter.service.ts | 10 ---------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/ui/projects/streampipes/platform-services/src/lib/apis/adapter-monitoring.service.ts b/ui/projects/streampipes/platform-services/src/lib/apis/adapter-monitoring.service.ts index a9b47a68cc..0ce1098f74 100644 --- a/ui/projects/streampipes/platform-services/src/lib/apis/adapter-monitoring.service.ts +++ b/ui/projects/streampipes/platform-services/src/lib/apis/adapter-monitoring.service.ts @@ -19,11 +19,7 @@ import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; -import { - PipelineMonitoringInfo, - SpLogEntry, - SpMetricsEntry, -} from '../model/gen/streampipes-model'; +import { SpLogEntry, SpMetricsEntry } from '../model/gen/streampipes-model'; import { PlatformServicesCommons } from './commons.service'; import { map } from 'rxjs/operators'; import { AbstractMonitoringService } from './abstract-monitoring.service'; diff --git a/ui/projects/streampipes/platform-services/src/lib/apis/adapter.service.ts b/ui/projects/streampipes/platform-services/src/lib/apis/adapter.service.ts index 7f0c59c777..a18160a427 100644 --- a/ui/projects/streampipes/platform-services/src/lib/apis/adapter.service.ts +++ b/ui/projects/streampipes/platform-services/src/lib/apis/adapter.service.ts @@ -55,12 +55,6 @@ export class AdapterService { ); } - deleteAdapterDescription(adapterId: string): Observable { - return this.http.delete( - `${this.connectPath}/master/description/${adapterId}`, - ); - } - requestAdapterDescriptions(path: string): Observable { return this.http.get(this.connectPath + path).pipe( map(response => { @@ -148,10 +142,6 @@ export class AdapterService { ); } - getAssetUrl(appId) { - return `${this.connectPath}/master/description/${appId}/assets`; - } - private get baseUrl() { return '/streampipes-backend'; }