Skip to content

Commit

Permalink
Code cleanup and refactoring #86
Browse files Browse the repository at this point in the history
  • Loading branch information
tillias committed Nov 6, 2020
1 parent 0436a6a commit c5e8e6b
Show file tree
Hide file tree
Showing 30 changed files with 18 additions and 33 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { finalize } from 'rxjs/operators';
@Component({
selector: 'jhi-create-dependency-dialog',
templateUrl: './create-dependency-dialog.component.html',
styleUrls: ['./create-dependency-dialog.component.scss'],
})
export class CreateDependencyDialogComponent implements OnInit {
source?: IMicroservice;
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
import { AfterViewInit, Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { DependencyService } from '../../entities/dependency/dependency.service';
import { IMicroservice } from '../../shared/model/microservice.model';
import { EXPERIMENTAL_FEATURE } from '../../app.constants';
import { DependencyService } from 'app/entities/dependency/dependency.service';
import { IMicroservice } from 'app/shared/model/microservice.model';
import { EXPERIMENTAL_FEATURE } from 'app/app.constants';
import { CreateDependencyDialogService } from './create-dependency-dialog/create-dependency-dialog.service';
import { JhiEventManager } from 'ng-jhipster';
import { forkJoin, Subscription } from 'rxjs';
import { MicroserviceService } from '../../entities/microservice/microservice.service';
import { MicroserviceService } from 'app/entities/microservice/microservice.service';
import { map } from 'rxjs/operators';
import { ISelectPayload, SelectPayload } from '../../shared/vis/events/VisEvents';
import { DeleteDialogService } from './delete-dialog.service';
import { FilterContext, GraphBuilderService } from './graph-builder.service';
import { ReleasePathCustomService } from '../../entities/release-path/custom/release-path-custom.service';
import { VisNetworkService } from '../../shared/vis/vis-network.service';
import { ReleasePathCustomService } from 'app/entities/release-path/custom/release-path-custom.service';
import { VisNetworkService } from 'app/shared/vis/vis-network.service';

@Component({
selector: 'jhi-dependency-dashboard',
templateUrl: './dependency-dashboard.component.html',
styleUrls: ['./dependency-dashboard.component.scss'],
})
export class DependencyDashboardComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild('visNetwork', { static: false })
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { IDependency } from 'app/shared/model/dependency.model';
@Component({
selector: 'jhi-edge-legend',
templateUrl: './edge-legend.component.html',
styleUrls: ['./edge-legend.component.scss'],
})
export class EdgeLegendComponent implements OnInit {
selection?: ISelectPayload;
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { ISelectPayload } from 'app/shared/vis/events/VisEvents';
@Component({
selector: 'jhi-node-legend',
templateUrl: './graph-legend.component.html',
styleUrls: ['./graph-legend.component.scss'],
})
export class GraphLegendComponent implements OnInit {
@Input() nodeSelection?: ISelectPayload;
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { map } from 'rxjs/operators';
@Component({
selector: 'jhi-vertex-legend',
templateUrl: './vertex-legend.component.html',
styleUrls: ['./vertex-legend.component.scss'],
})
export class VertexLegendComponent implements OnInit {
selection?: ISelectPayload;
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Component, OnInit } from '@angular/core';
@Component({
selector: 'jhi-impact-analysis-dashboard',
templateUrl: './impact-analysis-dashboard.component.html',
styleUrls: ['./impact-analysis-dashboard.component.scss'],
})
export class ImpactAnalysisDashboardComponent implements OnInit {
constructor() {}
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { IResult } from '../../../shared/model/impact/analysis/result.model';
import { VisNetworkService } from '../../../shared/vis/vis-network.service';
import { IResult } from 'app/shared/model/impact/analysis/result.model';
import { VisNetworkService } from 'app/shared/vis/vis-network.service';
import { DataSet } from 'vis-data/peer';
import { NodeColorsService } from '../../release-path-dashboard/node-colors.service';
import { NodeColorsService } from 'app/dashboard/release-path-dashboard/node-colors.service';

@Component({
selector: 'jhi-impact-analysis-graph',
templateUrl: './impact-analysis-graph.component.html',
styleUrls: ['./impact-analysis-graph.component.scss'],
})
export class ImpactAnalysisGraphComponent implements OnInit, AfterViewInit {
@ViewChild('visNetwork', { static: false })
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { Component, OnInit } from '@angular/core';
import { IResult } from '../../../shared/model/impact/analysis/result.model';
import { IResult } from 'app/shared/model/impact/analysis/result.model';
import { ActivatedRoute } from '@angular/router';
import { IMicroservice } from '../../../shared/model/microservice.model';
import { IMicroservice } from 'app/shared/model/microservice.model';

@Component({
selector: 'jhi-impact-analysis-legend',
templateUrl: './impact-analysis-legend.component.html',
styleUrls: ['./impact-analysis-legend.component.scss'],
})
export class ImpactAnalysisLegendComponent implements OnInit {
analysisResult?: IResult;
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { VisNetworkService } from '../../../shared/vis/vis-network.service';
import { NodeColorsService } from '../node-colors.service';
import { IReleasePath } from '../../../shared/model/release-path.model';
import { VisNetworkService } from 'app/shared/vis/vis-network.service';
import { NodeColorsService } from 'app/dashboard/release-path-dashboard/node-colors.service';
import { IReleasePath } from 'app/shared/model/release-path.model';
import { DataSet } from 'vis-data/peer';

@Component({
selector: 'jhi-release-graph',
templateUrl: './release-graph.component.html',
styleUrls: ['./release-graph.component.scss'],
})
export class ReleaseGraphComponent implements OnInit, AfterViewInit {
@ViewChild('visNetwork', { static: false })
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Component, OnInit } from '@angular/core';
@Component({
selector: 'jhi-release-path-dashboard',
templateUrl: './release-path-dashboard.component.html',
styleUrls: ['./release-path-dashboard.component.scss'],
})
export class ReleasePathDashboardComponent implements OnInit {
constructor() {}
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import { IReleasePath } from '../../../shared/model/release-path.model';
import { IReleasePath } from 'app/shared/model/release-path.model';
import { ActivatedRoute } from '@angular/router';
import { VisNetworkService } from '../../../shared/vis/vis-network.service';
import { VisNetworkService } from 'app/shared/vis/vis-network.service';
import { NodeColorsService } from '../node-colors.service';
import { DataSet } from 'vis-data/peer';
import { IReleaseGroup } from '../../../shared/model/release-group.model';
import { IReleaseGroup } from 'app/shared/model/release-group.model';

@Component({
selector: 'jhi-release-path',
templateUrl: './release-path.component.html',
styleUrls: ['./release-path.component.scss'],
})
export class ReleasePathComponent implements OnInit, AfterViewInit {
@ViewChild('visNetwork', { static: false })
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { EXPERIMENTAL_FEATURE } from 'app/app.constants';
@Component({
selector: 'jhi-microservice-card',
templateUrl: './microservice-card.component.html',
styleUrls: ['./microservice-card.component.scss'],
})
export class MicroserviceCardComponent implements OnInit {
@Input() microservice!: IMicroservice;
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { IMicroserviceGroupFilter, MicroserviceGroupFilter } from 'app/shared/mo
@Component({
selector: 'jhi-microservice-dashboard',
templateUrl: './microservice-dashboard.component.html',
styleUrls: ['./microservice-dashboard.component.scss'],
})
export class MicroserviceDashboardComponent implements OnInit, OnDestroy {
microservices: IMicroservice[];
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { IMicroserviceGroupFilter } from 'app/shared/model/util/microservice-gro
@Component({
selector: 'jhi-microservice-search',
templateUrl: './microservice-search.component.html',
styleUrls: ['./microservice-search.component.scss'],
})
export class MicroserviceSearchComponent implements OnInit {
model: any;
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { Component, OnInit } from '@angular/core';
import { IMicroservice } from '../../../shared/model/microservice.model';
import { IMicroservice } from 'app/shared/model/microservice.model';
import { JhiDataUtils } from 'ng-jhipster';
import { ActivatedRoute } from '@angular/router';

@Component({
selector: 'jhi-microservice-details',
templateUrl: './microservice-custom-details.component.html',
styleUrls: ['./microservice-custom-details.component.scss'],
})
export class MicroserviceCustomDetailsComponent implements OnInit {
microservice: IMicroservice | null = null;
Expand Down

0 comments on commit c5e8e6b

Please sign in to comment.