From 9cb79289696733926f97ce6e6b66803877bbb3f5 Mon Sep 17 00:00:00 2001 From: David Mueller Date: Thu, 23 May 2024 08:55:43 -0400 Subject: [PATCH] add sb3 to instantOn features and document crac-1.4 #7331 --- modules/ROOT/pages/instanton.adoc | 1 + modules/reference/pages/feature/crac-1.4/description.adoc | 3 +++ .../reference/pages/feature/springBoot-3.0/description.adoc | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 modules/reference/pages/feature/crac-1.4/description.adoc diff --git a/modules/ROOT/pages/instanton.adoc b/modules/ROOT/pages/instanton.adoc index 57e5acc7ee..49543199ec 100644 --- a/modules/ROOT/pages/instanton.adoc +++ b/modules/ROOT/pages/instanton.adoc @@ -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]. diff --git a/modules/reference/pages/feature/crac-1.4/description.adoc b/modules/reference/pages/feature/crac-1.4/description.adoc new file mode 100644 index 0000000000..c105a57e92 --- /dev/null +++ b/modules/reference/pages/feature/crac-1.4/description.adoc @@ -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. diff --git a/modules/reference/pages/feature/springBoot-3.0/description.adoc b/modules/reference/pages/feature/springBoot-3.0/description.adoc index 88525dfcd4..64243763ab 100644 --- a/modules/reference/pages/feature/springBoot-3.0/description.adoc +++ b/modules/reference/pages/feature/springBoot-3.0/description.adoc @@ -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