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 2021/07/21 09:59:41 UTC
[incubator-streampipes] branch STREAMPIPES-319 updated:
[STREAMPIPES-319] Remove unused services from data explorer
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch STREAMPIPES-319
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/STREAMPIPES-319 by this push:
new 966ebcf [STREAMPIPES-319] Remove unused services from data explorer
966ebcf is described below
commit 966ebcf257b467f8396802dee440b1dce27b411d
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Wed Jul 21 11:58:55 2021 +0200
[STREAMPIPES-319] Remove unused services from data explorer
---
ui/src/app/data-explorer/data-explorer.module.ts | 3 +-
.../sdk/collected-schema-requirements.ts | 39 -----------
ui/src/app/data-explorer/sdk/ep-requirements.ts | 68 -------------------
.../sdk/extractor/static-property-extractor.ts | 78 ----------------------
.../data-explorer/sdk/matching/datatype-match.ts | 44 ------------
.../sdk/matching/domain-property-match.ts | 32 ---------
.../sdk/matching/mapping-property-generator.ts | 46 -------------
.../sdk/matching/primitive-property-match.ts | 33 ---------
.../data-explorer/sdk/matching/property-match.ts | 34 ----------
ui/src/app/data-explorer/sdk/model/datatypes.ts | 40 -----------
ui/src/app/data-explorer/sdk/model/vocabulary.ts | 23 -------
.../sdk/schema-requirements-builder.ts | 70 -------------------
.../data-explorer/services/data-lake.service.ts | 28 --------
13 files changed, 1 insertion(+), 537 deletions(-)
diff --git a/ui/src/app/data-explorer/data-explorer.module.ts b/ui/src/app/data-explorer/data-explorer.module.ts
index bc62e40..8560b80 100644
--- a/ui/src/app/data-explorer/data-explorer.module.ts
+++ b/ui/src/app/data-explorer/data-explorer.module.ts
@@ -59,12 +59,12 @@ import { SelectPropertiesComponent } from './components/widgets/utils/select-pro
import { DataExplorerComponent } from './data-explorer.component';
import { DataExplorerAddVisualizationDialogComponent } from './dialogs/add-widget/data-explorer-add-visualization-dialog.component';
import { DataExplorerEditDataViewDialogComponent } from './dialogs/edit-dashboard/data-explorer-edit-data-view-dialog.component';
-import { DataLakeService } from './services/data-lake.service';
import { DataViewDataExplorerService } from './services/data-view-data-explorer.service';
import { RefreshDashboardService } from './services/refresh-dashboard.service';
import { ResizeService } from './services/resize.service';
import { GroupConfigurationComponent } from './components/widgets/utils/group-configuration/group-configuration.component';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
+// tslint:disable-next-line:max-line-length
import { PointSelectionInfoComponent } from './components/widgets/line-chart/components/point-selection-info/point-selection-info.component';
import { ColorService } from './components/widgets/line-chart/services/color.service';
@@ -137,7 +137,6 @@ export const MY_NATIVE_FORMATS = {
DatalakeRestService,
SharedDatalakeRestService,
DataViewDataExplorerService,
- DataLakeService,
ResizeService,
ColorService,
RefreshDashboardService,
diff --git a/ui/src/app/data-explorer/sdk/collected-schema-requirements.ts b/ui/src/app/data-explorer/sdk/collected-schema-requirements.ts
deleted file mode 100644
index d907ad9..0000000
--- a/ui/src/app/data-explorer/sdk/collected-schema-requirements.ts
+++ /dev/null
@@ -1,39 +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 {
- EventPropertyUnion,
- EventSchema, StaticPropertyUnion
-} from "../../core-model/gen/streampipes-model";
-
-export class CollectedSchemaRequirements {
-
- constructor(private requiredEventProperties: Array<EventPropertyUnion>, private requiredMappingProperties: Array<StaticPropertyUnion>) {
-
- }
-
- getEventSchema(): EventSchema {
- let eventSchema = new EventSchema();
- eventSchema.eventProperties = this.requiredEventProperties;
- return eventSchema;
- }
-
- getRequiredMappingProperties(): Array<StaticPropertyUnion> {
- return this.requiredMappingProperties;
- }
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/ep-requirements.ts b/ui/src/app/data-explorer/sdk/ep-requirements.ts
deleted file mode 100644
index 3932574..0000000
--- a/ui/src/app/data-explorer/sdk/ep-requirements.ts
+++ /dev/null
@@ -1,68 +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 {Datatypes} from "./model/datatypes";
-import {EventPropertyPrimitive, EventPropertyUnion} from "../../core-model/gen/streampipes-model";
-
-export class EpRequirements {
-
- private static ep(): EventPropertyPrimitive {
- let ep = new EventPropertyPrimitive();
- ep["@class"] = "org.apache.streampipes.model.schema.EventPropertyPrimitive";
- return ep;
- }
-
- static anyProperty(): EventPropertyUnion {
- return EpRequirements.ep();
- }
-
- static imageReq(): EventPropertyUnion {
- return EpRequirements.domainPropertyReq("https://image.com");
- }
-
- static timestampReq(): EventPropertyUnion {
- return EpRequirements.domainPropertyReq("http://schema.org/DateTime");
- }
-
- static numberReq(): EventPropertyUnion {
- return EpRequirements.datatypeReq(Datatypes.Number);
- }
-
- static stringReq(): EventPropertyUnion {
- return EpRequirements.datatypeReq(Datatypes.String);
- }
-
- static integerReq(): EventPropertyUnion {
- return EpRequirements.datatypeReq(Datatypes.Integer);
- }
-
- static domainPropertyReq(domainProperty: string): EventPropertyPrimitive {
- let eventProperty = EpRequirements.ep();
- eventProperty.domainProperties = [domainProperty];
- return eventProperty;
-
- }
-
- static datatypeReq(datatype: Datatypes): EventPropertyPrimitive {
- let eventProperty = EpRequirements.ep();
- eventProperty.runtimeType = datatype.toUri();
- return eventProperty;
-}
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/extractor/static-property-extractor.ts b/ui/src/app/data-explorer/sdk/extractor/static-property-extractor.ts
deleted file mode 100644
index 6527ca2..0000000
--- a/ui/src/app/data-explorer/sdk/extractor/static-property-extractor.ts
+++ /dev/null
@@ -1,78 +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 {
- ColorPickerStaticProperty,
- EventSchema, FreeTextStaticProperty, MappingPropertyNary,
- MappingPropertyUnary,
- StaticPropertyUnion
-} from "../../../core-model/gen/streampipes-model";
-
-export class StaticPropertyExtractor {
-
- constructor(private inputSchema: EventSchema,
- private staticProperties: Array<StaticPropertyUnion>) {
-
- }
-
- hasStaticProperty(internalId: string): boolean {
- return this.getStaticPropertyByName(internalId) !== undefined;
- }
-
- mappingPropertyValue(internalId: string): string {
- let sp: MappingPropertyUnary = this.getStaticPropertyByName(internalId) as MappingPropertyUnary;
- return this.removePrefix(sp.selectedProperty);
- }
-
- mappingPropertyValues(internalId: string): Array<string> {
- let sp: MappingPropertyNary = this.getStaticPropertyByName(internalId) as MappingPropertyNary;
- let properties: Array<string> = [];
- sp.selectedProperties.forEach(ep => {
- properties.push(this.removePrefix(ep));
- });
- return properties;
- }
-
- singleValueParameter(internalId: string): any {
- let sp: FreeTextStaticProperty = this.getStaticPropertyByName(internalId) as FreeTextStaticProperty;
- return sp.value;
- }
-
- selectedColor(internalId: string): any {
- let sp: ColorPickerStaticProperty = this.getStaticPropertyByName(internalId) as ColorPickerStaticProperty;
- return sp.selectedColor;
- }
-
- stringParameter(internalId: string): string {
- return this.singleValueParameter(internalId) as string;
- }
-
- integerParameter(internalId: string): number {
- return this.singleValueParameter(internalId) as number;
- }
-
- getStaticPropertyByName(internalId: string): StaticPropertyUnion {
- return this.staticProperties.find(sp => (sp.internalName == internalId));
- }
-
-
- removePrefix(propertyValue: string) {
- return propertyValue.split("::").length > 1 ? propertyValue.split("::")[1] : propertyValue;
- }
-
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/matching/datatype-match.ts b/ui/src/app/data-explorer/sdk/matching/datatype-match.ts
deleted file mode 100644
index 5b71398..0000000
--- a/ui/src/app/data-explorer/sdk/matching/datatype-match.ts
+++ /dev/null
@@ -1,44 +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 {Datatypes} from "../model/datatypes";
-
-export class DatatypeMatch {
-
- match(datatypeRequirement: string, datatypeOffer: string) {
- if (datatypeRequirement == undefined) {
- return true;
- } else {
- return (datatypeRequirement == datatypeOffer) || this.subClassOf(datatypeOffer, datatypeRequirement);
- }
- }
-
- subClassOf(offer: string, requirement: string): boolean {
- if (!(requirement === (Datatypes.Number.toUri()))){
- return false;
- }
- else {
- if (offer === Datatypes.Integer.toUri()
- || offer === Datatypes.Long.toUri()
- || offer === Datatypes.Double.toUri()
- || offer === Datatypes.Float.toUri())
- return true;
- }
- return false;
- }
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/matching/domain-property-match.ts b/ui/src/app/data-explorer/sdk/matching/domain-property-match.ts
deleted file mode 100644
index b0041cd..0000000
--- a/ui/src/app/data-explorer/sdk/matching/domain-property-match.ts
+++ /dev/null
@@ -1,32 +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.
- *
- */
-
-export class DomainPropertyMatch {
-
- match(domainPropertyRequirements: Array<string>, domainPropertyOffers: Array<string>) {
- if (domainPropertyRequirements == undefined || domainPropertyRequirements.length == 0) {
- return true;
- } else {
- if (!domainPropertyOffers) {
- return false;
- } else {
- return domainPropertyRequirements[0] == domainPropertyOffers[0];
- }
- }
- }
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/matching/mapping-property-generator.ts b/ui/src/app/data-explorer/sdk/matching/mapping-property-generator.ts
deleted file mode 100644
index 2545c49..0000000
--- a/ui/src/app/data-explorer/sdk/matching/mapping-property-generator.ts
+++ /dev/null
@@ -1,46 +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 {PropertyMatch} from "./property-match";
-import {EventPropertyUnion} from "../../../core-model/gen/streampipes-model";
-
-export class MappingPropertyGenerator {
-
- private selector: string = "s0";
- private separator: string = "::";
-
- constructor(private requiredEventProperty: EventPropertyUnion, private providedEventProperties: Array<EventPropertyUnion>) {
-
- }
-
- computeMatchingProperties(): Array<string> {
- let mapsFromOptions: Array<string> = [];
-
- this.providedEventProperties.forEach(ep => {
- if (new PropertyMatch().match(this.requiredEventProperty, ep)) {
- mapsFromOptions.push(this.makeSelector(ep.runtimeName));
- }
- });
-
- return mapsFromOptions;
- }
-
- makeSelector(runtimeName: string): string {
- return this.selector + this.separator + runtimeName;
- }
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/matching/primitive-property-match.ts b/ui/src/app/data-explorer/sdk/matching/primitive-property-match.ts
deleted file mode 100644
index be42e17..0000000
--- a/ui/src/app/data-explorer/sdk/matching/primitive-property-match.ts
+++ /dev/null
@@ -1,33 +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 {DatatypeMatch} from "./datatype-match";
-import {DomainPropertyMatch} from "./domain-property-match";
-import {EventPropertyPrimitive} from "../../../core-model/gen/streampipes-model";
-
-export class PrimitivePropertyMatch {
-
- match(requirement: EventPropertyPrimitive, offer: EventPropertyPrimitive) {
- if (requirement != undefined) {
- return new DatatypeMatch().match(requirement.runtimeType, offer.runtimeType) &&
- new DomainPropertyMatch().match(requirement.domainProperties, offer.domainProperties);
- } else {
- return true;
- }
- }
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/matching/property-match.ts b/ui/src/app/data-explorer/sdk/matching/property-match.ts
deleted file mode 100644
index f8f9365..0000000
--- a/ui/src/app/data-explorer/sdk/matching/property-match.ts
+++ /dev/null
@@ -1,34 +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 {PrimitivePropertyMatch} from "./primitive-property-match";
-import {
- EventPropertyPrimitive,
- EventPropertyUnion
-} from "../../../core-model/gen/streampipes-model";
-
-export class PropertyMatch {
-
- match(requirement: EventPropertyUnion, offer: EventPropertyUnion): boolean {
- if (requirement instanceof EventPropertyPrimitive && offer instanceof EventPropertyPrimitive) {
- return new PrimitivePropertyMatch().match(requirement, offer);
- } else {
- return false;
- }
- }
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/model/datatypes.ts b/ui/src/app/data-explorer/sdk/model/datatypes.ts
deleted file mode 100644
index a990e63..0000000
--- a/ui/src/app/data-explorer/sdk/model/datatypes.ts
+++ /dev/null
@@ -1,40 +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 {Vocabulary} from "./vocabulary";
-
-export class Datatypes {
-
- static readonly Integer = new Datatypes(Vocabulary.XSD, "integer");
- static readonly Long = new Datatypes(Vocabulary.XSD, "long");
- static readonly Float = new Datatypes(Vocabulary.XSD, "float");
- static readonly Boolean = new Datatypes(Vocabulary.XSD, "boolean");
- static readonly String = new Datatypes(Vocabulary.XSD, "string");
- static readonly Double = new Datatypes(Vocabulary.XSD, "double");
- static readonly Number = new Datatypes(Vocabulary.SO, "Number");
-
- private constructor(private readonly vocabulary: string, private readonly entity: string ) {
-
- }
-
- toUri() {
- return this.vocabulary + this.entity;
- }
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/model/vocabulary.ts b/ui/src/app/data-explorer/sdk/model/vocabulary.ts
deleted file mode 100644
index 175377b..0000000
--- a/ui/src/app/data-explorer/sdk/model/vocabulary.ts
+++ /dev/null
@@ -1,23 +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.
- *
- */
-
-export class Vocabulary {
-
- static readonly XSD: string = "http://www.w3.org/2001/XMLSchema#";
- static readonly SO: string = "http://schema.org/";
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/sdk/schema-requirements-builder.ts b/ui/src/app/data-explorer/sdk/schema-requirements-builder.ts
deleted file mode 100644
index 562c772..0000000
--- a/ui/src/app/data-explorer/sdk/schema-requirements-builder.ts
+++ /dev/null
@@ -1,70 +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 {CollectedSchemaRequirements} from "./collected-schema-requirements";
-import {
- EventPropertyUnion, MappingPropertyNary,
- MappingPropertyUnary,
- StaticPropertyUnion
-} from "../../core-model/gen/streampipes-model";
-
-export class SchemaRequirementsBuilder {
-
- private requiredEventProperties: Array<EventPropertyUnion>;
- private staticProperties: Array<StaticPropertyUnion>;
-
- private constructor() {
- this.requiredEventProperties = [];
- this.staticProperties = [];
- }
-
- static create(): SchemaRequirementsBuilder {
- return new SchemaRequirementsBuilder();
- }
-
- requiredPropertyWithUnaryMapping(internalId: string, label: string, description: string, eventProperty: EventPropertyUnion): SchemaRequirementsBuilder {
- eventProperty.runtimeName = internalId;
- let mp = this.makeMappingProperty(internalId, label, description, new MappingPropertyUnary());
-
- this.staticProperties.push(mp);
- this.requiredEventProperties.push(eventProperty);
-
- return this;
- }
-
- requiredPropertyWithNaryMapping(internalId: string, label: string, description: string, eventProperty: EventPropertyUnion): SchemaRequirementsBuilder {
- eventProperty.runtimeName = internalId;
- let mp = this.makeMappingProperty(internalId, label, description, new MappingPropertyNary());
-
- this.staticProperties.push(mp);
- this.requiredEventProperties.push(eventProperty);
-
- return this;
- }
-
- makeMappingProperty(internalId: string, label: string, description: string, sp: StaticPropertyUnion): StaticPropertyUnion {
- sp.internalName = internalId;
- sp.label = label;
- sp.description = description;
- return sp;
- }
-
- build() {
- return new CollectedSchemaRequirements(this.requiredEventProperties, this.staticProperties);
- }
-}
\ No newline at end of file
diff --git a/ui/src/app/data-explorer/services/data-lake.service.ts b/ui/src/app/data-explorer/services/data-lake.service.ts
deleted file mode 100644
index 84fe895..0000000
--- a/ui/src/app/data-explorer/services/data-lake.service.ts
+++ /dev/null
@@ -1,28 +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 {Injectable} from '@angular/core';
-
-@Injectable()
-export class DataLakeService {
-
- constructor() {
- }
-
-
-}