Commit Graph

41462 Commits (d2c4e8d4f617f878c007f286862042451cca952d)
 

Author SHA1 Message Date
Oliver Gierke d2def68602 Cleanups Spring Data JPA example.
Various cleanups to the Spring Data JPA example, including:

* Move repositories into service package and make them package private
  thus only expose the service interfaces to clients.
* Merge HotelRepository and HotelSummaryRepository and make service
  implementations package protected.
* Introduce integration test base class to bootstrap the app as
  SpringAppliation.run would.
* Refactor central test case to rather use Spring MVC integration
  testing framework.
* Add integration tests for repositories to execute query methods.
11 years ago
Phillip Webb c1344683ab Fixup sample links in README.md 11 years ago
Phillip Webb 1db22aca5c Rework POM structure
Rework main build POM to be an aggregator pom that does not inherit
from any parent. Introduce new spring-boot-dependencies module to
act as a parent for both spring-boot-starter-parent and
spring-boot-parent.
11 years ago
Dave Syer 789a5d978b Fix jar file name in alias 11 years ago
Dave Syer 27ebb52196 Add back dev profile 11 years ago
Dave Syer ee4b533539 Fix maven repo link 11 years ago
Dave Syer 859e6c2ea8 Add spring-test to parents for samples 11 years ago
Dave Syer a51e064f56 Alias for spring-cli now uses wget 11 years ago
Dave Syer 413658fbca Change parent for tools poms 11 years ago
Dave Syer 24e766b4e5 Add travis build 11 years ago
Dave Syer 4bb5de02e7 Switch back to SNAPSHOT for dev 11 years ago
Dave Syer 638a31f5e3 Fix poms for a milestone release 11 years ago
Dave Syer 19a880dff6 Move tools modules under spring-boot-tools 11 years ago
Dave Syer 68e5a7e887 Bump version to 0.5.0.M1 11 years ago
Phillip Webb fda537d3b9 Polish 11 years ago
Phillip Webb e1c6860a41 Documentation 11 years ago
Phillip Webb 5a7236625b Do not use property placeholder in config names
Update ConfigFileApplicationContextInitializer so that the names
property defaults to `${spring.config.name},application`. This allows
application.properties files to be loaded even when property placeholder
expansion is not enabled.

Issue: #54462910
11 years ago
Phillip Webb 448e3283bc Polish 11 years ago
Phillip Webb 6ada4553ae Change binding exceptionIfInvalid default to true
Issue: #54462302
11 years ago
Phillip Webb 88bc6c0b56 Update Javadoc following source logic change
Update Javadoc to indicate the sources are used in addition to those
specified on construction. Also renamed member variables and fixed
log output.

Issue: #54185750
11 years ago
Dave Syer 3fda19af58 Change semantics of spring.main.sources slightly
Now the environment overrides aare **added** to the
sources provided in SpringApplication.run(). This
avoids some potential surprises where setSources()
would have been silently ignored.

[#54185750]
11 years ago
Phillip Webb 25f31b6358 Polish RegistrationBean logic 11 years ago
Phillip Webb d835ee548d Documentation 11 years ago
Phillip Webb 57f62a5a20 Remove samples from main POM 11 years ago
Phillip Webb bd5e49fc84 Revert "Remove integration tests project"
Turns out the maven-plugin still causes issues.

This reverts commit 1ccdf2f6cf.
11 years ago
Dave Syer 1c34fb5ed3 Fix mvn assembly 11 years ago
Phillip Webb 1ccdf2f6cf Remove integration tests project
Remove no longer required integration tests project. Samples can
now be called as part of the build since the maven plugin is no
longer an extension.
11 years ago
Phillip Webb 5450af70e0 Ops -> Actuator 11 years ago
Phillip Webb c83400d265 Move conditions from boot to autoconfigure
Issue: #54393078
11 years ago
Phillip Webb 4c067a89fe Ops -> Actuator 11 years ago
Phillip Webb d1ceed2f7d Polish banner 11 years ago
Dave Syer 92ff433dd0 Add samples to pom so they are part of reactor
(Might remove this later but getting ready for a release)
11 years ago
Dave Syer 00e893780a Allow spring.main.sources to override only if uninitialized
The problem this change fixes is that spring.main.sources would always
be bound to SpringApplication.sources when provided in a properties file
even if SpringApplication.run() is called directly with sources. This
led to confusion with users saying that their sources were not working
where in fact they weren't even being used.

There would be more than one way to approach this problem, but we
have chosen for now to ignore spring.main.sources completely
if the SpringApplication constructor was already called with
explicit non-empty sources. It might be preferable, if possible,
to only ignore its value in an external properties file (allowing
command line or System properties to override). If we want to change
the behaviour again, I suggest a new story should be created.

[Fixes #54185750] [bs-255]
11 years ago
Dave Syer 39425c81d6 Servlet context document root not found when running as exploded WAR
* Added additional search in
AbstractEmbeddedServletContainerFactory.getValidDocumentRoot() to
detect a /WEB-INF/ directory in the code archive
* If the code archive is in /WEB-INF/** then we assume it is
safe to serve content from / (exposes the loader classes
but nothing sensitive from the app)

[Fixes #54345578]
11 years ago
Phillip Webb b65625bec3 Ensure registerShutdownHook is called for apps 11 years ago
Dave Syer 5995b7727a Ops -> Actuator 11 years ago
Dave Syer ec3c5b5321 Add auto compile tweaks for reactor 11 years ago
Phillip Webb 9cf59050d3 Documentation 11 years ago
Phillip Webb ec36efd50f Rename Spring Bootstrap -> Spring Boot 11 years ago
Phillip Webb 3bb79db579 Renamed spring-boot-ups -> spring-boot-starter 11 years ago
Dave Syer 2f0a96c986 Remove unused @ComponentScan 11 years ago
Dave Syer 6d76467a66 Add responsive features to static sample 11 years ago
Phillip Webb 0fee00f0d7 Add gradle example builds
Add gradle example builds to spring-boot-sample-tomcat and
spring-boot-sample-traditional.

Issue: #53129653
11 years ago
Phillip Webb 2752177fba Add spring-boot-gradle-plugin
Develop gradle plugin that can repackage JAR/WAR archives so that
they can be launched using 'java -jar'

Issue: #53129653
11 years ago
Phillip Webb 0db6799def Polish spring-boot-loader-tools
Issue: #53129653
11 years ago
Phillip Webb 826f42746a Fix package name for boot-loader-tools
Issue: #53129653
11 years ago
Phillip Webb d1c31445ec Fixup various spring-boot-loader-tools issues
Fix compression of existing jars to detect nested zip entries and
use the STORED method.

Also fixed various test errors.

Issue: #53129653
11 years ago
Phillip Webb 14062964e0 Remove v[N/A] log output 11 years ago
Phillip Webb 82f16a0430 Ignore eclipse generated markdown files 11 years ago
Phillip Webb 6fd6d3a73e Rename maven 'package' goal to 'repackage' 11 years ago