You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-samples
Dave Syer 74e9e0749b Add support for Spring HATEOAS hypermedia in Actuator endpoints
If spring-hateoas is on the classpath and an MvcEndpoint returns a
@ResponseBody it will be extended and wrapped into a Resource with links.
All the existing endpoints that return sensible JSON data can be extended
this way (i.e. not /logfile). The HAL browser will also be added as an
endpoint if available on the classpath. Finally, asciidocs for the
Actuator endpoints are available as a separate jar file, which if
included in an app will also generate a new (HTTP) endpoint.

Fixes gh-1390
10 years ago
..
spring-boot-sample-activemq Polish spring-boot-sample-activemq 10 years ago
spring-boot-sample-actuator Refactor the Actuator MVC configuration to allow more customization 10 years ago
spring-boot-sample-actuator-log4j Change default behaviour of /health when not secured 10 years ago
spring-boot-sample-actuator-log4j2 Allow auto-reload of log4j2 config 10 years ago
spring-boot-sample-actuator-noweb Polish copyright headers 10 years ago
spring-boot-sample-actuator-ui Polish copyright headers 10 years ago
spring-boot-sample-amqp Polish copyright headers 10 years ago
spring-boot-sample-ant Create Apache Ant sample 10 years ago
spring-boot-sample-aop Polish copyright headers 10 years ago
spring-boot-sample-atmosphere Polish sample package names 10 years ago
spring-boot-sample-batch Polish copyright headers 10 years ago
spring-boot-sample-cache Polish sample package names 10 years ago
spring-boot-sample-data-elasticsearch Polish sample package names 10 years ago
spring-boot-sample-data-gemfire Polish copyright headers 10 years ago
spring-boot-sample-data-jpa Next development version 10 years ago
spring-boot-sample-data-mongodb Polish copyright headers 10 years ago
spring-boot-sample-data-redis Polish copyright headers 10 years ago
spring-boot-sample-data-rest Reinstate code in Data REST sample that went AWOL in 1ce617f1 10 years ago
spring-boot-sample-data-solr Next development version 10 years ago
spring-boot-sample-devtools Polish sample package names 10 years ago
spring-boot-sample-flyway Polish copyright headers 10 years ago
spring-boot-sample-hateoas Polish copyright headers 10 years ago
spring-boot-sample-hornetq Polish copyright headers 10 years ago
spring-boot-sample-hypermedia Add support for Spring HATEOAS hypermedia in Actuator endpoints 10 years ago
spring-boot-sample-hypermedia-gson Add support for Spring HATEOAS hypermedia in Actuator endpoints 10 years ago
spring-boot-sample-hypermedia-jpa Add support for Spring HATEOAS hypermedia in Actuator endpoints 10 years ago
spring-boot-sample-hypermedia-ui Add support for Spring HATEOAS hypermedia in Actuator endpoints 10 years ago
spring-boot-sample-integration Start building against Spring Integration 4.2.0 snapshots 10 years ago
spring-boot-sample-jersey Next development version 10 years ago
spring-boot-sample-jersey1 Polish copyright headers 10 years ago
spring-boot-sample-jetty Replace GzipFilter and Tomcat compression with general purpose approach 10 years ago
spring-boot-sample-jetty-ssl Polish copyright headers 10 years ago
spring-boot-sample-jetty8 Polish 10 years ago
spring-boot-sample-jetty8-ssl Polish copyright headers 10 years ago
spring-boot-sample-jetty93 Polish 10 years ago
spring-boot-sample-jooq Add jOOQ sample application 10 years ago
spring-boot-sample-jpa Next development version 10 years ago
spring-boot-sample-jta-atomikos Next development version 10 years ago
spring-boot-sample-jta-bitronix Next development version 10 years ago
spring-boot-sample-jta-jndi Next development version 10 years ago
spring-boot-sample-liquibase Next development version 10 years ago
spring-boot-sample-logback Support <springProfile> in logback configurations 10 years ago
spring-boot-sample-metrics-dropwizard Extract metric export into a separate autoconfig class 10 years ago
spring-boot-sample-metrics-opentsdb Polish sample package names 10 years ago
spring-boot-sample-metrics-redis Polish sample package names 10 years ago
spring-boot-sample-parent-context Polish copyright headers 10 years ago
spring-boot-sample-profile Polish copyright headers 10 years ago
spring-boot-sample-secure Next development version 10 years ago
spring-boot-sample-secure-oauth2 Remove unused .gitignore files 10 years ago
spring-boot-sample-servlet Polish copyright headers 10 years ago
spring-boot-sample-session-redis Polish sample package names 10 years ago
spring-boot-sample-simple Polish copyright headers 10 years ago
spring-boot-sample-testng Remove unused .gitignore files 10 years ago
spring-boot-sample-tomcat Polish 10 years ago
spring-boot-sample-tomcat-jsp Remove unused .gitignore files 10 years ago
spring-boot-sample-tomcat-multi-connectors Polish copyright headers 10 years ago
spring-boot-sample-tomcat-ssl Polish copyright headers 10 years ago
spring-boot-sample-tomcat7-jsp Remove unused .gitignore files 10 years ago
spring-boot-sample-traditional Remove unused .gitignore files 10 years ago
spring-boot-sample-undertow Polish 10 years ago
spring-boot-sample-undertow-ssl Polish copyright headers 10 years ago
spring-boot-sample-velocity Next development version 10 years ago
spring-boot-sample-web-freemarker Next development version 10 years ago
spring-boot-sample-web-groovy-templates Polish copyright headers 10 years ago
spring-boot-sample-web-jsp Remove unused .gitignore files 10 years ago
spring-boot-sample-web-method-security Polish copyright headers 10 years ago
spring-boot-sample-web-mustache Polish copyright headers 10 years ago
spring-boot-sample-web-secure Fix logout in sample secure web applications 10 years ago
spring-boot-sample-web-secure-custom Fix logout in sample secure web applications 10 years ago
spring-boot-sample-web-secure-github Polish sample package names 10 years ago
spring-boot-sample-web-secure-jdbc Fix logout in sample secure web applications 10 years ago
spring-boot-sample-web-static Polish copyright headers 10 years ago
spring-boot-sample-web-ui Polish copyright headers 10 years ago
spring-boot-sample-web-velocity Polish copyright headers 10 years ago
spring-boot-sample-websocket-jetty Polish copyright headers 10 years ago
spring-boot-sample-websocket-tomcat Polish copyright headers 10 years ago
spring-boot-sample-websocket-undertow Polish copyright headers 10 years ago
spring-boot-sample-ws Next development version 10 years ago
spring-boot-sample-xml Polish copyright headers 10 years ago
README.adoc Add cache sample 10 years ago
pom.xml Add support for Spring HATEOAS hypermedia in Actuator endpoints 10 years ago

README.adoc

 The following java samples are provided:

* link:spring-boot-sample-simple[spring-boot-sample-simple]
  -- A simple command line application
* link:spring-boot-sample-tomcat[spring-boot-sample-tomcat]
  --  Embedded Tomcat
* link:spring-boot-sample-jetty[spring-boot-sample-jetty]
  -- Embedded Jetty
* link:spring-boot-sample-activemq[spring-boot-sample-activemq]
  -- Simple JMS consumer and producer using Apache ActiveMQ
* link:spring-boot-sample-actuator[spring-boot-sample-actuator]
  -- Simple REST service with production features
* link:spring-boot-sample-actuator-ui[spring-boot-sample-actuator-ui]
  -- A web UI example with production features
* link:spring-boot-sample-actuator-noweb[spring-boot-sample-actuator-noweb]
  -- A production features sample with no web application
* link:spring-boot-sample-actuator-log4j[spring-boot-sample-actuator-log4j]
  -- A production features sample using log4j for logging (instead of logback)
* link:spring-boot-sample-cache-ehcache[spring-boot-sample-cache]
  -- A web sample that uses Spring's cache abstraction
* link:spring-boot-sample-web-ui[spring-boot-sample-web-ui]
  -- A thymeleaf web application
* link:spring-boot-sample-web-static[spring-boot-sample-web-static]
  -- A web application serving static files
* link:spring-boot-sample-web-freemarker[spring-boot-sample-web-freemarker]
  -- A web application using Freemarker templates
* link:spring-boot-sample-web-velocity[spring-boot-sample-web-velocity]
  -- A web application using Velocity templates
* link:spring-boot-sample-web-groovy-templates[spring-boot-sample-web-groovy-templates]
  -- A web application using native Groovy templates
* link:spring-boot-sample-web-jsp[spring-boot-sample-web-jsp]
  -- A web application using JSP templates
* link:spring-boot-sample-web-tomcat8-jsp[spring-boot-sample-tomcat8-jsp]
  -- A web application using JSP templates with Tomcat 8
* link:spring-boot-sample-web-tomcat-multi-connectors[spring-boot-sample-tomcat-multi-connectors]
  -- A web application using multiple connectors in tomcat, showing how to customize the Tomcat server
* link:spring-boot-sample-web-secure[spring-boot-sample-web-secure]
  -- A web application with typical Security configuration enabling a login form
* link:spring-boot-sample-web-method-security[spring-boot-sample-web-method-security]
  -- A web application with Security configuration enabling global method security
* link:spring-boot-sample-secure[spring-boot-sample-secure]
  -- example showing Spring Security in a non-web application
* link:spring-boot-sample-servlet[spring-boot-sample-servlet]
  -- example showing a "raw" `Servlet` returning plaintext content
* link:spring-boot-sample-ws[spring-boot-sample-ws]
  -- A simple contract-first SOAP web service with Spring Web Services
* link:spring-boot-sample-websocket[spring-boot-sample-websocket]
  -- A web application with Websocket support on the client and server
* link:spring-boot-sample-flyway[spring-boot-sample-flyway]
  -- Example showing database migrations with Flyway
* link:spring-boot-sample-liquibase[spring-boot-sample-liquibase]
  -- Example showing database migrations with Liquibase
* link:spring-boot-sample-amqp[spring-boot-sample-amqp]
  -- Example showing message-oriented application using RabbitMQ
* link:spring-boot-sample-hornetq[spring-boot-sample-hornetq]
  -- Example showing message-oriented application using HornetQ
* link:spring-boot-sample-batch[spring-boot-sample-batch]
  -- Define and run a Batch job in a few lines of code
* link:spring-boot-sample-data-jpa[spring-boot-sample-data-jpa]
  -- Spring Data JPA + Hibernate + HSQLDB
* link:spring-boot-sample-data-mongodb[spring-boot-sample-data-mongodb]
  -- Spring Data Mongo repositories
* link:spring-boot-sample-data-solr[spring-boot-sample-data-solr]
  -- Spring Data Solr repositories
* link:spring-boot-sample-data-redis[spring-boot-sample-data-redis]
  -- Simple usage of Spring Data Redis
* link:spring-boot-sample-data-rest[spring-boot-sample-data-rest]
  -- Crud repositories exposed as REST endpoints
* link:spring-boot-sample-integration[spring-boot-sample-integration]
  -- A spring integration application
* link:spring-boot-sample-profile[spring-boot-sample-profile]
  -- example showing Spring's `@profile` support
* link:spring-boot-sample-parent-context[spring-boot-sample-parent-context]
  -- example showing an `ApplicationContext` with a parent
* link:spring-boot-sample-aop[spring-boot-sample-aop]
  -- shows explicit usage of Spring AOP
* link:spring-boot-sample-traditional[spring-boot-sample-traditional]
  -- shows more traditional WAR packaging  (but also executable using `java -jar`)
* link:spring-boot-sample-xml[spring-boot-sample-xml]
  -- Example show how Spring Boot can be mixed with traditional XML configuration (we
  generally recommend using Java `@Configuration` whenever possible)