diff --git a/angular.json b/angular.json index c8c07da..e2d3074 100644 --- a/angular.json +++ b/angular.json @@ -51,7 +51,17 @@ ] }, "production": { - "optimization": true, + "optimization": false, + "outputHashing": "all", + "sourceMap": true, + "extractCss": true, + "namedChunks": false, + "aot": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": false, + //production settings that work faster but not with sequelize + /* "optimization": true, "outputHashing": "all", "sourceMap": false, "extractCss": true, @@ -59,7 +69,7 @@ "aot": true, "extractLicenses": true, "vendorChunk": false, - "buildOptimizer": true, + "buildOptimizer": true,*/ "fileReplacements": [ { "replace": "src/environments/environment.ts", diff --git a/snazzy-image.png b/snazzy-image.png deleted file mode 100644 index 3589025..0000000 Binary files a/snazzy-image.png and /dev/null differ diff --git a/src/app/components/create/create.component.ts b/src/app/components/create/create.component.ts index ed1a194..c971c69 100644 --- a/src/app/components/create/create.component.ts +++ b/src/app/components/create/create.component.ts @@ -1,13 +1,11 @@ -import {Component, Inject, OnInit} from '@angular/core'; +import {Component, OnInit} from '@angular/core'; import {ErrorStateMatcher} from '@angular/material/core'; -import {FormArray, FormBuilder, FormControl, FormGroup, FormGroupDirective, NgForm, Validators} from '@angular/forms'; +import {FormArray, FormControl, FormGroup, FormGroupDirective, NgForm, Validators} from '@angular/forms'; import {InterComponentService} from '../../inter-component.service'; import {Scenario} from '../../models/Scenario'; import {DataService} from '../../data.service'; import {Router} from '@angular/router'; import {MatSnackBar} from '@angular/material'; -import { FileInput } from 'ngx-material-file-input'; -import {OverviewComponent} from '../overview/overview.component'; const shell = require('shelljs'); @@ -26,8 +24,7 @@ export class MyErrorStateMatcher implements ErrorStateMatcher { }) export class CreateComponent implements OnInit { - - testsetName: string; + testsetName: string; tabs = ['Scenario']; scenarioCounter; selected = new FormControl(0); @@ -64,10 +61,9 @@ export class CreateComponent implements OnInit { matcher = new MyErrorStateMatcher(); constructor(private interComponentService: InterComponentService, private dataService: DataService, public router: Router, - private snackBar: MatSnackBar/*, private overviewComp: OverviewComponent*/) { } + private snackBar: MatSnackBar) { } ngOnInit() { this.interComponentService.setButtonHeaderActive(false); - console.log('test'); this.scenarioCounter = 1; this.routePositionPointer[0] = 0; this.selectedRoute[0] = this.routes[this.routePositionPointer[0]]; @@ -76,23 +72,18 @@ export class CreateComponent implements OnInit { onSelect(modeElement: ModeElement, index: number) { this.selectedMode[index] = modeElement; - console.log(this.selectedMode); } addTab(selectAfterAdding: boolean) { - this.scenarioCounter++; this.routePositionPointer[this.scenarioCounter - 1] = 0; this.selectedRoute[this.scenarioCounter - 1] = this.routes[0]; - console.log(this.selectedRoute); - console.log(this.routePositionPointer); this.formGroupArray.push(new FormGroup({ name: new FormControl('', Validators.required), faultInjectionTime: new FormControl('', [Validators.required, Validators.max(30)]), numberOfRuns: new FormControl('', Validators.required), file: new FormControl('', Validators.required) })); - console.log(this.formGroupArray); this.tabs.push('New Scenario'); if (selectAfterAdding) { @@ -102,6 +93,7 @@ export class CreateComponent implements OnInit { updateTabs(event) { this.tabs[this.selected.value] = event.currentTarget.value; } + // Removes array indexes when Tab is removed removeTab(index: number) { this.tabs.splice(index, 1); this.scenarioCounter--; @@ -111,25 +103,21 @@ export class CreateComponent implements OnInit { this.selectedJSONInput.splice(index,1); this.formGroupArray.removeAt(index); } - + // Left arrow click for routes onLeftClick(index: number) { this.routePositionPointer[index]--; if (this.routePositionPointer[index] < 0) { this.routePositionPointer[index] = this.routes.length - 1; } this.selectedRoute[index] = this.routes[this.routePositionPointer[index]]; - console.log(this.selectedRoute); - console.log(this.routePositionPointer); } - + // Rigth arrow click for routes onRightClick(index: number) { this.routePositionPointer[index]++; if (this.routePositionPointer[index] >= this.routes.length) { this.routePositionPointer[index] = 0; } this.selectedRoute[index] = this.routes[this.routePositionPointer[index]]; - console.log(this.selectedRoute); - console.log(this.routePositionPointer); } onFileConfigChange(event, index: number) { @@ -142,7 +130,6 @@ export class CreateComponent implements OnInit { reader.onload = () => { this.selectedJSONInput[index] = reader.result.toString(); }; - console.log(this.selectedJSONInput); } onSaveExitClick() { @@ -154,15 +141,6 @@ export class CreateComponent implements OnInit { !this.formGroupArray.at(j).get('faultInjectionTime').valid || !this.formGroupArray.at(j).get('numberOfRuns').valid || !this.formGroupArray.at(j).get('file').valid) { - console.log('0.1: ' + !this.formGroupArray.valid); - console.log('0.2: ' + !this.formGroupArray.at(j).valid); - console.log('1: ' + !this.formGroupArray.at(j).get('name').valid); - console.log('2: ' + this.selectedMode[j]); - console.log('3: ' + this.selectedRoute[j]); - console.log('4: ' + !this.formGroupArray.at(j).get('faultInjectionTime').valid); - console.log('5: ' + !this.formGroupArray.at(j).get('numberOfRuns').valid); - console.log('6: ' + !this.formGroupArray.at(j).get('file').valid); - this.snackBar.open('Please fill in all fields in Scenario Tab: ' + this.tabs[j], 'DISMISS', { duration: 10000, panelClass: ['customized-snackbar'] @@ -185,11 +163,8 @@ export class CreateComponent implements OnInit { }); const command = shell.exec('cp -a ' + this.formGroupArray.at(0).get('file').value._files[0].path + ' ', {silent: false, async: true}); - // angular.copy(this.formGroupArray.at(0).get('file').value._files[0].path, ['./../qemu_config_files/qemu_config_file.json']); } - console.log(scenarios); this.dataService.createScenarioBulk(this.testsetName, scenarios).subscribe(data => { - console.log('createTestsetScenariosBulk'); console.log(data); this.router.navigate(['overview']); } ); @@ -224,7 +199,7 @@ const MODES: ModeElement[] = [ fullName: 'Adaptive Cruise Control', description: 'is an available cruise control system for road vehicles that automatically adjusts the' + ' vehicle speed to maintain a safe distance from vehicles ahead. Control is based on sensor information from on-board sensors.', - }, + }/*, { shortName: 'ADC', fullName: 'Autonomous Driving Car', @@ -236,25 +211,11 @@ const MODES: ModeElement[] = [ fullName: 'Advanced Driver-Assistance Systems', description: 'are systems to help the driver in the driving process. When designed with a ' + 'safe human-machine interface, they should increase car safety and more generally road safety.', - }, + },*/ ]; -const shortNameACC = 'ACC'; -const fullNameACC = 'Adaptive Cruise Control'; -const descriptionACC = 'is an available cruise control system for road vehicles that automatically adjusts the' + - ' vehicle speed to maintain a safe distance from vehicles ahead. Control is based on sensor information from on-board sensors.'; - -const shortNameADC = 'ADC'; -const fullNameADC = 'Autonomous Driving Car'; -const descriptionADC = 'is a vehicle that is capable of sensing its environment and moving with little or no human ' + - 'input. Autonomous cars combine a variety of sensors to perceive their surroundings'; - -const shortNameADAS = 'ADAS'; -const fullNameADAS = 'Advanced Driver-Assistance Systems'; -const descriptionADAS = 'are systems to help the driver in the driving process. When designed with a ' + - 'safe human-machine interface, they should increase car safety and more generally road safety.'; const ROUTES: Route[] = [ - { + /*{ name: 'kia4sm', length: 800, width: 10, @@ -267,7 +228,7 @@ const ROUTES: Route[] = [ width: 14, pits: 15, disabled: true, - }, + },*/ { name: 'Speedways', length: 600, diff --git a/src/app/components/home/home.component.scss b/src/app/components/home/home.component.scss index a6b39ca..fde3f92 100644 --- a/src/app/components/home/home.component.scss +++ b/src/app/components/home/home.component.scss @@ -7,7 +7,6 @@ background: url(../../../assets/background.jpg) no-repeat center fixed; -webkit-background-size: cover; /* pour anciens Chrome et Safari */ background-size: cover; /* version standardisée */ - } #home { diff --git a/src/app/components/home/home.component.ts b/src/app/components/home/home.component.ts index 5b64365..ab94035 100644 --- a/src/app/components/home/home.component.ts +++ b/src/app/components/home/home.component.ts @@ -1,15 +1,10 @@ import {Component, OnInit, ElementRef, ViewChild, OnChanges} from '@angular/core'; import {DataService} from '../../data.service'; -import {Time} from '@angular/common'; import {Setting} from '../../models/Setting'; import {Scenario} from '../../models/Scenario'; import {Router} from '@angular/router'; import {InterComponentService} from '../../inter-component.service'; - -const eshell = require('electron').shell; const shell = require('shelljs'); -const Sequelize = require('sequelize'); -const mqtt = require('mqtt'); declare function require(url: string); @Component({ @@ -29,14 +24,12 @@ export class HomeComponent implements OnInit { this.dataService.readAllSettings().subscribe( data => { this.settings = data as Setting[]; - console.log(this.settings); if (this.interComponentService.getAutomaticNavigation()) { // Direct navigation to previously selected module with flag === true for (const setting of this.settings) { if (setting.selectedModule === true) { if (setting.id === 1) { - console.log('Navigation to overview component has happened!'); this.interComponentService.setAutomaticNavigation(false); this.router.navigate(['overview']); } @@ -62,35 +55,6 @@ export class HomeComponent implements OnInit { this.dataService.updateSettingModule(2, true); } - readFile() { - - let commands: Array<any> = []; - let scens; - let qemuInstances; - this.dataService.readTestsetById(11).subscribe( - data => { - scens = data as Scenario; - qemuInstances = JSON.parse(scens.scenarios[0].file); - for (let i = 0; i < qemuInstances.length; i++) { - console.log(qemuInstances[i].path); - let command = shell.exec(qemuInstances[i].qemu_args + qemuInstances[i].path, {silent: false, async: true}); - commands.push(command); - console.log(commands); - } - for (let i = 0; i < qemuInstances.length; i++) { - // kill die ecu mit flag true - // if activeRun.Time === activeScenarioCounter.faultInjectionTime - if (qemuInstances[i].faultInjection) { - console.log(commands[i].kill); - // timeout einfügen - console.log(commands[i]); - } - } - }); - - - } - test() { const nodePath = (shell.which('node').toString()); shell.config.execPath = nodePath; @@ -106,157 +70,4 @@ export class HomeComponent implements OnInit { } }); } - - test1() { - shell.cd('/home/user1/operating-system/'); - let command2 = shell.exec('make vde', {silent: false, async: true}); - } - - test2() { - shell.cd('/home/user1/operating-system/'); - //let command2 = shell.exec('make vde', {silent: false, async: true}); - let command3 = shell.exec('PROJECT=idp_acc make jenkins_run', {silent: false, async: true}); - command3.stdout.on('data', function (data) { - if (data.includes('mosquitto server')) { - //if(flag === 0) { - //flag = 1; - setTimeout(function () { - let command4 = shell.exec('PROJECT=idp_savm make jenkins_run', {silent: false, async: true}); - command4.stdout.on('data', function (data1) { - if (data1.includes('connected to mosquitto server')) { - //data = data1; - } - }); - }, 4000); - } - }); - } - - test3() { - this.dataService.authenticateDatabase(); - this.dataService.createDummyResultData(); - this.dataService.readAllTestsets().subscribe( - data => { console.log('readAllTestsets: '); console.log(data); - }); - this.dataService.readTestsetById(1).subscribe( - data => { console.log('readTestsetById 1: '); console.log(data); - }); - this.dataService.readSettingById(1).subscribe( - data => { console.log('readSettingById 1: '); console.log(data); - }); - this.dataService.readAllRunsByResultId(1).subscribe( - data => { console.log('readRunById 1: '); console.log(data); - }); - this.dataService.readAllResults().subscribe( - data => { console.log('readAllResults: '); console.log(data); - }); - } - - test4() { - this.dataService.deleteResultById(2); - this.dataService.deleteTestsetById(1); - } - - auth() { - this.dataService.authenticateDatabase(); - } - - deleteAll() { - this.dataService.clearAllTestsetsInDatabase().subscribe(data => { - console.log('FlushDATABASE'); console.log(data); - }); - } - - testBulk() { - this.dataService.createSetting(9, true).subscribe(data => { - console.log('createSetting'); console.log(data); - } - ); - this.dataService.createTestset('WSTestset'); - this.dataService.createTestset('WSTestset2').subscribe(data => { - console.log('createTestset'); console.log(data); - } - ); - this.dataService.createScenario('WSScenario', 'ACC', 'Munich', 4, 2).subscribe(data => { - console.log('createScenario'); console.log(data); - } - ); - this.dataService.createResult('WSTestsetResult', Sequelize.fn('NOW'), 2).subscribe(data => { - console.log('createResult'); console.log(data); - } - ); - this.dataService.createRun(34565, Sequelize.fn('NOW'), 1, 3, 3).subscribe(data => { - console.log('createRun'); console.log(data); - } - ); - this.dataService.createRunDetail (Sequelize.fn('NOW'), 'WSsavm/car/0/leadSpeed', '9.417906', 1).subscribe(data => { - console.log('createRunDetail'); console.log(data); - } - ); - this.dataService.createRunDetail (Sequelize.fn('NOW'), 'WSsavm/car/0/ownSpeed', '7.142469', 1); - let runDetails: { relativeTime: Time, key: string, value: string, runId: number }[] = [ - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/curGear', 'value': '1', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/steerLock', 'value': '0.785398', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/enginerpm', 'value': '206.593704', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/curGear', 'value': '1', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/steerLock', 'value': '0.785398', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/enginerpm', 'value': '206.593704', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/curGear', 'value': '1', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/steerLock', 'value': '0.785398', 'runId': 1 }, - { 'relativeTime': Sequelize.fn('NOW'), 'key': 'WSsavm/car/0/enginerpm', 'value': '206.593704', 'runId': 1 } - ]; - this.dataService.createRunDetailBulk (runDetails).subscribe(data => { - console.log('createRunDetailBulk'); console.log(data); - } - ); - this.dataService.createRunDetail (Sequelize.fn('NOW'), 'WSsavm/car/0/ownSpeed', '7.142469', 1); - this.dataService.createTestset('WSTestsetSingle').subscribe(data => { - console.log('createTestsetBulk: '); console.log(data); - }); - let scenarios2: Scenario[] = [ - { 'name': 'WSBulkScenario1', 'mode': 'ACC', 'route': 'Speedways', 'faultInjectionTime': 45, 'runQuantity': 10, - 'fileName': 'config', 'filePath': '/../config.json', 'testsetId': 0}, - { 'name': 'WSBulkScenario2', 'mode': 'ACC', 'route': 'Speedways', 'faultInjectionTime': 45, 'runQuantity': 10, - 'fileName': 'config', 'filePath': '/../config.json', 'testsetId': 0}, - { 'name': 'WSBulkScenario3', 'mode': 'ACC', 'route': 'Speedways', 'faultInjectionTime': 45, 'runQuantity': 10, - 'fileName': 'config', 'filePath': '/../config.json', 'testsetId': 0}, - { 'name': 'WSBulkScenario4', 'mode': 'ACC', 'route': 'Speedways', 'faultInjectionTime': 45, 'runQuantity': 10, - 'fileName': 'config', 'filePath': '/../config.json', 'testsetId': 0} - ]; - this.dataService.createScenarioBulk('hellk', scenarios2).subscribe(data => { - console.log('createTestsetScenariosBulk'); console.log(data); - } - ); - } - test5() { - const service = this.dataService; - const values = []; - localStorage.setItem('values', JSON.stringify(values)); - const client = mqtt.connect([{host: 'localhost', port: 1883}]); - client.on('connect', function () { - client.subscribe('#', function (err) { - if (err) { - } - }); - }); - client.on('message', function (topic, message) { - console.log(message.toString()); - const storedNames = JSON.parse(localStorage.getItem('values')); - storedNames.push({relativeTime: 13, key: topic, value: message.toString(), runResultId: 1}); - localStorage.setItem('values', JSON.stringify(storedNames)); - if (storedNames.length === 200) { - const temp = [storedNames[0], storedNames[1]]; - service.createRunDetailBulk(temp); - storedNames.length = 0; - localStorage.setItem('values', JSON.stringify(storedNames)); - } - }); - } - - test6() { - this.dataService.createRunDetailBulk ([{relativeTime: '00:32:21', key: 'test', value: '125', runId: 1},{relativeTime: '00:32:21', key: 'test', value: '125', runId: 1},{relativeTime: '00:32:21', key: 'test', value: '125', runId: 1}]).subscribe(data => { - console.log('createRunDetailBulk'); console.log(data); - } - ); - } } diff --git a/src/app/components/overview-detail/overview-detail.component.ts b/src/app/components/overview-detail/overview-detail.component.ts index 3376ccb..f80a78f 100644 --- a/src/app/components/overview-detail/overview-detail.component.ts +++ b/src/app/components/overview-detail/overview-detail.component.ts @@ -1,10 +1,9 @@ import {Component, Input, AfterContentChecked} from '@angular/core'; import {Scenario} from '../../models/Scenario'; import {Testset} from '../../models/Testset'; -import {MatDialog, MatSnackBar} from '@angular/material'; +import {MatDialog} from '@angular/material'; import {DeleteDialogComponent} from './delete-dialog/delete-dialog.component'; import {InterComponentService} from '../../inter-component.service'; -import {DataService} from '../../data.service'; import {OverviewComponent} from '../overview/overview.component'; import {PasswordDialogComponent} from './password-dialog/password-dialog.component'; import {Router} from '@angular/router'; @@ -17,7 +16,6 @@ import moment from 'moment'; styleUrls: ['./overview-detail.component.scss'] }) export class OverviewDetailComponent implements AfterContentChecked { - encrypted: string; decrypted: string; estimatedTime; @Input() testset: Testset; @@ -30,6 +28,7 @@ export class OverviewDetailComponent implements AfterContentChecked { this.calculateEstimate(); } + // Gives a rough estimation for the time needed on basis of the run amount set for all scenarios calculateEstimate() { if (this.testset) { let secondsToFinish = 0; @@ -43,6 +42,7 @@ export class OverviewDetailComponent implements AfterContentChecked { } } + // A Deletion of a testset triggers this confirmation dialog openDeleteDialog(name: string, id: number): void { const dialogRef = this.dialog.open(DeleteDialogComponent, { data: { @@ -52,8 +52,6 @@ export class OverviewDetailComponent implements AfterContentChecked { }); dialogRef.afterClosed().subscribe(result => { - console.log('The dialog was closed'); - console.log(result); // Refresh list in overview when deleted (1) if (result === 1) { this.overviewComp.ngOnInit(); @@ -61,39 +59,30 @@ export class OverviewDetailComponent implements AfterContentChecked { }); } + // A runtime variable for admin password needs to be passed to the console openPasswordDialog(): void { const dialogRef = this.dialog.open(PasswordDialogComponent, { data: {} }); dialogRef.afterClosed().subscribe(result => { - console.log('The dialog password was closed'); - console.log(result); if (result === 1) { - console.log('navigated'); this.router.navigate(['run']); - console.log('StartTestsetId: ' + this.interComponentService.getRunTestsetId()); this.interComponentService.setRunTestsetId(this.testset.id); } }); } onStartClick() { - console.log('1:' + this.interComponentService.getAdminPassword()); - console.log('1:' + this.decrypted); + // Checks if a password was already set during runtime or permanently in the settings dialog if (this.interComponentService.getAdminPassword() !== '' || this.interComponentService.getAdminPassword() !== null) { this.decrypted = this.EncrDecr.get('123456$#@$^@1ERF', this.interComponentService.getAdminPassword()); } - console.log('2:' + this.interComponentService.getAdminPassword()); - console.log('2:' + this.decrypted); if (this.decrypted === '' || this.decrypted === null) { - console.log('Password Dialog'); this.openPasswordDialog(); } else { - console.log('StartTestsetId: ' + this.interComponentService.getRunTestsetId()); this.interComponentService.setRunTestsetId(this.testset.id); this.router.navigate(['run']); - console.log('StartTestsetId: ' + this.interComponentService.getRunTestsetId()); } } } diff --git a/src/app/components/overview/overview.component.ts b/src/app/components/overview/overview.component.ts index 3588e6c..0dd2162 100644 --- a/src/app/components/overview/overview.component.ts +++ b/src/app/components/overview/overview.component.ts @@ -1,10 +1,8 @@ -import {AfterViewInit, Component, DoCheck, OnDestroy, OnInit, ViewChild} from '@angular/core'; +import {Component, OnDestroy, OnInit} from '@angular/core'; import {DataService} from '../../data.service'; import {Testsets} from '../../models/Result'; import {Testset} from '../../models/Testset'; import {MatDialog} from '@angular/material'; -import {SettingsDialogComponent} from '../settings-dialog/settings-dialog.component'; -import {DeleteDialogComponent} from '../overview-detail/delete-dialog/delete-dialog.component'; import {CreateTestsetDialogComponent} from './create-testset-dialog/create-testset-dialog.component'; import {InterComponentService} from '../../inter-component.service'; @@ -41,7 +39,6 @@ export class OverviewComponent implements OnInit, OnDestroy { onSelect(testset: Testset) { this.selectedTestset = testset; - console.log(this.selectedTestset); } doFilter = (value: string) => { @@ -56,14 +53,6 @@ export class OverviewComponent implements OnInit, OnDestroy { dialogRef.afterClosed().subscribe(result => { console.log('The dialog was closed'); - console.log(result); }); } - onRowClicked(row) { - console.log('Row clicked: ', row); - console.log('id of row'); - console.log(row.id); - } - - } diff --git a/src/app/mock-data.ts b/src/app/mock-data.ts deleted file mode 100644 index 3a118ec..0000000 --- a/src/app/mock-data.ts +++ /dev/null @@ -1,25 +0,0 @@ - -/* -import { Testset } from './data'; -import { Scenario } from './data'; - -const SCENARIO1: Scenario[] = [ - { id: 1, name: 'S Tobi1', mode: 'ACC', route: 'Vegas', runQuantity: 50, isTextOnly: true, testsetId: 1 }, - { id: 2, name: 'S Tobi2', mode: 'ABS', route: 'Vegas', runQuantity: 50, isTextOnly: true, testsetId: 1 }, - { id: 3, name: 'S Tobi3', mode: 'ACC', route: 'Vegas', runQuantity: 50, isTextOnly: true, testsetId: 1 } -]; -const SCENARIO2: Scenario[] = [ - { id: 4, name: 'S Jonas', mode: 'ABS', route: 'Vegas', runQuantity: 50, isTextOnly: true, testsetId: 2 }, - { id: 5, name: 'S Jonas', mode: 'ACC', route: 'Vegas', runQuantity: 50, isTextOnly: true, testsetId: 2 }, -]; -const SCENARIO3: Scenario[] = [ - { id: 6, name: 'S Carmen', mode: 'ABS', route: 'Vegas', runQuantity: 50, isTextOnly: true, testsetId: 3 } -]; - -export const TESTSET: Testset[] = [ - { id: 1, name: 'TS Tobi', scenarios: SCENARIO1 }, - { id: 2, name: 'TS Jonas', scenarios: SCENARIO2 }, - { id: 3, name: 'TS Carmen', scenarios: SCENARIO3 } -]; -*/ - diff --git a/src/app/testdata.ts b/src/app/testdata.ts deleted file mode 100644 index 38209f4..0000000 --- a/src/app/testdata.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* export class Testset { - id: number; - name: string; - scenarios: Scenario[]; -} - -export class Scenario { - id: number; - name: string; - mode: string; - route: string; - runQuantity: number; - isTextOnly: boolean; - testsetId: number; -} */ diff --git a/src/assets/braccio-logo.jpg b/src/assets/braccio-logo.jpg deleted file mode 100644 index 02fd453..0000000 Binary files a/src/assets/braccio-logo.jpg and /dev/null differ diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 0c5b4ec..047b3fc 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,4 +1,4 @@ export const AppConfig = { - production: false, - environment: 'DEV' + production: true, + environment: 'PROD' };