Phillip Webb
15bc25dc29
Further re-organization of launcher code
2013-09-24 15:31:24 -07:00
Dave Syer
0e0eb7d3fa
Add loader.system (flag to copy properties to System)
2013-09-24 09:23:44 +01:00
Dave Syer
a3af83cf96
Add internal property replacement
...
E.g. in application.properties (for launcher)
foo: Application
loader.main: my.${foo}
loader.path: etc
2013-09-24 09:15:30 +01:00
Dave Syer
a70d293c87
Re-organize the Launcher code a bit
2013-09-24 08:52:04 +01:00
Phillip Webb
e9fd7c96b8
Loader changes
2013-09-24 08:52:04 +01:00
Dave Syer
053c072155
Add some tests for PropertiesLauncher
2013-09-24 08:52:04 +01:00
Dave Syer
f83fd47184
Add PropertiesLauncher
2013-09-24 08:52:03 +01:00
Oliver Gierke
604b9069b1
#58 - Upgraded Spring Data JPA dependencies to Babbage release train.
...
Adapted to changes in the API in Spring Data Commons which requires to pass in the current Environment into the AnnotationRepositoryConfigurationSource.
2013-09-24 08:45:05 +01:00
Phillip Webb
fd9e258d12
Replace 'springsource.org' with 'spring.io'
...
Replace all references to 'springsource.org' with the new 'spring.io'
domain.
2013-09-23 14:44:59 -07:00
Dave Syer
abb1420486
Fixes #55 : stop() connector to unbind socket
...
The `Tomcat.start()` has to happen to initialize the `ServletContext`
but we can immediately stop the connector and then restart it when
the context is finished refreshing. Seems to make curl fail quickly
if an app is slow to start.
2013-09-20 18:16:03 +01:00
Christian Dupuis
a1631d581b
Add license and legal information on third party open source software that is part of the CLI distribution
2013-09-20 16:40:02 +01:00
Dave Syer
3c4f1a7a6f
Fixes #54 : stop servlet container if context fails to start
2013-09-20 16:38:26 +01:00
Greg Turnquist
97af88a8d8
Switch activemq to version 5.4.0 to avoid slf4j issue
2013-09-20 15:38:59 +01:00
Dave Syer
04ba4d064e
Investigating failing tests
2013-09-20 15:38:49 +01:00
Dave Syer
5925e153b4
Make sure JMS is on classpath as well
2013-09-20 10:27:42 +01:00
Greg Turnquist
2e5fc2b36f
Ignore IntelliJ build stuff
2013-09-19 09:49:56 +01:00
Phillip Webb
9a529b41c1
Polish
2013-09-18 12:50:47 -07:00
Phillip Webb
b857a9001d
Cleanup trailing whitespace
2013-09-18 12:17:56 -07:00
Phillip Webb
6e071d6017
Fix TravisCI build status link following rename
...
Correct the TravisCI link used for the build status image following the
GitHub organization rename from SpringSource to spring-projects.
2013-09-18 12:11:43 -07:00
Greg Turnquist
5801e422cf
[BS-48] Add autoconfigured JMS support
...
* Add ability to detect spring-jms on the path and create a JmsTemplate with
ActiveMQConnectionFactory
* Create tests showing autoconfigured JmsTemplate with ActiveMQ, but prove it
backs off if a separate ConnectionFactory exists.
* Add support to spring-boot-cli to that it detects JmsTemplate, DefaultMessageListenerContainer,
or SimpleMessageListenerContainer, and turns on autoconfiguration as well as
add proper @Grab's and import statements.
* Write a jms.groovy test showing proper CLI support
Simplify ActiveMQ configuration
Update ActiveMQ to 5.7.0
2013-09-18 17:52:14 +01:00
Dave Syer
ecc4676fb3
Tweak security example
2013-09-18 16:43:38 +01:00
lecaros
cf4f549b06
change credentials order in authentication manager example
...
username/password pairs were incorrect. The authentication manager has "user" and "password", so those credentials should be allowed to get the actual message.
2013-09-18 16:43:38 +01:00
Dave Syer
4bb99e80d0
Upgrade to reactor M3
2013-09-15 12:37:07 -07:00
Dave Syer
ef79d63544
Fix #40 : extra catch block in BeanDefinitionLoader
2013-09-14 11:23:44 -07:00
Dave Syer
f76662a6ec
Add spring-jdbc as well if necessary
2013-09-14 11:01:55 -07:00
Dave Syer
2b5a67ba3c
mongo->mongodb sample
2013-09-13 08:13:24 -07:00
Dave Syer
621ecd3901
Added JDBC and @Transactional support to Groovy CLI
...
* @EnableTransactionManagement triggers spring-tx imports
* Field or method of type JdbcTemplate or NamedParameterJdbcTemplate
of DataSource triggers spring-jdbc imports
2013-09-13 08:02:56 -07:00
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