1 import { HttpClient } from '@angular/common/http';
2 import { Injectable } from '@angular/core';
7 export class HealthService {
8 constructor(private http: HttpClient) {}
11 return this.http.get('api/health/full');
15 return this.http.get('api/health/minimal');
18 getClusterCapacity() {
19 return this.http.get('api/health/get_cluster_capacity');
23 return this.http.get('api/health/get_cluster_fsid');
26 getOrchestratorName() {
27 return this.http.get('api/health/get_orchestrator_name');