You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by eb...@apache.org on 2020/07/02 13:00:44 UTC

[incubator-streampipes] branch dev updated: Fix typo in method name

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

ebi pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new c462ea0  Fix typo in method name
c462ea0 is described below

commit c462ea06d28b70b01214a3a3c465f71d1ad4f4e3
Author: Daniel Ebi <eb...@fzi.de>
AuthorDate: Thu Jul 2 15:03:04 2020 +0200

    Fix typo in method name
---
 ui/src/app/core-services/datalake/datalake-rest.service.ts              | 2 +-
 .../data-explorer/components/widgets/image/image-widget.component.ts    | 2 +-
 .../components/widgets/line-chart/line-chart-widget.component.ts        | 2 +-
 .../components/widgets/old-explorer-widget/old-explorer.component.ts    | 2 +-
 .../data-explorer/components/widgets/table/table-widget.component.ts    | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ui/src/app/core-services/datalake/datalake-rest.service.ts b/ui/src/app/core-services/datalake/datalake-rest.service.ts
index c816e45..c83e950 100644
--- a/ui/src/app/core-services/datalake/datalake-rest.service.ts
+++ b/ui/src/app/core-services/datalake/datalake-rest.service.ts
@@ -60,7 +60,7 @@ export class DatalakeRestService {
         return this.http.get<GroupedDataResult>(this.dataLakeUrlV3 + '/data/' + index + '/' + startDate + '/' + endDate + '/grouping/' + groupingTag + '?aggregationUnit=' + aggregationTimeUnit + '&aggregationValue=' + aggregationValue);
     }
 
-    getDataAutoAggergation(index, startDate, endDate) {
+    getDataAutoAggregation(index, startDate, endDate) {
         return this.http.get<DataResult>(this.dataLakeUrlV3 + '/data/' + index + '/' + startDate + '/' + endDate);
     }
 
diff --git a/ui/src/app/data-explorer/components/widgets/image/image-widget.component.ts b/ui/src/app/data-explorer/components/widgets/image/image-widget.component.ts
index 8470ebc..b576bd3 100644
--- a/ui/src/app/data-explorer/components/widgets/image/image-widget.component.ts
+++ b/ui/src/app/data-explorer/components/widgets/image/image-widget.component.ts
@@ -60,7 +60,7 @@ export class ImageWidgetComponent extends BaseDataExplorerWidget implements OnIn
   updateData() {
     this.setShownComponents(false, false, true);
 
-    this.dataLakeRestService.getDataAutoAggergation(
+    this.dataLakeRestService.getDataAutoAggregation(
       this.dataExplorerWidget.dataLakeMeasure.measureName, this.viewDateRange.startDate.getTime(), this.viewDateRange.endDate.getTime())
       .subscribe(
       (res: DataResult) => {
diff --git a/ui/src/app/data-explorer/components/widgets/line-chart/line-chart-widget.component.ts b/ui/src/app/data-explorer/components/widgets/line-chart/line-chart-widget.component.ts
index c348bf9..fd82d84 100644
--- a/ui/src/app/data-explorer/components/widgets/line-chart/line-chart-widget.component.ts
+++ b/ui/src/app/data-explorer/components/widgets/line-chart/line-chart-widget.component.ts
@@ -161,7 +161,7 @@ export class LineChartWidgetComponent extends BaseDataExplorerWidget implements
     this.graph.layout.shapes = [];
     if (!this.advancedSettingsActive) {
       this.setShownComponents(false, false, true);
-      this.dataLakeRestService.getDataAutoAggergation(
+      this.dataLakeRestService.getDataAutoAggregation(
         this.dataExplorerWidget.dataLakeMeasure.measureName, this.viewDateRange.startDate.getTime(), this.viewDateRange.endDate.getTime())
         .subscribe((res: DataResult) => {
             if (res.total === 0) {
diff --git a/ui/src/app/data-explorer/components/widgets/old-explorer-widget/old-explorer.component.ts b/ui/src/app/data-explorer/components/widgets/old-explorer-widget/old-explorer.component.ts
index 199fd56..f907ea0 100644
--- a/ui/src/app/data-explorer/components/widgets/old-explorer-widget/old-explorer.component.ts
+++ b/ui/src/app/data-explorer/components/widgets/old-explorer-widget/old-explorer.component.ts
@@ -187,7 +187,7 @@ export class OldExplorerComponent implements OnInit {
         } else {
             if (this.selectedGroup === undefined) {
                 this.restService
-                  .getDataAutoAggergation(this.selectedInfoResult.measureName, this.dateRange[0].getTime(), this.dateRange[1].getTime())
+                  .getDataAutoAggregation(this.selectedInfoResult.measureName, this.dateRange[0].getTime(), this.dateRange[1].getTime())
                   .subscribe(
                     res => {
                         this.processReceivedData(res);
diff --git a/ui/src/app/data-explorer/components/widgets/table/table-widget.component.ts b/ui/src/app/data-explorer/components/widgets/table/table-widget.component.ts
index 8c7e833..d90ff99 100644
--- a/ui/src/app/data-explorer/components/widgets/table/table-widget.component.ts
+++ b/ui/src/app/data-explorer/components/widgets/table/table-widget.component.ts
@@ -61,7 +61,7 @@ export class TableWidgetComponent extends BaseDataExplorerWidget implements OnIn
   updateData() {
     this.setShownComponents(false, false, true);
 
-    this.dataLakeRestService.getDataAutoAggergation(
+    this.dataLakeRestService.getDataAutoAggregation(
       this.dataExplorerWidget.dataLakeMeasure.measureName, this.viewDateRange.startDate.getTime(), this.viewDateRange.endDate.getTime())
       .subscribe(
       (res: DataResult) => {