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/01/23 16:28:46 UTC

[incubator-streampipes] 01/26: [hotfix] Remove obsolete transport monitoring component

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

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

commit 66e6e3fa731d639dd759a45010d93b9d08f0123f
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Sat Jan 22 22:39:35 2022 +0100

    [hotfix] Remove obsolete transport monitoring component
---
 ui/src/app/app-overview/app-overview.module.ts     |   2 -
 .../app-transport-monitoring.component.css         |  45 ------
 .../app-transport-monitoring.component.html        | 107 --------------
 .../app-transport-monitoring.component.ts          | 117 ---------------
 .../app-transport-monitoring.module.ts             |  81 -----------
 .../dashboard-image/dashboard-image.component.html |  27 ----
 .../dashboard-image/dashboard-image.component.scss |  34 -----
 .../dashboard-image/dashboard-image.component.ts   |  66 ---------
 .../dashboard-item/dashboard-item.component.css    |  35 -----
 .../dashboard-item/dashboard-item.component.html   |  26 ----
 .../dashboard-item/dashboard-item.component.ts     |  40 ------
 .../dashboard-status.component.css                 |  22 ---
 .../dashboard-status.component.html                |  21 ---
 .../dashboard-status/dashboard-status.component.ts |  39 -----
 .../incoming/incoming-view.component.css           |  18 ---
 .../incoming/incoming-view.component.html          |  18 ---
 .../components/incoming/incoming-view.component.ts |  37 -----
 .../outgoing/outgoing-view.component.css           |  18 ---
 .../outgoing/outgoing-view.component.html          |  39 -----
 .../components/outgoing/outgoing-view.component.ts |  71 ----------
 .../transport-activity-graph.component.css         |  21 ---
 .../transport-activity-graph.component.html        |  30 ----
 .../transport-activity-graph.component.ts          |  95 -------------
 .../transport-selection.component.css              |  21 ---
 .../transport-selection.component.html             |  63 ---------
 .../transport-selection.component.ts               |  71 ----------
 .../transport-summary.component.css                |  18 ---
 .../transport-summary.component.html               |  30 ----
 .../transport-summary.component.ts                 |  99 -------------
 .../transport/transport-view.component.css         |  18 ---
 .../transport/transport-view.component.html        |  48 -------
 .../transport/transport-view.component.ts          |  95 -------------
 .../model/abstract-event.model.ts                  |  22 ---
 .../model/activity-detection.model.ts              |  24 ----
 .../model/activity-event.model.ts                  |  22 ---
 .../model/ambient-light.model.ts                   |  21 ---
 .../model/detected-box.model.ts                    |  23 ---
 .../model/old-event.model.ts                       |  22 ---
 .../model/open-box-event.model.ts                  |  22 ---
 .../model/open-box.model.ts                        |  24 ----
 .../model/parcel-info-event.model.ts               |  26 ----
 .../model/parcel-info.model.ts                     |  24 ----
 .../model/parcel-metrics-event.model.ts            |  21 ---
 .../model/parcel-metrics.model.ts                  |  24 ----
 .../model/transport-process-event.model.ts         |  22 ---
 .../model/transport-process.model.ts               |  24 ----
 .../app-transport-monitoring-rest.service.ts       | 157 ---------------------
 .../services/timestamp-converter.service.ts        |  51 -------
 .../components/image-bar/image-bar.component.ts    |   1 -
 49 files changed, 2002 deletions(-)

diff --git a/ui/src/app/app-overview/app-overview.module.ts b/ui/src/app/app-overview/app-overview.module.ts
index 7976491..ce468c1 100644
--- a/ui/src/app/app-overview/app-overview.module.ts
+++ b/ui/src/app/app-overview/app-overview.module.ts
@@ -27,7 +27,6 @@ import { MatGridListModule } from '@angular/material/grid-list';
 import { MatInputModule } from '@angular/material/input';
 import { AppAssetMonitoringModule } from '../app-asset-monitoring/app-asset-monitoring.module';
 import { AppImageLabelingModule } from '../app-image-labeling/app-image-labeling.module';
-import { AppTransportMonitoringModule } from '../app-transport-monitoring/app-transport-monitoring.module';
 import { AppOverviewComponent } from './app-overview.component';
 
 @NgModule({
@@ -40,7 +39,6 @@ import { AppOverviewComponent } from './app-overview.component';
         MatFormFieldModule,
         FormsModule,
         AppAssetMonitoringModule,
-        AppTransportMonitoringModule,
         AppImageLabelingModule,
     ],
     declarations: [
diff --git a/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.css b/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.css
deleted file mode 100644
index 3e8fe26..0000000
--- a/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.css
+++ /dev/null
@@ -1,45 +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.
- *
- */
-
-.mat-accordion .mat-expansion-panel:first-of-type {
-    border-top-right-radius: 4px;
-    border-top-left-radius: 4px;
-}
-
-.mat-accordion .mat-expansion-panel:not(.mat-expanded), .mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing) {
-    border-radius: 0;
-}
-
-.mat-expansion-panel:not([class*=mat-elevation-z]) {
-    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
-    margin-left: 5px;
-    margin-right: 5px;
-    margin-top: 15px;
-}
-
-.mat-expansion-panel {
-    margin-bottom: 20px;
-}
-
-.page-container-padding-inner {
-    padding: 10px;
-}
-
-.button-margin {
-    margin-bottom:20px;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.html b/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.html
deleted file mode 100644
index 1dda3cd..0000000
--- a/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.html
+++ /dev/null
@@ -1,107 +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.
-  ~
-  -->
-
-<div fxLayout="column" fxFlex="100" class="page-container-connect">
-    <div fxLayout="row" style="padding:0px;background-color:#f6f6f6;">
-        <div fxLayout="fill" style="line-height:24px;border-bottom:1px solid #ccc">
-            <mat-tab-group [selectedIndex]="selectedIndex" (selectedIndexChange)="selectedIndexChange($event)">
-                <mat-tab label="Transport Status">
-                </mat-tab>
-                <mat-tab id="ts-settings" label="Settings">
-                </mat-tab>
-            </mat-tab-group>
-        </div>
-    </div>
-
-    <div class="fixed-height page-container-padding-inner" fxLayout="column" fxFlex="100" *ngIf="selectedIndex == 0">
-        <h1>Transport Status</h1>
-
-        <dashboard-item [panelTitle]="'Select Transport Process'" style="margin-bottom:15px;">
-            <transport-selection (selectedProcess)="selectTransportProcess($event)"></transport-selection>
-        </dashboard-item>
-
-        <mat-divider></mat-divider>
-
-        <mat-expansion-panel [expanded]="summaryExpanded" *ngIf="transportProcessSelected">
-            <mat-expansion-panel-header>
-                <h3>Summary</h3>
-            </mat-expansion-panel-header>
-
-            <transport-summary [transportProcess]="selectedTransportProcess" [incomingBoxCount]="incomingBoxCount" [outgoingBoxCount]="outgoingBoxCount"></transport-summary>
-        </mat-expansion-panel>
-
-        <mat-divider></mat-divider>
-
-        <mat-expansion-panel [expanded]="outgoingExpanded" *ngIf="transportProcessSelected && outgoingParcelInfoPresent">
-            <mat-expansion-panel-header>
-                <h3>Outgoing Goods</h3>
-            </mat-expansion-panel-header>
-
-            <outgoing-view [parcelInfo]="outgoingParcelInfo" (detectedBoxes)="updateOutgoingBoxCount($event)"></outgoing-view>
-
-        </mat-expansion-panel>
-
-        <mat-expansion-panel [expanded]="transportExpanded" *ngIf="transportProcessSelected">
-            <mat-expansion-panel-header>
-                <h3>Transport</h3>
-            </mat-expansion-panel-header>
-
-            <transport-view [transportProcess]="selectedTransportProcess"></transport-view>
-
-        </mat-expansion-panel>
-
-        <mat-expansion-panel [expanded]="incomingExpanded" *ngIf="transportProcessSelected && incomingParcelInfoPresent">
-            <mat-expansion-panel-header>
-                <h3>Incoming Goods</h3>
-            </mat-expansion-panel-header>
-
-            <outgoing-view [parcelInfo]="incomingParcelInfo" (detectedBoxes)="updateIncomingBoxCount($event)"></outgoing-view>
-
-        </mat-expansion-panel>
-
-    </div>
-    <div class="fixed-height page-container-padding-inner" fxLayout="column" fxFlex="100" *ngIf="selectedIndex == 1">
-        <div fxFlex="100" fxLayout="column">
-            <div fxFill fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="button-margin">
-                <button mat-button mat-raised-button color="primary" (click)="truncateTransportProcessDatabase()">
-                    Truncate Transport Process Database
-                </button>
-            </div>
-            <div fxFill fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="button-margin">
-                <button mat-button mat-raised-button color="primary" (click)="truncateIncomingGoodsDatabase()">
-                    Truncate Incoming Goods Database
-                </button>
-            </div>
-            <div fxFill fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="button-margin">
-                <button mat-button mat-raised-button color="primary" (click)="truncateOutgoingGoodsDatabase()">
-                    Truncate Outgoing Goods Database
-                </button>
-            </div>
-            <div fxFill fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="button-margin">
-                <button mat-button mat-raised-button color="primary" (click)="truncateParcelActivitiesDatabase()">
-                    Truncate Parcel Activity Database
-                </button>
-            </div>
-            <div fxFill fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="button-margin">
-                <button mat-button mat-raised-button color="primary" (click)="truncateParcelOpenBoxDatabase()">
-                    Truncate Parcel Open Box Database
-                </button>
-            </div>
-        </div>
-    </div>
-</div>
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.ts b/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.ts
deleted file mode 100644
index 7a94294..0000000
--- a/ui/src/app/app-transport-monitoring/app-transport-monitoring.component.ts
+++ /dev/null
@@ -1,117 +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, EventEmitter, Output} from '@angular/core';
-import {TransportProcessEventModel} from "./model/transport-process-event.model";
-import {AppTransportMonitoringRestService} from "./services/app-transport-monitoring-rest.service";
-import {ParcelInfoEventModel} from "./model/parcel-info-event.model";
-import {DetectedBoxModel} from "./model/detected-box.model";
-
-@Component({
-    selector: 'app-transport-monitoring',
-    templateUrl: './app-transport-monitoring.component.html',
-    styleUrls: ['./app-transport-monitoring.component.css']
-})
-export class AppTransportMonitoringComponent {
-
-
-    selectedIndex: number = 0;
-    @Output() appOpened = new EventEmitter<boolean>();
-
-    incomingExpanded: boolean = true;
-    transportExpanded: boolean = true;
-    outgoingExpanded: boolean = true;
-    summaryExpanded: boolean = true;
-
-    transportProcessSelected: boolean = false;
-    selectedTransportProcess: TransportProcessEventModel;
-
-    incomingParcelInfo: ParcelInfoEventModel[];
-    outgoingParcelInfo: ParcelInfoEventModel[];
-
-    incomingParcelInfoPresent: boolean = false;
-    outgoingParcelInfoPresent: boolean = false;
-
-    outgoingBoxCount: DetectedBoxModel = {totalBoxCount: 0, transparentBoxCount: 0, cardboardBoxCount: 0};
-    incomingBoxCount: DetectedBoxModel = {totalBoxCount: 0, transparentBoxCount: 0, cardboardBoxCount: 0};
-
-    constructor(private restService: AppTransportMonitoringRestService) {
-
-    }
-
-    ngOnInit() {
-        this.appOpened.emit(true);
-        this.incomingParcelInfo = [];
-        this.outgoingParcelInfo = [];
-    }
-
-    selectedIndexChange(index: number) {
-        this.selectedIndex = index;
-    }
-
-    selectTransportProcess(transportProcess: TransportProcessEventModel) {
-        this.selectedTransportProcess = transportProcess;
-        this.transportProcessSelected = true;
-        this.fetchOutgoingParcelInfo();
-        this.fetchIncomingParcelInfo();
-    }
-
-    fetchOutgoingParcelInfo() {
-        this.restService.getOutgoingParcelInfo(this.selectedTransportProcess.startTime, this.selectedTransportProcess.endTime).subscribe(resp => {
-            this.outgoingParcelInfo = resp.events;
-            this.outgoingParcelInfoPresent = true;
-        });
-    }
-
-    fetchIncomingParcelInfo() {
-        this.restService.getIncomingParcelInfo(this.selectedTransportProcess.startTime, this.selectedTransportProcess.endTime).subscribe(resp => {
-            this.incomingParcelInfo = resp.events;
-            this.incomingParcelInfoPresent = true;
-        });
-    }
-
-    truncateTransportProcessDatabase() {
-        this.restService.truncateTransportProcessDb();
-    }
-
-    truncateIncomingGoodsDatabase() {
-        this.restService.truncateIncomingGoodsDb();
-    }
-
-    truncateOutgoingGoodsDatabase() {
-        this.restService.truncateOutgoingGoodsDb();
-    }
-
-    truncateParcelActivitiesDatabase() {
-        this.restService.truncateParcelActivitiesDb();
-    }
-
-    truncateParcelOpenBoxDatabase() {
-        this.restService.truncateParcelOpenBoxDb();
-    }
-
-    updateOutgoingBoxCount(boxCount: DetectedBoxModel) {
-        this.outgoingBoxCount = boxCount;
-    }
-
-    updateIncomingBoxCount(boxCount: DetectedBoxModel) {
-        this.incomingBoxCount = boxCount;
-    }
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/app-transport-monitoring.module.ts b/ui/src/app/app-transport-monitoring/app-transport-monitoring.module.ts
deleted file mode 100644
index 05e43fa..0000000
--- a/ui/src/app/app-transport-monitoring/app-transport-monitoring.module.ts
+++ /dev/null
@@ -1,81 +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 {NgModule} from '@angular/core';
-import {FlexLayoutModule} from '@angular/flex-layout';
-import {CommonModule} from '@angular/common';
-import {CustomMaterialModule} from '../CustomMaterial/custom-material.module';
-
-import {MatFormFieldModule} from "@angular/material/form-field";
-import {MatGridListModule} from "@angular/material/grid-list";
-import {MatInputModule} from "@angular/material/input";
-import {FormsModule} from "@angular/forms";
-import {AppTransportMonitoringComponent} from "./app-transport-monitoring.component";
-import {IncomingViewComponent} from "./components/incoming/incoming-view.component";
-import {TransportViewComponent} from "./components/transport/transport-view.component";
-import {OutgoingViewComponent} from "./components/outgoing/outgoing-view.component";
-import {DashboardStatusComponent} from "./components/dashboard-status/dashboard-status.component";
-import {DashboardItemComponent} from "./components/dashboard-item/dashboard-item.component";
-import {DashboardImageComponent} from "./components/dashboard-image/dashboard-image.component";
-import {TransportSelectionComponent} from "./components/transport-selection/transport-selection.component";
-import {AppTransportMonitoringRestService} from "./services/app-transport-monitoring-rest.service";
-import {TransportSummaryComponent} from "./components/transport-summary/transport-summary.component";
-import {SlideshowModule} from "ng-simple-slideshow";
-import {TransportActivityGraphComponent} from "./components/transport-activity-graph/transport-activity-graph.component";
-import {TimestampConverterService} from "./services/timestamp-converter.service";
-import {NgxChartsModule} from '@swimlane/ngx-charts';
-import {CoreUiModule} from "../core-ui/core-ui.module";
-
-@NgModule({
-    imports: [
-        CommonModule,
-        CoreUiModule,
-        FlexLayoutModule,
-        CustomMaterialModule,
-        MatGridListModule,
-        MatInputModule,
-        MatFormFieldModule,
-        FormsModule,
-        SlideshowModule,
-        NgxChartsModule
-    ],
-    declarations: [
-        AppTransportMonitoringComponent,
-        IncomingViewComponent,
-        OutgoingViewComponent,
-        TransportViewComponent,
-        DashboardImageComponent,
-        DashboardItemComponent,
-        DashboardStatusComponent,
-        TransportSelectionComponent,
-        TransportSummaryComponent,
-        TransportActivityGraphComponent
-    ],
-    providers: [
-        AppTransportMonitoringRestService,
-        TimestampConverterService,
-    ],
-    entryComponents: [
-        AppTransportMonitoringComponent
-    ],
-    exports: [
-        AppTransportMonitoringComponent
-    ]
-})
-export class AppTransportMonitoringModule {
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.html b/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.html
deleted file mode 100644
index be701fd..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.html
+++ /dev/null
@@ -1,27 +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.
-  ~
-  -->
-
-<div fxFlex="100">
-    <slideshow [height]="'100%'"
-               [showDots]="true"
-               [minHeight]="'425px'"
-               [imageUrls]="imageData"
-               [backgroundSize]="'contain'"
-               [lazyLoad]="imageData.length>1">
-    </slideshow>
-</div>
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.scss b/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.scss
deleted file mode 100644
index f40a0d9..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.scss
+++ /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.
- *
- */
-
-.slideshow-container .slick-dots li {
-  display: inline-block !important;
-}
-
-.slideshow-container .arrow-container .arrow {
-  border-top: 2px solid rgb(156, 156, 156) !important;
-  border-left: 2px solid rgb(156, 156, 156) !important;
-}
-
-.slideshow-container .arrow-container.prev:before {
-  background-image: none !important;
-}
-
-.slideshow-container .arrow-container.next:before {
-  background-image: none !important;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.ts b/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.ts
deleted file mode 100644
index e3845a2..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-image/dashboard-image.component.ts
+++ /dev/null
@@ -1,66 +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, Input, SecurityContext} from '@angular/core';
-import {ParcelInfoEventModel} from "../../model/parcel-info-event.model";
-import {DomSanitizer} from "@angular/platform-browser";
-
-@Component({
-    selector: 'dashboard-image',
-    templateUrl: './dashboard-image.component.html',
-    styleUrls: ['./dashboard-image.component.scss']
-})
-export class DashboardImageComponent {
-
-    //@Input() parcelInfoEventModel: ParcelInfoEventModel[];
-    imageData: any[];
-
-    currentIndex: number = 0;
-
-    sanitizer: DomSanitizer;
-
-    constructor(sanitizer: DomSanitizer) {
-        this.sanitizer = sanitizer;
-        this.imageData = [];
-    }
-
-    ngOnInit() {
-
-    }
-
-    @Input()
-    set parcelInfoEventModel(parcelInfoEventModel: ParcelInfoEventModel[]) {
-        this.imageData = [];
-        let index = this.getIndex(parcelInfoEventModel)
-        //parcelInfoEventModel.forEach(parcelInfo => {
-            this.imageData.push('data:image/jpeg;base64,' + parcelInfoEventModel[index].segmentationImage);
-        //});
-    }
-
-    getIndex(parcelInfoEventModel: ParcelInfoEventModel[]) {
-        return parcelInfoEventModel.length > 1 ? 1 : 0;
-    }
-
-    getSanitizedImageUrl(imageUrl) {
-        this.sanitizer.sanitize(SecurityContext.STYLE, `url(${imageUrl})`);
-    }
-
-    sanitize(image: string): any {
-        return this.sanitizer.bypassSecurityTrustStyle(`url(${image})`);
-    }
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.css b/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.css
deleted file mode 100644
index fdcdab6..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.css
+++ /dev/null
@@ -1,35 +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.
- *
- */
-
-.dashboard-panel {
-    border: 2px solid rgb(156, 156, 156);
-    margin: 5px;
-    border-radius: 3px;
-}
-
-.dashboard-panel-title {
-    color:white;
-    background: rgb(156, 156, 156);
-    min-height: 40px;
-    font-size:14pt;
-    padding-left:5px;
-}
-
-.dashboard-panel-content {
-    padding: 10px;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.html b/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.html
deleted file mode 100644
index f77e6f1..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.html
+++ /dev/null
@@ -1,26 +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.
-  ~
-  -->
-
-<div class="dashboard-panel" fxLayout="column">
-    <div fxLayout="column" fxFlex="100" fxLayoutAlign="center start" class="dashboard-panel-title">
-        {{panelTitle}}
-    </div>
-    <div class="dashboard-panel-content">
-        <ng-content></ng-content>
-    </div>
-</div>
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.ts b/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.ts
deleted file mode 100644
index 0bc45f2..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-item/dashboard-item.component.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 {Component, Input} from "@angular/core";
-
-
-@Component({
-    selector: 'dashboard-item',
-    templateUrl: './dashboard-item.component.html',
-    styleUrls: ['./dashboard-item.component.css']
-})
-export class DashboardItemComponent {
-
-    @Input() panelTitle: string;
-
-    constructor() {
-
-    }
-
-    ngOnInit() {
-
-    }
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.css b/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.css
deleted file mode 100644
index b8b3731..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.css
+++ /dev/null
@@ -1,22 +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.
- *
- */
-
-.statusValue {
-    font-size: 60pt;
-    padding: 30px;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.html b/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.html
deleted file mode 100644
index bb1e23c..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.html
+++ /dev/null
@@ -1,21 +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.
-  ~
-  -->
-
-<div fxFlex="100" fxLayoutAlign="center center" fxLayout="column" class="statusValue">
-    {{statusValue}}
-</div>
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.ts b/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.ts
deleted file mode 100644
index a86c652..0000000
--- a/ui/src/app/app-transport-monitoring/components/dashboard-status/dashboard-status.component.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 {Component, Input} from '@angular/core';
-
-@Component({
-    selector: 'dashboard-status',
-    templateUrl: './dashboard-status.component.html',
-    styleUrls: ['./dashboard-status.component.css']
-})
-export class DashboardStatusComponent {
-
-    @Input() statusValue: string;
-
-    constructor() {
-
-    }
-
-    ngOnInit() {
-
-    }
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/incoming/incoming-view.component.css b/ui/src/app/app-transport-monitoring/components/incoming/incoming-view.component.css
deleted file mode 100644
index 58ba04b..0000000
--- a/ui/src/app/app-transport-monitoring/components/incoming/incoming-view.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/app-transport-monitoring/components/incoming/incoming-view.component.html b/ui/src/app/app-transport-monitoring/components/incoming/incoming-view.component.html
deleted file mode 100644
index e40d375..0000000
--- a/ui/src/app/app-transport-monitoring/components/incoming/incoming-view.component.html
+++ /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/app-transport-monitoring/components/incoming/incoming-view.component.ts b/ui/src/app/app-transport-monitoring/components/incoming/incoming-view.component.ts
deleted file mode 100644
index 417f1d6..0000000
--- a/ui/src/app/app-transport-monitoring/components/incoming/incoming-view.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';
-
-@Component({
-    selector: 'incoming-view',
-    templateUrl: './incoming-view.component.html',
-    styleUrls: ['./incoming-view.component.css']
-})
-export class IncomingViewComponent {
-
-
-    constructor() {
-
-    }
-
-    ngOnInit() {
-
-    }
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.component.css b/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.component.css
deleted file mode 100644
index 58ba04b..0000000
--- a/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.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/app-transport-monitoring/components/outgoing/outgoing-view.component.html b/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.component.html
deleted file mode 100644
index 78276d4..0000000
--- a/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.component.html
+++ /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.
-  ~
-  -->
-
-<div fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-    <div fxFlex="67">
-        <dashboard-item [panelTitle]="'Image'">
-            <dashboard-image *ngIf="showImage" [parcelInfoEventModel]="_parcelInfo"></dashboard-image>
-        </dashboard-item>
-    </div>
-    <div fxFlex="33" fxLayout="column">
-        <div fxFill fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-            <sp-status-widget fxFlex="100" [label]="'Total Boxes Detected'"
-                                     [statusValue]="totalBoxes"></sp-status-widget>
-        </div>
-        <div fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-            <sp-status-widget fxFlex="100" [label]="'Transparent Boxes Detected'"
-                              [statusValue]="cardboardBoxes"></sp-status-widget>
-        </div>
-        <div fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-            <sp-status-widget fxFlex="100" [label]="'Cardboard Boxes Detected'"
-                              [statusValue]="transparentBoxes"></sp-status-widget>
-        </div>
-    </div>
-</div>
diff --git a/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.component.ts b/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.component.ts
deleted file mode 100644
index 34101a7..0000000
--- a/ui/src/app/app-transport-monitoring/components/outgoing/outgoing-view.component.ts
+++ /dev/null
@@ -1,71 +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, EventEmitter, Input, Output} from '@angular/core';
-import {ParcelInfoEventModel} from "../../model/parcel-info-event.model";
-import {DetectedBoxModel} from "../../model/detected-box.model";
-
-@Component({
-    selector: 'outgoing-view',
-    templateUrl: './outgoing-view.component.html',
-    styleUrls: ['./outgoing-view.component.css']
-})
-export class OutgoingViewComponent {
-
-    //@Input() parcelInfo: ParcelInfoEventModel[];
-    @Output() detectedBoxes = new EventEmitter<DetectedBoxModel>();
-
-    showImage: boolean = false;
-
-    totalBoxes: number = 0;
-    transparentBoxes: number = 0;
-    cardboardBoxes: number = 0;
-
-    _parcelInfo: ParcelInfoEventModel[] = [];
-
-    constructor() {
-
-    }
-
-    @Input()
-    set parcelInfo(parcelInfo: ParcelInfoEventModel[]) {
-        this._parcelInfo = parcelInfo;
-        this.showImage = false;
-        if (parcelInfo.length > 0) {
-            this.calculateBoxCounts();
-            this.showImage = true;
-        }
-        this.emitDetectedBoxes();
-    }
-
-    ngOnInit() {
-
-    }
-
-    calculateBoxCounts() {
-        let index = this._parcelInfo.length > 1 ? 1 : 0;
-        this.totalBoxes = this._parcelInfo[index].number_of_detected_boxes;
-        this.transparentBoxes = this._parcelInfo[index].number_of_transparent_boxes;
-        this.cardboardBoxes = this._parcelInfo[index].number_of_cardboard_boxes;
-    }
-
-    emitDetectedBoxes() {
-        let detectedBoxes: DetectedBoxModel = {totalBoxCount: this.totalBoxes, transparentBoxCount: this.transparentBoxes, cardboardBoxCount: this.cardboardBoxes};
-        this.detectedBoxes.emit(detectedBoxes);
-    }
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.css b/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.css
deleted file mode 100644
index 5e55422..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.css
+++ /dev/null
@@ -1,21 +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.
- *
- */
-
-.chart-container {
-    min-height:600px;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.html b/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.html
deleted file mode 100644
index 2b4898f..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.html
+++ /dev/null
@@ -1,30 +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.
-  ~
-  -->
-
-<!--<div style="width:310px;height:205px;border: 3px solid rgb(156, 156, 156);">-->
-<!--<div *ngFor="let activity of activityEventModel" style="display:inline-block;">-->
-<!--<div [ngStyle]="getStyle(activity)" style="display:inline-block;"></div>-->
-<!--</div>-->
-<!--</div>-->
-<div fxFlex="100" class="chart-container">
-    <ngx-charts-polar-chart
-            [results]="polarChartDataActivity"
-            [legend]="true"
-            [xAxis]="false"
-            [yAxis]="false"></ngx-charts-polar-chart>
-</div>
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.ts b/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.ts
deleted file mode 100644
index 245ebbc..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-activity-graph/transport-activity-graph.component.ts
+++ /dev/null
@@ -1,95 +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, Input} from "@angular/core";
-import {ActivityEventModel} from "../../model/activity-event.model";
-import {TimestampConverterService} from "../../services/timestamp-converter.service";
-
-@Component({
-    selector: 'transport-activity-graph',
-    templateUrl: './transport-activity-graph.component.html',
-    styleUrls: ['./transport-activity-graph.component.css']
-})
-export class TransportActivityGraphComponent {
-
-    polarChartDataActivity: any = [];
-    _activityEventModel: ActivityEventModel[];
-
-    constructor(private timestampConverterService: TimestampConverterService) {
-
-    }
-
-    ngOnInit() {
-    }
-
-    @Input()
-    set activityEventModel(activityEventModel: ActivityEventModel[]) {
-        this._activityEventModel = activityEventModel;
-        this.prepareNewPolarChart();
-    }
-
-    ngAfterViewInit() {
-        //this.makeDummyData();
-
-    }
-
-    prepareNewPolarChart() {
-        let normalSeries: any = [];
-        let shakeSeries: any = [];
-        let fallSeries: any = [];
-
-        this._activityEventModel.forEach(activity => {
-            normalSeries.push({"name": this.timestampConverterService.convertTimestampHoursOnly(activity.timestamp), "value": this.getActivityValue("normal", 1, activity.activity)});
-            shakeSeries.push({"name": this.timestampConverterService.convertTimestampHoursOnly(activity.timestamp), "value": this.getActivityValue("shake", 2, activity.activity)});
-            fallSeries.push({"name": this.timestampConverterService.convertTimestampHoursOnly(activity.timestamp), "value": this.getActivityValue("fall_down", 3, activity.activity)});
-        });
-
-        this.polarChartDataActivity = [{"name": "Normal", series: normalSeries}, {"name": "Shake", series: shakeSeries}, {"name": "Fall", series: fallSeries}];
-    }
-
-    getActivityValue(activeActivity, value, activity): number {
-        return activity == activeActivity ? value : 0;
-    }
-
-    makeDummyData() {
-        this.activityEventModel = [];
-        let currentTimestamp = 0;
-        let currentActivity = "normal";
-        let frequency = 1000;
-        for(let i = 0; i < 200; i++) {
-            let nextActivity = this.getRandomActivity(currentActivity);
-            this.activityEventModel.push({timestamp: currentTimestamp,  activity: nextActivity});
-            currentTimestamp += frequency;
-            currentActivity = nextActivity;
-        }
-    }
-
-    getRandomActivity(currentActivity: string) {
-        let random = Math.random();
-        if (random < 0.4) {
-            return currentActivity;
-        } else if (random >=0.4 && random < 0.6) {
-            return "normal";
-        } else if (random >= 0.6 && random < 0.8) {
-            return "shake";
-        } else {
-            return "fall";
-        }
-    }
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.css b/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.css
deleted file mode 100644
index 6e17421..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.css
+++ /dev/null
@@ -1,21 +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.
- *
- */
-
-table {
-    width:100%;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.html b/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.html
deleted file mode 100644
index aeffb5a..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.html
+++ /dev/null
@@ -1,63 +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.
-  ~
-  -->
-
-<div fxFlex="100" fxLayout="column" style="height:100%;">
-    <div fxFlex="100" fxLayoutAlign="end center" style="margin-bottom:10px;">
-        <button mat-button mat-raised-button color="primary" (click)="fetchTransportProcesses()">
-            Refresh
-        </button>
-    </div>
-    <div fxFlex="100" fxLayout="column" fxLayoutAlign="start start">
-        <table mat-table [dataSource]="dataSource" class="mat-elevation-z1">
-
-            <ng-container matColumnDef="position">
-                <th fxFlex="15" fxLayoutAlign="start center" mat-header-cell *matHeaderCellDef> No.</th>
-                <td fxFlex="15" fxLayoutAlign="start center" mat-cell *matCellDef="let element; let i = index">
-                    {{i+1}}
-                </td>
-            </ng-container>
-
-            <ng-container matColumnDef="startTime">
-                <th fxFlex="30" fxLayoutAlign="start center" mat-header-cell *matHeaderCellDef> Shipped</th>
-                <td fxFlex="30" fxLayoutAlign="start center" mat-cell *matCellDef="let element">
-                    {{timestampConverterService.convertTimestampHoursOnly(element.startTime)}}
-                </td>
-            </ng-container>
-
-            <ng-container matColumnDef="endTime">
-                <th fxFlex="30" fxLayoutAlign="start center" mat-header-cell *matHeaderCellDef> Delivered</th>
-                <td fxFlex="30" fxLayoutAlign="start center" mat-cell *matCellDef="let element">
-                    {{timestampConverterService.convertTimestampHoursOnly(element.endTime)}}
-                </td>
-            </ng-container>
-
-            <ng-container matColumnDef="action">
-                <th fxFlex="25" fxLayoutAlign="start center" mat-header-cell *matHeaderCellDef> Action</th>
-                <td fxFlex="25" fxLayoutAlign="start center" mat-cell *matCellDef="let element">
-                    <button mat-button mat-raised-button color="primary" (click)="selectProcess(element)">
-                        Select Process
-                    </button>
-                </td>
-            </ng-container>
-
-            <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
-            <tr mat-row *matRowDef="let row; columns: displayedColumns; let i = index"></tr>
-        </table>
-        <mat-paginator [pageSizeOptions]="[5, 10, 20]" showFirstLastButtons></mat-paginator>
-    </div>
-</div>
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.ts b/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.ts
deleted file mode 100644
index 78a2a1f..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-selection/transport-selection.component.ts
+++ /dev/null
@@ -1,71 +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, EventEmitter, Output, ViewChild} from '@angular/core';
-import {AppTransportMonitoringRestService} from "../../services/app-transport-monitoring-rest.service";
-import {TransportProcessEventModel} from "../../model/transport-process-event.model";
-import {TimestampConverterService} from "../../services/timestamp-converter.service";
-import {MatPaginator} from '@angular/material/paginator';
-import {MatTableDataSource} from '@angular/material/table';
-
-@Component({
-    selector: 'transport-selection',
-    templateUrl: './transport-selection.component.html',
-    styleUrls: ['./transport-selection.component.css']
-})
-export class TransportSelectionComponent {
-
-    transportProcesses: TransportProcessEventModel[] = [];
-
-    displayedColumns: string[] = ['position', 'startTime', 'endTime', 'action'];
-    @ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
-    dataSource = new MatTableDataSource<TransportProcessEventModel>();
-
-    @Output() selectedProcess = new EventEmitter<TransportProcessEventModel>();
-
-
-    constructor(private restService: AppTransportMonitoringRestService,
-                public timestampConverterService: TimestampConverterService) {
-
-    }
-
-    ngOnInit() {
-        this.dataSource.paginator = this.paginator;
-        this.fetchTransportProcesses();
-    }
-
-    fetchTransportProcesses() {
-        this.restService.getTransportProcesses().subscribe(resp => {
-           this.transportProcesses = this.sort(resp);
-           this.dataSource.data = this.transportProcesses;
-        });
-    }
-
-    selectProcess(element: TransportProcessEventModel) {
-        this.selectedProcess.emit(element);
-    }
-
-    sort(tpe : TransportProcessEventModel[]):TransportProcessEventModel[] {
-        tpe.sort((a,b) => {
-            return b.startTime - a.startTime;
-        });
-        return tpe;
-    }
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.component.css b/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.component.css
deleted file mode 100644
index 58ba04b..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.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/app-transport-monitoring/components/transport-summary/transport-summary.component.html b/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.component.html
deleted file mode 100644
index 1bb0ccc..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.component.html
+++ /dev/null
@@ -1,30 +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.
-  ~
-  -->
-
-<div flex="100" fxLayout="row">
-    <sp-status-widget fxFlex="25" [label]="'Shipped'" [statusValue]="shippedTime"
-                             [color]="'rgb(156, 156, 156)'"></sp-status-widget>
-    <sp-status-widget fxFlex="25" [label]="'Delivered'" [statusValue]="deliveredTime"
-                             [color]="'rgb(156, 156, 156)'"></sp-status-widget>
-    <sp-status-widget fxFlex="25" [label]="'Took'" [statusValue]="tookTime"
-                             [color]="'rgb(156, 156, 156)'"></sp-status-widget>
-    <sp-status-widget fxFlex="25" [label]="'Status'" [statusValue]="errorCode" [color]="statusColor"></sp-status-widget>
-</div>
-<div *ngFor="let statusMessage of statusMessages">
-    <h4>{{statusMessage}}</h4>
-</div>
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.component.ts b/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.component.ts
deleted file mode 100644
index 0180277..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport-summary/transport-summary.component.ts
+++ /dev/null
@@ -1,99 +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, Input} from '@angular/core';
-import {TransportProcessEventModel} from "../../model/transport-process-event.model";
-import {TimestampConverterService} from "../../services/timestamp-converter.service";
-import {DetectedBoxModel} from "../../model/detected-box.model";
-
-@Component({
-    selector: 'transport-summary',
-    templateUrl: './transport-summary.component.html',
-    styleUrls: ['./transport-summary.component.css']
-})
-export class TransportSummaryComponent {
-
-    @Input() statusValue: string;
-    @Input() label: string;
-    @Input() color: string;
-
-    _incomingBoxCount: DetectedBoxModel;
-    _outgoingBoxCount: DetectedBoxModel;
-
-    shippedTime: string;
-    deliveredTime: string;
-    tookTime: string;
-
-    statusMessages: string[] = [];
-
-    errorCode: string = "OK";
-    statusColor: string = "green";
-
-    constructor(private timestampConverterService: TimestampConverterService) {
-
-    }
-
-    ngOnInit() {
-    }
-
-    @Input()
-    set transportProcess(transportProcess: TransportProcessEventModel) {
-        this.shippedTime = this.timestampConverterService.convertTimestampHoursOnly(transportProcess.startTime);
-        this.deliveredTime = this.timestampConverterService.convertTimestampHoursOnly(transportProcess.endTime);
-        this.tookTime = this.timestampConverterService.dateDiffHoursOnly(transportProcess.startTime, transportProcess.endTime);
-    }
-
-    @Input()
-    set outgoingBoxCount(outgoingBoxCount: DetectedBoxModel) {
-        this._outgoingBoxCount = outgoingBoxCount;
-        this.calculateDeviations();
-    }
-
-    @Input()
-    set incomingBoxCount(incomingBoxCount: DetectedBoxModel) {
-        this._incomingBoxCount = incomingBoxCount;
-        this.calculateDeviations();
-    }
-
-    calculateDeviations() {
-        if (this._incomingBoxCount && this._outgoingBoxCount) {
-            //this.toggleStatusSuccess();
-            this.statusMessages = [];
-            if (this._outgoingBoxCount.cardboardBoxCount != this._incomingBoxCount.cardboardBoxCount) {
-                this.statusMessages.push("Check the number of transparent boxes (Actual: " + this._incomingBoxCount.cardboardBoxCount + ", expected: " + this._outgoingBoxCount.cardboardBoxCount +")");
-                this.toggleStatusError();
-            }
-            if (this._outgoingBoxCount.transparentBoxCount != this._incomingBoxCount.transparentBoxCount) {
-                this.statusMessages.push("Check the number of cardboard boxes (Actual: " + this._incomingBoxCount.transparentBoxCount + ", expected: " + this._outgoingBoxCount.transparentBoxCount +")");
-                this.toggleStatusError();
-            }
-        }
-    }
-
-    toggleStatusSuccess() {
-        this.errorCode = "OK";
-        this.statusColor = "green";
-    }
-
-    toggleStatusError() {
-        this.errorCode = "Warning";
-        this.statusColor = "orange";
-    }
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/components/transport/transport-view.component.css b/ui/src/app/app-transport-monitoring/components/transport/transport-view.component.css
deleted file mode 100644
index 58ba04b..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport/transport-view.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/app-transport-monitoring/components/transport/transport-view.component.html b/ui/src/app/app-transport-monitoring/components/transport/transport-view.component.html
deleted file mode 100644
index 3fa341a..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport/transport-view.component.html
+++ /dev/null
@@ -1,48 +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.
-  ~
-  -->
-
-<div fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-    <div fxFlex="67">
-        <dashboard-item [panelTitle]="'Activity Graph'">
-            <transport-activity-graph fxFlex="100" *ngIf="activitiesPresent"
-                                      [activityEventModel]="processActivities.events"></transport-activity-graph>
-        </dashboard-item>
-    </div>
-    <div fxFlex="33" fxLayout="column" *ngIf="activitiesPresent">
-        <div fxFill fxFlex="100" fxLayout="row" fxLayoutAlign="center center">
-            <dashboard-status-filled fxFlex="100" [label]="'Activities Count'"
-                                     [statusValue]="processActivities.events.length"></dashboard-status-filled>
-        </div>
-        <!--<div fxFlex="100" fxLayout="row" fxLayoutAlign="center center">-->
-            <!--<dashboard-status-filled fxFlex="100" [label]="'Normal Activities'" [statusValue]="normalActivities"></dashboard-status-filled>-->
-        <!--</div>-->
-        <div fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-            <dashboard-status-filled fxFlex="100" [label]="'Detected Shake Activities'"
-                              [statusValue]="shakeActivities"></dashboard-status-filled>
-        </div>
-        <div fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-            <dashboard-status-filled fxFlex="100" [label]="'Detected Fall Activities'"
-                              [statusValue]="fallActivities"></dashboard-status-filled>
-        </div>
-        <div fxFlex="100" fxLayout="row" fxLayoutAlign="start start">
-            <dashboard-status-filled fxFlex="100" [label]="'Box opened'"
-                                     [statusValue]="openBoxActivities.total"></dashboard-status-filled>
-        </div>
-    </div>
-</div>
-
diff --git a/ui/src/app/app-transport-monitoring/components/transport/transport-view.component.ts b/ui/src/app/app-transport-monitoring/components/transport/transport-view.component.ts
deleted file mode 100644
index 239f4f1..0000000
--- a/ui/src/app/app-transport-monitoring/components/transport/transport-view.component.ts
+++ /dev/null
@@ -1,95 +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, Input} from '@angular/core';
-import {AppTransportMonitoringRestService} from "../../services/app-transport-monitoring-rest.service";
-import {ActivityDetectionModel} from "../../model/activity-detection.model";
-import {TransportProcessEventModel} from "../../model/transport-process-event.model";
-import {OpenBoxModel} from "../../model/open-box.model";
-
-@Component({
-    selector: 'transport-view',
-    templateUrl: './transport-view.component.html',
-    styleUrls: ['./transport-view.component.css']
-})
-export class TransportViewComponent {
-
-    //@Input() transportProcess: TransportProcessEventModel;
-
-    _transportProcess: TransportProcessEventModel;
-
-    processActivities: ActivityDetectionModel;
-    openBoxActivities: OpenBoxModel = {total: "0", events: []};
-
-    activitiesPresent: boolean = false;
-    fallActivities: number = 0;
-    shakeActivities: number = 0;
-    normalActivities: number = 0;
-    normalActivitiesTotalTime: number = 0;
-    shakeActivitiesTotalTime: number = 0;
-
-    constructor(private restService: AppTransportMonitoringRestService) {
-
-    }
-
-    ngOnInit() {
-    }
-
-    @Input()
-    set transportProcess(transportProcess: TransportProcessEventModel) {
-        this._transportProcess = transportProcess;
-        this.fetchProcessActivities();
-    }
-
-    fetchProcessActivities() {
-        this.restService.getActivityDetection(this._transportProcess.startTime, this._transportProcess.endTime).subscribe(resp => {
-            this.processActivities = resp;
-            this.activitiesPresent = true;
-            this.fallActivities = this.filterRaw('fall_down');
-            this.shakeActivities = this.filterRaw('shake');
-            this.normalActivitiesTotalTime = this.filter('shake');
-            this.shakeActivitiesTotalTime = this.filter('fall_down');
-        })
-
-        this.restService.getBoxOpenModel(this._transportProcess.startTime, this._transportProcess.endTime).subscribe(resp => {
-            this.openBoxActivities = resp;
-        });
-    }
-
-    filterRaw(activity: string): number {
-        return this.processActivities.events.filter(pa => pa.activity == activity).length;
-    }
-
-    filter(activity: string) {
-        return this.processActivities.events.filter(pa => pa.activity == activity).length / this.processActivities.events.length;
-    }
-
-    getShakePercentage() {
-
-    }
-
-    getThrowPercentage() {
-        return this.processActivities.events.filter(pa => pa.activity == 'throw').length / this.processActivities.events.length;
-    }
-
-    getNormalPercentage() {
-        return this.processActivities.events.filter(pa => pa.activity == 'normal').length / this.processActivities.events.length;
-    }
-
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/abstract-event.model.ts b/ui/src/app/app-transport-monitoring/model/abstract-event.model.ts
deleted file mode 100644
index 326b528..0000000
--- a/ui/src/app/app-transport-monitoring/model/abstract-event.model.ts
+++ /dev/null
@@ -1,22 +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 interface AbstractEventModel<T> {
-    total: string;
-    events: T[];
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/activity-detection.model.ts b/ui/src/app/app-transport-monitoring/model/activity-detection.model.ts
deleted file mode 100644
index 2609914..0000000
--- a/ui/src/app/app-transport-monitoring/model/activity-detection.model.ts
+++ /dev/null
@@ -1,24 +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 {ActivityEventModel} from "./activity-event.model";
-import {AbstractEventModel} from "./abstract-event.model";
-
-export interface ActivityDetectionModel extends AbstractEventModel<ActivityEventModel> {
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/activity-event.model.ts b/ui/src/app/app-transport-monitoring/model/activity-event.model.ts
deleted file mode 100644
index 74fe9c8..0000000
--- a/ui/src/app/app-transport-monitoring/model/activity-event.model.ts
+++ /dev/null
@@ -1,22 +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 interface ActivityEventModel {
-    timestamp: number;
-    activity: string;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/ambient-light.model.ts b/ui/src/app/app-transport-monitoring/model/ambient-light.model.ts
deleted file mode 100644
index fc90a00..0000000
--- a/ui/src/app/app-transport-monitoring/model/ambient-light.model.ts
+++ /dev/null
@@ -1,21 +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 interface AmbientLightModel {
-    timestamp: number;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/detected-box.model.ts b/ui/src/app/app-transport-monitoring/model/detected-box.model.ts
deleted file mode 100644
index 030382c..0000000
--- a/ui/src/app/app-transport-monitoring/model/detected-box.model.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 interface DetectedBoxModel {
-    totalBoxCount: number;
-    cardboardBoxCount: number;
-    transparentBoxCount: number;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/old-event.model.ts b/ui/src/app/app-transport-monitoring/model/old-event.model.ts
deleted file mode 100644
index e294dbe..0000000
--- a/ui/src/app/app-transport-monitoring/model/old-event.model.ts
+++ /dev/null
@@ -1,22 +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 interface OldEventModel {
-    image: string;
-    date: string;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/open-box-event.model.ts b/ui/src/app/app-transport-monitoring/model/open-box-event.model.ts
deleted file mode 100644
index b578ce6..0000000
--- a/ui/src/app/app-transport-monitoring/model/open-box-event.model.ts
+++ /dev/null
@@ -1,22 +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 interface OpenBoxEventModel {
-    timestamp: number;
-    activity: string;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/open-box.model.ts b/ui/src/app/app-transport-monitoring/model/open-box.model.ts
deleted file mode 100644
index a7f4183..0000000
--- a/ui/src/app/app-transport-monitoring/model/open-box.model.ts
+++ /dev/null
@@ -1,24 +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 {OpenBoxEventModel} from "./open-box-event.model";
-import {AbstractEventModel} from "./abstract-event.model";
-
-export interface OpenBoxModel extends AbstractEventModel<OpenBoxEventModel> {
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/parcel-info-event.model.ts b/ui/src/app/app-transport-monitoring/model/parcel-info-event.model.ts
deleted file mode 100644
index 162bb79..0000000
--- a/ui/src/app/app-transport-monitoring/model/parcel-info-event.model.ts
+++ /dev/null
@@ -1,26 +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 interface ParcelInfoEventModel {
-    date: string;
-    timestamp: number;
-    number_of_cardboard_boxes: number;
-    number_of_detected_boxes: number;
-    number_of_transparent_boxes: number;
-    segmentationImage: string;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/parcel-info.model.ts b/ui/src/app/app-transport-monitoring/model/parcel-info.model.ts
deleted file mode 100644
index 2deec3d..0000000
--- a/ui/src/app/app-transport-monitoring/model/parcel-info.model.ts
+++ /dev/null
@@ -1,24 +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 {AbstractEventModel} from "./abstract-event.model";
-import {ParcelInfoEventModel} from "./parcel-info-event.model";
-
-export interface ParcelInfoModel extends AbstractEventModel<ParcelInfoEventModel> {
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/parcel-metrics-event.model.ts b/ui/src/app/app-transport-monitoring/model/parcel-metrics-event.model.ts
deleted file mode 100644
index ca0b678..0000000
--- a/ui/src/app/app-transport-monitoring/model/parcel-metrics-event.model.ts
+++ /dev/null
@@ -1,21 +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 interface ParcelMetricsEventModel {
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/parcel-metrics.model.ts b/ui/src/app/app-transport-monitoring/model/parcel-metrics.model.ts
deleted file mode 100644
index da68ba0..0000000
--- a/ui/src/app/app-transport-monitoring/model/parcel-metrics.model.ts
+++ /dev/null
@@ -1,24 +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 {AbstractEventModel} from "./abstract-event.model";
-import {ParcelMetricsEventModel} from "./parcel-metrics-event.model";
-
-export interface ParcelMetricsModel extends AbstractEventModel<ParcelMetricsEventModel> {
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/transport-process-event.model.ts b/ui/src/app/app-transport-monitoring/model/transport-process-event.model.ts
deleted file mode 100644
index c4ca768..0000000
--- a/ui/src/app/app-transport-monitoring/model/transport-process-event.model.ts
+++ /dev/null
@@ -1,22 +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 interface TransportProcessEventModel {
-    startTime: number;
-    endTime: number;
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/model/transport-process.model.ts b/ui/src/app/app-transport-monitoring/model/transport-process.model.ts
deleted file mode 100644
index d500f18..0000000
--- a/ui/src/app/app-transport-monitoring/model/transport-process.model.ts
+++ /dev/null
@@ -1,24 +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 {AbstractEventModel} from "./abstract-event.model";
-import {TransportProcessEventModel} from "./transport-process-event.model";
-
-export interface TransportProcessModel extends AbstractEventModel<TransportProcessEventModel> {
-
-}
\ No newline at end of file
diff --git a/ui/src/app/app-transport-monitoring/services/app-transport-monitoring-rest.service.ts b/ui/src/app/app-transport-monitoring/services/app-transport-monitoring-rest.service.ts
deleted file mode 100644
index 2043629..0000000
--- a/ui/src/app/app-transport-monitoring/services/app-transport-monitoring-rest.service.ts
+++ /dev/null
@@ -1,157 +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 { HttpClient } from "@angular/common/http";
-import { Injectable } from "@angular/core";
-import { map } from "rxjs/operators";
-import { Observable } from "rxjs";
-import { ActivityDetectionModel } from "../model/activity-detection.model";
-import { ParcelInfoModel } from "../model/parcel-info.model";
-import { ParcelInfoEventModel } from "../model/parcel-info-event.model";
-import { OldEventModel } from "../model/old-event.model";
-import { TransportProcessEventModel } from "../model/transport-process-event.model";
-import { TransportProcessModel } from "../model/transport-process.model";
-import { OpenBoxModel } from "../model/open-box.model";
-
-@Injectable()
-export class AppTransportMonitoringRestService {
-
-    // datalake/data/sp_sp_acceleration?from=1553100861004&to=1553100861941&timestamp=appendedTime
-    startTimestampDefault: number = 0;
-    endTimestampDefault: number = 2653100861941;
-
-    constructor(private http: HttpClient) {
-    }
-
-    getTransportProcesses(): Observable<TransportProcessEventModel[]> {
-        return this.http.get(this.getTransportProcessesUrl()).pipe(map(resp => {
-           let transportProcessModel:TransportProcessModel = resp as TransportProcessModel;
-           return transportProcessModel.events;
-        }));
-        // let transportProcesses: TransportProcessEventModel[] = [];
-        // transportProcesses.push({startTime: this.startTimestampDefault, endTime: this.endTimestampDefault});
-        // transportProcesses.push({startTime: this.startTimestampDefault, endTime: this.endTimestampDefault});
-        // return of(transportProcesses);
-    }
-
-    getActivityDetection(startTimestamp: number, endTimestamp: number): Observable<ActivityDetectionModel> {
-        // parcel activity
-        return this.http.get(this.getParcelActivityUrl(startTimestamp, endTimestamp, "timestamp")).pipe(map (resp => {
-            return resp as ActivityDetectionModel
-        }));
-    }
-
-    getBoxOpenModel(startTimestamp: number, endTimestamp: number): Observable<OpenBoxModel> {
-        // box open/close
-        return this.http.get(this.getOpenBoxUrl(startTimestamp, endTimestamp, "timestamp")).pipe(map (resp => {
-            return resp as OpenBoxModel
-        }));
-    }
-
-    getOutgoingParcelInfo(startTimestamp: number, endTimestamp: number): Observable<ParcelInfoModel> {
-        return this.http.get(this.getOutgoingParcelInfoUrl(startTimestamp, endTimestamp, "timestamp"))
-             .pipe(map (resp => {
-             return resp as ParcelInfoModel
-         }));
-        //return this.getLatestOutgoingParcelInfo(0, 0);
-    }
-
-    getIncomingParcelInfo(startTimestamp: number, endTimestamp: number): Observable<ParcelInfoModel> {
-        return this.http.get(this.getIncomingParcelInfoUrl(startTimestamp, endTimestamp, "timestamp"))
-            .pipe(map (resp => {
-                return resp as ParcelInfoModel
-            }));
-        //return this.getLatestOutgoingParcelInfo(0, 0);
-    }
-
-    getLatestOutgoingParcelInfo(startTimestamp: number, endTimestamp: number): Observable<ParcelInfoModel> {
-        // parcel info: image, number of parcels, number of boxes
-        return this.http.get("/assets/Camera.json").pipe(map(resp => {
-            return resp as OldEventModel[];
-        })).pipe(map(res => {
-            let total: string = "0";
-            let image: string = res[0].image;
-            let events: ParcelInfoEventModel[] = [];
-            events.push({date: "a", timestamp: 0, segmentationImage: image, number_of_transparent_boxes: 0, number_of_detected_boxes: 0, number_of_cardboard_boxes: 0});
-            events.push({date: "a", timestamp: 0, segmentationImage: image, number_of_transparent_boxes: 0, number_of_detected_boxes: 0, number_of_cardboard_boxes: 0});
-            return {total: total, events: events };
-        }));
-    }
-
-    truncateIncomingGoodsDb() {
-        let index = "sp_incoming_goods";
-        this.http.get(this.getDeleteUrl(index)).subscribe();
-    }
-
-    truncateOutgoingGoodsDb() {
-        let index = "sp_outgoing_goods";
-        this.http.get(this.getDeleteUrl(index)).subscribe();
-    }
-
-    truncateTransportProcessDb() {
-        let index = "sp_transport_processes";
-        this.http.get(this.getDeleteUrl(index)).subscribe();
-    }
-
-    truncateParcelActivitiesDb() {
-        let index = "sp_parcel_activity";
-        this.http.get(this.getDeleteUrl(index)).subscribe();
-    }
-
-    truncateParcelOpenBoxDb() {
-        let index = "sp_parcel_open_box";
-        this.http.get(this.getDeleteUrl(index)).subscribe();
-    }
-
-    getDeleteUrl(index: string) {
-        return this.baseUrl + '/api/v2' + '/datalake/delete/' +index;
-    }
-
-    getTransportProcessesUrl(): string {
-        return this.url + "/sp_transport_processes";
-    }
-
-    getOutgoingParcelInfoUrl(from: number, to:number, timestampProperty: string): string {
-        return this.url + "/sp_outgoing_goods?from=" +(from - 6000) +"&to=" +(from-1000) +"&timestamp=" +timestampProperty;
-    }
-
-    getIncomingParcelInfoUrl(from: number, to:number, timestampProperty: string): string {
-        return this.url + "/sp_incoming_goods?from=" +(to+1000) +"&to=" +(to + 6000) +"&timestamp=" +timestampProperty;
-    }
-
-    getParcelActivityUrl(from: number, to: number, timestampProperty: string): string {
-        return this.url + "/sp_parcel_activity?from=" +from +"&to=" +to +"&timestamp=" +timestampProperty;
-    }
-
-    getOpenBoxUrl(from: number, to: number, timestampProperty: string): string {
-        return this.url + "/sp_parcel_open_box?from=" +from +"&to=" +to +"&timestamp=" +timestampProperty;
-    }
-
-    private get baseUrl() {
-        return '/streampipes-backend';
-    }
-
-    private get url() {
-        return this.baseUrl + '/api/v2' + '/datalake/data';
-    }
-
-    private get imagePath() {
-        return this.url + "/images";
-    }
-
-}
diff --git a/ui/src/app/app-transport-monitoring/services/timestamp-converter.service.ts b/ui/src/app/app-transport-monitoring/services/timestamp-converter.service.ts
deleted file mode 100644
index 67602d8..0000000
--- a/ui/src/app/app-transport-monitoring/services/timestamp-converter.service.ts
+++ /dev/null
@@ -1,51 +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 TimestampConverterService {
-
-    constructor() {
-
-    }
-
-    convertTimestamp(timestamp: number): string {
-        return "";
-    }
-
-    convertTimestampHoursOnly(timestamp: number): string {
-        var date = new Date(timestamp);
-        var hours = date.getHours();
-        var minutes = "0" + date.getMinutes();
-        var seconds = "0" + date.getSeconds();
-
-        return hours + ':' + minutes.substr(-2) + ':' + seconds.substr(-2);
-    }
-
-    dateDiffHoursOnly(startTimestamp: number, endTimestamp: number):string {
-        var startDate = new Date(startTimestamp);
-        var endDate = new Date(endTimestamp);
-
-        var hoursDiff = endDate.getHours() - startDate.getHours();
-        var minutesDiff = "0" + (endDate.getMinutes() - startDate.getMinutes());
-        var secondsDiff = "0" + (endDate.getSeconds() - startDate.getSeconds());
-
-        return hoursDiff + ':' + minutesDiff.substr(-2) + ':' + secondsDiff.substr(-2);
-    }
-}
\ No newline at end of file
diff --git a/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts b/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts
index 5c5d820..a3931a4 100644
--- a/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts
+++ b/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts
@@ -17,7 +17,6 @@
 
 import { Component, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';
 import { DatalakeRestService } from '../../../../core-services/datalake/datalake-rest.service';
-import { DetectedBoxModel } from '../../../../app-transport-monitoring/model/detected-box.model';
 
 @Component({
   selector: 'sp-image-bar',