Fix indentation for all pages

This commit is contained in:
Marcin Grzejszczak
2023-09-08 15:57:04 +02:00
parent 4d41d8b1fb
commit dcda6d0e66
7 changed files with 57 additions and 57 deletions

View File

@@ -1,7 +1,7 @@
Spring Cloud Function supports a "functional" style of bean declarations for small apps where you need fast startup. The functional style of bean declaration was a feature of Spring Framework 5.0 with significant enhancements in 5.1.
[[comparing-functional-with-traditional-bean-definitions]]
== Comparing Functional with Traditional Bean Definitions
= Comparing Functional with Traditional Bean Definitions
Here's a vanilla Spring Cloud Function application from with the
familiar `@Configuration` and `@Bean` declaration style:
@@ -115,7 +115,7 @@ public void initialize(GenericApplicationContext context) {
----
[[limitations-of-functional-bean-declaration]]
== Limitations of Functional Bean Declaration
= Limitations of Functional Bean Declaration
Most Spring Cloud Function apps have a relatively small scope compared to the whole of Spring Boot,
so we are able to adapt it to these functional bean definitions easily. If you step outside that limited scope,
@@ -131,7 +131,7 @@ functional mode" using `spring.functional.enabled=false` so that Spring Boot can
Spring Cloud Function supports visualization of functions available in `FunctionCatalog` through Actuator endpoints as well as programmatic way.
[[programmatic-way]]
==== Programmatic way
=== Programmatic way
To see function available within your application context programmatically all you need is access to `FunctionCatalog`. There you can
finds methods to get the size of the catalog, lookup functions as well as list the names of all the available functions.
@@ -147,7 +147,7 @@ Set<String> names = functionCatalog.getNames(null); will list the names of all t
----
[[actuator]]
==== Actuator
=== Actuator
Since actuator and web are optional, you must first add one of the web dependencies as well as add the actuator dependency manually.
The following example shows how to add the dependency for the Web framework: