Commit Graph

804 Commits (39acbb271ca180dd417b3cd9f37a91ef159221eb)
 

Author SHA1 Message Date
Dave Syer a3af83cf96 Add internal property replacement
E.g. in application.properties (for launcher)

foo: Application
loader.main: my.${foo}
loader.path: etc
11 years ago
Dave Syer a70d293c87 Re-organize the Launcher code a bit 11 years ago
Phillip Webb e9fd7c96b8 Loader changes 11 years ago
Dave Syer 053c072155 Add some tests for PropertiesLauncher 11 years ago
Dave Syer f83fd47184 Add PropertiesLauncher 11 years ago
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.
11 years ago
Phillip Webb fd9e258d12 Replace 'springsource.org' with 'spring.io'
Replace all references to 'springsource.org' with the new 'spring.io'
domain.
11 years ago
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.
11 years ago
Christian Dupuis a1631d581b Add license and legal information on third party open source software that is part of the CLI distribution 11 years ago
Dave Syer 3c4f1a7a6f Fixes #54: stop servlet container if context fails to start 11 years ago
Greg Turnquist 97af88a8d8 Switch activemq to version 5.4.0 to avoid slf4j issue 11 years ago
Dave Syer 04ba4d064e Investigating failing tests 11 years ago
Dave Syer 5925e153b4 Make sure JMS is on classpath as well 11 years ago
Greg Turnquist 2e5fc2b36f Ignore IntelliJ build stuff 11 years ago
Phillip Webb 9a529b41c1 Polish 11 years ago
Phillip Webb b857a9001d Cleanup trailing whitespace 11 years ago
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.
11 years ago
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
11 years ago
Dave Syer ecc4676fb3 Tweak security example 11 years ago
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.
11 years ago
Dave Syer 4bb99e80d0 Upgrade to reactor M3 11 years ago
Dave Syer ef79d63544 Fix #40: extra catch block in BeanDefinitionLoader 11 years ago
Dave Syer f76662a6ec Add spring-jdbc as well if necessary 11 years ago
Dave Syer 2b5a67ba3c mongo->mongodb sample 11 years ago
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
11 years ago
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
11 years ago
Dave Syer e6c1586717 Fix off -by-one logic error 11 years ago
Dave Syer a9113d58a3 Bootstrap->Boot in startup log
[Fixes #56812760] [bs-319] Spring bootstrap in log message
11 years ago
Dave Syer 1026e349c4 Prevent Mongo sample tests from failing in CI 11 years ago
checketts 7236015a4d Fix the AuthenticationManagerBuilder code snippet
Fix AuthenticationManagerBuilder code snippet to add the missing the
ObjectPostProcessor parameter for the constructor.

Issue: #45
11 years ago
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.
11 years ago
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]
11 years ago
Dave Syer ba4a81510b Add response headers to Trace 11 years ago
Dave Syer 7a6131c466 Make InMemoryMetricRepository.increment() thread safe 11 years ago
Phillip Webb eb246d6bed Update README.md to M4 11 years ago
Dave Syer 8467a66e84 Add security.management.enabled flag 11 years ago
Dave Syer 5f8f062545 Allow security.ignored=none to switch off ignores 11 years ago
Spring Buildmaster 938c267a1d Next development version 11 years ago
Phillip Webb 251e22a561 Update travis build 11 years ago
Phillip Webb 2a3985eab7 Add Javadoc aggregate project
Add a Maven project to aggregate appropriate Javadocs into a
consolidated set.
11 years ago
Phillip Webb a33425920b Rework POMs to support automated CI release 11 years ago
Phillip Webb a44f8bc59e Increase SampleIntegrationTests run timeouts
Increase the timeouts to give CI builds more time should dependencies
be missing.
11 years ago
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.
11 years ago
Dave Syer 8965eeaa76 Update M1->M2 in README 11 years ago
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.
11 years ago
Dave Syer 1366216b7f Add X-Application-Context header to identify app 11 years ago
Dave Syer 2b1f629761 Make ConfigurationPropertiesBindingPostProcessor Ordered 11 years ago
Dave Syer 2ba01008bb Add headers external properties for security filters 11 years ago
Dave Syer 759aa785a7 Fix bug in datasource autoconfiguration
The AbstractDataSourceConfiguration had path= in its
@ConfigurationProperties by mistake (should have been value)
11 years ago
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.
11 years ago