36 lines
756 B
TypeScript
36 lines
756 B
TypeScript
import {
|
|
AfterContentInit, Component, Input,
|
|
OnInit
|
|
} from '@angular/core';
|
|
import { select, StateObservable } from '@ngrx/store';
|
|
import { ActivatedRoute } from '@angular/router';
|
|
|
|
@Component({
|
|
selector: 'of-discovery-container',
|
|
templateUrl: './discovery-container.component.html',
|
|
})
|
|
export class DiscoveryContainerComponent implements OnInit, AfterContentInit {
|
|
|
|
// probe select ?
|
|
// get probe list for server
|
|
// discovery start
|
|
// discovery stop
|
|
// get service list
|
|
@Input() hostID;
|
|
|
|
constructor(
|
|
private activatedRoute: ActivatedRoute,
|
|
) {
|
|
if (this.hostID > 0 && this.hostID !== undefined ) {
|
|
console.log('ddddddddddddddddddddddddddddddddddddddd');
|
|
}
|
|
}
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
ngAfterContentInit() {
|
|
}
|
|
|
|
}
|