diff --git a/src/app/services/catalog.service.ts b/src/app/services/catalog.service.ts
index d7799f1b..68f0761f 100644
--- a/src/app/services/catalog.service.ts
+++ b/src/app/services/catalog.service.ts
@@ -402,5 +402,7 @@ export class CatalogService {
return Array.from(this.entities().values()).filter(e => e.namespaceId === namespaceId && e.name === entityName)[0];
}
-
+ getHttpUrl() {
+ return this.httpUrl;
+ }
}
diff --git a/src/app/views/adapters/adapters.component.html b/src/app/views/adapters/adapters.component.html
index 2ebbe7fb..5bac3de8 100644
--- a/src/app/views/adapters/adapters.component.html
+++ b/src/app/views/adapters/adapters.component.html
@@ -25,11 +25,11 @@
Adapters
-
-
+
+
-
-
+
+
|
{{ adapter.adapterName }} |
@@ -54,10 +54,10 @@ Adapters
Embedded
-
-
+
Adapter: {{ adapter.adapterName }}
read-only
diff --git a/src/app/views/adapters/adapters.component.ts b/src/app/views/adapters/adapters.component.ts
index ff208220..9020b0ee 100644
--- a/src/app/views/adapters/adapters.component.ts
+++ b/src/app/views/adapters/adapters.component.ts
@@ -484,41 +484,8 @@ export class AdaptersComponent implements OnInit, OnDestroy {
}
}
- getLogo(adapterName: string) {
- const path = 'assets/dbms-logos/';
- switch (adapterName.toLowerCase()) {
- case 'csv':
- return path + 'csv.png';
- case 'hsqldb':
- return path + 'hsqldb.png';
- case 'postgresql':
- return path + 'postgres.svg';
- case 'monetdb':
- return path + 'monetdb.png';
- case 'cassandra':
- return path + 'cassandra.png';
- case 'cottontail':
- case 'cottontail-db':
- return path + 'cottontaildb.png';
- case 'file':
- return 'fa fa-file-image-o';
- case 'mysql':
- return path + 'mysql.png';
- case 'qfs':
- return 'fa fa-folder-open-o';
- case 'mongodb':
- return path + 'mongodb.png';
- case 'ethereum':
- return path + 'ethereum.png';
- case 'neo4j':
- return path + 'neo4j.png';
- case 'excel':
- return path + 'xls.png';
- case 'googlesheets':
- return path + 'google.png';
- default:
- return 'fa fa-database';
- }
+ getLogo(adapterLogo: string) {
+ return `${this._catalog.getHttpUrl()}/public/${adapterLogo}`;
}
private validateControl(form: UntypedFormControl, key: string) {
diff --git a/src/assets/dbms-logos/cassandra.png b/src/assets/dbms-logos/cassandra.png
deleted file mode 100644
index bc55e6fe..00000000
Binary files a/src/assets/dbms-logos/cassandra.png and /dev/null differ
diff --git a/src/assets/dbms-logos/cottontaildb.png b/src/assets/dbms-logos/cottontaildb.png
deleted file mode 100644
index 9fb899c5..00000000
Binary files a/src/assets/dbms-logos/cottontaildb.png and /dev/null differ
diff --git a/src/assets/dbms-logos/csv.png b/src/assets/dbms-logos/csv.png
deleted file mode 100644
index f28c405c..00000000
Binary files a/src/assets/dbms-logos/csv.png and /dev/null differ
diff --git a/src/assets/dbms-logos/ethereum.png b/src/assets/dbms-logos/ethereum.png
deleted file mode 100644
index e3da5fc5..00000000
Binary files a/src/assets/dbms-logos/ethereum.png and /dev/null differ
diff --git a/src/assets/dbms-logos/google.png b/src/assets/dbms-logos/google.png
deleted file mode 100644
index e95f6848..00000000
Binary files a/src/assets/dbms-logos/google.png and /dev/null differ
diff --git a/src/assets/dbms-logos/hsqldb.png b/src/assets/dbms-logos/hsqldb.png
deleted file mode 100644
index c18c983a..00000000
Binary files a/src/assets/dbms-logos/hsqldb.png and /dev/null differ
diff --git a/src/assets/dbms-logos/monetdb.png b/src/assets/dbms-logos/monetdb.png
deleted file mode 100644
index b6e3dd25..00000000
Binary files a/src/assets/dbms-logos/monetdb.png and /dev/null differ
diff --git a/src/assets/dbms-logos/mongodb.png b/src/assets/dbms-logos/mongodb.png
deleted file mode 100644
index 4e3a07f2..00000000
Binary files a/src/assets/dbms-logos/mongodb.png and /dev/null differ
diff --git a/src/assets/dbms-logos/mysql.png b/src/assets/dbms-logos/mysql.png
deleted file mode 100644
index d29a6cc7..00000000
Binary files a/src/assets/dbms-logos/mysql.png and /dev/null differ
diff --git a/src/assets/dbms-logos/neo4j.png b/src/assets/dbms-logos/neo4j.png
deleted file mode 100644
index ebe609b7..00000000
Binary files a/src/assets/dbms-logos/neo4j.png and /dev/null differ
diff --git a/src/assets/dbms-logos/postgres.svg b/src/assets/dbms-logos/postgres.svg
deleted file mode 100644
index c73eabef..00000000
--- a/src/assets/dbms-logos/postgres.svg
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
diff --git a/src/assets/dbms-logos/xls.png b/src/assets/dbms-logos/xls.png
deleted file mode 100644
index 928abe8a..00000000
Binary files a/src/assets/dbms-logos/xls.png and /dev/null differ