This is an automated email from the ASF dual-hosted git repository.
ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-web.git
The following commit(s) were added to refs/heads/master by this push:
new 625187b [YUNIKORN-2254] Display MaxRunningApps and RunningApps on
Queue View (#205)
625187b is described below
commit 625187b6a27f7a33ad93d0998853cf3fa5d14b70
Author: YUN SUN <[email protected]>
AuthorDate: Tue Sep 24 16:49:35 2024 -0500
[YUNIKORN-2254] Display MaxRunningApps and RunningApps on Queue View (#205)
Closes: #205
Signed-off-by: Craig Condit <[email protected]>
---
src/app/components/queues-view/queues-view.component.html | 8 ++++++++
src/app/models/queue-info.model.ts | 2 ++
2 files changed, 10 insertions(+)
diff --git a/src/app/components/queues-view/queues-view.component.html
b/src/app/components/queues-view/queues-view.component.html
index d66af7b..f109f99 100644
--- a/src/app/components/queues-view/queues-view.component.html
+++ b/src/app/components/queues-view/queues-view.component.html
@@ -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>
diff --git a/src/app/models/queue-info.model.ts
b/src/app/models/queue-info.model.ts
index 30a83d9..93db941 100644
--- a/src/app/models/queue-info.model.ts
+++ b/src/app/models/queue-info.model.ts
@@ -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 {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]