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 2024/07/30 16:20:35 UTC

(streampipes) 01/01: refactor: Remove unused code

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch hotfix-remove-unused-code
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit ebea327738525dad2ad5df4605e3d3619981cc8f
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Tue Jul 30 18:20:20 2024 +0200

    refactor: Remove unused code
---
 .../src/lib/apis/adapter-monitoring.service.ts                 |  1 -
 .../platform-services/src/lib/apis/adapter.service.ts          | 10 ----------
 2 files changed, 11 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..19bd28b867 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
@@ -20,7 +20,6 @@ import { Injectable } from '@angular/core';
 import { HttpClient } from '@angular/common/http';
 import { Observable } from 'rxjs';
 import {
-    PipelineMonitoringInfo,
     SpLogEntry,
     SpMetricsEntry,
 } from '../model/gen/streampipes-model';
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<any> {
-        return this.http.delete(
-            `${this.connectPath}/master/description/${adapterId}`,
-        );
-    }
-
     requestAdapterDescriptions(path: string): Observable<AdapterDescription[]> {
         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';
     }