test
This commit is contained in:
parent
f81f4ae030
commit
f6021b9951
|
@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
|
|||
import { RPCService } from '@loafer/ng-rpc';
|
||||
|
||||
import { Target } from '@overflow/commons-typescript/model/target';
|
||||
import { Host, Service } from '@overflow/commons-typescript/model/discovery';
|
||||
|
||||
|
||||
@Injectable()
|
||||
|
@ -15,6 +16,10 @@ export class TargetService {
|
|||
|
||||
}
|
||||
|
||||
public registDiscoveredTargets(probeID: number, hosts: Host[], services: Service[]): Observable<Target> {
|
||||
return this.rpcService.call('TargetService.registDiscoveredTargets', probeID, hosts, services);
|
||||
}
|
||||
|
||||
public modify(target: Target): Observable<Target> {
|
||||
return this.rpcService.call('TargetService.modify', target);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user