Dave Syer
8ecec7e511
Include Tomcat JDBC preferentially if using starter-poms
...
When user deploys app as a WAR in Tomcat, unless the tomcat-jdbc.jar
is in the app package, it will be found in the parent first and then
be unable to load the Driver class.
[Fixes #56720610 ] [bs-316] Tomcat non-embedded cannot load SQL driver class
2013-09-12 11:53:57 -07:00
Dave Syer
e6c1586717
Fix off -by-one logic error
2013-09-12 09:31:29 -07:00
Dave Syer
a9113d58a3
Bootstrap->Boot in startup log
...
[Fixes #56812760 ] [bs-319] Spring bootstrap in log message
2013-09-12 08:46:46 -07:00
Dave Syer
1026e349c4
Prevent Mongo sample tests from failing in CI
2013-09-12 08:41:02 -07:00
checketts
7236015a4d
Fix the AuthenticationManagerBuilder code snippet
...
Fix AuthenticationManagerBuilder code snippet to add the missing the
ObjectPostProcessor parameter for the constructor.
Issue: #45
2013-09-11 11:04:00 -07:00
Dave Syer
191894a16a
Add Mongo auto configuration
...
Spring Data Mongo is the only dependency so it doesn't
really need a new starter. Added a sample though.
2013-09-11 09:53:36 -07:00
Dave Syer
d06d202fd0
Add AopAutoConfiguration (also starter and sample)
...
A side effect is that spring-boot-starter-data-jpa needs
to include an aspectjweaver depdendency. Hope that doesn't
hurt anything else.
[Fixes #56780004 ]
2013-09-11 06:18:34 -07:00
Dave Syer
ba4a81510b
Add response headers to Trace
2013-09-09 04:19:38 -07:00
Dave Syer
7a6131c466
Make InMemoryMetricRepository.increment() thread safe
2013-09-09 04:19:38 -07:00
Phillip Webb
eb246d6bed
Update README.md to M4
2013-09-08 22:31:54 -07:00
Dave Syer
8467a66e84
Add security.management.enabled flag
2013-09-06 19:54:15 +01:00
Dave Syer
5f8f062545
Allow security.ignored=none to switch off ignores
2013-09-06 09:40:04 +01:00
Spring Buildmaster
938c267a1d
Next development version
2013-09-05 23:20:10 -07:00
Phillip Webb
251e22a561
Update travis build
2013-09-05 22:20:41 -07:00
Phillip Webb
2a3985eab7
Add Javadoc aggregate project
...
Add a Maven project to aggregate appropriate Javadocs into a
consolidated set.
2013-09-05 22:05:52 -07:00
Phillip Webb
a33425920b
Rework POMs to support automated CI release
2013-09-05 22:05:29 -07:00
Phillip Webb
a44f8bc59e
Increase SampleIntegrationTests run timeouts
...
Increase the timeouts to give CI builds more time should dependencies
be missing.
2013-09-05 22:04:39 -07:00
Phillip Webb
16cf2faa1b
Remove sample gradle builds
...
Remove sample gradle builds since they are not run during the regular
build and would need to be manually updated after a release.
2013-09-05 22:04:24 -07:00
Dave Syer
8965eeaa76
Update M1->M2 in README
2013-09-05 17:15:17 -07:00
Dave Syer
f63071d38a
Allow security.ignored to be set as a list (e.g. indexed)
...
In particular this allows a YAML externalization as an array
as opposed to a CSV.
2013-09-05 17:15:17 -07:00
Dave Syer
1366216b7f
Add X-Application-Context header to identify app
2013-09-05 17:15:16 -07:00
Dave Syer
2b1f629761
Make ConfigurationPropertiesBindingPostProcessor Ordered
2013-09-05 17:15:16 -07:00
Dave Syer
2ba01008bb
Add headers external properties for security filters
2013-09-05 17:15:16 -07:00
Dave Syer
759aa785a7
Fix bug in datasource autoconfiguration
...
The AbstractDataSourceConfiguration had path= in its
@ConfigurationProperties by mistake (should have been value)
2013-09-05 17:15:16 -07:00
Dave Syer
5d7101fb5a
Really disable security for app endpoints
...
If the user sets security.basic.enabled=false we should just
back away from the non-management endpoints completely.
Previously the Spring Security filter was still added but with
no authentication, creating complications when unexpected
headers etc. are added by Spring Security.
2013-09-05 17:15:16 -07:00
Dave Syer
8a1e39c4dc
Remove unused annotation
2013-09-05 17:15:16 -07:00
Dave Syer
8c7c5d4dc9
Widen net for errors in vcap initializer
2013-09-05 17:15:15 -07:00
Phillip Webb
e2b3c03fc4
Refine LaunchedURLClassLoader load order
...
Refine the loading order of LaunchedURLClassLoader to consider the
root loader before locally bundled classes.
The prevents classes from locally bundled JARs from replacing system
classes.
Issue: #56232870
2013-09-05 17:15:15 -07:00
Phillip Webb
680741fdc8
Fix LaunchedURLClassLoader Java 1.6 compatibility
2013-09-05 17:15:15 -07:00
Phillip Webb
cd2c18965e
Support javaagent instrumentation with loader
...
Update spring-boot-loader to allow `-javaagent` instrumentation when
running from executable jars.
Prior to this commit the `Launcher` skipped the application classloader
and instead used the system classloader as a parent. This was to ensure
that locally packaged classes were always loaded by the classloader
that had access to nested jars. Unfortunately when using the
`-javaagent` option, it is the application classloader that is modified.
The `Launcher` class now uses the application classloader as parent
and `LaunchedURLClassLoader` has been updated to always search local
URLs before delegating to the parent. This is very similar to the way
that most application servers handle the loading of war files.
Issue: #56232870
2013-09-05 17:15:15 -07:00
Dave Syer
8bc06b4ee8
Add spring-messaging
2013-09-05 17:15:15 -07:00
Dave Syer
38e565e920
Back to SNAPSHOT for dev
2013-09-05 17:15:15 -07:00
Dave Syer
b634b3bde6
Update to 0.5.0.M2
2013-09-05 17:15:15 -07:00
Dave Syer
3753333deb
Upgrade to Spring 4.0.0.M3
2013-09-05 17:15:14 -07:00
Dave Syer
5755b07e6c
Switch roles of snake and echo
...
Snake is stateful so it should be one per connection. Echo is the
opposite.
2013-09-05 17:15:14 -07:00
Phillip Webb
347f30d135
Recognize @RestController as MVC Application
...
Update CLI SpringMvcCompilerAutoConfiguration to recognize Spring's new
@RestController annotation.
2013-09-05 17:15:14 -07:00
Phillip Webb
13f51b7901
Add version properties
...
Add version properties to dependencies POM so that users can easily
override. Also use consistent naming for all property keys.
2013-09-05 17:15:14 -07:00
Dave Syer
9ad0c59592
Add MANIFEST.MF to ignores
2013-09-05 17:15:10 -07:00
Dave Syer
c4223d645d
Updated WebSocketAutoConfiguration to use @EnableWebSocket
2013-09-05 17:14:17 -07:00
Dave Syer
5fa0166dea
Upgrade to Reactor 1.0.0.M2
2013-09-05 17:14:17 -07:00
Dave Syer
082678d660
Use echo+exit instead of die
2013-09-05 17:14:17 -07:00
Phillip Webb
2c94dcdc8c
Polish
2013-09-05 17:14:16 -07:00
Phillip Webb
1d4f86452f
Use web-starter for CLI MVC compiler auto-config
2013-09-05 17:14:16 -07:00
Phillip Webb
6a227a2298
Move non-inherited JPA @Condition annotations
...
Move JPA @Condition annotations from JpaBaseConfiguration to
HibernateJpaAutoConfiguration since they are not inherited.
2013-09-05 17:14:16 -07:00
Phillip Webb
5b7d56895b
Provide accurate InputStream.available() results
...
Provide accurate InputStream.available() results by using the size
attribute of the ZipEntry. This helps improve performance with
CGLib and also fixes issues where libraries expect that a non-zero
result from available() indicates that read() will not return -1.
2013-09-05 17:14:16 -07:00
Phillip Webb
cb7cc3991b
Make data-jpa conditional on DataSource bean
2013-09-05 17:14:16 -07:00
Phillip Webb
4fd7fc015e
Include note about MAVEN_OPTS
2013-09-05 17:14:15 -07:00
Phillip Webb
63f80d0ec1
Include note about MAVEN_OPTS
2013-09-05 17:14:15 -07:00
Phillip Webb
f7b69fd009
Add maven-compler-plugin to starter POM
...
Add maven-compler-plugin to starter POM in an attempt to fix drone.io
errors downstream.
2013-09-05 17:14:15 -07:00
Phillip Webb
f9439a2343
Add travis CI build status image
2013-09-05 17:14:15 -07:00