Skip to content

Commit

Permalink
[YUNIKORN-2254] Display MaxRunningApps and RunningApps on Queue View (#…
Browse files Browse the repository at this point in the history
…205)

Closes: #205

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
SophieTech88 authored and craigcondit committed Sep 24, 2024
1 parent 4664cf2 commit 625187b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/components/queues-view/queues-view.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@
[innerHTML]="resourceValueFormatter(selectedQueue.absoluteUsedCapacity)"
></div>
</div>
<div class="flex-grid item-wrapper">
<div class="left-item">Max Running Apps:</div>
<div class="right-item">{{ selectedQueue.MaxRunningApps }}</div>
</div>
<div class="flex-grid item-wrapper">
<div class="left-item">Running Apps:</div>
<div class="right-item">{{ selectedQueue.RunningApps }}</div>
</div>
<div class="flex-grid item-wrapper" *ngFor="let prop of selectedQueue.properties">
<div class="left-item">{{ prop.name }}:</div>
<div class="right-item">{{ prop.value }}</div>
Expand Down
2 changes: 2 additions & 0 deletions src/app/models/queue-info.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export class QueueInfo {
isManaged: boolean = false;
isExpanded: boolean = false;
isSelected: boolean = false;
MaxRunningApps: number = 0;
RunningApps: number = 0;
}

export interface QueuePropertyItem {
Expand Down

0 comments on commit 625187b

Please sign in to comment.