From 55136e43ced66d291b02fe722eeb7f619d0ac06a Mon Sep 17 00:00:00 2001 From: rdombarabahallirenukamurthy Date: Fri, 24 Apr 2026 13:31:56 +0530 Subject: [PATCH 1/3] update rightsizing recommendation response with the `appliedAt` field --- .../responses/oceanRightsizingRecommendationsResponse.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/services/ocean/rightsizing/responses/oceanRightsizingRecommendationsResponse.yaml b/api/services/ocean/rightsizing/responses/oceanRightsizingRecommendationsResponse.yaml index 075c21024..f0d6ce8f4 100644 --- a/api/services/ocean/rightsizing/responses/oceanRightsizingRecommendationsResponse.yaml +++ b/api/services/ocean/rightsizing/responses/oceanRightsizingRecommendationsResponse.yaml @@ -42,12 +42,15 @@ content: requestedMemory: 40 suggestedMemory: 15 preliminary: false + appliedAt: "2026-04-24T04:55:22.043813" - name: "sidecar" requestedCPU: 40 suggestedCPU: 2 requestedMemory: 10 suggestedMemory: 4 preliminary: true + appliedAt: "2026-04-24T04:55:22.043813" + appliedAt: "2026-04-24T04:55:22.043813" - namespace: "sparkSpace" workloadName: "test-redis" workloadType: "deployment" @@ -65,12 +68,15 @@ content: requestedMemory: 20 suggestedMemory: 15 preliminary: false + appliedAt: "2026-04-24T04:55:22.043813" - name: "kubedns" requestedCPU: 30 suggestedCPU: 1 requestedMemory: 10 suggestedMemory: 5 preliminary: true + appliedAt: "2026-04-24T04:55:22.043813" + appliedAt: "2026-04-24T04:55:22.043813" count: example: 2 kind: From f886cba3f0c10ecca22088a2d63eae3429a096e3 Mon Sep 17 00:00:00 2001 From: rdombarabahallirenukamurthy Date: Tue, 28 Apr 2026 11:31:50 +0530 Subject: [PATCH 2/3] addressed review comments --- .../schemas/oceanRightsizingRecommendation.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml b/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml index dd488600d..072071723 100644 --- a/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml +++ b/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml @@ -61,4 +61,12 @@ properties: description: The requested memory preliminary: type: boolean - description: The recommendation is preliminary \ No newline at end of file + description: The recommendation is preliminary + appliedAt: + type: string + format: date-time + description: The time at which the recommendation was applied + appliedAt: + type: string + format: date-time + description: The time at which the recommendation was last applied From 8e7541c8a936a7e6eeb9728780e908c0b39d6333 Mon Sep 17 00:00:00 2001 From: rdombarabahallirenukamurthy Date: Tue, 28 Apr 2026 11:43:59 +0530 Subject: [PATCH 3/3] addressed review comments --- .../rightsizing/schemas/oceanRightsizingRecommendation.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml b/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml index 072071723..49180948f 100644 --- a/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml +++ b/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml @@ -65,8 +65,8 @@ properties: appliedAt: type: string format: date-time - description: The time at which the recommendation was applied + description: The timestamp at which the recommendation was applied appliedAt: type: string format: date-time - description: The time at which the recommendation was last applied + description: The timestamp at which the recommendation was last applied