This is an automated email from the ASF dual-hosted git repository.

chia7712 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 b1493fe  [YUNIKORN-2240] Replace Allocation uuid with allocationID 
(#156)
b1493fe is described below

commit b1493fe1c09865a4a5399511adb9d30ad243a1d0
Author: vinayak hegde <[email protected]>
AuthorDate: Thu Dec 7 22:52:15 2023 +0530

    [YUNIKORN-2240] Replace Allocation uuid with allocationID (#156)
    
    Signed-off-by: Chia-Ping Tsai <[email protected]>
---
 json-db.json                                    | 16 ++++++++--------
 src/app/models/alloc-info.model.ts              |  2 +-
 src/app/services/scheduler/scheduler.service.ts |  4 ++--
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/json-db.json b/json-db.json
index 09ffc7c..be29598 100644
--- a/json-db.json
+++ b/json-db.json
@@ -294,7 +294,7 @@
           "requestTime": 1683692667426734436,
           "allocationTime": 1683692777012541197,
           "allocationDelay": 109585806761,
-          "uuid": "d28274d4-4098-481f-b80a-9cf1afd086a0",
+          "allocationID": "67b34cd1-21b7-4ab4-a992-d3c1b5dc0e20-0",
           "resource": {
             "memory": 50000000,
             "pods": 1,
@@ -368,7 +368,7 @@
           "requestTime": 1683692667425480520,
           "allocationTime": 1683692667426304895,
           "allocationDelay": 824375,
-          "uuid": "da8ab0ec-157e-487f-b607-a77fdcef9a27",
+          "allocationID": "89196eb9-42e8-4480-9bd1-91ca0ce80854-1",
           "resource": {
             "memory": 50000000,
             "pods": 1,
@@ -396,7 +396,7 @@
           "requestTime": 1683692667426251936,
           "allocationTime": 1683692667426598936,
           "allocationDelay": 347000,
-          "uuid": "4ed50457-613c-4037-8f0f-d550ab4a8f13",
+          "allocationID": "20b73321-20e7-472e-af2b-f3a4da95e2d1-2",
           "resource": {
             "memory": 50000000,
             "pods": 1,
@@ -424,7 +424,7 @@
           "requestTime": 1683692667426435311,
           "allocationTime": 1683692667426990103,
           "allocationDelay": 554792,
-          "uuid": "7ffb634c-e4c7-4d18-8785-e08bf23f3d6d",
+          "allocationID": "cdfa6598-dd3b-49b9-805c-ecda2a465c18-1",
           "resource": {
             "memory": 50000000,
             "pods": 1,
@@ -646,7 +646,7 @@
           "requestTime": 1683692667425480520,
           "allocationTime": 1683692667426304895,
           "allocationDelay": 824375,
-          "uuid": "da8ab0ec-157e-487f-b607-a77fdcef9a27",
+          "allocationID": "89196eb9-42e8-4480-9bd1-91ca0ce80854-0",
           "resource": {
             "memory": 50000000,
             "pods": 1,
@@ -674,7 +674,7 @@
           "requestTime": 1683692667426251936,
           "allocationTime": 1683692667426598936,
           "allocationDelay": 347000,
-          "uuid": "4ed50457-613c-4037-8f0f-d550ab4a8f13",
+          "allocationID": "20b73321-20e7-472e-af2b-f3a4da95e2d1-3",
           "resource": {
             "memory": 50000000,
             "pods": 1,
@@ -701,7 +701,7 @@
           "requestTime": 1683692667426734436,
           "allocationTime": 1683692777012541197,
           "allocationDelay": 109585806761,
-          "uuid": "d28274d4-4098-481f-b80a-9cf1afd086a0",
+          "allocationID": "67b34cd1-21b7-4ab4-a992-d3c1b5dc0e20-2",
           "resource": {
             "memory": 50000000,
             "pods": 1,
@@ -730,7 +730,7 @@
           "requestTime": 1683692667426435311,
           "allocationTime": 1683692667426990103,
           "allocationDelay": 554792,
-          "uuid": "7ffb634c-e4c7-4d18-8785-e08bf23f3d6d",
+          "allocationID": "cdfa6598-dd3b-49b9-805c-ecda2a465c18-0",
           "resource": {
             "memory": 50000000,
             "pods": 1,
diff --git a/src/app/models/alloc-info.model.ts 
b/src/app/models/alloc-info.model.ts
index 4f6aa4f..376e9ea 100644
--- a/src/app/models/alloc-info.model.ts
+++ b/src/app/models/alloc-info.model.ts
@@ -21,7 +21,7 @@ export class AllocationInfo {
     public displayName: string,
     public allocationKey: string,
     public allocationTags: null | string,
-    public uuid: string,
+    public allocationID: string,
     public resource: string,
     public priority: string,
     public queueName: string,
diff --git a/src/app/services/scheduler/scheduler.service.ts 
b/src/app/services/scheduler/scheduler.service.ts
index c5b2801..3d14f91 100644
--- a/src/app/services/scheduler/scheduler.service.ts
+++ b/src/app/services/scheduler/scheduler.service.ts
@@ -125,7 +125,7 @@ export class SchedulerService {
                     alloc['displayName'],
                     alloc['allocationKey'],
                     alloc['allocationTags'],
-                    alloc['uuid'],
+                    alloc['allocationID'],
                     this.formatResource(alloc['resource'] as 
SchedulerResourceInfo),
                     alloc['priority'],
                     alloc['queueName'],
@@ -231,7 +231,7 @@ export class SchedulerService {
                     alloc['displayName'],
                     alloc['allocationKey'],
                     alloc['allocationTags'],
-                    alloc['uuid'],
+                    alloc['allocationID'],
                     this.formatResource(alloc['resource'] as 
SchedulerResourceInfo),
                     alloc['priority'],
                     alloc['queueName'],


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to