You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/07/12 13:34:32 UTC
[incubator-streampipes] 01/04: [STREAMPIPES-558] Remove obsolete connect entry component
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch STREAMPIPES-558
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 92d585d1bedf9d31f64ff58a919a8e1898051f23
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Jul 12 07:06:12 2022 +0200
[STREAMPIPES-558] Remove obsolete connect entry component
---
ui/src/app/connect/connect.component.css | 18 ---------------
ui/src/app/connect/connect.component.html | 20 -----------------
ui/src/app/connect/connect.component.ts | 37 -------------------------------
ui/src/app/connect/connect.module.ts | 2 --
4 files changed, 77 deletions(-)
diff --git a/ui/src/app/connect/connect.component.css b/ui/src/app/connect/connect.component.css
deleted file mode 100644
index 58ba04bdd..000000000
--- a/ui/src/app/connect/connect.component.css
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * 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/connect.component.html b/ui/src/app/connect/connect.component.html
deleted file mode 100644
index 5a97b1874..000000000
--- a/ui/src/app/connect/connect.component.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
- ~ 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-data-marketplace *ngIf="newAdapterFromDescription===undefined" (selectAdapterEmitter)="selectAdapter($event)"></sp-data-marketplace>
-
diff --git a/ui/src/app/connect/connect.component.ts b/ui/src/app/connect/connect.component.ts
deleted file mode 100644
index 7313e1d16..000000000
--- a/ui/src/app/connect/connect.component.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * 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 } from '@angular/core';
-import { AdapterDescriptionUnion } from '@streampipes/platform-services';
-
-@Component({
- selector: 'sp-connect',
- templateUrl: './connect.component.html',
- styleUrls: ['./connect.component.css'],
-})
-export class ConnectComponent {
- newAdapterFromDescription: AdapterDescriptionUnion;
-
- selectAdapter(adapterDescription: AdapterDescriptionUnion) {
- this.newAdapterFromDescription = adapterDescription;
- }
-
- removeSelection() {
- this.newAdapterFromDescription = undefined;
- }
-}
diff --git a/ui/src/app/connect/connect.module.ts b/ui/src/app/connect/connect.module.ts
index 3b06a491b..4f4f64155 100644
--- a/ui/src/app/connect/connect.module.ts
+++ b/ui/src/app/connect/connect.module.ts
@@ -24,7 +24,6 @@ import { MatFormFieldModule } from '@angular/material/form-field';
import { MatGridListModule } from '@angular/material/grid-list';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
-import { ConnectComponent } from './connect.component';
import { NewAdapterComponent } from './components/new-adapter/new-adapter.component';
import { EventSchemaComponent } from './components/new-adapter/schema-editor/event-schema/event-schema.component';
@@ -131,7 +130,6 @@ import { SpAdapterOptionsPanelComponent } from './components/new-adapter/start-a
AdapterExportDialog,
AdapterStartedDialog,
AdapterUploadDialog,
- ConnectComponent,
DataMarketplaceComponent,
DeleteAdapterDialogComponent,
EventSchemaComponent,