Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sb3 to instantOn features and document crac-1.4 #7354

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/ROOT/pages/instanton.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -408,5 +408,6 @@ In addition to the features that are enabled in the MicroProfile and Jakarta con
- feature:localConnector-1.0[]
- feature:passwordUtilities-1.0[]
- feature:sessionCache-1.0[]
- feature:springBoot-3.0[]

For more information about limitations, see xref:instanton-limitations.adoc[InstantOn limitations and known issues].
3 changes: 3 additions & 0 deletions modules/reference/pages/feature/crac-1.4/description.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
These APIs integrate with the Liberty xref:ROOT:instanton.adoc[InstantOn support].

The link:https://javadoc.io/doc/org.crac/crac/1.4.0/index.html[org.crac] package provides APIs for receiving checkpoint/restore notifications. These notifications enable applications to perform actions before they checkpoint an application process and after they restore the application process. For example, this package allows Spring-based applications to support checkpoint and restore. The use of `org.crac` is not limited to Spring-based applications. Any application that runs on Liberty can choose to receive checkpoint/restore notifications by enabling the `crac-1.4` feature.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

The Spring Framework and Spring Boot support of Coordinated Restore at Checkpoint integrates with Liberty InstantOn when you enable the using the feature:crac-1.4[Coordinated Restore at Checkpoint 1.4] feature. The Spring support for checkpointing and restoring an application manages the lifecycle of resources such as socket, files, and thread pools that are used by the application. For more information, see the Spring Boot documentation on link:https://docs.spring.io/spring-boot/docs/current/reference/html/deployment.html#deployment.efficient.checkpoint-restore[Checkpoint and Restore] and the Spring Framework link:https://docs.spring.io/spring-framework/reference/integration/checkpoint-restore.html[Checkpoint and Restore support documentation].

link:https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using.build-systems.starters[Spring Boot Starters] are a set of convenient dependency descriptors provided by the Spring Boot that you can include in your application. When you use these starters with a Spring Boot application that is deployed on Open Liberty, you might need to enable features beyond the Spring Boot Support feature. The following table lists the Open Liberty features that are required to support certain Spring Boot 3.0 starters.

.Open Liberty features that support Spring Boot 3.0 starters
Expand Down