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 2022/10/12 14:18:51 UTC
[incubator-streampipes] 02/04: [STREAMPIPES-597] Rename new adapter component to adapter configuration
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch STREAMPIPES-597
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit c30b1a44c1e21a950d61dbd9a4579e9cb1959410
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Wed Oct 12 14:05:55 2022 +0200
[STREAMPIPES-597] Rename new adapter component to adapter configuration
---
.../adapter-configuration-header.component.html | 0
.../adapter-configuration-header.component.scss | 0
.../adapter-configuration-header.component.ts | 0
.../adapter-configuration.component.html} | 0
.../adapter-configuration.component.scss} | 0
.../adapter-configuration.component.ts} | 8 ++---
.../adapter-template-configuration.directive.ts} | 34 +++++++++----------
.../format-configuration.component.html | 0
.../format-configuration.component.scss | 0
.../format-configuration.component.ts | 0
.../format-item-json.component.html | 0
.../format-item-json.component.scss | 0
.../format-item-json/format-item-json.component.ts | 0
.../format-item/format-item.component.html | 0
.../format-item/format-item.component.scss | 0
.../format-item/format-item.component.ts | 0
.../format-list/format-list.component.html | 0
.../format-list/format-list.component.scss | 0
.../format-list/format-list.component.ts | 0
.../generic-adapter-configuration.component.html | 0
.../generic-adapter-configuration.component.scss | 0
.../generic-adapter-configuration.component.ts | 8 ++---
.../error-message/error-message.component.html | 0
.../error-message/error-message.component.scss | 0
.../error-message/error-message.component.ts | 0
.../event-property-row.component.html | 0
.../event-property-row.component.scss | 0
.../event-property-row.component.ts | 0
.../event-schema-preview.component.html | 0
.../event-schema-preview.component.scss | 0
.../event-schema-preview.component.ts | 0
.../event-schema/event-schema.component.html | 0
.../event-schema/event-schema.component.scss | 0
.../event-schema/event-schema.component.ts | 0
.../loading-message/loading-message.component.html | 0
.../loading-message/loading-message.component.scss | 0
.../loading-message/loading-message.component.ts | 0
.../schema-editor-header.component.html | 0
.../schema-editor-header.component.scss | 0
.../schema-editor-header.component.ts | 0
.../specific-adapter-configuration.component.html | 0
.../specific-adapter-configuration.component.scss | 0
.../specific-adapter-configuration.component.ts | 8 ++---
.../adapter-options-panel.component.html | 0
.../adapter-options-panel.component.scss | 0
.../adapter-options-panel.component.ts | 0
.../start-adapter-configuration.component.html | 0
.../start-adapter-configuration.component.scss | 0
.../start-adapter-configuration.component.ts | 0
ui/src/app/connect/connect.module.ts | 38 +++++++++++-----------
50 files changed, 46 insertions(+), 50 deletions(-)
diff --git a/ui/src/app/connect/components/new-adapter/adapter-configuration-header/adapter-configuration-header.component.html b/ui/src/app/connect/components/adapter-configuration/adapter-configuration-header/adapter-configuration-header.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/adapter-configuration-header/adapter-configuration-header.component.html
rename to ui/src/app/connect/components/adapter-configuration/adapter-configuration-header/adapter-configuration-header.component.html
diff --git a/ui/src/app/connect/components/new-adapter/adapter-configuration-header/adapter-configuration-header.component.scss b/ui/src/app/connect/components/adapter-configuration/adapter-configuration-header/adapter-configuration-header.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/adapter-configuration-header/adapter-configuration-header.component.scss
rename to ui/src/app/connect/components/adapter-configuration/adapter-configuration-header/adapter-configuration-header.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/adapter-configuration-header/adapter-configuration-header.component.ts b/ui/src/app/connect/components/adapter-configuration/adapter-configuration-header/adapter-configuration-header.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/adapter-configuration-header/adapter-configuration-header.component.ts
rename to ui/src/app/connect/components/adapter-configuration/adapter-configuration-header/adapter-configuration-header.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/new-adapter.component.html b/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/new-adapter.component.html
rename to ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.html
diff --git a/ui/src/app/connect/components/new-adapter/new-adapter.component.scss b/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/new-adapter.component.scss
rename to ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/new-adapter.component.ts b/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.ts
similarity index 97%
rename from ui/src/app/connect/components/new-adapter/new-adapter.component.ts
rename to ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.ts
index 14a265d51..731fbe55e 100644
--- a/ui/src/app/connect/components/new-adapter/new-adapter.component.ts
+++ b/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.ts
@@ -40,11 +40,11 @@ import { SpBreadcrumbService } from '@streampipes/shared-ui';
import { SpConnectRoutes } from '../../connect.routes';
@Component({
- selector: 'sp-new-adapter',
- templateUrl: './new-adapter.component.html',
- styleUrls: ['./new-adapter.component.scss']
+ selector: 'sp-adapter-configuration',
+ templateUrl: './adapter-configuration.component.html',
+ styleUrls: ['./adapter-configuration.component.scss']
})
-export class NewAdapterComponent implements OnInit, AfterViewInit {
+export class AdapterConfigurationComponent implements OnInit, AfterViewInit {
adapterTypeName = '';
diff --git a/ui/src/app/connect/components/new-adapter/adapter-configuration.directive.ts b/ui/src/app/connect/components/adapter-configuration/directives/adapter-template-configuration.directive.ts
similarity index 67%
rename from ui/src/app/connect/components/new-adapter/adapter-configuration.directive.ts
rename to ui/src/app/connect/components/adapter-configuration/directives/adapter-template-configuration.directive.ts
index b5ba39701..e708f8a39 100644
--- a/ui/src/app/connect/components/new-adapter/adapter-configuration.directive.ts
+++ b/ui/src/app/connect/components/adapter-configuration/directives/adapter-template-configuration.directive.ts
@@ -1,34 +1,30 @@
/*
- * 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
+ * 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
+ * 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.
+ * 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 { Directive, EventEmitter, Input, Output } from '@angular/core';
import { MatStepper } from '@angular/material/stepper';
-import {
- AdapterDescriptionUnion,
- PipelineElementTemplate,
- PipelineElementTemplateService
-} from '@streampipes/platform-services';
+import { AdapterDescriptionUnion, PipelineElementTemplate, PipelineElementTemplateService } from '@streampipes/platform-services';
import { FormBuilder } from '@angular/forms';
-import { AdapterTemplateService } from '../../services/adapter-template.service';
+import { AdapterTemplateService } from '../../../services/adapter-template.service';
import { DialogService } from '@streampipes/shared-ui';
@Directive()
-export abstract class AdapterConfigurationDirective {
+export abstract class AdapterTemplateConfigurationDirective {
/**
* Adapter description the selected format is added to
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-configuration.component.html b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-configuration.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-configuration.component.html
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-configuration.component.html
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-configuration.component.scss b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-configuration.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-configuration.component.scss
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-configuration.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-configuration.component.ts b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-configuration.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-configuration.component.ts
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-configuration.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-item-json/format-item-json.component.html b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-item-json/format-item-json.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-item-json/format-item-json.component.html
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-item-json/format-item-json.component.html
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-item-json/format-item-json.component.scss b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-item-json/format-item-json.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-item-json/format-item-json.component.scss
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-item-json/format-item-json.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-item-json/format-item-json.component.ts b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-item-json/format-item-json.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-item-json/format-item-json.component.ts
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-item-json/format-item-json.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-item/format-item.component.html b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-item/format-item.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-item/format-item.component.html
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-item/format-item.component.html
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-item/format-item.component.scss b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-item/format-item.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-item/format-item.component.scss
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-item/format-item.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-item/format-item.component.ts b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-item/format-item.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-item/format-item.component.ts
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-item/format-item.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-list/format-list.component.html b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-list/format-list.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-list/format-list.component.html
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-list/format-list.component.html
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-list/format-list.component.scss b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-list/format-list.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-list/format-list.component.scss
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-list/format-list.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/format-configuration/format-list/format-list.component.ts b/ui/src/app/connect/components/adapter-configuration/format-configuration/format-list/format-list.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/format-configuration/format-list/format-list.component.ts
rename to ui/src/app/connect/components/adapter-configuration/format-configuration/format-list/format-list.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component.html b/ui/src/app/connect/components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component.html
rename to ui/src/app/connect/components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component.html
diff --git a/ui/src/app/connect/components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component.scss b/ui/src/app/connect/components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component.scss
rename to ui/src/app/connect/components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component.ts b/ui/src/app/connect/components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component.ts
similarity index 91%
rename from ui/src/app/connect/components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component.ts
rename to ui/src/app/connect/components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component.ts
index 80b93017e..5a8b80fe9 100644
--- a/ui/src/app/connect/components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component.ts
+++ b/ui/src/app/connect/components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component.ts
@@ -24,7 +24,7 @@ import {
PipelineElementTemplateService
} from '@streampipes/platform-services';
import { FormBuilder, FormGroup } from '@angular/forms';
-import { AdapterConfigurationDirective } from '../adapter-configuration.directive';
+import { AdapterTemplateConfigurationDirective } from '../directives/adapter-template-configuration.directive';
import { AdapterTemplateService } from '../../../services/adapter-template.service';
import { DialogService } from '@streampipes/shared-ui';
@@ -33,7 +33,7 @@ import { DialogService } from '@streampipes/shared-ui';
templateUrl: './generic-adapter-configuration.component.html',
styleUrls: ['./generic-adapter-configuration.component.scss']
})
-export class GenericAdapterConfigurationComponent extends AdapterConfigurationDirective implements OnInit {
+export class GenericAdapterConfigurationComponent extends AdapterTemplateConfigurationDirective implements OnInit {
genericAdapterSettingsFormValid: boolean;
@@ -57,7 +57,7 @@ export class GenericAdapterConfigurationComponent extends AdapterConfigurationDi
// initialize form for validation
this.genericAdapterForm = this._formBuilder.group({});
- this.genericAdapterForm.statusChanges.subscribe((status) => {
+ this.genericAdapterForm.statusChanges.subscribe((_) => {
this.genericAdapterSettingsFormValid = this.genericAdapterForm.valid;
});
}
@@ -65,7 +65,7 @@ export class GenericAdapterConfigurationComponent extends AdapterConfigurationDi
openTemplateDialog(): void {
const dialogRef = this.adapterTemplateService.getDialog(this.protocolDescription.config, this.protocolDescription.appId);
- dialogRef.afterClosed().subscribe(refresh => {
+ dialogRef.afterClosed().subscribe(_ => {
this.loadPipelineElementTemplates();
});
}
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/error-message/error-message.component.html b/ui/src/app/connect/components/adapter-configuration/schema-editor/error-message/error-message.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/error-message/error-message.component.html
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/error-message/error-message.component.html
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/error-message/error-message.component.scss b/ui/src/app/connect/components/adapter-configuration/schema-editor/error-message/error-message.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/error-message/error-message.component.scss
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/error-message/error-message.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/error-message/error-message.component.ts b/ui/src/app/connect/components/adapter-configuration/schema-editor/error-message/error-message.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/error-message/error-message.component.ts
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/error-message/error-message.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-property-row/event-property-row.component.html b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-property-row/event-property-row.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-property-row/event-property-row.component.html
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-property-row/event-property-row.component.html
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-property-row/event-property-row.component.scss b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-property-row/event-property-row.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-property-row/event-property-row.component.scss
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-property-row/event-property-row.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-property-row/event-property-row.component.ts b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-property-row/event-property-row.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-property-row/event-property-row.component.ts
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-property-row/event-property-row.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-schema-preview/event-schema-preview.component.html b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-schema-preview/event-schema-preview.component.html
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component.html
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-schema-preview/event-schema-preview.component.scss b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-schema-preview/event-schema-preview.component.scss
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-schema-preview/event-schema-preview.component.ts b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-schema-preview/event-schema-preview.component.ts
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-schema/event-schema.component.html b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-schema/event-schema.component.html
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.html
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-schema/event-schema.component.scss b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-schema/event-schema.component.scss
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/event-schema/event-schema.component.ts b/ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/event-schema/event-schema.component.ts
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/loading-message/loading-message.component.html b/ui/src/app/connect/components/adapter-configuration/schema-editor/loading-message/loading-message.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/loading-message/loading-message.component.html
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/loading-message/loading-message.component.html
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/loading-message/loading-message.component.scss b/ui/src/app/connect/components/adapter-configuration/schema-editor/loading-message/loading-message.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/loading-message/loading-message.component.scss
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/loading-message/loading-message.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/loading-message/loading-message.component.ts b/ui/src/app/connect/components/adapter-configuration/schema-editor/loading-message/loading-message.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/loading-message/loading-message.component.ts
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/loading-message/loading-message.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.html b/ui/src/app/connect/components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.html
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component.html
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.scss b/ui/src/app/connect/components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.scss
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.ts b/ui/src/app/connect/components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.ts
rename to ui/src/app/connect/components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component.html b/ui/src/app/connect/components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component.html
rename to ui/src/app/connect/components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component.html
diff --git a/ui/src/app/connect/components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component.scss b/ui/src/app/connect/components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component.scss
rename to ui/src/app/connect/components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component.ts b/ui/src/app/connect/components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component.ts
similarity index 91%
rename from ui/src/app/connect/components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component.ts
rename to ui/src/app/connect/components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component.ts
index 2ef6de8a0..879bf5030 100644
--- a/ui/src/app/connect/components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component.ts
+++ b/ui/src/app/connect/components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component.ts
@@ -21,14 +21,14 @@ import { AdapterDescription, PipelineElementTemplateService } from '@streampipes
import { FormBuilder, FormGroup } from '@angular/forms';
import { DialogService } from '@streampipes/shared-ui';
import { AdapterTemplateService } from '../../../services/adapter-template.service';
-import { AdapterConfigurationDirective } from '../adapter-configuration.directive';
+import { AdapterTemplateConfigurationDirective } from '../directives/adapter-template-configuration.directive';
@Component({
selector: 'sp-specific-adapter-configuration',
templateUrl: './specific-adapter-configuration.component.html',
styleUrls: ['./specific-adapter-configuration.component.scss']
})
-export class SpecificAdapterConfigurationComponent extends AdapterConfigurationDirective implements OnInit {
+export class SpecificAdapterConfigurationComponent extends AdapterTemplateConfigurationDirective implements OnInit {
specificAdapterSettingsFormValid: boolean;
@@ -47,7 +47,7 @@ export class SpecificAdapterConfigurationComponent extends AdapterConfigurationD
this.cachedAdapterDescription = {...this.adapterDescription};
// initialize form for validation
this.specificAdapterForm = this._formBuilder.group({});
- this.specificAdapterForm.statusChanges.subscribe((status) => {
+ this.specificAdapterForm.statusChanges.subscribe((_) => {
this.specificAdapterSettingsFormValid = this.specificAdapterForm.valid;
});
@@ -60,7 +60,7 @@ export class SpecificAdapterConfigurationComponent extends AdapterConfigurationD
openTemplateDialog(): void {
const dialogRef = this.adapterTemplateService.getDialog(this.adapterDescription.config, this.adapterDescription.appId);
- dialogRef.afterClosed().subscribe(refresh => {
+ dialogRef.afterClosed().subscribe(_ => {
this.loadPipelineElementTemplates();
});
}
diff --git a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html b/ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html
rename to ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html
diff --git a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.scss b/ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.scss
rename to ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.ts b/ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.ts
rename to ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.ts
diff --git a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/start-adapter-configuration.component.html b/ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.html
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/start-adapter-configuration/start-adapter-configuration.component.html
rename to ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.html
diff --git a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/start-adapter-configuration.component.scss b/ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.scss
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/start-adapter-configuration/start-adapter-configuration.component.scss
rename to ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.scss
diff --git a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/start-adapter-configuration.component.ts b/ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.ts
similarity index 100%
rename from ui/src/app/connect/components/new-adapter/start-adapter-configuration/start-adapter-configuration.component.ts
rename to ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.ts
diff --git a/ui/src/app/connect/connect.module.ts b/ui/src/app/connect/connect.module.ts
index b79749e18..bf8410a18 100644
--- a/ui/src/app/connect/connect.module.ts
+++ b/ui/src/app/connect/connect.module.ts
@@ -24,8 +24,8 @@ import { MatFormFieldModule } from '@angular/material/form-field';
import { MatGridListModule } from '@angular/material/grid-list';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
-import { NewAdapterComponent } from './components/new-adapter/new-adapter.component';
-import { EventSchemaComponent } from './components/new-adapter/schema-editor/event-schema/event-schema.component';
+import { AdapterConfigurationComponent } from './components/adapter-configuration/adapter-configuration.component';
+import { EventSchemaComponent } from './components/adapter-configuration/schema-editor/event-schema/event-schema.component';
import { CustomMaterialModule } from '../CustomMaterial/custom-material.module';
@@ -39,8 +39,8 @@ import { TransformationRuleService } from './services/transformation-rule.servic
import { ConnectService } from './services/connect.service';
import { AdapterDescriptionComponent } from './components/data-marketplace/adapter-description/adapter-description.component';
import { DataMarketplaceComponent } from './components/data-marketplace/data-marketplace.component';
-import { FormatItemComponent } from './components/new-adapter/format-configuration/format-item/format-item.component';
-import { FormatListComponent } from './components/new-adapter/format-configuration/format-list/format-list.component';
+import { FormatItemComponent } from './components/adapter-configuration/format-configuration/format-item/format-item.component';
+import { FormatListComponent } from './components/adapter-configuration/format-configuration/format-list/format-list.component';
import { IconService } from './services/icon.service';
import { UnitProviderService } from './services/unit-provider.service';
@@ -64,8 +64,8 @@ import {
} from './dialog/edit-event-property/components/edit-unit-transformation/edit-unit-transformation.component';
import { EditEventPropertyComponent } from './dialog/edit-event-property/edit-event-property.component';
import { PipelineElementRuntimeInfoComponent } from './components/runtime-info/pipeline-element-runtime-info.component';
-import { EventPropertyRowComponent } from './components/new-adapter/schema-editor/event-property-row/event-property-row.component';
-import { EventSchemaPreviewComponent } from './components/new-adapter/schema-editor/event-schema-preview/event-schema-preview.component';
+import { EventPropertyRowComponent } from './components/adapter-configuration/schema-editor/event-property-row/event-property-row.component';
+import { EventSchemaPreviewComponent } from './components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component';
import { CoreUiModule } from '../core-ui/core-ui.module';
import {
EditCorrectionValueComponent
@@ -73,21 +73,21 @@ import {
import { ExistingAdaptersComponent } from './components/existing-adapters/existing-adapters.component';
import {
SpecificAdapterConfigurationComponent
-} from './components/new-adapter/specific-adapter-configuration/specific-adapter-configuration.component';
+} from './components/adapter-configuration/specific-adapter-configuration/specific-adapter-configuration.component';
import { ConfigurationGroupComponent } from './components/configuration-group/configuration-group.component';
-import { FormatConfigurationComponent } from './components/new-adapter/format-configuration/format-configuration.component';
+import { FormatConfigurationComponent } from './components/adapter-configuration/format-configuration/format-configuration.component';
import {
GenericAdapterConfigurationComponent
-} from './components/new-adapter/generic-adapter-configuration/generic-adapter-configuration.component';
-import { ErrorMessageComponent } from './components/new-adapter/schema-editor/error-message/error-message.component';
-import { LoadingMessageComponent } from './components/new-adapter/schema-editor/loading-message/loading-message.component';
-import { SchemaEditorHeaderComponent } from './components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component';
+} from './components/adapter-configuration/generic-adapter-configuration/generic-adapter-configuration.component';
+import { ErrorMessageComponent } from './components/adapter-configuration/schema-editor/error-message/error-message.component';
+import { LoadingMessageComponent } from './components/adapter-configuration/schema-editor/loading-message/loading-message.component';
+import { SchemaEditorHeaderComponent } from './components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component';
import {
StartAdapterConfigurationComponent
-} from './components/new-adapter/start-adapter-configuration/start-adapter-configuration.component';
+} from './components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component';
import { DeleteAdapterDialogComponent } from './dialog/delete-adapter-dialog/delete-adapter-dialog.component';
import { PlatformServicesModule } from '@streampipes/platform-services';
-import { FormatItemJsonComponent } from './components/new-adapter/format-configuration/format-item-json/format-item-json.component';
+import { FormatItemJsonComponent } from './components/adapter-configuration/format-configuration/format-item-json/format-item-json.component';
import { RouterModule } from '@angular/router';
import { SharedUiModule } from '@streampipes/shared-ui';
import { SpConnectFilterToolbarComponent } from './components/filter-toolbar/filter-toolbar.component';
@@ -100,11 +100,11 @@ import {
import { SpEpSettingsSectionComponent } from './dialog/edit-event-property/components/ep-settings-section/ep-settings-section.component';
import {
SpAdapterOptionsPanelComponent
-} from './components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component';
+} from './components/adapter-configuration/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component';
import { SpAdapterTemplateDialogComponent } from './dialog/adapter-template/adapter-template-dialog.component';
import { JsonPrettyPrintPipe } from './filter/json-pretty-print.pipe';
import { MatSnackBarModule } from '@angular/material/snack-bar';
-import { AdapterConfigurationHeaderComponent } from './components/new-adapter/adapter-configuration-header/adapter-configuration-header.component';
+import { AdapterConfigurationHeaderComponent } from './components/adapter-configuration/adapter-configuration-header/adapter-configuration-header.component';
@NgModule({
imports: [
@@ -139,11 +139,11 @@ import { AdapterConfigurationHeaderComponent } from './components/new-adapter/ad
},
{
path: 'create/:appId',
- component: NewAdapterComponent,
+ component: AdapterConfigurationComponent,
},
{
path: 'edit/:appId',
- component: NewAdapterComponent,
+ component: AdapterConfigurationComponent,
}]
}]),
SharedUiModule
@@ -173,7 +173,7 @@ import { AdapterConfigurationHeaderComponent } from './components/new-adapter/ad
FormatItemComponent,
FormatListComponent,
JsonPrettyPrintPipe,
- NewAdapterComponent,
+ AdapterConfigurationComponent,
SpAdapterTemplateDialogComponent,
PipelineElementRuntimeInfoComponent,
TimestampPipe,