ecosystem/microservices/microservice-list.component.ts
selector | c8y-microservice-list |
templateUrl | ./microservice-list.component.html |
Properties |
Methods |
constructor(ecosystemService: EcosystemService, wizardService: WizardService)
|
|||||||||
Parameters :
|
addMicroservice |
addMicroservice()
|
Returns :
void
|
loadMicroservices |
loadMicroservices()
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
isMicroserviceHostingAllowed$ |
Type : Observable<boolean>
|
Default value : this.reload$.pipe(
switchMap(() => this.ecosystemService.isMicroserviceHostingAllowed()),
shareReplay()
)
|
listClass |
Type : string
|
microservices$ |
Type : Observable<IApplication>
|
Default value : this.reload$.pipe(
tap(() => (this.reloading = true)),
switchMap(() => this.ecosystemService.getMicroservices()),
tap(() => (this.reloading = false)),
shareReplay()
)
|
reload$ |
Type : BehaviorSubject<void>
|
Default value : new BehaviorSubject(null)
|
reloading |
Type : boolean
|
Default value : false
|