Skip to content

mipper/chuck-norris-for-actuator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chuck Norris Quote Generator for Spring Boot Actuator

Description

Random Chuck Norris quote generator for Spring Boot Actuator

Installation and Usage

  1. Add SFG Chuck Norris for Actuator to your project

Maven:

<dependency>
    <groupId>guru.springframework</groupId>
    <artifactId>chuck-norris-for-actuator</artifactId>
    <version>0.0.2</version>
</dependency>

Gradle:

compile group: 'guru.springframework', name: 'chuck-norris-for-actuator', version: '0.0.2'
  1. Add Bean Configuration to your Spring Boot Project
@Bean
public ChuckNorrisInfoContributor chuckNorrisInfoContributor(){
  return new ChuckNorrisInfoContributor();
}
  1. Start you application, go to /info
{
    "Chuck Norris" : "Maslow's theory of higher needs does not apply to Chuck Norris. He only has two needs: killing people and finding people to kill."
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 56.6%
  • Shell 25.4%
  • Batchfile 18.0%