Skip to content

feat: add automatic CRaC priming for powertools-parameters-ssm - #2613

Open
Pratapchandradeo wants to merge 1 commit into
aws-powertools:mainfrom
Pratapchandradeo:feat/2002-ssm-automatic-priming
Open

feat: add automatic CRaC priming for powertools-parameters-ssm#2613
Pratapchandradeo wants to merge 1 commit into
aws-powertools:mainfrom
Pratapchandradeo:feat/2002-ssm-automatic-priming

Conversation

@Pratapchandradeo

@Pratapchandradeo Pratapchandradeo commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds automatic CRaC/SnapStart priming support for the SSM Parameters provider.

Changes

  • Register SSMProvider as a CRaC resource.
  • Preload the required classes during beforeCheckpoint().
  • Add the class-loading Maven profile and classesloaded.txt.
  • Add tests covering CRaC registration, checkpoint/restore hooks, and the generated class list.

The implementation is limited to automatic priming for the SSM provider. Invoke priming and the other parameter providers are not included in this PR.

Validation

  • SSM module tests pass.
  • Full module verification with SpotBugs passes.
  • Production-style class preloading succeeds without AspectJ or test dependencies.

Issue number:#2002
Parent issue: #1588
Sample PR: #1861

fixes #2002

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

  • I confirm that I can use, modify, copy, and redistribute this contribution under the terms of your choice

Acknowledgment

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Priming for powertools-parameters

1 participant