Changes

Jump to navigation Jump to search
563 bytes added ,  14:25, 30 April 2022
m
Line 55: Line 55:  
Secure your web application or REST API: Spring Boot Starter Security
 
Secure your web application or REST API: Spring Boot Starter Security
   −
== Build ==
+
== Spring Boot Actuator ==
 +
Monitor and manage your application
 +
 
 +
* beans: Complete list of Spring beans in your app
 +
* health: Application health information
 +
* metrics: Application metrics
 +
* mappings: Details around Requests Mappings
 +
 
 +
To enable Spring Boot actuator at pom.xml:<syntaxhighlight lang="xml">
 +
....
 +
    <dependencies>
 +
        ....
 +
        <dependency>
 +
            <groupId>org.springframework.boot</groupId>
 +
            <artifactId>spring-boot-starter-actuator</artifactId>
 +
        </dependency>
 +
        ....
 +
    </dependencies>
 +
....
 +
</syntaxhighlight>
 +
 
 +
 
 +
==Build==
 
Make JAR not WAR (JAR contains embeded server)
 
Make JAR not WAR (JAR contains embeded server)
 
<br />
 
<br />
 
[[Category:Java]]
 
[[Category:Java]]

Navigation menu