├── .mvn ├── jvm.config └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── spring-boot-cli ├── test-samples │ ├── empty.groovy │ ├── book.groovy │ ├── test.groovy │ ├── integration_auto_test.groovy │ ├── app.groovy │ ├── spock.groovy │ ├── book_and_tests.groovy │ ├── integration.groovy │ └── integration_auto.groovy ├── src │ ├── test │ │ ├── resources │ │ │ ├── resource-matcher │ │ │ │ ├── three │ │ │ │ ├── one │ │ │ │ │ ├── fileD │ │ │ │ │ ├── bravo │ │ │ │ │ │ ├── fileC │ │ │ │ │ │ └── nested │ │ │ │ │ │ │ └── fileB │ │ │ │ │ └── alpha │ │ │ │ │ │ └── nested │ │ │ │ │ │ ├── excluded │ │ │ │ │ │ └── fileA │ │ │ │ └── two │ │ │ │ │ ├── .file │ │ │ │ │ ├── fileF │ │ │ │ │ └── bravo │ │ │ │ │ └── fileE │ │ │ ├── init.groovy │ │ │ ├── metadata │ │ │ │ └── service-metadata-2.1.0.txt │ │ │ ├── templates │ │ │ │ └── test.txt │ │ │ ├── grab-samples │ │ │ │ ├── grab.groovy │ │ │ │ ├── customDependencyManagement.groovy │ │ │ │ ├── duplicateDependencyManagementBom.groovy │ │ │ │ └── repository │ │ │ │ │ └── test │ │ │ │ │ ├── child │ │ │ │ │ └── 1.0.0 │ │ │ │ │ │ └── child-1.0.0.pom │ │ │ │ │ └── parent │ │ │ │ │ └── 1.0.0 │ │ │ │ │ └── parent-1.0.0.pom │ │ │ ├── foo.jar │ │ │ ├── schema-all.sql │ │ │ ├── maven-settings │ │ │ │ ├── encrypted │ │ │ │ │ └── .m2 │ │ │ │ │ │ └── settings-security.xml │ │ │ │ └── property-interpolation │ │ │ │ │ └── .m2 │ │ │ │ │ └── settings.xml │ │ │ ├── grab.groovy │ │ │ ├── repro-samples │ │ │ │ ├── grab-ant-builder.groovy │ │ │ │ ├── secure.groovy │ │ │ │ └── data-jpa.groovy │ │ │ ├── classloader-test-app.groovy │ │ │ ├── dir-sample │ │ │ │ └── code │ │ │ │ │ └── app.groovy │ │ │ └── foo.pom │ │ └── plugins │ │ │ └── custom │ │ │ ├── custom │ │ │ └── 0.0.1 │ │ │ │ ├── custom-0.0.1.pom │ │ │ │ └── custom-0.0.1.jar │ │ │ └── META-INF │ │ │ └── services │ │ │ └── org.springframework.boot.cli.CommandFactory │ ├── it │ │ └── resources │ │ │ ├── jar-command │ │ │ ├── public │ │ │ │ └── public.txt │ │ │ ├── root.properties │ │ │ ├── static │ │ │ │ └── static.txt │ │ │ ├── resources │ │ │ │ └── resource.txt │ │ │ ├── templates │ │ │ │ └── template.txt │ │ │ └── bad.groovy │ │ │ ├── war-command │ │ │ ├── root.properties │ │ │ └── war.groovy │ │ │ └── run-command │ │ │ └── quiet.groovy │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── services │ │ │ ├── org.springframework.boot.cli.command.CommandFactory │ │ │ └── org.springframework.boot.cli.compiler.grape.RepositorySystemSessionAutoConfiguration │ │ └── content │ │ ├── shell-completion │ │ ├── zsh │ │ │ └── _spring │ │ └── bash │ │ │ └── spring │ │ └── LICENCE.txt └── samples │ ├── runner.groovy │ ├── beans.groovy │ ├── actuator.groovy │ ├── oauth2.groovy │ ├── secure.groovy │ ├── web.groovy │ ├── runner.xml │ ├── tx.groovy │ ├── app.groovy │ ├── device.groovy │ ├── template.groovy │ ├── retry.groovy │ └── http.groovy ├── spring-boot-test └── src │ └── test │ ├── webapp │ └── inwebapp │ └── resources │ ├── public │ └── inpublic │ ├── static │ └── instatic │ ├── resources │ └── inresources │ ├── META-INF │ ├── resources │ │ └── inmetainfresources │ └── spring.factories │ ├── custom-config-name.properties │ ├── test.groovy │ ├── org │ └── springframework │ │ └── boot │ │ └── test │ │ ├── json │ │ ├── example.json │ │ ├── source.json │ │ ├── different.json │ │ ├── lenient-same.json │ │ ├── types.json │ │ └── simpsons.json │ │ ├── context │ │ └── SpringBootTestGroovyConventionConfigurationTestsContext.groovy │ │ └── SpringApplicationConfigurationGroovyConventionConfigurationTestsContext.groovy │ ├── test-property-source-annotation.properties │ └── application.properties ├── spring-boot └── src │ ├── test │ └── resources │ │ ├── test-banner.txt │ │ ├── custom-location.yml │ │ ├── other.yml │ │ ├── application-node.properties │ │ ├── org │ │ └── springframework │ │ │ └── boot │ │ │ ├── foobar.txt │ │ │ ├── env │ │ │ ├── test-properties.properties │ │ │ └── test-xml.xml │ │ │ ├── context │ │ │ ├── embedded │ │ │ │ ├── conf.properties │ │ │ │ └── exampleEmbeddedWebApplicationConfiguration.xml │ │ │ └── properties │ │ │ │ └── testProperties.xml │ │ │ ├── large.gif │ │ │ ├── colors.gif │ │ │ ├── gradient.gif │ │ │ ├── sample-beans.groovy │ │ │ ├── black-and-white.gif │ │ │ ├── sample-namespace.groovy │ │ │ ├── logging │ │ │ └── logback │ │ │ │ ├── production-profile.xml │ │ │ │ ├── multi-profile-names.xml │ │ │ │ ├── property.xml │ │ │ │ ├── nested.xml │ │ │ │ └── property-default-value.xml │ │ │ ├── diagnostics │ │ │ └── analyzer │ │ │ │ └── nounique │ │ │ │ ├── consumer.xml │ │ │ │ └── producer.xml │ │ │ └── sample-beans.xml │ │ ├── specific.properties │ │ ├── ansi.properties │ │ ├── config │ │ └── specific.properties │ │ ├── application-customdefault.properties │ │ ├── bindtoapplication.properties │ │ ├── application-dev.properties │ │ ├── customprofile-specific.properties │ │ ├── application-other.properties │ │ ├── application-specific.properties │ │ ├── application-includeprofile.properties │ │ ├── enableprofile-other.properties │ │ ├── some.properties │ │ ├── test-banner-with-placeholder.txt │ │ ├── override.properties │ │ ├── specificfile-specificprofile.properties │ │ ├── testyaml.yml │ │ ├── testsetmultiprofiles.yml │ │ ├── customprofile.properties │ │ ├── dispatcher.properties │ │ ├── enableprofileviaapplicationproperties.yml │ │ ├── logging-nondefault.properties │ │ ├── testproperties.properties │ │ ├── application-activeprofilewithsubdoc.yml │ │ ├── specificlocation.properties │ │ ├── testsetmultiprofileswhitespace.yml │ │ ├── moreproperties.properties │ │ ├── test.jks │ │ ├── test.p12 │ │ ├── customprofile-customdefault.properties │ │ ├── enabletwoprofiles.properties │ │ ├── application-morespecific.properties │ │ ├── testsetmultiprofileslist.yml │ │ ├── enableprofile-myprofile.properties │ │ ├── testprofiles-thedefault.properties │ │ ├── enableother.properties │ │ ├── application-activeprofilewithdifferentsubdoc.yml │ │ ├── application.properties │ │ ├── enableprofile.properties │ │ ├── testsetprofiles.yml │ │ ├── activeprofilerepro-without-override.yml │ │ ├── custom-file-log-pattern.xml │ │ ├── activeprofilerepro.yml │ │ ├── custom-console-log-pattern.xml │ │ ├── activeprofilerepro-ordered.yml │ │ ├── testprofiles.yml │ │ ├── testprofilesempty.yml │ │ ├── testprofilesdocument.yml │ │ ├── failure-analyzers-tests │ │ ├── broken.factories │ │ └── basic.factories │ │ ├── logback-broken.xml │ │ ├── logback-nondefault.xml │ │ └── log4j2-nondefault.xml │ └── main │ └── resources │ ├── favicon.ico │ └── org │ └── springframework │ └── boot │ ├── context │ └── embedded │ │ └── tomcat │ │ └── empty-web.xml │ └── logging │ ├── logback │ └── console-appender.xml │ └── java │ └── logging.properties ├── spring-boot-actuator └── src │ └── test │ └── resources │ ├── actuator-docs-index.html │ ├── db │ ├── migration │ │ └── V1__init.sql │ └── changelog │ │ └── db.changelog-master.yaml │ ├── test.jks │ ├── cache │ ├── test-ehcache.xml │ ├── test-hazelcast.xml │ └── test-infinispan.xml │ ├── hazelcast.xml │ ├── logback.xml │ └── git.properties ├── spring-boot-autoconfigure └── src │ └── test │ └── resources │ ├── templates │ ├── home.ftl │ ├── home.vm │ ├── suffixed.thymeleaf │ ├── home.tpl │ ├── included.tpl │ ├── included_fr.tpl │ ├── prefix │ │ ├── prefixed.ftl │ │ ├── prefixed.vm │ │ └── prefixed.tpl │ ├── suffixed.freemarker │ ├── message.ftl │ ├── message.vm │ ├── error │ │ └── 507.ftl │ ├── message.tpl │ ├── template.txt │ ├── suffixed.groovytemplate │ ├── home.html │ ├── data-dialect.html │ ├── includes.tpl │ ├── message.html │ ├── java8time-dialect.html │ ├── view.html │ └── layout.html │ ├── welcome-page │ └── index.html │ ├── custom-templates │ ├── custom.html │ ├── custom.jsp │ ├── custom.ftl │ ├── custom.vm │ ├── suffixed.jsp │ └── custom.tpl │ ├── db │ ├── migration │ │ └── V1__init.sql │ ├── city │ │ └── V1__init.sql │ └── changelog │ │ ├── db.changelog-override.sql │ │ └── db.changelog-master.yaml │ ├── ksLoc │ ├── ksLocP │ ├── mustache-templates │ ├── foo_de.html │ ├── foo.html │ ├── content.html │ ├── home.html │ ├── partial.html │ └── layout.html │ ├── tsLoc │ ├── tsLocP │ ├── test │ ├── messages.properties │ ├── messages2.properties │ └── swedish.properties │ ├── data.sql │ ├── org │ └── springframework │ │ └── boot │ │ └── autoconfigure │ │ ├── web │ │ ├── 4xx │ │ │ └── error │ │ │ │ ├── 402.html │ │ │ │ └── 4xx.html │ │ ├── 5xx │ │ │ └── error │ │ │ │ ├── 4xx.html │ │ │ │ └── 5xx.html │ │ └── exact │ │ │ └── error │ │ │ ├── 404.html │ │ │ └── 4xx.html │ │ ├── info │ │ ├── git-no-data.properties │ │ ├── build-info.properties │ │ ├── git.properties │ │ └── git-epoch.properties │ │ ├── jdbc │ │ ├── data.sql │ │ ├── another.sql │ │ ├── encoding-data.sql │ │ ├── schema.sql │ │ ├── encoding-schema.sql │ │ ├── lexical-schema-bbb.sql │ │ └── lexical-schema-aaa.sql │ │ ├── hazelcast │ │ └── hazelcast-specific.xml │ │ ├── cache │ │ └── hazelcast-specific.xml │ │ └── condition │ │ ├── foo.xml │ │ └── factorybean.xml │ ├── switch-messages.properties │ ├── application-switch-messages.properties │ ├── city.sql │ ├── schema.sql │ ├── logback-test.xml │ ├── META-INF │ ├── build-info.properties │ ├── services │ │ └── javax.cache.spi.CachingProvider │ └── persistence.xml │ ├── ehcache.xml │ ├── logging.properties │ ├── hazelcast.xml │ ├── application.properties │ ├── cache │ └── ehcache-override.xml │ ├── early-init-test.xml │ └── infinispan.xml ├── spring-boot-docs └── src │ └── main │ ├── asciidoc │ ├── .gitignore │ ├── appendix.adoc │ ├── appendix-test-auto-configuration.adoc │ ├── appendix-dependency-versions.adoc │ ├── Guardfile │ └── index-docinfo.xml │ └── docbook │ ├── images │ ├── tip.png │ ├── logo.png │ ├── note.png │ ├── caution.png │ ├── warning.png │ ├── background.png │ └── important.png │ └── css │ ├── manual-singlepage.css │ ├── manual-multipage.css │ └── highlight.css ├── spring-boot-samples ├── spring-boot-sample-profile │ ├── application.yml │ └── src │ │ └── main │ │ └── resources │ │ └── application.yml ├── spring-boot-sample-jersey1 │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-war │ └── src │ │ └── main │ │ └── webapp │ │ ├── webapp.txt │ │ └── WEB-INF │ │ └── custom.properties ├── spring-boot-sample-data-neo4j │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-jooq │ ├── src │ │ └── main │ │ │ └── resources │ │ │ ├── reset.sql │ │ │ └── data.sql │ └── README.adoc ├── spring-boot-sample-testng │ └── src │ │ └── main │ │ └── resources │ │ └── public │ │ └── test.css ├── spring-boot-sample-ant │ └── src │ │ └── test │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-aop │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-simple │ └── src │ │ ├── test │ │ └── resources │ │ │ └── application.properties │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ ├── banner.txt │ │ └── banner.jpg ├── spring-boot-sample-secure │ └── src │ │ ├── main │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── resources │ │ └── test.properties ├── spring-boot-sample-actuator-noweb │ └── src │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ └── banner.txt ├── spring-boot-sample-parent-context │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-actuator-ui │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-atmosphere │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-data-mongodb │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-data-rest │ └── src │ │ ├── main │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── resources │ │ └── application-scratch.properties ├── spring-boot-sample-metrics-dropwizard │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-test │ └── src │ │ ├── test │ │ └── resources │ │ │ ├── application.properties │ │ │ ├── data.sql │ │ │ └── sample │ │ │ └── test │ │ │ └── service │ │ │ └── vehicledetails.json │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-hypermedia-ui │ └── src │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ └── static │ │ └── index.html ├── spring-boot-sample-web-freemarker │ └── src │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── error.ftl │ │ └── welcome.ftl ├── spring-boot-sample-web-mustache │ └── src │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ ├── public │ │ └── error │ │ │ ├── 503.html │ │ │ └── 5xx.html │ │ └── templates │ │ ├── error │ │ └── 507.html │ │ ├── error.html │ │ └── welcome.html ├── spring-boot-sample-jta-bitronix │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-metrics-redis │ ├── docker-compose.yml │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-data-cassandra │ ├── src │ │ ├── main │ │ │ └── resources │ │ │ │ └── application.properties │ │ └── test │ │ │ └── resources │ │ │ └── setup.cql │ └── README.adoc ├── spring-boot-sample-property-validation │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-metrics-opentsdb │ ├── docker-compose.yml │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-amqp │ └── docker-compose.yml ├── spring-boot-sample-traditional │ └── src │ │ ├── main │ │ └── webapp │ │ │ ├── index.html │ │ │ └── WEB-INF │ │ │ └── views │ │ │ └── home.jsp │ │ └── test │ │ └── resources │ │ └── log4j.properties ├── spring-boot-sample-activemq │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-hypermedia │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-session-redis │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-flyway │ ├── src │ │ └── main │ │ │ └── resources │ │ │ ├── application.properties │ │ │ └── db │ │ │ └── migration │ │ │ └── V1__init.sql │ └── README.adoc ├── spring-boot-sample-hypermedia-jpa │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-jta-atomikos │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-jta-narayana │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-data-jpa │ └── src │ │ ├── main │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── resources │ │ └── application-scratch.properties ├── spring-boot-sample-hibernate4 │ └── src │ │ ├── main │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── resources │ │ └── application-scratch.properties ├── spring-boot-sample-hibernate52 │ └── src │ │ ├── test │ │ └── resources │ │ │ └── application-scratch.properties │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-jetty92 │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-liquibase │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ └── README.adoc ├── spring-boot-sample-hypermedia-gson │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-integration │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-web-method-security │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-jta-jndi │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-custom-layout │ └── src │ │ ├── main │ │ └── resources │ │ │ └── META-INF │ │ │ └── spring.factories │ │ └── it │ │ ├── custom │ │ └── verify.groovy │ │ └── default │ │ ├── verify.groovy │ │ └── build.gradle ├── spring-boot-sample-actuator │ └── src │ │ ├── test │ │ └── resources │ │ │ └── application-endpoints.properties │ │ └── main │ │ └── resources │ │ └── logback.xml ├── spring-boot-sample-jetty │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-tomcat-jsp │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── webapp │ │ └── WEB-INF │ │ └── jsp │ │ └── welcome.jsp ├── spring-boot-sample-tomcat7-jsp │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── webapp │ │ └── WEB-INF │ │ └── jsp │ │ └── welcome.jsp ├── spring-boot-sample-web-jsp │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── webapp │ │ └── WEB-INF │ │ └── jsp │ │ └── welcome.jsp ├── spring-boot-sample-tomcat │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-jetty-jsp │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── webapp │ │ └── WEB-INF │ │ └── jsp │ │ └── welcome.jsp ├── spring-boot-sample-jetty8 │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-devtools │ └── src │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── css │ │ │ └── application.css │ │ └── templates │ │ └── layout.html ├── spring-boot-sample-jetty-ssl │ └── src │ │ └── main │ │ └── resources │ │ ├── sample.jks │ │ └── application.properties ├── spring-boot-sample-jetty8-ssl │ └── src │ │ └── main │ │ └── resources │ │ ├── sample.jks │ │ └── application.properties ├── spring-boot-sample-tomcat-ssl │ └── src │ │ └── main │ │ └── resources │ │ ├── sample.jks │ │ └── application.properties ├── spring-boot-sample-tomcat7-ssl │ └── src │ │ └── main │ │ └── resources │ │ ├── sample.jks │ │ └── application.properties ├── spring-boot-sample-web-secure-custom │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-tomcat80-ssl │ └── src │ │ └── main │ │ └── resources │ │ ├── sample.jks │ │ └── application.properties ├── spring-boot-sample-undertow-ssl │ └── src │ │ └── main │ │ └── resources │ │ ├── sample.jks │ │ └── application.properties ├── spring-boot-sample-web-thymeleaf3 │ └── src │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ └── static │ │ └── favicon.ico ├── spring-boot-sample-web-ui │ └── src │ │ └── main │ │ └── resources │ │ ├── static │ │ └── favicon.ico │ │ ├── application.properties │ │ └── logback.xml ├── spring-boot-sample-web-secure-jdbc │ └── src │ │ └── main │ │ └── resources │ │ ├── application.properties │ │ ├── data.sql │ │ └── schema.sql ├── spring-boot-sample-web-groovy-templates │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ └── README.adoc ├── spring-boot-sample-tomcat-multi-connectors │ └── src │ │ └── main │ │ └── resources │ │ ├── sample.jks │ │ └── application.properties ├── spring-boot-sample-secure-oauth2 │ └── src │ │ └── main │ │ └── resources │ │ ├── data-h2.sql │ │ └── application.properties ├── spring-boot-sample-secure-oauth2-resource │ └── src │ │ └── main │ │ └── resources │ │ ├── data-h2.sql │ │ └── application.properties ├── spring-boot-sample-data-couchbase │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-web-secure │ └── src │ │ └── main │ │ └── resources │ │ ├── schema.sql │ │ └── application.properties ├── spring-boot-sample-undertow │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-cache │ └── src │ │ └── main │ │ └── resources │ │ ├── ehcache.xml │ │ ├── infinispan.xml │ │ ├── application.properties │ │ ├── hazelcast.xml │ │ └── ehcache3.xml ├── spring-boot-sample-data-elasticsearch │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-logback │ └── src │ │ └── main │ │ └── resources │ │ └── logback-spring.xml ├── spring-boot-sample-actuator-log4j2 │ └── src │ │ └── main │ │ └── resources │ │ └── application.properties ├── spring-boot-sample-test-nomockito │ └── src │ │ └── main │ │ └── java │ │ └── sample │ │ └── testnomockito │ │ └── SampleTestNoMockitoApplication.java ├── spring-boot-sample-web-secure-github │ └── src │ │ └── main │ │ └── resources │ │ ├── application.yml │ │ └── static │ │ └── index.html ├── spring-boot-sample-jpa │ └── src │ │ └── main │ │ └── resources │ │ └── templates │ │ └── index.ftl └── spring-boot-sample-webservices │ └── README.adoc ├── spring-boot-actuator-docs └── src │ ├── restdoc │ └── resources │ │ ├── db │ │ ├── migration │ │ │ └── V1__initialize.sql │ │ └── changelog │ │ │ └── db.changelog-master.yaml │ │ ├── application.properties │ │ ├── org │ │ └── springframework │ │ │ └── restdocs │ │ │ └── templates │ │ │ └── http-response.snippet │ │ └── templates │ │ └── endpoints.adoc.tpl │ └── main │ └── asciidoc │ ├── images │ └── hal-browser.png │ ├── flyway.adoc │ ├── liquibase.adoc │ ├── mappings.adoc │ ├── beans.adoc │ ├── trace.adoc │ └── info.adoc ├── spring-boot-tools ├── spring-boot-antlib │ └── src │ │ └── it │ │ └── sample │ │ └── src │ │ └── main │ │ └── resources │ │ └── foo ├── spring-boot-loader │ └── src │ │ ├── test │ │ └── resources │ │ │ ├── root │ │ │ └── META-INF │ │ │ │ ├── MANIFEST.MF │ │ │ │ └── spring │ │ │ │ └── application.xml │ │ │ ├── bar.properties │ │ │ ├── BOOT-INF │ │ │ └── classes │ │ │ │ ├── application.properties │ │ │ │ └── foo.properties │ │ │ ├── jars │ │ │ └── app.jar │ │ │ ├── more-jars │ │ │ └── app.jar │ │ │ └── nested-jars │ │ │ └── app.jar │ │ └── it │ │ ├── executable-props │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ │ └── executable-dir │ │ └── application.properties ├── spring-boot-maven-plugin │ └── src │ │ ├── it │ │ ├── war │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── webapp │ │ │ │ │ └── index.html │ │ │ └── verify.groovy │ │ ├── start-stop │ │ │ ├── invoker.properties │ │ │ └── verify.groovy │ │ ├── jar-custom-dir │ │ │ ├── invoker.properties │ │ │ └── verify.groovy │ │ ├── start-stop-fork │ │ │ ├── invoker.properties │ │ │ └── verify.groovy │ │ ├── start-stop-skip │ │ │ ├── invoker.properties │ │ │ └── verify.groovy │ │ ├── war-reactor │ │ │ └── war │ │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── webapp │ │ │ │ └── index.html │ │ ├── war-with-unpack │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── webapp │ │ │ │ └── index.html │ │ ├── jar-attach-disabled │ │ │ └── invoker.properties │ │ ├── start-stop-automatic-fork │ │ │ ├── invoker.properties │ │ │ └── verify.groovy │ │ ├── jar-custom-launcher │ │ │ ├── src │ │ │ │ └── launcher │ │ │ │ │ └── custom.script │ │ │ └── verify.groovy │ │ ├── run │ │ │ └── verify.groovy │ │ ├── run-fork │ │ │ └── verify.groovy │ │ ├── run-exclude │ │ │ └── verify.groovy │ │ ├── run-jvmargs │ │ │ └── verify.groovy │ │ ├── run-use-test-classpath │ │ │ └── verify.groovy │ │ ├── run-profiles │ │ │ └── verify.groovy │ │ ├── run-profiles-fork │ │ │ └── verify.groovy │ │ ├── jar-system-scope │ │ │ └── sample-1.0.0.jar │ │ ├── module │ │ │ └── verify.groovy │ │ ├── prop │ │ │ └── verify.groovy │ │ ├── jar-system-scope-default │ │ │ └── sample-1.0.0.jar │ │ ├── jar │ │ │ └── verify.groovy │ │ ├── jar-non-executable │ │ │ └── verify.groovy │ │ ├── jar-create-dir │ │ │ └── verify.groovy │ │ ├── run-working-directory │ │ │ └── verify.groovy │ │ ├── jar-executable │ │ │ └── verify.groovy │ │ ├── run-devtools │ │ │ └── verify.groovy │ │ ├── run-disable-fork │ │ │ └── verify.groovy │ │ ├── jar-skip │ │ │ └── verify.groovy │ │ ├── build-info-cutom-file │ │ │ └── verify.groovy │ │ ├── build-info │ │ │ └── verify.groovy │ │ ├── jar-exclude-artifact │ │ │ └── verify.groovy │ │ └── jar-lib-name-conflict │ │ │ └── another-acme-lib │ │ │ └── pom.xml │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── m2e │ │ └── lifecycle-mapping-metadata.xml ├── spring-boot-configuration-metadata │ └── src │ │ └── test │ │ └── resources │ │ └── metadata │ │ ├── configuration-metadata-empty.json │ │ ├── configuration-metadata-invalid.json │ │ ├── configuration-metadata-root.json │ │ ├── configuration-metadata-deprecated.json │ │ └── configuration-metadata-foo2.json ├── spring-boot-gradle-plugin │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gradle-plugins │ │ ├── org.springframework.boot.properties │ │ └── spring-boot.properties └── spring-boot-configuration-processor │ └── src │ ├── main │ └── resources │ │ └── META-INF │ │ └── services │ │ └── javax.annotation.processing.Processor │ └── test │ ├── resources │ └── org │ │ └── springframework │ │ └── boot │ │ └── configurationsample │ │ └── incremental │ │ └── BarProperties.snippet │ └── java │ └── org │ └── springframework │ └── boot │ └── configurationsample │ └── fieldvalues │ └── FieldValues.class ├── spring-boot-test-autoconfigure └── src │ └── test │ └── resources │ ├── web-mvc-test-messages.properties │ └── org │ └── springframework │ └── boot │ └── test │ └── autoconfigure │ ├── jdbc │ └── schema.sql │ └── json │ └── example.json ├── spring-boot-starters ├── spring-boot-starter-jooq │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-mustache │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-batch │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-jta-bitronix │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-tomcat │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-actuator │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-cache │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-neo4j │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-hateoas │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-jetty │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-mobile │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-web-services │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-websocket │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-amqp │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-mongodb │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-redis │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-mail │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-validation │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-aop │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-cassandra │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-solr │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-jdbc │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-log4j2 │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-social-facebook │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-social-linkedin │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-social-twitter │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-activemq │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-artemis │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-couchbase │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-freemarker │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-elasticsearch │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-web │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-rest │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-groovy-templates │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-jta-narayana │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-logging │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-security │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-thymeleaf │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-data-jpa │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-jta-atomikos │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-jersey │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-integration │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides ├── spring-boot-starter-test │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── spring.provides └── spring-boot-starter-cloud-connectors │ └── src │ └── main │ └── resources │ └── META-INF │ └── spring.provides ├── spring-boot-devtools └── src │ ├── test │ └── resources │ │ ├── user-home │ │ └── .spring-boot-devtools.properties │ │ └── org │ │ └── springframework │ │ └── boot │ │ └── devtools │ │ ├── restart │ │ └── classloader │ │ │ └── Parent.txt │ │ └── settings │ │ ├── spring-devtools-exclude.properties │ │ └── spring-devtools-include.properties │ └── main │ └── resources │ ├── META-INF │ └── spring-devtools.properties │ └── org │ └── springframework │ └── boot │ └── devtools │ └── remote-banner.txt ├── spring-boot-integration-tests ├── spring-boot-gradle-tests │ └── src │ │ └── test │ │ └── resources │ │ ├── boot-run-resources │ │ ├── src │ │ │ └── main │ │ │ │ └── resources │ │ │ │ └── test.txt │ │ └── build.gradle │ │ ├── executable-jar │ │ ├── task.script │ │ └── extension.script │ │ ├── multi-project-common-file-dependency │ │ ├── settings.gradle │ │ └── lib │ │ │ └── foo.jar │ │ ├── multi-project-runtime-project-dependency │ │ ├── settings.gradle │ │ └── build.gradle │ │ ├── multi-project-transitive-file-dependency │ │ ├── settings.gradle │ │ └── common │ │ │ └── lib │ │ │ └── foo.jar │ │ ├── foo.jar │ │ ├── deprecated-plugin.gradle │ │ ├── flatdir.gradle │ │ ├── nojar.gradle │ │ ├── classifier.gradle │ │ ├── classifier-extension.gradle │ │ └── spring-loaded-old-gradle │ │ └── build.gradle └── spring-boot-launch-script-tests │ └── src │ └── test │ └── resources │ ├── scripts │ ├── status-when-stopped.sh │ ├── stop-when-stopped.sh │ ├── basic-launch.sh │ ├── restart-when-stopped.sh │ ├── start-when-stopped.sh │ ├── start-when-started.sh │ ├── launch-with-single-command-line-argument.sh │ ├── status-when-started.sh │ ├── status-when-killed.sh │ ├── launch-with-multiple-command-line-arguments.sh │ ├── launch-with-single-java-opt.sh │ ├── launch-with-single-run-arg.sh │ ├── restart-when-started.sh │ ├── launch-with-use-of-start-stop-daemon-disabled.sh │ ├── launch-with-multiple-run-args.sh │ ├── launch-with-multiple-java-opts.sh │ ├── launch-with-relative-log-folder.sh │ └── launch-with-relative-pid-folder.sh │ ├── logback.xml │ └── conf │ └── Ubuntu │ ├── trusty-20160914 │ └── Dockerfile │ └── xenial-20160914 │ └── Dockerfile ├── .github └── PULL_REQUEST_TEMPLATE.md ├── spring-boot-dependencies └── src │ └── main │ └── xslt │ └── single-project.xsl ├── .travis.yml └── .gitignore /.mvn/jvm.config: -------------------------------------------------------------------------------- 1 | -Xmx512m -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/empty.groovy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/webapp/inwebapp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/public/inpublic: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/static/instatic: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/three: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/resources/inresources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/jar-command/public/public.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/jar-command/root.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/jar-command/static/static.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/war-command/root.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/one/fileD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/two/.file: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/two/fileF: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/test-banner.txt: -------------------------------------------------------------------------------- 1 | Running a Test! -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/actuator-docs-index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/db/migration/V1__init.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/home.ftl: -------------------------------------------------------------------------------- 1 | home -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/home.vm: -------------------------------------------------------------------------------- 1 | home -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/welcome-page/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/jar-command/resources/resource.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/init.groovy: -------------------------------------------------------------------------------- 1 | println "Hello Init" -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/one/bravo/fileC: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/two/bravo/fileE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/asciidoc/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.css 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/custom-location.yml: -------------------------------------------------------------------------------- 1 | foo: ${fooValue} -------------------------------------------------------------------------------- /spring-boot/src/test/resources/other.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: other 3 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/custom-templates/custom.jsp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/db/migration/V1__init.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/suffixed.thymeleaf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/plugins/custom/custom/0.0.1/custom-0.0.1.pom: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/metadata/service-metadata-2.1.0.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/templates/test.txt: -------------------------------------------------------------------------------- 1 | Hello ${message}! -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/META-INF/resources/inmetainfresources: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-node.properties: -------------------------------------------------------------------------------- 1 | bar: spam 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/foobar.txt: -------------------------------------------------------------------------------- 1 | Foo Bar -------------------------------------------------------------------------------- /spring-boot/src/test/resources/specific.properties: -------------------------------------------------------------------------------- 1 | my.property=root 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl: -------------------------------------------------------------------------------- 1 | custom -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm: -------------------------------------------------------------------------------- 1 | custom -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/custom-templates/suffixed.jsp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/ksLoc: -------------------------------------------------------------------------------- 1 | Test file for Kafka. 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/ksLocP: -------------------------------------------------------------------------------- 1 | Test file for Kafka. 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/home.tpl: -------------------------------------------------------------------------------- 1 | yield "home" -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/tsLoc: -------------------------------------------------------------------------------- 1 | Test file for Kafka. 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/tsLocP: -------------------------------------------------------------------------------- 1 | Test file for Kafka. 2 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/one/alpha/nested/excluded: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/one/alpha/nested/fileA: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/resource-matcher/one/bravo/nested/fileB: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-profile/application.yml: -------------------------------------------------------------------------------- 1 | hello: Bonjour -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/restdoc/resources/db/migration/V1__initialize.sql: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/included.tpl: -------------------------------------------------------------------------------- 1 | yield "here" -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/included_fr.tpl: -------------------------------------------------------------------------------- 1 | yield "voila" -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.ftl: -------------------------------------------------------------------------------- 1 | prefixed -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.vm: -------------------------------------------------------------------------------- 1 | prefixed -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/suffixed.freemarker: -------------------------------------------------------------------------------- 1 | suffixed -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/test/messages.properties: -------------------------------------------------------------------------------- 1 | foo=bar 2 | -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/jar-command/templates/template.txt: -------------------------------------------------------------------------------- 1 | Goodbye ${world} -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/custom-config-name.properties: -------------------------------------------------------------------------------- 1 | test.foo=bar 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-antlib/src/it/sample/src/main/resources/foo: -------------------------------------------------------------------------------- 1 | FOO 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/root/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/ansi.properties: -------------------------------------------------------------------------------- 1 | spring.output.ansi.enabled=never 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/config/specific.properties: -------------------------------------------------------------------------------- 1 | my.property=specific 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl: -------------------------------------------------------------------------------- 1 | yield "custom" -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/data.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO BAR VALUES (1, 'Andy'); -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html: -------------------------------------------------------------------------------- 1 | Hello {{World}} -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/message.ftl: -------------------------------------------------------------------------------- 1 | Message: ${greeting} -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/message.vm: -------------------------------------------------------------------------------- 1 | Message: ${greeting} -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jersey1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-war/src/main/webapp/webapp.txt: -------------------------------------------------------------------------------- 1 | Hello WebApp 2 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/test.groovy: -------------------------------------------------------------------------------- 1 | beans { 2 | foo String, "World" 3 | } -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.tpl: -------------------------------------------------------------------------------- 1 | yield "prefixed" -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/test/messages2.properties: -------------------------------------------------------------------------------- 1 | foo-foo=bar-bar 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-neo4j/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jooq/src/main/resources/reset.sql: -------------------------------------------------------------------------------- 1 | DROP ALL OBJECTS; -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-testng/src/main/resources/public/test.css: -------------------------------------------------------------------------------- 1 | p.{} 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-customdefault.properties: -------------------------------------------------------------------------------- 1 | customdefault=true 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/bindtoapplication.properties: -------------------------------------------------------------------------------- 1 | spring.main.banner-mode=off 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/error/507.ftl: -------------------------------------------------------------------------------- 1 | We are out of storage 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/message.tpl: -------------------------------------------------------------------------------- 1 | yield "Message: ${greeting}" -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-ant/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | name: Phil -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-aop/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | name: Phil -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-simple/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | name: Phil -------------------------------------------------------------------------------- /spring-boot-test-autoconfigure/src/test/resources/web-mvc-test-messages.properties: -------------------------------------------------------------------------------- 1 | a: alpha 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/war/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-dev.properties: -------------------------------------------------------------------------------- 1 | my.property=fromdevpropertiesfile 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/customprofile-specific.properties: -------------------------------------------------------------------------------- 1 | customprofile-specific=true 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/template.txt: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/book.groovy: -------------------------------------------------------------------------------- 1 | class Book { 2 | String author 3 | String title 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-secure/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # debug: true -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-simple/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | name: Phil 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-jooq/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: jooq -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-other.properties: -------------------------------------------------------------------------------- 1 | my.property=fromotherpropertiesfile 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-specific.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.include=morespecific 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/suffixed.groovytemplate: -------------------------------------------------------------------------------- 1 | yield """ 2 | suffixed 3 | """ -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/bar.properties: -------------------------------------------------------------------------------- 1 | loader.main: my.BarApplication 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean verify -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-includeprofile.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.include=specific 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/enableprofile-other.properties: -------------------------------------------------------------------------------- 1 | other.property=fromotherpropertiesfile 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/env/test-properties.properties: -------------------------------------------------------------------------------- 1 | test=properties 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/some.properties: -------------------------------------------------------------------------------- 1 | foo=spam 2 | bar=some 3 | spam=bucket 4 | the-name=name 5 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/test-banner-with-placeholder.txt: -------------------------------------------------------------------------------- 1 | Running a Test! 2 | 3 | ${test.property} -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/home.html: -------------------------------------------------------------------------------- 1 | Home -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/test/swedish.properties: -------------------------------------------------------------------------------- 1 | foo=Some text with some swedish öäå! 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-secure/src/test/resources/test.properties: -------------------------------------------------------------------------------- 1 | security.user.password=password -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-war/src/main/webapp/WEB-INF/custom.properties: -------------------------------------------------------------------------------- 1 | demo.string.value=demo 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-mustache/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: jmustache -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-custom-dir/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean install -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop-fork/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean verify -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop-skip/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean verify -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/war-reactor/war/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/war-with-unpack/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/context/embedded/conf.properties: -------------------------------------------------------------------------------- 1 | context=/example 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/override.properties: -------------------------------------------------------------------------------- 1 | foo=bar 2 | bar=override 3 | SPAM=BUCKET 4 | THE_NAME=NAME 5 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/specificfile-specificprofile.properties: -------------------------------------------------------------------------------- 1 | my.property=fromspecificpropertiesfile 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testyaml.yml: -------------------------------------------------------------------------------- 1 | --- 2 | my: 3 | property: fromyamlfile 4 | array: [1,2,3] 5 | -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/4xx/error/402.html: -------------------------------------------------------------------------------- 1 | 4xx/402 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/4xx/error/4xx.html: -------------------------------------------------------------------------------- 1 | 4xx/4xx 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/5xx/error/4xx.html: -------------------------------------------------------------------------------- 1 | 5xx/4xx 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/5xx/error/5xx.html: -------------------------------------------------------------------------------- 1 | 5xx/5xx 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/switch-messages.properties: -------------------------------------------------------------------------------- 1 | spring.messages.basename:test/messages 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/data-dialect.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/grab-samples/grab.groovy: -------------------------------------------------------------------------------- 1 | @Grab('joda-time') 2 | class GrabTest { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot-devtools/src/test/resources/user-home/.spring-boot-devtools.properties: -------------------------------------------------------------------------------- 1 | spring.thymeleaf.cache=true 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-actuator-noweb/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | service.name=Phil 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-parent-context/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | service.greeting: Hello -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-batch/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-batch-core -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-jta-bitronix/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: btm 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-tomcat/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: tomcat-embed-core -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/it/executable-props/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | message: World -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-attach-disabled/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean install -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testsetmultiprofiles.yml: -------------------------------------------------------------------------------- 1 | --- 2 | spring: 3 | profiles: 4 | active: dev,healthcheck -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/info/git-no-data.properties: -------------------------------------------------------------------------------- 1 | foo=bar 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/exact/error/404.html: -------------------------------------------------------------------------------- 1 | exact/404 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/web/exact/error/4xx.html: -------------------------------------------------------------------------------- 1 | exact/4xx 2 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/includes.tpl: -------------------------------------------------------------------------------- 1 | yield "include" 2 | include template: "included.tpl" -------------------------------------------------------------------------------- /spring-boot-devtools/src/test/resources/org/springframework/boot/devtools/restart/classloader/Parent.txt: -------------------------------------------------------------------------------- 1 | fromparent 2 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/boot-run-resources/src/main/resources/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/executable-jar/task.script: -------------------------------------------------------------------------------- 1 | Custom task script 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-actuator-ui/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | health.diskspace.enabled: false -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-atmosphere/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.servlet-path=/home/* 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-mongodb/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.mongodb.port=0 -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-rest/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.rest.base-path=/api -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-metrics-dropwizard/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | service.name: Phil 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-test/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.test.mockmvc.print=none 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-actuator/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-boot-actuator -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-cache/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-context-support -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-neo4j/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-data-neo4j -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-hateoas/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-hateoas 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-jetty/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: jetty-webapp,jetty-jsp -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-mobile/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-mobile-device -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-web-services/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-ws-core -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-websocket/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-websocket -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop-automatic-fork/invoker.properties: -------------------------------------------------------------------------------- 1 | invoker.goals=clean verify -------------------------------------------------------------------------------- /spring-boot/src/test/resources/customprofile.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.active=customdefault 2 | customprofile=true 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/dispatcher.properties: -------------------------------------------------------------------------------- 1 | main.sources: org.springframework.boot.main.DispatcherMainTests 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/enableprofileviaapplicationproperties.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | include: a 4 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/application-switch-messages.properties: -------------------------------------------------------------------------------- 1 | spring.messages.basename:test/messages 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hypermedia-ui/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | management.context-path=/admin -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-freemarker/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | application.message: Hello, Andy -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-mustache/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | application.message: Hello, Andy -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-amqp/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-rabbit,spring-amqp -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-mongodb/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-data-mongodb -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-redis/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-data-redis,jedis -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-mail/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-context-support,mail -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-validation/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: hibernate-validator -------------------------------------------------------------------------------- /spring-boot/src/test/resources/logging-nondefault.properties: -------------------------------------------------------------------------------- 1 | handlers = java.util.logging.ConsoleHandler 2 | .level = INFO 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testproperties.properties: -------------------------------------------------------------------------------- 1 | my.property=frompropertiesfile 2 | the.property=frompropertiesfile 3 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/restdoc/resources/application.properties: -------------------------------------------------------------------------------- 1 | # management.context-path=/admin 2 | logging.path: target/logs -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/data.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO FOO VALUES (1, 'Andy'); -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/executable-jar/extension.script: -------------------------------------------------------------------------------- 1 | Custom extension script 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jta-bitronix/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.artemis.embedded.queues=accounts -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-aop/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-aop,aspectjrt,aspectjweaver -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-cassandra/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-data-cassandra -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-solr/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-data-solr, solr-solrj -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-jdbc/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-jdbc,spring-tx,tomcat-jdbc -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-log4j2/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: log4j2,log4j-slf4j-impl 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-social-facebook/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-social-facebook -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-social-linkedin/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-social-linkedin -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-social-twitter/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-social-twitter -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-boot,spring-context,spring-beans -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/BOOT-INF/classes/application.properties: -------------------------------------------------------------------------------- 1 | loader.main: demo.Application 2 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-activeprofilewithsubdoc.yml: -------------------------------------------------------------------------------- 1 | spring.profiles: activeprofilewithsubdoc 2 | foobar: baz 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/specificlocation.properties: -------------------------------------------------------------------------------- 1 | my.property=fromspecificlocation 2 | the.property=fromspecificlocation 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testsetmultiprofileswhitespace.yml: -------------------------------------------------------------------------------- 1 | --- 2 | spring: 3 | profiles: 4 | active: dev, healthcheck -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/mustache-templates/content.html: -------------------------------------------------------------------------------- 1 |

A Message

2 |
{{message}} at {{time}}
3 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/plugins/custom/META-INF/services/org.springframework.boot.cli.CommandFactory: -------------------------------------------------------------------------------- 1 | cli.command.CustomCommandFactory 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-metrics-redis/docker-compose.yml: -------------------------------------------------------------------------------- 1 | redis: 2 | image: redis 3 | ports: 4 | - "6379:6379" 5 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-activemq/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: activemq-broker,spring-jms 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-artemis/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: artemis-jms-client,spring-jms 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-couchbase/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-data-couchbase 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-freemarker/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: freemarker,spring-context-support -------------------------------------------------------------------------------- /spring-boot/src/test/resources/moreproperties.properties: -------------------------------------------------------------------------------- 1 | my.property=frommorepropertiesfile 2 | the.property=frommorepropertiesfile 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/test.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot/src/test/resources/test.jks -------------------------------------------------------------------------------- /spring-boot/src/test/resources/test.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot/src/test/resources/test.p12 -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/city.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO CITY (NAME, STATE, COUNTRY, MAP) values ('Washington', 'DC', 'US', 'Google'); -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/message.html: -------------------------------------------------------------------------------- 1 | Message: Hello -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/foo.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-cli/src/test/resources/foo.jar -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-elasticsearch/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-data-elasticsearch 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-web/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-webmvc,spring-web,jackson-databind -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/json/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "Spring", 3 | "age" : 123 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "bar" 3 | } -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-custom-launcher/src/launcher/custom.script: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "Hello {{name}}" 4 | -------------------------------------------------------------------------------- /spring-boot/src/main/resources/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot/src/main/resources/favicon.ico -------------------------------------------------------------------------------- /spring-boot/src/test/resources/customprofile-customdefault.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.include=specific 2 | customprofile-customdefault=true 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/enabletwoprofiles.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.active=myprofile,another 2 | my.property=fromtwopropertiesfile 3 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/schema-all.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE FOO ( 2 | id INTEGER IDENTITY PRIMARY KEY, 3 | name VARCHAR(30), 4 | ); -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-cassandra/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.cassandra.keyspace-name=mykeyspace 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-rest/src/test/resources/application-scratch.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url: jdbc:h2:mem:restdb 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-property-validation/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | sample.host=192.168.0.1 2 | sample.port=7070 -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-test/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:mysql://localhost/doesnotexist 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-rest/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-hateoas,spring-data-rest-webmvc 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-groovy-templates/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: freemarker,spring-context-support -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-jta-narayana/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: jta, jdbc, jms, jboss-transaction-spi -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-logging/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: logback-classic,jcl-over-slf4j,jul-to-slf4j -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-security/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-security-web,spring-security-config -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-thymeleaf/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: thymeleaf-spring4,thymeleaf-layout-dialect -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-morespecific.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.include=yetmorespecific 2 | spring.profiles.active=missing 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testsetmultiprofileslist.yml: -------------------------------------------------------------------------------- 1 | --- 2 | spring: 3 | profiles: 4 | active: 5 | - dev 6 | - healthcheck -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/test.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-actuator/src/test/resources/test.jks -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/schema.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE BAR ( 2 | id INTEGER IDENTITY PRIMARY KEY, 3 | name VARCHAR(30), 4 | ); -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/java8time-dialect.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/images/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-docs/src/main/docbook/images/tip.png -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-metrics-opentsdb/docker-compose.yml: -------------------------------------------------------------------------------- 1 | opentsdb: 2 | image: lancope/opentsdb 3 | ports: 4 | - "4242:4242" 5 | -------------------------------------------------------------------------------- /spring-boot-test-autoconfigure/src/test/resources/org/springframework/boot/test/autoconfigure/jdbc/schema.sql: -------------------------------------------------------------------------------- 1 | create table example (id int, name varchar); -------------------------------------------------------------------------------- /spring-boot-test-autoconfigure/src/test/resources/org/springframework/boot/test/autoconfigure/json/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "value" : "spring" 3 | } 4 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/enableprofile-myprofile.properties: -------------------------------------------------------------------------------- 1 | my.property=fromprofilepropertiesfile 2 | the.property=fromprofilepropertiesfile 3 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testprofiles-thedefault.properties: -------------------------------------------------------------------------------- 1 | my.property=fromdefaultpropertiesfile 2 | the.property=fromdefaultpropertiesfile 3 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-docs/src/main/docbook/images/logo.png -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/images/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-docs/src/main/docbook/images/note.png -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-amqp/docker-compose.yml: -------------------------------------------------------------------------------- 1 | rabbitmq: 2 | image: rabbitmq 3 | ports: 4 | - "5672:5672" 5 | - "15672:15672" 6 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hypermedia-ui/src/main/resources/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-traditional/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello

4 | Hello World! 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-data-jpa/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-orm,hibernate-entity-manager,spring-data-jpa -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/BOOT-INF/classes/foo.properties: -------------------------------------------------------------------------------- 1 | foo: Application 2 | loader.main: my.${foo} 3 | loader.path: etc 4 | -------------------------------------------------------------------------------- /spring-boot-cli/src/main/resources/META-INF/services/org.springframework.boot.cli.command.CommandFactory: -------------------------------------------------------------------------------- 1 | org.springframework.boot.cli.DefaultCommandFactory 2 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/images/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-docs/src/main/docbook/images/caution.png -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-docs/src/main/docbook/images/warning.png -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/settings.gradle: -------------------------------------------------------------------------------- 1 | 2 | include 'one' 3 | include 'two' -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-runtime-project-dependency/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'projectA', 'projectB' -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-activemq/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.activemq.in-memory=true 2 | spring.activemq.pool.enabled=false 3 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hypermedia/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # management.context-path=/admin 2 | endpoints.docs.curies.enabled=true -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-session-redis/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.session.store-type=redis 2 | server.session.timeout=5 3 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-test/src/test/resources/data.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO USER(ID, USERNAME, VIN) values (123, 'sframework', '01234567890123456'); 2 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-test/src/test/resources/sample/test/service/vehicledetails.json: -------------------------------------------------------------------------------- 1 | { 2 | "make" : "Honda", 3 | "model" : "Civic" 4 | } 5 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-jta-atomikos/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: transactions-jms,transactions-jta,transactions-jdbc 2 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/json/source.json: -------------------------------------------------------------------------------- 1 | { 2 | "spring":[ 3 | "boot", 4 | "framework" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/enableother.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.active=other 2 | my.property=fromenableotherpropertiesfile 3 | one.more=${my.property} 4 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-docs/src/main/docbook/images/background.png -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/images/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-docs/src/main/docbook/images/important.png -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-flyway/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.jpa.hibernate.ddl-auto=validate 2 | 3 | spring.h2.console.enabled=true -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hypermedia-jpa/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | management.context-path=/admin 2 | endpoints.docs.curies.enabled=true -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jta-atomikos/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | logging.level.com.atomikos=WARN 2 | spring.artemis.embedded.queues=accounts -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jta-narayana/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.artemis.embedded.queues=accounts 2 | logging.level.com.arjuna=INFO -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-profile/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | name: Phil 2 | 3 | --- 4 | 5 | spring: 6 | profiles: goodbye,dev 7 | name: Everyone -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/json/different.json: -------------------------------------------------------------------------------- 1 | { 2 | "gnirps":[ 3 | "boot", 4 | "framework" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/json/lenient-same.json: -------------------------------------------------------------------------------- 1 | { 2 | "spring":[ 3 | "framework", 4 | "boot" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run/verify.groovy: -------------------------------------------------------------------------------- 1 | def file = new File(basedir, "build.log") 2 | return file.text.contains("I haz been run") 3 | 4 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application-activeprofilewithdifferentsubdoc.yml: -------------------------------------------------------------------------------- 1 | --- 2 | spring.profiles: activeprofilewithdifferentsubdoc2 3 | foobar: baz 4 | --- 5 | -------------------------------------------------------------------------------- /spring-boot-devtools/src/test/resources/org/springframework/boot/devtools/settings/spring-devtools-exclude.properties: -------------------------------------------------------------------------------- 1 | restart.exclude.a=a.* 2 | restart.exclude.b=b.* 3 | -------------------------------------------------------------------------------- /spring-boot-devtools/src/test/resources/org/springframework/boot/devtools/settings/spring-devtools-include.properties: -------------------------------------------------------------------------------- 1 | restart.include.a=a.* 2 | restart.include.b=b.* 3 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/settings.gradle: -------------------------------------------------------------------------------- 1 | 2 | include 'main' 3 | include 'common' -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-jpa/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.h2.console.enabled=true 2 | 3 | logging.level.org.hibernate.SQL=debug 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-jpa/src/test/resources/application-scratch.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.name=scratchdb 2 | spring.jmx.default-domain=jpa.sample -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hibernate4/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.h2.console.enabled=true 2 | 3 | logging.level.org.hibernate.SQL=debug 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hibernate4/src/test/resources/application-scratch.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.name=scratchdb 2 | spring.jmx.default-domain=jpa.sample -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hibernate52/src/test/resources/application-scratch.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.name=scratchdb 2 | spring.jmx.default-domain=jpa.sample -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty92/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.compression.enabled: true 2 | server.compression.min-response-size: 1 3 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.jpa.hibernate.ddl-auto=none 2 | 3 | spring.h2.console.enabled=true 4 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-jersey/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: jersey-container-servlet-core,jersey-container-servlet,jersey-server -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/test-property-source-annotation.properties: -------------------------------------------------------------------------------- 1 | property-source-location=baz 2 | a=property-source-location 3 | b=property-source-location 4 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-fork/verify.groovy: -------------------------------------------------------------------------------- 1 | def file = new File(basedir, "build.log") 2 | return file.text.contains("I haz been run") 3 | 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hibernate52/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.h2.console.enabled=true 2 | 3 | logging.level.org.hibernate.SQL=debug 4 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-exclude/verify.groovy: -------------------------------------------------------------------------------- 1 | def file = new File(basedir, "build.log") 2 | return file.text.contains("I haz been run") 3 | 4 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-jvmargs/verify.groovy: -------------------------------------------------------------------------------- 1 | def file = new File(basedir, "build.log") 2 | return file.text.contains("I haz been run") 3 | 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-hypermedia-gson/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # management.context-path=/admin 2 | spring.http.converters.preferred-json-mapper: gson -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-integration/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | logging.level.org.springframework.integration.file: DEBUG 2 | service.greeting: Hello 3 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-method-security/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.thymeleaf.cache: false 2 | logging.level.org.springframework.security: INFO -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-integration/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-integration-core,spring-integration-java-dsl,spring-integration-jmx -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/context/SpringBootTestGroovyConventionConfigurationTestsContext.groovy: -------------------------------------------------------------------------------- 1 | beans { 2 | foo String, "World" 3 | } 4 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/runner.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | class Runner implements CommandLineRunner { 4 | 5 | void run(String... args) { 6 | print "Hello World!" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/css/manual-singlepage.css: -------------------------------------------------------------------------------- 1 | @IMPORT url("manual.css"); 2 | 3 | body { 4 | background: url("../images/background.png") no-repeat center top; 5 | } 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-cassandra/README.adoc: -------------------------------------------------------------------------------- 1 | 2 | 3 | CREATE KEYSPACE mykeyspace WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; 4 | 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jta-jndi/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.jpa.generate-ddl=true 2 | spring.datasource.jndi-name=java:jboss/datasources/bootdemo 3 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-simple/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | ${Ansi.GREEN} :: Sample application build with Spring Boot${spring-boot.formatted-version} ::${Ansi.DEFAULT} 2 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-test/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-test,spring-boot,junit,mockito,hamcrest-library,assertj,jsonassert,json-path 2 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/SpringApplicationConfigurationGroovyConventionConfigurationTestsContext.groovy: -------------------------------------------------------------------------------- 1 | beans { 2 | foo String, "World" 3 | } 4 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/it/executable-dir/application.properties: -------------------------------------------------------------------------------- 1 | loader.path: target,target/lib,. 2 | loader.main: org.springframework.boot.load.it.jar.EmbeddedJarStarter -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-use-test-classpath/verify.groovy: -------------------------------------------------------------------------------- 1 | def file = new File(basedir, "build.log") 2 | return file.text.contains("I haz been run") 3 | 4 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot/src/test/resources/org/springframework/boot/large.gif -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/main/asciidoc/images/hal-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-actuator-docs/src/main/asciidoc/images/hal-browser.png -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/restdoc/resources/db/changelog/db.changelog-master.yaml: -------------------------------------------------------------------------------- 1 | databaseChangeLog: 2 | - changeSet: 3 | id: 1 4 | author: awilkinson 5 | changes: 6 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-custom-layout/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.loader.tools.LayoutFactory=\ 2 | sample.layout.SampleLayoutFactory 3 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/jars/app.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-tools/spring-boot-loader/src/test/resources/jars/app.jar -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles/verify.groovy: -------------------------------------------------------------------------------- 1 | def file = new File(basedir, "build.log") 2 | return file.text.contains("I haz been run with profile(s) 'foo,bar'") -------------------------------------------------------------------------------- /spring-boot/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | foo: bucket 2 | value: 1234 3 | my.property: fromapplicationproperties 4 | sample.app.test.prop: * 5 | my.placeholder: ${my.fallback} 6 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/enableprofile.properties: -------------------------------------------------------------------------------- 1 | spring.profiles.active=myprofile 2 | my.property=frompropertiesfile 3 | the.property=frompropertiesfile 4 | one.more=${my.property} 5 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/colors.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot/src/test/resources/org/springframework/boot/colors.gif -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/gradient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot/src/test/resources/org/springframework/boot/gradient.gif -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/another.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE SPAM ( 2 | id INTEGER IDENTITY PRIMARY KEY, 3 | name VARCHAR(30), 4 | ); -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/encoding-data.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO BAR(id, name) VALUES (1, 'bar'); 2 | INSERT INTO BAR(id, name) VALUES (2, 'ばー'); -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/schema.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE FOO ( 2 | id INTEGER IDENTITY PRIMARY KEY, 3 | name VARCHAR(30), 4 | ); -------------------------------------------------------------------------------- /spring-boot-cli/src/test/plugins/custom/custom/0.0.1/custom-0.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-cli/src/test/plugins/custom/custom/0.0.1/custom-0.0.1.jar -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/grab-samples/customDependencyManagement.groovy: -------------------------------------------------------------------------------- 1 | @DependencyManagementBom('test:child:1.0.0') 2 | @Grab('ejb-api') 3 | class CustomDependencyManagement { 4 | 5 | } -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/maven-settings/encrypted/.m2/settings-security.xml: -------------------------------------------------------------------------------- 1 | 2 | {oAyWuFO63U8HHgiplpqtgXih0/pwcRA0d+uA+Z7TBEk=} 3 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-actuator/src/test/resources/application-endpoints.properties: -------------------------------------------------------------------------------- 1 | server.error.path: /oops 2 | management.context-path: /admin 3 | endpoints.health.sensitive: false -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.compression.enabled: true 2 | server.compression.min-response-size: 1 3 | server.jetty.acceptors=2 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat-jsp/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix: /WEB-INF/jsp/ 2 | spring.mvc.view.suffix: .jsp 3 | application.message: Hello Phil -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat7-jsp/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix: /WEB-INF/jsp/ 2 | spring.mvc.view.suffix: .jsp 3 | application.message: Hello Phil -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-jsp/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix: /WEB-INF/jsp/ 2 | spring.mvc.view.suffix: .jsp 3 | application.message: Hello Phil -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | foo: bucket 2 | value: 1234 3 | my.property: fromapplicationproperties 4 | sample.app.test.prop: * 5 | my.placeholder: ${my.fallback} 6 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles-fork/verify.groovy: -------------------------------------------------------------------------------- 1 | def file = new File(basedir, "build.log") 2 | return file.text.contains("I haz been run with profile(s) 'foo,bar'") -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/sample-beans.groovy: -------------------------------------------------------------------------------- 1 | import org.springframework.boot.sampleconfig.MyComponent; 2 | 3 | beans { 4 | myGroovyComponent(MyComponent) {} 5 | } -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/encoding-schema.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE BAR ( 2 | id INTEGER PRIMARY KEY, 3 | name VARCHAR(30), 4 | ); 5 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/lexical-schema-bbb.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE FOO DROP COLUMN todrop; 2 | ALTER TABLE FOO ADD COLUMN name VARCHAR(30); 3 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/grab.groovy: -------------------------------------------------------------------------------- 1 | @GrabResolver(name="test", root="file:./src/test/plugins") 2 | @Grab("custom:custom:0.0.1") 3 | @Controller 4 | class Foo {} 5 | 6 | println "Hello Grab" -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/status-when-stopped.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | status_service 4 | echo "Status: $?" 5 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/stop-when-stopped.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | stop_service 4 | echo "Status: $?" 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.compression.enabled: true 2 | server.compression.min-response-size: 1 3 | server.connection-timeout=5000 4 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-gradle-plugin/src/main/resources/META-INF/gradle-plugins/org.springframework.boot.properties: -------------------------------------------------------------------------------- 1 | implementation-class=org.springframework.boot.gradle.plugin.SpringBootPlugin 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-gradle-plugin/src/main/resources/META-INF/gradle-plugins/spring-boot.properties: -------------------------------------------------------------------------------- 1 | implementation-class=org.springframework.boot.gradle.plugin.DeprecatedSpringBootPlugin 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/more-jars/app.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-tools/spring-boot-loader/src/test/resources/more-jars/app.jar -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty-jsp/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix: /WEB-INF/jsp/ 2 | spring.mvc.view.suffix: .jsp 3 | application.message: Hello Spring Boot 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty8/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.compression.enabled: true 2 | server.compression.min-response-size: 1 3 | server.max-http-header-size: 4096 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-metrics-opentsdb/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | service.name: Phil 2 | metrics.names.tags.process: ${spring.application.name:application}:${random.value:0000} -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-simple/src/main/resources/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-simple/src/main/resources/banner.jpg -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-mustache/src/main/resources/public/error/503.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | I'm a 503 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-mustache/src/main/resources/public/error/5xx.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | I'm a 5xx 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/nested-jars/app.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-tools/spring-boot-loader/src/test/resources/nested-jars/app.jar -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/black-and-white.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot/src/test/resources/org/springframework/boot/black-and-white.gif -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-devtools/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Enable remote support, for local development you don't need this line 2 | spring.devtools.remote.secret=secret 3 | 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty-ssl/src/main/resources/sample.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-jetty-ssl/src/main/resources/sample.jks -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/lexical-schema-aaa.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE FOO ( 2 | id INTEGER IDENTITY PRIMARY KEY, 3 | todrop VARCHAR(30), 4 | ); 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty8-ssl/src/main/resources/sample.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-jetty8-ssl/src/main/resources/sample.jks -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat-ssl/src/main/resources/sample.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-tomcat-ssl/src/main/resources/sample.jks -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat7-ssl/src/main/resources/sample.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-tomcat7-ssl/src/main/resources/sample.jks -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure-custom/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.thymeleaf.cache: false 2 | security.basic.enabled: false 3 | logging.level.org.springframework.security: INFO -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/jar-command/bad.groovy: -------------------------------------------------------------------------------- 1 | @GrabResolver(name='clojars.org', root='http://clojars.org/repo') 2 | @Grab('redis.embedded:embedded-redis:0.2') 3 | 4 | @Component 5 | class EmbeddedRedis { 6 | } -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/foo.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/foo.jar -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/basic-launch.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service 4 | await_app 5 | curl -s http://127.0.0.1:8080/ 6 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat80-ssl/src/main/resources/sample.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-tomcat80-ssl/src/main/resources/sample.jks -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-undertow-ssl/src/main/resources/sample.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-undertow-ssl/src/main/resources/sample.jks -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-thymeleaf3/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Allow Thymeleaf templates to be reloaded at dev time 2 | spring.thymeleaf.cache: false 3 | spring.thymeleaf.mode: html 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/static/favicon.ico -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- 1 | org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor 2 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-system-scope/sample-1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-tools/spring-boot-maven-plugin/src/it/jar-system-scope/sample-1.0.0.jar -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/run-command/quiet.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Component 4 | class Example implements CommandLineRunner { 5 | 6 | void run(String... args) { 7 | print "Ssshh" 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/grab-samples/duplicateDependencyManagementBom.groovy: -------------------------------------------------------------------------------- 1 | @DependencyManagementBom("foo:bar:1.0") 2 | @DependencyManagementBom("alpha:bravo:2.0") 3 | class DuplicateDependencyManagement { 4 | 5 | } -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jooq/README.adoc: -------------------------------------------------------------------------------- 1 | == jOOQ Sample 2 | 3 | To rerun the code generator: 4 | 5 | [indent=0] 6 | ---- 7 | $ rm -fr gensrc 8 | $ mvn clean generate-sources -Pgenerate 9 | ---- 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | debug: true 2 | spring.thymeleaf.cache: false 3 | security.basic.enabled: false 4 | logging.level.org.springframework.security: INFO -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testsetprofiles.yml: -------------------------------------------------------------------------------- 1 | --- 2 | spring: 3 | profiles: 4 | active: dev 5 | my: 6 | property: fromyamlfile 7 | --- 8 | spring: 9 | profiles: dev 10 | my: 11 | property: fromdevprofile -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/META-INF/build-info.properties: -------------------------------------------------------------------------------- 1 | build.group=com.example 2 | build.artifact=demo 3 | build.name=Demo Project 4 | build.version=0.0.1-SNAPSHOT 5 | build.time=2016-03-04T15\:16\:05+0100 6 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/META-INF/services/javax.cache.spi.CachingProvider: -------------------------------------------------------------------------------- 1 | # 2 | # Test JSR 107 provider for testing purposes only. 3 | # 4 | org.springframework.boot.autoconfigure.cache.support.MockCachingProvider -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{title}} 4 | 5 | 6 |

A Message

7 |
{{message}} at {{time}}
8 | 9 | -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/test.groovy: -------------------------------------------------------------------------------- 1 | class BookTests { 2 | @Test 3 | void testBooks() { 4 | Book book = new Book(author: "Tom Clancy", title: "Threat Vector") 5 | assertEquals("Tom Clancy", book.author) 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-groovy-templates/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Allow templates to be reloaded at dev time 2 | spring.groovy.template.cache: false 3 | logging.level.org.springframework.web: INFO -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-mustache/src/main/resources/templates/error/507.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | I'm a 507 invoked from {{path}} 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/activeprofilerepro-without-override.yml: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | spring.profiles: A 4 | version: A 5 | --- 6 | spring.profiles: B 7 | version: B 8 | --- 9 | spring.profiles: C 10 | version: C 11 | --- -------------------------------------------------------------------------------- /spring-boot/src/test/resources/custom-file-log-pattern.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty-ssl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8443 2 | server.ssl.key-store = classpath:sample.jks 3 | server.ssl.key-store-password = secret 4 | server.ssl.key-password = password -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/module/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyModule(new File( basedir, "target/module-0.0.1.BUILD-SNAPSHOT.jar" )); 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/prop/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyZip( 5 | new File( basedir, "target/jar-0.0.1.BUILD-SNAPSHOT.jar" ) 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/war/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyWar( 5 | new File( basedir, "target/war-0.0.1.BUILD-SNAPSHOT.war" ) 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-custom-layout/src/it/custom/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import sample.layout.*; 3 | 4 | Verify.verify( 5 | new File( basedir, "target/custom-0.0.1.BUILD-SNAPSHOT.jar" ), "custom" 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty8-ssl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8443 2 | server.ssl.key-store = classpath:sample.jks 3 | server.ssl.key-store-password = secret 4 | server.ssl.key-password = password -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/resources/sample.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/resources/sample.jks -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-undertow-ssl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8443 2 | server.ssl.key-store = classpath:sample.jks 3 | server.ssl.key-store-password = secret 4 | server.ssl.key-password = password -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-freemarker/src/main/resources/templates/error.ftl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Something went wrong: ${status} ${error} 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-mustache/src/main/resources/templates/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Something went wrong: {{status}} {{error}} 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-thymeleaf3/src/main/resources/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-samples/spring-boot-sample-web-thymeleaf3/src/main/resources/static/favicon.ico -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-system-scope-default/sample-1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-tools/spring-boot-maven-plugin/src/it/jar-system-scope-default/sample-1.0.0.jar -------------------------------------------------------------------------------- /spring-boot/src/test/resources/activeprofilerepro.yml: -------------------------------------------------------------------------------- 1 | spring.profiles.active: B 2 | --- 3 | spring.profiles: A 4 | version: A 5 | --- 6 | spring.profiles: B 7 | version: B 8 | --- 9 | spring.profiles: C 10 | version: C 11 | --- 12 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/custom-console-log-pattern.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/db/city/V1__init.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE CITY ( 2 | id BIGINT GENERATED BY DEFAULT AS IDENTITY, 3 | name VARCHAR(30), 4 | state VARCHAR(30), 5 | country VARCHAR(30), 6 | map VARCHAR(30) 7 | ); -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-actuator-noweb/src/main/resources/banner.txt: -------------------------------------------------------------------------------- 1 | ,--. ,--. 2 | \ /-~-\ / 3 | )' a a `( 4 | ( ,---. ) 5 | `(_o_o_)' 6 | )`-'( 7 | 8 | Spring Boot${spring-boot.formatted-version} 9 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-custom-layout/src/it/default/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import sample.layout.*; 3 | 4 | Verify.verify( 5 | new File( basedir, "target/default-0.0.1.BUILD-SNAPSHOT.jar" ), "sample" 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat-ssl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8443 2 | server.ssl.key-store = classpath:sample.jks 3 | server.ssl.key-store-password = secret 4 | server.ssl.key-password = password 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat7-ssl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8443 2 | server.ssl.key-store = classpath:sample.jks 3 | server.ssl.key-store-password = secret 4 | server.ssl.key-password = password 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat80-ssl/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8443 2 | server.ssl.key-store = classpath:sample.jks 3 | server.ssl.key-store-password = secret 4 | server.ssl.key-password = password 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | insert into users (username, password, enabled) values ('user', 'user', true); 2 | 3 | insert into authorities (username, authority) values ('user', 'ROLE_ADMIN'); -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.test.context.DefaultTestExecutionListenersPostProcessor=\ 2 | org.springframework.boot.test.context.bootstrap.TestDefaultTestExecutionListenersPostProcessor 3 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-devtools/src/main/resources/static/css/application.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | color: green; 3 | } 4 | 5 | .content { 6 | font-family: sans-serif; 7 | border-top: 3px solid red; 8 | padding-top: 30px; 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-starters/spring-boot-starter-cloud-connectors/src/main/resources/META-INF/spring.provides: -------------------------------------------------------------------------------- 1 | provides: spring-cloud-spring-service-connector,spring-cloud-cloudfoundry-connector,spring-cloud-heroku-connector,spring-cloud-localconfig-connector -------------------------------------------------------------------------------- /spring-boot/src/test/resources/activeprofilerepro-ordered.yml: -------------------------------------------------------------------------------- 1 | spring.profiles.active: A,B 2 | --- 3 | spring.profiles: A 4 | version: A 5 | --- 6 | spring.profiles: B 7 | version: B 8 | --- 9 | spring.profiles: C 10 | version: C 11 | --- 12 | -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/integration_auto_test.groovy: -------------------------------------------------------------------------------- 1 | @SpringBootTest(classes=App) 2 | class AppTests { 3 | 4 | @Autowired 5 | MyService myService 6 | 7 | @Test 8 | void test() { 9 | assertNotNull(myService) 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/css/manual-multipage.css: -------------------------------------------------------------------------------- 1 | @IMPORT url("manual.css"); 2 | 3 | body.firstpage { 4 | background: url("../images/background.png") no-repeat center top; 5 | } 6 | 7 | div.part h1 { 8 | border-top: none; 9 | } 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-secure-oauth2/src/main/resources/data-h2.sql: -------------------------------------------------------------------------------- 1 | insert into FLIGHT 2 | (id, origin, destination, airline, flight_number, traveler) 3 | values 4 | (1, 'Nashville', 'Dallas', 'Spring Ways', 'OAUTH2', 'Greg Turnquist'); 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat-multi-connectors/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8443 2 | server.ssl.key-store = classpath:sample.jks 3 | server.ssl.key-store-password = secret 4 | server.ssl.key-password = password 5 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-invalid.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": [ 3 | { 4 | "type": "java.lang.String", 5 | "sourceType": "org.acme.Invalid" 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyJar( 5 | new File( basedir, "target/jar-0.0.1.BUILD-SNAPSHOT.jar" ), "some.random.Main" 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/info/build-info.properties: -------------------------------------------------------------------------------- 1 | build.group=com.example.acme 2 | build.artifact=acme 3 | build.name=acme 4 | build.version=1.0.1-SNAPSHOT 5 | build.time=2016-03-04T11:42:00+0100 6 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Allow Thymeleaf templates to be reloaded at dev time 2 | spring.thymeleaf.cache: false 3 | server.tomcat.access_log_enabled: true 4 | server.tomcat.basedir: target/tomcat -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/env/test-xml.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | xml 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-secure-oauth2-resource/src/main/resources/data-h2.sql: -------------------------------------------------------------------------------- 1 | insert into FLIGHT 2 | (id, origin, destination, airline, flight_number, traveler) 3 | values 4 | (1, 'Nashville', 'Dallas', 'Spring Ways', 'OAUTH2', 'Greg Turnquist'); 5 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/db/changelog/db.changelog-override.sql: -------------------------------------------------------------------------------- 1 | --liquibase formatted sql 2 | 3 | --changeset author:awilkinson 4 | 5 | CREATE TABLE customer ( 6 | id int AUTO_INCREMENT NOT NULL PRIMARY KEY, 7 | name varchar(50) NOT NULL 8 | ); -------------------------------------------------------------------------------- /spring-boot-cli/samples/beans.groovy: -------------------------------------------------------------------------------- 1 | @RestController 2 | class Application { 3 | 4 | @Autowired 5 | String foo 6 | 7 | @RequestMapping("/") 8 | String home() { 9 | "Hello ${foo}!" 10 | } 11 | } 12 | 13 | beans { 14 | foo String, "World" 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/restart-when-stopped.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | restart_service 4 | echo "Status: $?" 5 | echo "PID: $(cat /var/run/spring-boot-app/spring-boot-app.pid)" 6 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/start-when-stopped.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service 4 | echo "Status: $?" 5 | echo "PID: $(cat /var/run/spring-boot-app/spring-boot-app.pid)" 6 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/actuator.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Grab("spring-boot-starter-actuator") 4 | 5 | @RestController 6 | class SampleController { 7 | 8 | @RequestMapping("/") 9 | public def hello() { 10 | [message: "Hello World!"] 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/app.groovy: -------------------------------------------------------------------------------- 1 | @Configuration 2 | class App { 3 | 4 | @Bean 5 | MyService myService() { 6 | return new MyService() 7 | } 8 | 9 | } 10 | 11 | class MyService { 12 | 13 | String sayWorld() { 14 | return "World!" 15 | } 16 | 17 | } -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/restdoc/resources/org/springframework/restdocs/templates/http-response.snippet: -------------------------------------------------------------------------------- 1 | [source,http,options="nowrap"] 2 | ---- 3 | HTTP/1.1 {{statusCode}} {{statusReason}} 4 | {{#headers}} 5 | {{name}}: {{value}} 6 | {{/headers}} 7 | {{responseBody}} 8 | ---- -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/cache/test-ehcache.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/oauth2.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @EnableAuthorizationServer 4 | @EnableResourceServer 5 | @RestController 6 | class SampleController { 7 | 8 | @RequestMapping("/") 9 | def hello() { 10 | [message: "Hello World!"] 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-non-executable/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyJar( 5 | new File( basedir, "target/jar-0.0.1.BUILD-SNAPSHOT.jar" ), "some.random.Main", false 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/info/git.properties: -------------------------------------------------------------------------------- 1 | git.commit.user.email=john@example.com 2 | git.commit.id=f95038ec09e29d8f91982fd1cbcc0f3b131b1d0a 3 | git.commit.user.name=John Smith 4 | git.commit.time=2016-03-03T10\:02\:00+0100 5 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/start-when-started.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service 4 | echo "PID: $(cat /var/run/spring-boot-app/spring-boot-app.pid)" 5 | start_service 6 | echo "Status: $?" 7 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-create-dir/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyJar( 5 | new File( basedir, "target/foo/jar-create-dir-0.0.1.BUILD-SNAPSHOT-foo.jar" ), "some.random.Main" 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-custom-launcher/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyJar( 5 | new File( basedir, "target/jar-0.0.1.BUILD-SNAPSHOT.jar" ), "some.random.Main", "Hello world" 6 | ); 7 | 8 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testprofiles.yml: -------------------------------------------------------------------------------- 1 | --- 2 | my: 3 | property: fromyamlfile 4 | other: notempty 5 | --- 6 | spring: 7 | profiles: dev 8 | my: 9 | property: fromdevprofile 10 | --- 11 | spring: 12 | profiles: other 13 | my: 14 | property: fromotherprofile -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-single-command-line-argument.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service --server.port=8081 4 | await_app http://127.0.0.1:8081/ 5 | curl -s http://127.0.0.1:8081/ 6 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/status-when-started.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service 4 | status_service 5 | echo "Status: $?" 6 | echo "PID: $(cat /var/run/spring-boot-app/spring-boot-app.pid)" 7 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-freemarker/src/main/resources/templates/welcome.ftl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Date: ${time?date} 7 |
8 | Time: ${time?time} 9 |
10 | Message: ${message} 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/ehcache.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-cassandra/src/test/resources/setup.cql: -------------------------------------------------------------------------------- 1 | CREATE TABLE customer (id TimeUUID PRIMARY KEY, firstname text, lastname text); 2 | CREATE INDEX customerfistnameindex ON customer (firstname); 3 | CREATE INDEX customersecondnameindex ON customer (lastname); 4 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-couchbase/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.couchbase.bootstrap-hosts=localhost 2 | 3 | spring.couchbase.env.timeouts.connect=10000 4 | spring.couchbase.env.timeouts.socket-connect=10000 5 | 6 | spring.data.couchbase.auto-index=true 7 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-mustache/src/main/resources/templates/welcome.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Date: {{time.date}} 7 |
8 | Time: {{time.time}} 9 |
10 | Message: {{message}} 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table users ( 2 | username varchar(256), 3 | password varchar(256), 4 | enabled boolean 5 | ); 6 | 7 | create table authorities ( 8 | username varchar(256), 9 | authority varchar(256) 10 | ); -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testprofilesempty.yml: -------------------------------------------------------------------------------- 1 | --- 2 | my: 3 | property: fromyamlfile 4 | other: notempty 5 | --- 6 | spring: 7 | profiles: 8 | my: 9 | property: fromemptyprofile 10 | --- 11 | spring: 12 | profiles: other 13 | my: 14 | property: fromotherprofile 15 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/info/git-epoch.properties: -------------------------------------------------------------------------------- 1 | git.branch=master 2 | git.commit.user.email=john@example.com 3 | git.commit.id=5009933788f5f8c687719de6a697074ff80b1b69 4 | git.commit.user.name=John Smith 5 | git.commit.time=1457103850 6 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/lib/foo.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-common-file-dependency/lib/foo.jar -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-undertow/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.undertow.accesslog.enabled=true 2 | server.undertow.accesslog.dir=target/logs 3 | server.undertow.accesslog.pattern=combined 4 | server.compression.enabled=true 5 | server.compression.min-response-size=1 -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table users ( 2 | username varchar(256), 3 | password varchar(256), 4 | enabled boolean 5 | ); 6 | 7 | create table authorities ( 8 | username varchar(256), 9 | authority varchar(256) 10 | ); -------------------------------------------------------------------------------- /spring-boot/src/test/resources/testprofilesdocument.yml: -------------------------------------------------------------------------------- 1 | --- 2 | my: 3 | property: fromyamlfile 4 | other: notempty 5 | --- 6 | spring: 7 | profiles: thedefault 8 | my: 9 | property: fromdefaultprofile 10 | --- 11 | spring: 12 | profiles: other 13 | my: 14 | property: fromotherprofile -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/spock.groovy: -------------------------------------------------------------------------------- 1 | class HelloSpock extends Specification { 2 | def "length of Spock's and his friends' names"() { 3 | expect: 4 | name.size() == length 5 | 6 | where: 7 | name | length 8 | "Spock" | 5 9 | "Kirk" | 4 10 | "Scotty" | 6 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-dependencies/src/main/xslt/single-project.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/secure.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Grab("spring-boot-starter-security") 4 | @Grab("spring-boot-starter-actuator") 5 | 6 | @RestController 7 | class SampleController { 8 | 9 | @RequestMapping("/") 10 | public def hello() { 11 | [message: "Hello World!"] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/book_and_tests.groovy: -------------------------------------------------------------------------------- 1 | class Book { 2 | String author 3 | String title 4 | } 5 | 6 | class BookTests { 7 | @Test 8 | void testBooks() { 9 | Book book = new Book(author: "Tom Clancy", title: "Threat Vector") 10 | assertEquals("Tom Clancy", book.author) 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/status-when-killed.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service 4 | pid=$(cat /var/run/spring-boot-app/spring-boot-app.pid) 5 | echo "PID: $pid" 6 | kill -9 $pid 7 | status_service 8 | echo "Status: $?" 9 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-actuator/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-root.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": [ 3 | { 4 | "name": "spring.root.name", 5 | "type": "java.lang.String" 6 | }, 7 | { 8 | "name": "spring.root2.name" 9 | } 10 | ] 11 | } -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-processor/src/test/resources/org/springframework/boot/configurationsample/incremental/BarProperties.snippet: -------------------------------------------------------------------------------- 1 | private String extra; 2 | 3 | public String getExtra() { 4 | return extra; 5 | } 6 | 7 | public void setExtra(String extra) { 8 | this.extra = extra; 9 | } -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/logging.properties: -------------------------------------------------------------------------------- 1 | # Enable this by setting -Djava.util.logging.config.file=src/test/resources/logging.properties 2 | handlers = java.util.logging.ConsoleHandler 3 | .level = INFO 4 | java.util.logging.ConsoleHandler.level = FINE 5 | org.springframework.security.level = ALL 6 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/common/lib/foo.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-transitive-file-dependency/common/lib/foo.jar -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-flyway/src/main/resources/db/migration/V1__init.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE PERSON ( 2 | id BIGINT GENERATED BY DEFAULT AS IDENTITY, 3 | first_name varchar(255) not null, 4 | last_name varchar(255) not null 5 | ); 6 | 7 | insert into PERSON (first_name, last_name) values ('Dave', 'Syer'); -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/sample-namespace.groovy: -------------------------------------------------------------------------------- 1 | import org.springframework.boot.sampleconfig.MyComponent; 2 | 3 | beans { 4 | xmlns([ctx:'http://www.springframework.org/schema/context']) 5 | ctx.'component-scan'('base-package':'nonexistent') 6 | myGroovyComponent(MyComponent) {} 7 | } -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-working-directory/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertTrue 2 | 3 | def file = new File(basedir, "build.log") 4 | def workDir = new File(basedir, "src/main/java").getAbsolutePath() 5 | assertTrue file.text.contains("I haz been run from ${workDir}") 6 | 7 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/failure-analyzers-tests/broken.factories: -------------------------------------------------------------------------------- 1 | # Failure Analyzers 2 | org.springframework.boot.diagnostics.FailureAnalyzer=\ 3 | org.springframework.boot.diagnostics.FailureAnalyzersTests$BrokenFailureAnalyzer,\ 4 | org.springframework.boot.diagnostics.FailureAnalyzersTests$BasicFailureAnalyzer 5 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/hazelcast.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-cli/src/main/resources/META-INF/services/org.springframework.boot.cli.compiler.grape.RepositorySystemSessionAutoConfiguration: -------------------------------------------------------------------------------- 1 | org.springframework.boot.cli.compiler.grape.SettingsXmlRepositorySystemSessionAutoConfiguration 2 | org.springframework.boot.cli.compiler.grape.GrapeRootRepositorySystemSessionAutoConfiguration -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/repro-samples/grab-ant-builder.groovy: -------------------------------------------------------------------------------- 1 | @Grab("org.codehaus.groovy:groovy-ant:2.1.6") 2 | 3 | @RestController 4 | class MainController { 5 | 6 | @RequestMapping("/") 7 | def home() { 8 | new AntBuilder().echo(message:"Hello world") 9 | [message: "Hello World"] 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-multiple-command-line-arguments.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service --server.port=8081 --server.context-path=/test 4 | await_app http://127.0.0.1:8081/test/ 5 | curl -s http://127.0.0.1:8081/test/ 6 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/hazelcast.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-single-java-opt.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | echo 'JAVA_OPTS=-Dserver.port=8081' > /test-service/spring-boot-app.conf 4 | start_service 5 | await_app http://127.0.0.1:8081/ 6 | curl -s http://127.0.0.1:8081/ 7 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-single-run-arg.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | echo 'RUN_ARGS=--server.port=8081' > /test-service/spring-boot-app.conf 4 | start_service 5 | await_app http://127.0.0.1:8081/ 6 | curl -s http://127.0.0.1:8081/ 7 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | foo: bucket 2 | spring.social.facebook.appId: fbid 3 | spring.social.facebook.appSecret: fbsecret 4 | spring.social.twitter.appId: twid 5 | spring.social.twitter.appSecret: twsecret 6 | spring.social.linkedin.appId: liid 7 | spring.social.linkedin.appSecret: lisecret 8 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/fieldvalues/FieldValues.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/refetch/spring-boot/master/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/fieldvalues/FieldValues.class -------------------------------------------------------------------------------- /spring-boot/src/test/resources/failure-analyzers-tests/basic.factories: -------------------------------------------------------------------------------- 1 | # Failure Analyzers 2 | org.springframework.boot.diagnostics.FailureAnalyzer=\ 3 | org.springframework.boot.diagnostics.FailureAnalyzersTests$BasicFailureAnalyzer,\ 4 | org.springframework.boot.diagnostics.FailureAnalyzersTests$StandardBeanFactoryAwareFailureAnalyzer 5 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.thymeleaf.cache: false 2 | security.basic.enabled: false 3 | # demo only: 4 | security.user.password: password 5 | logging.level.org.springframework.security: INFO 6 | logging.level.org.springframework.boot.actuate.audit.listener.AuditListener: DEBUG -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-secure-oauth2-resource/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 2 | spring.datasource.platform=h2 3 | security.basic.enabled=false 4 | security.oauth2.resource.id=service 5 | security.oauth2.resource.userInfoUri=http://localhost:8080/user 6 | logging.level.org.springframework.security=DEBUG 7 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/cache/test-hazelcast.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/cache/ehcache-override.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/restart-when-started.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | start_service 4 | echo "PID1: $(cat /var/run/spring-boot-app/spring-boot-app.pid)" 5 | restart_service 6 | echo "Status: $?" 7 | echo "PID2: $(cat /var/run/spring-boot-app/spring-boot-app.pid)" 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-data-elasticsearch/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Home directory of the embedded Elasticsearch instance. Default to the 3 | # current working directory. 4 | # 5 | spring.data.elasticsearch.properties.path.home=target/elastic 6 | spring.data.elasticsearch.properties.transport.tcp.connect_timeout=120s 7 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-use-of-start-stop-daemon-disabled.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | chmod -x $(type -p start-stop-daemon) 3 | install_service 4 | echo 'USE_START_STOP_DAEMON=false' > /test-service/spring-boot-app.conf 5 | start_service 6 | await_app 7 | curl -s http://127.0.0.1:8080/ 8 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-executable/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyJar( 5 | new File( basedir, "target/jar-executable-0.0.1.BUILD-SNAPSHOT.jar" ), 6 | "some.random.Main", "Spring Boot Startup Script", "MyFullyExecutableJarName", 7 | "MyFullyExecutableJarDesc"); 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop-skip/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertFalse 2 | 3 | def file = new File(basedir, "build.log") 4 | assertFalse 'Application should not have run', file.text.contains("Ooops, I haz been run") 5 | assertFalse 'Should not attempt to stop the app', file.text.contains('Stopping application') 6 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertTrue 2 | 3 | def file = new File(basedir, "build.log") 4 | assertTrue 'Start should have waited for application to be ready', file.text.contains("isReady: true") 5 | assertTrue 'Shutdown should have been invoked', file.text.contains("Shutdown requested") 6 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/cache/test-infinispan.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-multiple-run-args.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | echo 'RUN_ARGS="--server.port=8081 --server.context-path=/test"' > /test-service/spring-boot-app.conf 4 | start_service 5 | await_app http://127.0.0.1:8081/test/ 6 | curl -s http://127.0.0.1:8081/test/ 7 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-traditional/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootCategory=INFO, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n 6 | 7 | log4j.category.org.springframework.web=DEBUG 8 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop-fork/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertTrue 2 | 3 | def file = new File(basedir, "build.log") 4 | assertTrue 'Start should have waited for application to be ready', file.text.contains("isReady: true") 5 | assertTrue 'Shutdown should have been invoked', file.text.contains("Shutdown requested") 6 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-multiple-java-opts.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | echo 'JAVA_OPTS="-Dserver.port=8081 -Dserver.context-path=/test"' > /test-service/spring-boot-app.conf 4 | start_service 5 | await_app http://127.0.0.1:8081/test/ 6 | curl -s http://127.0.0.1:8081/test/ 7 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-devtools/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertTrue 2 | 3 | def file = new File(basedir, "build.log") 4 | assertTrue 'Devtools should have been detected', file.text.contains('Fork mode disabled, devtools will be disabled') 5 | assertTrue 'Application should have run', file.text.contains("I haz been run") 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/hazelcast/hazelcast-specific.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-relative-log-folder.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | mkdir ./pid 3 | install_service 4 | echo 'LOG_FOLDER=log' > /test-service/spring-boot-app.conf 5 | mkdir -p /test-service/log 6 | start_service 7 | await_app 8 | [[ -s /test-service/log/spring-boot-app.log ]] && echo "Log written" -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/json/types.json: -------------------------------------------------------------------------------- 1 | { 2 | "str":"foo", 3 | "num":5, 4 | "bool":true, 5 | "arr":[ 6 | 42 7 | ], 8 | "colorMap":{ 9 | "red":"rojo" 10 | }, 11 | "whitespace":" ", 12 | "emptyString":"", 13 | "emptyArray":[ 14 | 15 | ], 16 | "emptyMap":{ 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/start-stop-automatic-fork/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertTrue 2 | 3 | def file = new File(basedir, "build.log") 4 | assertTrue 'Start should have waited for application to be ready', file.text.contains("isReady: true") 5 | assertTrue 'Shutdown should have been invoked', file.text.contains("Shutdown requested") 6 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/web.groovy: -------------------------------------------------------------------------------- 1 | @Controller 2 | class Example { 3 | 4 | @Autowired 5 | private MyService myService; 6 | 7 | @RequestMapping("/") 8 | @ResponseBody 9 | public String helloWorld() { 10 | return myService.sayWorld(); 11 | } 12 | 13 | } 14 | 15 | @Service 16 | class MyService { 17 | 18 | public String sayWorld() { 19 | return "World!"; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/logging/logback/production-profile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/repro-samples/secure.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | // No security features added just a test that the dependencies are resolved 4 | @Grab("spring-boot-starter-security") 5 | 6 | @Controller 7 | class Sample implements CommandLineRunner { 8 | 9 | @Override 10 | void run(String... args) { 11 | println "Hello World" 12 | } 13 | } 14 | 15 | 16 | -------------------------------------------------------------------------------- /spring-boot/src/main/resources/org/springframework/boot/context/embedded/tomcat/empty-web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/logging/logback/multi-profile-names.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/grab-samples/repository/test/child/1.0.0/child-1.0.0.pom: -------------------------------------------------------------------------------- 1 | 2 | 3 | test 4 | parent 5 | 1.0.0 6 | 7 | 8 | child 9 | 1.0.0 10 | pom 11 | 12 | 4.0.0 13 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-loader/src/test/resources/root/META-INF/spring/application.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/logging/logback/property.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/maven-settings/property-interpolation/.m2/settings.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | ${foo}/repository 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/asciidoc/appendix.adoc: -------------------------------------------------------------------------------- 1 | [[appendix]] 2 | = Appendices 3 | 4 | include::appendix-application-properties.adoc[] 5 | include::appendix-configuration-metadata.adoc[] 6 | include::appendix-auto-configuration-classes.adoc[] 7 | include::appendix-test-auto-configuration.adoc[] 8 | include::appendix-executable-jar-format.adoc[] 9 | include::appendix-dependency-versions.adoc[] 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-logback/src/main/resources/logback-spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-test/src/test/resources/org/springframework/boot/test/json/simpsons.json: -------------------------------------------------------------------------------- 1 | { 2 | "familyMembers":[ 3 | { 4 | "name":"Homer" 5 | }, 6 | { 7 | "name":"Marge" 8 | }, 9 | { 10 | "name":"Bart" 11 | }, 12 | { 13 | "name":"Lisa" 14 | }, 15 | { 16 | "name":"Maggie" 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/runner.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/repro-samples/data-jpa.groovy: -------------------------------------------------------------------------------- 1 | @Grab('spring-boot-starter-data-jpa') 2 | @Grab('h2') 3 | class Sample implements CommandLineRunner { 4 | 5 | // No Data JPA-based logic. We just want to check that the dependencies are 6 | // resolved correctly and that the app runs 7 | 8 | @Override 9 | void run(String... args) { 10 | println "Hello World" 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/asciidoc/appendix-test-auto-configuration.adoc: -------------------------------------------------------------------------------- 1 | [appendix] 2 | [[test-auto-configuration]] 3 | == Test auto-configuration annotations 4 | Here is a table of the various `@…Test` annotations that can be used to test 5 | slices of your application and the auto-configuration that they import by default: 6 | 7 | include::../../../target/generated-resources/test-slice-auto-configuration.adoc[] -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | #logging.file=/tmp/logs/app.log 2 | #server.port=8080 3 | #management.port=8080 4 | management.address=127.0.0.1 5 | 6 | endpoints.shutdown.enabled=true 7 | server.tomcat.basedir=target/tomcat 8 | server.tomcat.access_log_pattern=%h %t "%r" %s %b 9 | security.require_ssl=false 10 | service.name=Daniel 11 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/view.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Content 4 | 5 | 6 |
7 | foo 8 |
9 | 10 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-secure-oauth2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.platform=h2 2 | 3 | security.user.name=greg 4 | security.user.password=turnquist 5 | security.oauth2.client.client-id=foo 6 | security.oauth2.client.client-secret=bar 7 | security.oauth2.authorization.checkTokenAccess=isAuthenticated() 8 | 9 | logging.level.org.springframework.security=DEBUG 10 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/logback-broken.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ${LOG_FILE} [%t] ${PID:-????} %c{1}: %m%n BOOTBOOT 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/tx.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Grab("hsqldb") 4 | 5 | @Configuration 6 | @EnableTransactionManagement 7 | class Example implements CommandLineRunner { 8 | 9 | @Autowired 10 | JdbcTemplate jdbcTemplate 11 | 12 | @Transactional 13 | void run(String... args) { 14 | println "Foo count=" + jdbcTemplate.queryForObject("SELECT COUNT(*) from FOO", Integer) 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/run-disable-fork/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertTrue 2 | 3 | def file = new File(basedir, "build.log") 4 | assertTrue file.text.contains("I haz been run") 5 | assertTrue file.text.contains("Fork mode disabled, ignoring JVM argument(s) [-Dfoo=bar]") 6 | assertTrue file.text.contains("Fork mode disabled, ignoring working directory configuration") 7 | 8 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/logback-nondefault.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ${LOG_FILE} [%t] ${PID:-????} %c{1}: %m%n BOOTBOOT 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | jdk: 3 | - oraclejdk8 4 | services: 5 | - mongodb 6 | - redis 7 | - cassandra 8 | sudo: required 9 | cache: 10 | directories: 11 | - $HOME/.m2 12 | install: true 13 | before_script: travis_wait 45 ./mvnw install -q -U -DskipTests=true -Pfast -Dmaven.test.redirectTestOutputToFile=true 14 | script: ./mvnw install -q -nsu -Dmaven.test.redirectTestOutputToFile=true -P '!integration' -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-cache/src/main/resources/infinispan.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/main/asciidoc/flyway.adoc: -------------------------------------------------------------------------------- 1 | === /flyway 2 | This endpoint provides information about database migrations that have been performed 3 | by Flyway. 4 | 5 | Example curl request: 6 | include::{generated}/flyway/curl-request.adoc[] 7 | 8 | Example HTTP request: 9 | include::{generated}/flyway/http-request.adoc[] 10 | 11 | Example HTTP response: 12 | include::{generated}/flyway/http-response.adoc[] 13 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-groovy-templates/README.adoc: -------------------------------------------------------------------------------- 1 | This sample application uses Spring Boot and 2 | http://docs.groovy-lang.org/latest/html/documentation/#_the_markuptemplateengine[Groovy templates] 3 | in the View layer. The templates for this app live in `classpath:/templates/`, which is 4 | the conventional location for Spring Boot. External configuration is available via 5 | ``spring.groovy.template.*''. 6 | 7 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/logging/logback/nested.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/main/asciidoc/liquibase.adoc: -------------------------------------------------------------------------------- 1 | === /liquibase 2 | This endpoint provides information about database migrations that have been performed 3 | by Liquibase. 4 | 5 | Example curl request: 6 | include::{generated}/liquibase/curl-request.adoc[] 7 | 8 | Example HTTP request: 9 | include::{generated}/liquibase/http-request.adoc[] 10 | 11 | Example HTTP response: 12 | include::{generated}/liquibase/http-response.adoc[] 13 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-relative-pid-folder.sh: -------------------------------------------------------------------------------- 1 | source ./test-functions.sh 2 | install_service 3 | mkdir /test-service/pid 4 | echo 'PID_FOLDER=pid' > /test-service/spring-boot-app.conf 5 | start_service 6 | echo "PID: $(cat /test-service/pid/spring-boot-app/spring-boot-app.pid)" 7 | await_app 8 | curl -s http://127.0.0.1:8080/ 9 | status_service 10 | stop_service 11 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-cache/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Infinispan configuration file location. 3 | # 4 | #spring.cache.infinispan.config=infinispan.xml 5 | 6 | 7 | # 8 | # JCache configuration (example with ehcache 3). 9 | # 10 | #spring.cache.jcache.config=ehcache3.xml 11 | 12 | 13 | # 14 | # Caffeine configuration 15 | # 16 | #spring.cache.caffeine.spec=maximumSize=200,expireAfterAccess=600s 17 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-flyway/README.adoc: -------------------------------------------------------------------------------- 1 | == Spring Boot Flyway Sample 2 | 3 | This sample demonstrates the flyway auto-configuration support. 4 | 5 | You can look at `http://localhost:8080/flyway` to review the list of scripts. 6 | 7 | This sample also enables the H2 console (at `http://localhost:8080/h2-console`) 8 | so that you can review the state of the database (the default jdbc url is 9 | `jdbc:h2:mem:testdb`). 10 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/mustache-templates/partial.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{title}} 4 | 5 | 6 | 13 |
{{>content}}
14 | 15 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/logging/logback/property-default-value.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-liquibase/README.adoc: -------------------------------------------------------------------------------- 1 | == Spring Boot Liquibase Sample 2 | 3 | This sample demonstrates the liquibase auto-configuration support. 4 | 5 | You can look at `http://localhost:8080/liquibase` to review the list of scripts. 6 | 7 | This sample also enables the H2 console (at `http://localhost:8080/h2-console`) 8 | so that you can review the state of the database (the default jdbc url is 9 | `jdbc:h2:mem:testdb`). 10 | -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/integration.groovy: -------------------------------------------------------------------------------- 1 | @SpringBootTest(classes=Application) 2 | class BookTests { 3 | @Autowired 4 | Book book 5 | @Test 6 | void testBooks() { 7 | assertEquals("Tom Clancy", book.author) 8 | } 9 | } 10 | 11 | @Configuration 12 | class Application { 13 | @Bean 14 | Book book() { 15 | new Book(author: "Tom Clancy", title: "Threat Vector") 16 | } 17 | } 18 | 19 | class Book { 20 | String author 21 | String title 22 | } 23 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/mustache-templates/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{title}} 4 | 5 | 6 | 13 |
{{#include}}{{body}}{{/include}}
14 | 15 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/classloader-test-app.groovy: -------------------------------------------------------------------------------- 1 | import org.springframework.util.* 2 | 3 | @Component 4 | public class Test implements CommandLineRunner { 5 | 6 | public void run(String... args) throws Exception { 7 | println "HasClasses-" + ClassUtils.isPresent("missing", null) + "-" + 8 | ClassUtils.isPresent("org.springframework.boot.SpringApplication", null) + "-" + 9 | ClassUtils.isPresent(args[0], null); 10 | } 11 | 12 | } 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-traditional/src/main/webapp/WEB-INF/views/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 2 | 3 | 4 | 5 | 6 | Home 7 | 8 | 9 |

Home

10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/app.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Component 4 | class Example implements CommandLineRunner { 5 | 6 | @Autowired 7 | private MyService myService 8 | 9 | void run(String... args) { 10 | println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/app.groovy')}" 11 | } 12 | } 13 | 14 | 15 | @Service 16 | class MyService { 17 | 18 | String sayWorld() { 19 | return "World!" 20 | } 21 | } 22 | 23 | 24 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-devtools/src/main/resources/templates/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | Layout 6 | 7 | 8 | 9 |

Header

10 |
Content
11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/templates/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Layout 5 | 6 | 7 |
8 |

Layout

9 |
10 | Fake content 11 |
12 |
13 | 14 | -------------------------------------------------------------------------------- /spring-boot-cli/src/it/resources/war-command/war.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @RestController 4 | class WarExample implements CommandLineRunner { 5 | 6 | @RequestMapping("/") 7 | public String hello() { 8 | return "Hello" 9 | } 10 | 11 | void run(String... args) { 12 | println getClass().getResource('/org/apache/tomcat/InstanceManager.class') 13 | println getClass().getResource('/root.properties') 14 | throw new RuntimeException("onStart error") 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/cache/hazelcast-specific.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 3600 7 | 600 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/device.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Controller 4 | @EnableDeviceResolver 5 | class Example { 6 | 7 | @RequestMapping("/") 8 | @ResponseBody 9 | String helloWorld(Device device) { 10 | if (device.isNormal()) { 11 | "Hello Normal Device!" 12 | } else if (device.isMobile()) { 13 | "Hello Mobile Device!" 14 | } else if (device.isTablet()) { 15 | "Hello Tablet Device!" 16 | } else { 17 | "Hello Unknown Device!" 18 | } 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/diagnostics/analyzer/nounique/consumer.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/boot-run-resources/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | } 5 | dependencies { 6 | classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}") 7 | } 8 | } 9 | 10 | apply plugin: 'java' 11 | apply plugin: 'org.springframework.boot' 12 | 13 | repositories { 14 | mavenLocal() 15 | } 16 | 17 | bootRun { 18 | addResources = Boolean.valueOf(project.addResources) 19 | } -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-custom-dir/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | Verify.verifyJar( 5 | new File( basedir, "target/foo/jar-custom-dir-0.0.1.BUILD-SNAPSHOT.jar" ), "some.random.Main" 6 | ); 7 | 8 | Verify.verifyJar( 9 | new File( localRepositoryPath, "org/springframework/boot/maven/it/jar-custom-dir/0.0.1.BUILD-SNAPSHOT/jar-custom-dir-0.0.1.BUILD-SNAPSHOT.jar" ), "some.random.Main" 10 | ); 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-skip/verify.groovy: -------------------------------------------------------------------------------- 1 | import static org.junit.Assert.assertTrue 2 | import static org.junit.Assert.assertFalse 3 | 4 | File f = new File( basedir, "target/jar-skip-0.0.1.BUILD-SNAPSHOT.jar") 5 | assertTrue 'output file should have been generated', f.exists() 6 | File shouldNotExist = new File( basedir, "target/jar-skip-0.0.1.BUILD-SNAPSHOT.jar.original") 7 | assertFalse 'repackage goal should not have run. .original should not exist', shouldNotExist.exists() 8 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/template.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | import static org.springframework.boot.groovy.GroovyTemplate.*; 4 | 5 | @Component 6 | class Example implements CommandLineRunner { 7 | 8 | @Autowired 9 | private MyService myService 10 | 11 | @Override 12 | void run(String... args) { 13 | print template("test.txt", ["message":myService.sayWorld()]) 14 | } 15 | } 16 | 17 | 18 | @Service 19 | class MyService { 20 | 21 | String sayWorld() { 22 | return "World" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/dir-sample/code/app.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Component 4 | class Example implements CommandLineRunner { 5 | 6 | @Autowired 7 | private MyService myService 8 | 9 | void run(String... args) { 10 | println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/app.groovy')}" 11 | } 12 | } 13 | 14 | 15 | @Service 16 | class MyService { 17 | 18 | String sayWorld() { 19 | return "World!" 20 | } 21 | } 22 | 23 | 24 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-test-nomockito/src/main/java/sample/testnomockito/SampleTestNoMockitoApplication.java: -------------------------------------------------------------------------------- 1 | package sample.testnomockito; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SampleTestNoMockitoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SampleTestNoMockitoApplication.class); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/build-info-cutom-file/verify.groovy: -------------------------------------------------------------------------------- 1 | import org.springframework.boot.maven.Verify 2 | 3 | import static org.junit.Assert.assertTrue 4 | 5 | def file = new File(basedir, "target/build.info") 6 | println file.getAbsolutePath() 7 | Properties properties = Verify.verifyBuildInfo(file, 8 | 'org.springframework.boot.maven.it', 'build-info-custom-file', 9 | 'Generate custom build info', '0.0.1.BUILD-SNAPSHOT') 10 | assertTrue properties.containsKey('build.time') -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/build-info/verify.groovy: -------------------------------------------------------------------------------- 1 | import org.springframework.boot.maven.Verify 2 | 3 | import static org.junit.Assert.assertTrue 4 | 5 | def file = new File(basedir, "target/classes/META-INF/build-info.properties") 6 | println file.getAbsolutePath() 7 | Properties properties = Verify.verifyBuildInfo(file, 8 | 'org.springframework.boot.maven.it', 'build-info', 9 | 'Generate build info', '0.0.1.BUILD-SNAPSHOT') 10 | assertTrue properties.containsKey('build.time') -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/diagnostics/analyzer/nounique/producer.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/asciidoc/appendix-dependency-versions.adoc: -------------------------------------------------------------------------------- 1 | [appendix] 2 | [[appendix-dependency-versions]] 3 | == Dependency versions 4 | The table below provides details of all of the dependency versions that are provided by Spring Boot 5 | in its CLI, Maven dependency management and Gradle plugin. When you declare a dependency on one of 6 | these artifacts without declaring a version the version that is listed in the table will be used. 7 | 8 | include::../../../target/generated-resources/effective-pom.adoc[] -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-metrics-redis/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | service.name: Phil 2 | spring.metrics.export.redis.prefix: metrics.sample.${spring.metrics.export.aggregate.prefix} 3 | spring.metrics.export.redis.key: keys.metrics.sample 4 | spring.metrics.export.aggregate.prefix: ${random.value:0000}.${spring.application.name:application} 5 | spring.metrics.export.aggregate.key-pattern: d 6 | spring.jmx.default-domain: org.springframework.boot 7 | spring.data.redis.repositories.enabled=false -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/condition/foo.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /spring-boot-devtools/src/main/resources/META-INF/spring-devtools.properties: -------------------------------------------------------------------------------- 1 | restart.exclude.spring-boot=/spring-boot/target/classes/ 2 | restart.exclude.spring-boot-devtools=/spring-boot-devtools/target/classes/ 3 | restart.exclude.spring-boot-autoconfigure=/spring-boot-autoconfigure/target/classes/ 4 | restart.exclude.spring-boot-actuator=/spring-boot-actuator/target/classes/ 5 | restart.exclude.spring-boot-starter=/spring-boot-starter/target/classes/ 6 | restart.exclude.spring-boot-starters=/spring-boot-starter-[\\w-]+/ 7 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/restdoc/resources/templates/endpoints.adoc.tpl: -------------------------------------------------------------------------------- 1 | <% endpoints.each { endpoint -> 2 | if (endpoint.custom) { %> 3 | include::{docs}/${endpoint.custom}[] 4 | <% } else { %> 5 | === Link: ${endpoint.title} 6 | 7 | Example curl request: 8 | include::{generated}${endpoint.path}/curl-request.adoc[] 9 | 10 | Example HTTP request: 11 | include::{generated}${endpoint.path}/http-request.adoc[] 12 | 13 | Example HTTP response: 14 | include::{generated}${endpoint.path}/http-response.adoc[] 15 | <% } 16 | } %> -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure-github/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | security: 2 | oauth2: 3 | client: 4 | clientId: bd1c0a783ccdd1c9b9e4 5 | clientSecret: 1a9030fbca47a5b2c28e92f19050bb77824b5ad1 6 | accessTokenUri: https://github.com/login/oauth/access_token 7 | userAuthorizationUri: https://github.com/login/oauth/authorize 8 | clientAuthenticationScheme: form 9 | resource: 10 | userInfoUri: https://api.github.com/user 11 | preferTokenInfo: false 12 | -------------------------------------------------------------------------------- /spring-boot/src/main/resources/org/springframework/boot/logging/logback/console-appender.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | ${CONSOLE_LOG_PATTERN} 12 | utf8 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /spring-boot-cli/test-samples/integration_auto.groovy: -------------------------------------------------------------------------------- 1 | package com.example 2 | 3 | @SpringBootApplication 4 | @SpringBootTest(classes=RestTests, webEnvironment=WebEnvironment.RANDOM_PORT) 5 | class RestTests { 6 | 7 | @Autowired 8 | TestRestTemplate testRestTemplate; 9 | 10 | @Test 11 | void testHome() { 12 | assertEquals('Hello', testRestTemplate.getForObject('/', String)) 13 | } 14 | 15 | @RestController 16 | static class Application { 17 | @RequestMapping('/') 18 | String hello() { 'Hello' } 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/main/asciidoc/mappings.adoc: -------------------------------------------------------------------------------- 1 | === /mappings 2 | This endpoint lists the Spring MVC request mappings, so users can see the handlers 3 | registered for requests by path, method, media type, etc. 4 | 5 | Example curl request: 6 | include::{generated}/mappings/curl-request.adoc[] 7 | 8 | Example HTTP request: [small]##link:../mappings[icon:external-link[role="silver"]]## 9 | include::{generated}/mappings/http-request.adoc[] 10 | 11 | Example HTTP response: 12 | include::{generated}/mappings/http-response.adoc[] 13 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/grab-samples/repository/test/parent/1.0.0/parent-1.0.0.pom: -------------------------------------------------------------------------------- 1 | 2 | test 3 | parent 4 | 1.0.0 5 | pom 6 | 7 | 4.0.0 8 | 9 | 10 | 11 | 12 | javax.ejb 13 | ejb-api 14 | 3.0 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-exclude-artifact/verify.groovy: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import org.springframework.boot.maven.*; 3 | 4 | File f = new File( basedir, "target/jar-exclude-artifact-0.0.1.BUILD-SNAPSHOT.jar"); 5 | new Verify.JarArchiveVerification(f, Verify.SAMPLE_APP) { 6 | @Override 7 | protected void verifyZipEntries(Verify.ArchiveVerifier verifier) throws Exception { 8 | super.verifyZipEntries(verifier) 9 | verifier.assertHasNoEntryNameStartingWith("lib/servlet-api-2.5.jar") 10 | } 11 | }.verify(); 12 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/asciidoc/Guardfile: -------------------------------------------------------------------------------- 1 | require 'asciidoctor' 2 | require 'erb' 3 | 4 | guard 'shell' do 5 | watch(/.*\.adoc$/) {|m| 6 | Asciidoctor.render_file('index.adoc', \ 7 | :in_place => true, \ 8 | :safe => Asciidoctor::SafeMode::UNSAFE, \ 9 | :attributes=> { \ 10 | 'source-highlighter' => 'prettify', \ 11 | 'icons' => 'font', \ 12 | 'linkcss'=> 'true', \ 13 | 'copycss' => 'true', \ 14 | 'doctype' => 'book'}) 15 | } 16 | end 17 | 18 | guard 'livereload' do 19 | watch(%r{^.+\.(css|js|html)$}) 20 | end 21 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/asciidoc/index-docinfo.xml: -------------------------------------------------------------------------------- 1 | Spring Boot 2 | {spring-boot-version} 3 | 4 | 2013-2016 5 | 6 | 7 | 8 | Copies of this document may be made for your own use and for distribution to 9 | others, provided that you do not charge any fee for such copies and further 10 | provided that each copy contains this Copyright Notice, whether distributed in 11 | print or electronically. 12 | 13 | 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | *.sw? 3 | .#* 4 | *# 5 | *~ 6 | /build 7 | /code 8 | .classpath 9 | .project 10 | .settings 11 | .metadata 12 | .factorypath 13 | .recommenders 14 | bin 15 | build 16 | lib/ 17 | target 18 | .factorypath 19 | .springBeans 20 | interpolated*.xml 21 | dependency-reduced-pom.xml 22 | build.log 23 | _site/ 24 | .*.md.html 25 | manifest.yml 26 | MANIFEST.MF 27 | settings.xml 28 | activemq-data 29 | overridedb.* 30 | *.iml 31 | *.ipr 32 | *.iws 33 | .idea 34 | *.jar 35 | .DS_Store 36 | .factorypath 37 | dump.rdb 38 | transaction-logs 39 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/early-init-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/conf/Ubuntu/trusty-20160914/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:trusty-20160914 2 | RUN apt-get update && \ 3 | apt-get install -y software-properties-common && \ 4 | add-apt-repository ppa:webupd8team/java -y && \ 5 | apt-get update && \ 6 | echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ 7 | apt-get install -y oracle-java8-installer && \ 8 | apt-get install -y curl && \ 9 | apt-get clean 10 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/conf/Ubuntu/xenial-20160914/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:xenial-20160914 2 | RUN apt-get update && \ 3 | apt-get install -y software-properties-common && \ 4 | add-apt-repository ppa:webupd8team/java -y && \ 5 | apt-get update && \ 6 | echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \ 7 | apt-get install -y oracle-java8-installer && \ 8 | apt-get install -y curl && \ 9 | apt-get clean 10 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/git.properties: -------------------------------------------------------------------------------- 1 | #Generated by Git-Commit-Id-Plugin 2 | #Thu May 23 09:26:42 BST 2013 3 | git.commit.id.abbrev=e02a4f3 4 | git.commit.user.email=dsyer@vmware.com 5 | git.commit.message.full=Update Spring 6 | git.commit.id=e02a4f3b6f452cdbf6dd311f1362679eb4c31ced 7 | git.commit.message.short=Update Spring 8 | git.commit.user.name=Dave Syer 9 | git.build.user.name=Dave Syer 10 | git.build.user.email=dsyer@vmware.com 11 | git.branch=develop 12 | git.commit.time=2013-04-24T08\:42\:13+0100 13 | git.build.time=2013-05-23T09\:26\:42+0100 14 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jetty-jsp/src/main/webapp/WEB-INF/jsp/welcome.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> 4 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 5 | 6 | 7 | 8 | 9 | 10 | 11 | Spring URL: ${springUrl} at ${time} 12 |
13 | JSTL URL: ${url} 14 |
15 | Message: ${message} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-jsp/src/main/webapp/WEB-INF/jsp/welcome.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> 4 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 5 | 6 | 7 | 8 | 9 | 10 | 11 | Spring URL: ${springUrl} at ${time} 12 |
13 | JSTL URL: ${url} 14 |
15 | Message: ${message} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat-jsp/src/main/webapp/WEB-INF/jsp/welcome.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> 4 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 5 | 6 | 7 | 8 | 9 | 10 | 11 | Spring URL: ${springUrl} at ${time} 12 |
13 | JSTL URL: ${url} 14 |
15 | Message: ${message} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-tomcat7-jsp/src/main/webapp/WEB-INF/jsp/welcome.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> 4 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 5 | 6 | 7 | 8 | 9 | 10 | 11 | Spring URL: ${springUrl} at ${time} 12 |
13 | JSTL URL: ${url} 14 |
15 | Message: ${message} 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | build-info 7 | 8 | 9 | 10 | 11 | true 12 | false 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/META-INF/persistence.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | org.springframework.boot.autoconfigure.orm.jpa.test.City 5 | true 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jpa/src/main/resources/templates/index.ftl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | <#list notes as note> 16 | 17 | 18 | 19 | 24 | 25 | 26 | 27 |
TitleBodyTags
${note.title}${note.body} 20 | <#list note.tags as tag> 21 | ${tag.name} 22 | 23 |
28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/deprecated-plugin.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | } 5 | dependencies { 6 | classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}") 7 | } 8 | } 9 | 10 | apply plugin: 'spring-boot' 11 | 12 | group = 'deprecated-plugin' 13 | version = '0.0.0' 14 | 15 | repositories { 16 | mavenLocal() 17 | mavenCentral() 18 | } 19 | 20 | springBoot { 21 | mainClass 'com.example.Main' 22 | } 23 | 24 | dependencies { 25 | compile 'org.springframework.boot:spring-boot-starter' 26 | } -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-web-secure-github/src/main/resources/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Title 5 | 6 | 7 | 8 |
9 | 17 |

Super Special Greeting

18 |
Hello World
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /spring-boot-devtools/src/main/resources/org/springframework/boot/devtools/remote-banner.txt: -------------------------------------------------------------------------------- 1 | . ____ _ __ _ _ 2 | /\\ / ___'_ __ _ _(_)_ __ __ _ ___ _ \ \ \ \ 3 | ( ( )\___ | '_ | '_| | '_ \/ _` | | _ \___ _ __ ___| |_ ___ \ \ \ \ 4 | \\/ ___)| |_)| | | | | || (_| []::::::[] / -_) ' \/ _ \ _/ -_) ) ) ) ) 5 | ' |____| .__|_| |_|_| |_\__, | |_|_\___|_|_|_\___/\__\___|/ / / / 6 | =========|_|==============|___/===================================/_/_/_/ 7 | :: Spring Boot Remote :: ${spring-boot.formatted-version} 8 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/flatdir.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | } 5 | dependencies { 6 | classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}") 7 | } 8 | } 9 | 10 | apply plugin: 'org.springframework.boot' 11 | 12 | group = 'flatdir' 13 | version = '0.0.0' 14 | 15 | bootRun { 16 | main = 'Foo' 17 | } 18 | 19 | jar { 20 | baseName = 'flatdir' 21 | } 22 | 23 | repositories { 24 | mavenLocal() 25 | flatDir( dirs:'lib' ) 26 | } 27 | 28 | dependencies { 29 | compile ':foo:1.0.0' 30 | } 31 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-deprecated.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": [ 3 | { 4 | "name": "server.port", 5 | "type": "java.lang.Integer", 6 | "deprecation": { 7 | "reason": "Server namespace has moved to spring.server", 8 | "replacement": "server.spring.port" 9 | } 10 | }, 11 | { 12 | "name": "server.cluster-name", 13 | "type": "java.lang.String", 14 | "deprecated": true 15 | }, 16 | { 17 | "name": "spring.server.name", 18 | "type": "java.lang.String", 19 | "deprecated": false 20 | } 21 | ] 22 | } -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/condition/factorybean.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/retry.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @EnableRetry 4 | @Component 5 | class Example implements CommandLineRunner { 6 | 7 | @Autowired 8 | private MyService myService 9 | 10 | void run(String... args) { 11 | println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/retry.groovy')}" 12 | } 13 | } 14 | 15 | 16 | @Service 17 | class MyService { 18 | 19 | static int count = 0 20 | 21 | @Retryable 22 | String sayWorld() { 23 | if (count++==0) { 24 | throw new IllegalStateException("Planned") 25 | } 26 | return "World!" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /spring-boot-docs/src/main/docbook/css/highlight.css: -------------------------------------------------------------------------------- 1 | /* 2 | code highlight CSS resemblign the Eclipse IDE default color schema 3 | @author Costin Leau 4 | */ 5 | 6 | .hl-keyword { 7 | color: #7F0055; 8 | font-weight: bold; 9 | } 10 | 11 | .hl-comment { 12 | color: #3F5F5F; 13 | font-style: italic; 14 | } 15 | 16 | .hl-multiline-comment { 17 | color: #3F5FBF; 18 | font-style: italic; 19 | } 20 | 21 | .hl-tag { 22 | color: #3F7F7F; 23 | } 24 | 25 | .hl-attribute { 26 | color: #7F007F; 27 | } 28 | 29 | .hl-value { 30 | color: #2A00FF; 31 | } 32 | 33 | .hl-string { 34 | color: #2A00FF; 35 | } -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-jooq/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO language VALUES (1, 'EN', 'English'); 2 | 3 | INSERT INTO author VALUES (1, 'Greg', 'Turnquest', '1804-09-17', 1804, 1); 4 | INSERT INTO author VALUES (2, 'Craig', 'Walls', '1804-09-18', 1804, 1); 5 | 6 | INSERT INTO book VALUES (1, 1, 'Learning Spring Boot', 2015, 1); 7 | INSERT INTO book VALUES (2, 2, 'Spring Boot in Action', 2015, 1); 8 | 9 | INSERT INTO book_store VALUES ('Barnes & Noble'); 10 | 11 | INSERT INTO book_to_book_store VALUES ('Barnes & Noble', 1, 10); 12 | INSERT INTO book_to_book_store VALUES ('Barnes & Noble', 2, 3); 13 | -------------------------------------------------------------------------------- /spring-boot-cli/src/test/resources/foo.pom: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 4.0.0 9 | 10 | foo 11 | foo 12 | jar 13 | 1.0 14 | 15 | 16 | UTF-8 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/multi-project-runtime-project-dependency/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | } 5 | dependencies { 6 | classpath "org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}" 7 | } 8 | } 9 | 10 | project(':projectA') { 11 | apply plugin: 'org.springframework.boot' 12 | repositories { 13 | mavenLocal() 14 | } 15 | dependencies { 16 | runtime project(':projectB') 17 | } 18 | bootRepackage { 19 | mainClass 'com.foo.Bar' 20 | } 21 | } 22 | 23 | project(':projectB') { 24 | apply plugin: 'java' 25 | } -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/nojar.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | } 5 | dependencies { 6 | classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}") 7 | } 8 | } 9 | 10 | apply plugin: 'org.springframework.boot' 11 | 12 | group = 'nojar' 13 | version = '0.0.0' 14 | 15 | jar { 16 | enabled = false 17 | } 18 | 19 | bootRepackage { 20 | enabled = false 21 | } 22 | 23 | repositories { 24 | mavenLocal() 25 | mavenCentral() 26 | } 27 | 28 | dependencies { 29 | compile 'org.springframework.boot:spring-boot-starter' 30 | } 31 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-cache/src/main/resources/hazelcast.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 600 7 | 200 8 | 9 | 10 | 11 | 12 | 13 | true 14 | true 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-boot-cli/src/main/content/shell-completion/zsh/_spring: -------------------------------------------------------------------------------- 1 | #compdef spring 'spring' 2 | #autoload 3 | 4 | _spring() { 5 | 6 | local cword 7 | let cword=CURRENT-1 8 | 9 | local hints 10 | hints=() 11 | 12 | local reply 13 | while read -r line; do 14 | reply=`echo "$line" | awk '{printf $1 ":"; for (i=2; i 6 | 7 | 8 | 600 9 | 10 | 200 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-custom-layout/src/it/default/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | flatDir { 4 | dirs '../..' 5 | } 6 | mavenLocal() 7 | } 8 | dependencies { 9 | classpath "org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}" 10 | classpath "org.springframework.boot:spring-boot-sample-custom-layout:${project.bootVersion}" 11 | } 12 | } 13 | 14 | repositories { 15 | mavenLocal() 16 | mavenCentral() 17 | } 18 | 19 | apply plugin: 'java' 20 | apply plugin: 'org.springframework.boot' 21 | 22 | dependencies { 23 | compile 'org.springframework.boot:spring-boot-starter' 24 | } 25 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/main/asciidoc/beans.adoc: -------------------------------------------------------------------------------- 1 | === /beans 2 | This endpoint is a report on the Spring Boot `ApplicationContext`. It lists the beans in 3 | the context and their dependencies, detailing the names and concrete classes of each bean. 4 | 5 | NOTE: Some beans are pure configuration (any class that is annotated `@Configuration`). 6 | 7 | Example curl request: 8 | include::{generated}/beans/curl-request.adoc[] 9 | 10 | Example HTTP request: [small]##link:../beans[icon:external-link[role="silver"]]## 11 | include::{generated}/beans/http-request.adoc[] 12 | 13 | Example HTTP response: 14 | include::{generated}/beans/http-response.adoc[] 15 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/context/embedded/exampleEmbeddedWebApplicationConfiguration.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/sample-beans.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/infinispan.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /spring-boot-samples/spring-boot-sample-webservices/README.adoc: -------------------------------------------------------------------------------- 1 | == Spring Boot - Samples - Web Services 2 | 3 | This sample project demonstrates how to use http://projects.spring.io/spring-ws/[Spring Web Services] 4 | with Spring Boot. It is an implementation of the 5 | http://docs.spring.io/spring-ws/site/reference/html/tutorial.html#tutorial.implementing.endpoint[Holiday Request sample] 6 | in the Spring Web Services reference guide. 7 | 8 | The sample uses Maven. It can be built and run from the command line: 9 | 10 | ---- 11 | $ mvn spring-boot:run 12 | ---- 13 | 14 | http://localhost:8080/services/holidayService/holiday.wsdl will now display the generated WSDL. 15 | -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-foo2.json: -------------------------------------------------------------------------------- 1 | { 2 | "groups": [ 3 | { 4 | "name": "spring.foo", 5 | "type": "org.acme.Foo2", 6 | "sourceType": "org.acme.config.FooApp", 7 | "sourceMethod": "foo2()", 8 | "description": "This is Foo2." 9 | } 10 | ], 11 | "properties": [ 12 | { 13 | "name": "spring.foo.enabled", 14 | "type": "java.lang.Boolean", 15 | "sourceType": "org.acme.Foo2" 16 | }, 17 | { 18 | "name": "spring.foo.type", 19 | "type": "java.lang.String", 20 | "sourceType": "org.acme.Foo2" 21 | } 22 | ] 23 | } -------------------------------------------------------------------------------- /spring-boot/src/test/resources/log4j2-nondefault.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ???? 5 | ${sys:LOG_FILE} %d{yyyy-MM-dd HH:mm:ss.SSS}] service%X{context} - ${sys:PID} %5p [%t] --- %c{1}: %m%n 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /spring-boot-cli/samples/http.groovy: -------------------------------------------------------------------------------- 1 | package org.test 2 | 3 | @Grab("org.codehaus.groovy.modules.http-builder:http-builder:0.5.2") // This one just to test dependency resolution 4 | import groovyx.net.http.* 5 | 6 | @Controller 7 | class Example implements CommandLineRunner { 8 | 9 | @Autowired 10 | ApplicationContext context; 11 | 12 | @RequestMapping("/") 13 | @ResponseBody 14 | public String helloWorld() { 15 | return "World!" 16 | } 17 | 18 | void run(String... args) { 19 | def port = context.embeddedServletContainer.port; 20 | def world = new RESTClient("http://localhost:" + port).get(path:"/").data.text 21 | print "Hello " + world 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-boot-cli/src/main/content/LICENCE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2012-2013 the original author or authors. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | 15 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/main/asciidoc/trace.adoc: -------------------------------------------------------------------------------- 1 | === /trace 2 | This endpoint lists contents of the `TraceRepository` (which users can override by 3 | providing a bean of that type, or by injecting that bean and adding stuff to it). By 4 | default it stores the last 100 HTTP requests, including all headers in the request and 5 | response, and the path and HTTP status. 6 | 7 | Example curl request: 8 | include::{generated}/trace/curl-request.adoc[] 9 | 10 | Example HTTP request: [small]##link:../trace[icon:external-link[role="silver"]]## 11 | include::{generated}/trace/http-request.adoc[] 12 | 13 | Example HTTP response: 14 | include::{generated}/trace/http-response.adoc[] 15 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/classifier.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | } 5 | dependencies { 6 | classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}") 7 | } 8 | } 9 | 10 | apply plugin: 'java' 11 | apply plugin: 'maven' 12 | apply plugin: 'org.springframework.boot' 13 | 14 | jar { 15 | baseName = 'classifier' 16 | } 17 | 18 | bootRepackage { 19 | classifier = 'exec' 20 | mainClass = 'demo.Application' 21 | } 22 | 23 | repositories { 24 | mavenLocal() 25 | mavenCentral() 26 | } 27 | 28 | dependencies { 29 | compile "org.springframework:spring-core" 30 | } 31 | -------------------------------------------------------------------------------- /spring-boot-actuator-docs/src/main/asciidoc/info.adoc: -------------------------------------------------------------------------------- 1 | === /info 2 | This endpoint is empty and marked as `sensitive=false` by default (so it is 3 | unauthenticated by default if Spring Security is in use). It reflects the content of the 4 | `info.*` properties in the `Environment`, as well as the properties in `git.properties` 5 | if such a file exists in the root of the classpath. 6 | 7 | Example curl request: 8 | include::{generated}/info/curl-request.adoc[] 9 | 10 | Example HTTP request: [small]##link:../info[icon:external-link[role="silver"]]## 11 | include::{generated}/info/http-request.adoc[] 12 | 13 | Example HTTP response: 14 | include::{generated}/info/http-response.adoc[] 15 | -------------------------------------------------------------------------------- /spring-boot/src/test/resources/org/springframework/boot/context/properties/testProperties.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /spring-boot/src/main/resources/org/springframework/boot/logging/java/logging.properties: -------------------------------------------------------------------------------- 1 | handlers =java.util.logging.ConsoleHandler 2 | .level = INFO 3 | 4 | java.util.logging.ConsoleHandler.formatter = org.springframework.boot.logging.java.SimpleFormatter 5 | java.util.logging.ConsoleHandler.level = ALL 6 | 7 | org.hibernate.validator.internal.util.Version.level = WARNING 8 | org.apache.coyote.http11.Http11NioProtocol.level = WARNING 9 | org.apache.tomcat.util.net.NioSelectorPool.level = WARNING 10 | org.apache.catalina.startup.DigesterFactory.level = SEVERE 11 | org.apache.catalina.util.LifecycleBase.level = SEVERE 12 | org.eclipse.jetty.util.component.AbstractLifeCycle.level = SEVERE 13 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/classifier-extension.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | } 5 | dependencies { 6 | classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}") 7 | } 8 | } 9 | 10 | apply plugin: 'java' 11 | apply plugin: 'maven' 12 | apply plugin: 'org.springframework.boot' 13 | 14 | jar { 15 | baseName = 'classifier-extension' 16 | } 17 | 18 | springBoot { 19 | classifier = 'exec' 20 | mainClass = 'demo.Application' 21 | } 22 | 23 | repositories { 24 | mavenLocal() 25 | mavenCentral() 26 | } 27 | 28 | dependencies { 29 | compile "org.springframework:spring-core" 30 | } 31 | -------------------------------------------------------------------------------- /spring-boot-actuator/src/test/resources/db/changelog/db.changelog-master.yaml: -------------------------------------------------------------------------------- 1 | databaseChangeLog: 2 | - changeSet: 3 | id: 1 4 | author: marceloverdijk 5 | changes: 6 | - createTable: 7 | tableName: customer 8 | columns: 9 | - column: 10 | name: id 11 | type: int 12 | autoIncrement: true 13 | constraints: 14 | primaryKey: true 15 | nullable: false 16 | - column: 17 | name: name 18 | type: varchar(50) 19 | constraints: 20 | nullable: false 21 | -------------------------------------------------------------------------------- /spring-boot-autoconfigure/src/test/resources/db/changelog/db.changelog-master.yaml: -------------------------------------------------------------------------------- 1 | databaseChangeLog: 2 | - changeSet: 3 | id: 1 4 | author: marceloverdijk 5 | changes: 6 | - createTable: 7 | tableName: customer 8 | columns: 9 | - column: 10 | name: id 11 | type: int 12 | autoIncrement: true 13 | constraints: 14 | primaryKey: true 15 | nullable: false 16 | - column: 17 | name: name 18 | type: varchar(50) 19 | constraints: 20 | nullable: false 21 | -------------------------------------------------------------------------------- /spring-boot-integration-tests/spring-boot-gradle-tests/src/test/resources/spring-loaded-old-gradle/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | mavenLocal() 4 | mavenCentral() 5 | } 6 | dependencies { 7 | classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}") 8 | classpath("org.springframework:springloaded:${project.springLoadedVersion}") 9 | } 10 | } 11 | 12 | apply plugin: 'java' 13 | apply plugin: 'org.springframework.boot' 14 | 15 | repositories { 16 | mavenLocal() 17 | mavenCentral() 18 | } 19 | 20 | dependencies { 21 | compile("org.springframework.boot:spring-boot-starter") 22 | } 23 | 24 | jar { 25 | baseName = 'spring-loaded-old-gradle' 26 | } -------------------------------------------------------------------------------- /spring-boot-tools/spring-boot-maven-plugin/src/it/jar-lib-name-conflict/another-acme-lib/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | org.springframework.boot.maven.it.another 6 | acme-lib 7 | 8 | 9 | org.springframework.boot.maven.it 10 | jar-lib-name-conflict 11 | 0.0.1.BUILD-SNAPSHOT 12 | 13 | 14 | 15 | --------------------------------------------------------------------------------