Skip to content

Commit 37802bc

Browse files
authored
Merge branch 'develop' into release/0.8.0
2 parents 1eda9a5 + b7969c9 commit 37802bc

35 files changed

+436
-53
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ name := "delphi-management"
44

55
organization := "de.upb"
66

7-
version := "0.8.0"
7+
8+
version := "0.9.0-SNAPSHOT"
9+
810

911
scalaVersion := "2.12.4"
1012

client/package-lock.json

Lines changed: 21 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@ng-bootstrap/ng-bootstrap": "^4.0.1",
2525
"bootstrap": "^4.1.3",
2626
"core-js": "^2.6.2",
27+
"cytoscape": "^3.3.2",
2728
"font-awesome": "^4.7.0",
2829
"hammerjs": "^2.0.8",
2930
"jquery": "^3.3.1",
@@ -37,6 +38,7 @@
3738
"@angular/cli": "^7.2.2",
3839
"@angular/compiler-cli": "^7.2.1",
3940
"@angular/language-service": "^7.2.1",
41+
"@types/cytoscape": "^3.2.9",
4042
"@types/jasmine": "^3.3.5",
4143
"@types/jasminewd2": "^2.0.6",
4244
"@types/node": "^10.12.18",

client/src/app/api/api/api.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {CustomHttpUrlEncodingCodec} from '../encoder';
2121
import {Instance} from '../../model/models/instance';
2222
import {SysInfo} from '../../model/models/sysInfo';
2323
import { Inject, Injectable, Optional } from '@angular/core';
24-
import { HttpClient, HttpHeaders, HttpParams, HttpEvent } from '@angular/common/http';
24+
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
2525
import { Observable } from 'rxjs';
2626
import { Configuration } from '../configuration';
2727
import {

client/src/app/dashboard/dashboard-overview/dashboard-overview.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@
3333
<app-statuscard></app-statuscard>
3434
</div>
3535
</div>
36+
<button type="button" class="btn btn-primary" routerLink="/dashboard/graphView" routerLinkActive="active">Go To Graph View</button>
3637
</div>

client/src/app/dashboard/dashboard-routing.module.spec.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

client/src/app/dashboard/dashboard-routing.module.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {UserManagementComponent} from './user-management/user-management.compone
2626
import {WebApiComponent} from './webapi/web-api.component';
2727
import {UserProfileComponent} from './user-profile/user-profile.component';
2828
import {HelpComponent} from '../help/help.component';
29+
import { GraphViewComponent } from './graph-view/graph-view/graph-view.component';
2930

3031

3132
const dashboardRoutes: Routes = [
@@ -60,6 +61,10 @@ const dashboardRoutes: Routes = [
6061
{
6162
path: 'help',
6263
component: HelpComponent
64+
},
65+
{
66+
path: 'graphView',
67+
component: GraphViewComponent
6368
}
6469
]
6570
}];

client/src/app/dashboard/dashboard.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import { AddDialogComponent } from './add-dialog/add-dialog.component';
3838
import {ApiModule} from '../api/api.module';
3939
import {ModelModule} from '../model/model.module';
4040
import { MaterialModule } from '../material-module/material.module';
41+
import { GraphViewModule } from './graph-view/graph-view.module';
4142

4243

4344
@NgModule({
@@ -51,7 +52,8 @@ import { MaterialModule } from '../material-module/material.module';
5152
DashboardRoutingModule,
5253
DashboardRoutingModule,
5354
ApiModule,
54-
ModelModule
55+
ModelModule,
56+
GraphViewModule
5557
],
5658
declarations: [
5759
DashboardCardComponent,
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import {NgModule} from '@angular/core';
2+
import {CommonModule} from '@angular/common';
3+
import {GraphViewComponent} from './graph-view/graph-view.component';
4+
import {GraphViewService} from './graph-view.service';
5+
import {ModelModule} from '../../model/model.module';
6+
7+
@NgModule({
8+
declarations: [GraphViewComponent],
9+
imports: [
10+
CommonModule,
11+
ModelModule
12+
],
13+
exports: [GraphViewComponent],
14+
providers: [GraphViewService]
15+
})
16+
export class GraphViewModule {
17+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import {TestBed} from '@angular/core/testing';
2+
import { HttpClientTestingModule } from '@angular/common/http/testing';
3+
import {GraphViewService} from './graph-view.service';
4+
5+
describe('GraphViewService', () => {
6+
beforeEach(() => TestBed.configureTestingModule({
7+
imports: [HttpClientTestingModule],
8+
providers: [GraphViewService]
9+
}));
10+
11+
it('should be created', () => {
12+
const service: GraphViewService = TestBed.get(GraphViewService);
13+
expect(service).toBeTruthy();
14+
});
15+
});

0 commit comments

Comments
 (0)