diff --git a/api/services/ocean/rightsizing/responses/oceanRightsizingRecommendationsResponse.yaml b/api/services/ocean/rightsizing/responses/oceanRightsizingRecommendationsResponse.yaml index 075c2102..f0d6ce8f 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: diff --git a/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml b/api/services/ocean/rightsizing/schemas/oceanRightsizingRecommendation.yaml index dd488600..49180948 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 timestamp at which the recommendation was applied + appliedAt: + type: string + format: date-time + description: The timestamp at which the recommendation was last applied