Skip to content

Conversation

@l-trotta
Copy link
Contributor

@l-trotta l-trotta commented Jun 5, 2025

Originally reported in elastic/elasticsearch-java#1021
policy_stats in GetSnapshotLifecycleStatsResponse.ts is currently mapped as a string array, while actually it's a string of SnapshotPolicyStats objects -> server code.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
slm.delete_lifecycle 🟢 4/4 4/4
slm.execute_lifecycle 🟢 4/4 4/4
slm.execute_retention 🟢 4/4 4/4
slm.get_lifecycle 🟢 16/16 16/16
slm.get_stats 🟢 4/4 4/4
slm.get_status 🟢 4/4 4/4
slm.put_lifecycle 🟢 4/4 4/4
slm.start Missing test Missing test
slm.stop 🟢 4/4 4/4

You can validate these APIs yourself by using the make validate target.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
slm.delete_lifecycle 🟢 4/4 4/4
slm.execute_lifecycle 🟢 4/4 4/4
slm.execute_retention 🟢 4/4 4/4
slm.get_lifecycle 🟢 16/16 16/16
slm.get_stats 🟢 4/4 4/4
slm.get_status 🟢 4/4 4/4
slm.put_lifecycle 🟢 4/4 4/4
slm.start Missing test Missing test
slm.stop 🟢 4/4 4/4

You can validate these APIs yourself by using the make validate target.

@l-trotta l-trotta merged commit b5e2345 into main Jun 6, 2025
8 checks passed
@l-trotta l-trotta deleted the policy-stats-fix branch June 6, 2025 10:08
github-actions bot pushed a commit that referenced this pull request Jun 6, 2025
* correct type for policy stats

* pretty

(cherry picked from commit b5e2345)
github-actions bot pushed a commit that referenced this pull request Jun 6, 2025
* correct type for policy stats

* pretty

(cherry picked from commit b5e2345)
github-actions bot pushed a commit that referenced this pull request Jun 6, 2025
* correct type for policy stats

* pretty

(cherry picked from commit b5e2345)
l-trotta added a commit that referenced this pull request Jun 6, 2025
* correct type for policy stats

* pretty

(cherry picked from commit b5e2345)

Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Jun 6, 2025
* correct type for policy stats

* pretty

(cherry picked from commit b5e2345)

Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Jun 6, 2025
* correct type for policy stats

* pretty

(cherry picked from commit b5e2345)

Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants