Commit Graph

42131 Commits (504d9fc50be223557b07a5e8469d05b94bb9fe20)
 

Author SHA1 Message Date
Phillip Webb c8f37a95c9 [bs-18] Unhack direct field access
Remove reflection hacks from ConfigurationPropertiesBindingConfiguration
following updates to Spring 4.0
12 years ago
Phillip Webb 0bc2b5673c Use Spring 4.0 now that bootstrap branch is merged 12 years ago
Phillip Webb 7624b6a9f6 Include jcl-over-slf4j with autoconfigure 12 years ago
Phillip Webb 44947b13a8 Polish calling of ExitCodeGenerators 12 years ago
Phillip Webb 589ef1868d Update hardcoded bootstrap references to 0.5.0 12 years ago
Phillip Webb a0fb085102 Refactor to work with Spring 4.0
Refactor code to work with Spring 4.0 M1
12 years ago
Phillip Webb a8d6b435a4 Minor Javadoc polish 12 years ago
Phillip Webb 88a1c1de41 Fix broken ServerPropertiesTests on OSX
Fixed ServerPropertiesTests to use InetAddress.getByName("127.0.0.1")
instead of InetAddress.getLocalHost().
12 years ago
Phillip Webb 4743d1803c Update JavaLoggerConfigurer to use AC ClassLoader
Update JavaLoggerConfigurer to use the ApplicationContext classloader
rather then the default classloader. Also refactored to introduce
LoggingSystem enum to act as a strategy for the specific logging
systems.
12 years ago
Phillip Webb 10c33db612 Update m2e eclipse plugin for Kepler 12 years ago
Phillip Webb e7a67ba2a8 Use commons-logging for bootstrap dependencies
Update main bootstrap modules to use Apache commons-logging rather than
SLF4J.
12 years ago
Phillip Webb 2f3b30e49f Example pom.xml Javadoc config for Java 8
Include commented out config showing how the maven build Javadoc
section can be modified to work with Java 8.
12 years ago
Phillip Webb cafded9e7e Polish JavaDoc 12 years ago
Dave Syer c2058f0d8c Add UTF-8 encoding configuration to spring-bootstrap-starters POM
[Fixes #49507163]
12 years ago
Dave Syer 8bfe07c730 Use HttpStatus in ErrorPage 12 years ago
Dave Syer dc30add6c5 Move orphaned test case 12 years ago
Dave Syer 4a292bd93f [bs-97] Support adding management endpoints to a different network
* ManagementProperties and ServerProperties now support an address property
* For example set management.port=9001,management.address=127.0.0.1 to listen
on port 9001 but only for connections from the localhost

[Fixes #49395783]
12 years ago
Dave Syer a7118c2ff2 Fix wrong version in starters parent pom 12 years ago
Dave Syer 8231377113 [bs-85] Move round and rename some actuator packages
[#49047535]
12 years ago
Dave Syer a5810af882 Add mvn deployment gumf 12 years ago
Dave Syer 694a1dd408 Bump version to 0.5.0.BUILD-SNAPSHOT 12 years ago
Dave Syer c19c483ab8 Add deployment metadata 12 years ago
Dave Syer 59287f1d89 Add bootstrap profile with repositories 12 years ago
Dave Syer b897f35cad [bs-85] New name for production-ready features = "actuator"
[#49047535]
12 years ago
Dave Syer eb7bc64e75 [bs-86] New name for "applications" - "starters"
[#49047569]
12 years ago
Dave Syer 376ae63fc5 Fix scope of bootstrap core dependency 12 years ago
Dave Syer 98d48a3cc1 Add @CopmonentScan to default imports in CLI 12 years ago
Dave Syer bd35fd9306 [bs-98] Add MySQL data source to service sample
[#49393511] [bs-98] Add support for Tomcat database pool
12 years ago
Dave Syer b94aaa321d [bs-98] Add tomcat JDBC to parent pom
[#49393511] [bs-98] Add support for Tomcat database pool
12 years ago
Dave Syer 81d0f14080 [bs-52] ensure "mvn exec:java" works in trad web sample
[#48386505] [bs-52] Support for running "traditional" webapps in place
12 years ago
Dave Syer b462bc6e6c [bs-96] Switch off m2e errors about /eclipse path
* Uploaded m2e eclipse baggage to http://static.springsource.org
* Changed location in parent pom
* Removed all main.basedir properties from poms

[Fixes #49285987]
12 years ago
Dave Syer 380b1748c9 Changes to applications poms:
* Suport maven-exec-plugin in the same way as the shade plugin, so
        $ mvn exec:java
    is all you need to do to run an app
* Update README
* Fix dependencies to nail Spring version
12 years ago
Dave Syer 7e548b5bd4 [bs-93] Add /info endpoint with git properties etc.
* If git.properties is on the classpath (e.g. from the Maven plugin)
/info will list the commit id, branch and dates.
* If application.yml has an info object at the top level that will
be diplayed as well (so e.g. you can use Maven resource filtering
top add the project name, version etc.)
* RelaxedDataBinder can now be used to bind to a Map (as opposed to
a nested Map inside teh target bean)

[Fixes #49130073]
12 years ago
Dave Syer 7e6651c0a2 Beef up README a bit 12 years ago
Dave Syer f5bfc37896 Use Resource[] for database initialization 12 years ago
Dave Syer 47f60684e3 [bs-94] Add database initializer if schema.sql detected
* If an embedded database is created it is also initialized from
classpath:/schema.sql if it exists
* Also added (but didn't use) @ConditionalOnResource

[Fixes #49142305]
12 years ago
Dave Syer a6fd8cad76 Update README for application properties 12 years ago
Dave Syer 61a94f212d [bs-89] Allow user to plugin validator for @ConfigurationProperties
* Also fix ordering problem in integration tests
(An application context not being closed led  to port 8080
being already in use.)
* Validator can be specified by providing a Spring Validator with
bean id configurationPropertiesValidator.

[Fixes #49067859]
12 years ago
Dave Syer 504d96eb51 [bs-92] Add simple main wrapper for SpringApplication
* Added Spring class
* Used in demo project in README
* Also fixed cycle in spring-bootstrap jar

[Fixes #49121565]
12 years ago
Dave Syer 0a730beb2a [bs-15] Integrate audit abstraction into Spring Security setup
* By default all authentication events are passed onto the
audit listener
* Access denied exceptions are still not published by Spring
Security because of a bug in the Java config support

[Fixes #48155753]
12 years ago
Dave Syer a310a79909 [bs-15] Add audit abstraction and sensible opinionated defaults
* Added AuditEvent and AuditEventRepository
* Also AuditApplicationEvent and AuditListener for
handling AUditEvents as Spring ApplicationEvents

[Fixes #48155753]
12 years ago
Dave Syer cee78386ee [bs-87] Add /dump endpoint
* Just dumps ThreadInfo, simple but effective
* Implementation is part of TraceEndpoint

[Fixes #49056831]
12 years ago
Dave Syer a968b140cc Add java docs to SpringApplication.main 12 years ago
Dave Syer 68960cca4e Fix confusing sentence in README 12 years ago
Dave Syer ce0e443b0a [bs-84] Add basic getting started guide to service project
Still work in progress, bubt enough there to get someone up a
nd running I hope
[#49047467]
12 years ago
Dave Syer bd79ec2362 [bs-22] Move @ConfigurationProperties processing to main jar
Also add unit tests.  Note also the start.groovy for the service
sample now works.

[#48127729]
12 years ago
Dave Syer 89748028b4 [bs-35] Add validation for EndpointsProperties
[Fixes #48245695]
12 years ago
Dave Syer 30087cf6b9 [bs-55] Add strategy for setting system exit code
* Added ExitCodeGenerator and SpringApplication.exit
convenience method
* User can add bean of type ExitCodeGenerator or supply
one in the call to exit()

[Fixes #48475971]
12 years ago
Dave Syer 4d372bcc25 Remove runComponents from SpringApplication
It was basically duplicating run(Object[], String[]) - unless
there is some harm in registering a non-component with the context
that I haven't seen yet.
12 years ago
Dave Syer 5501adc862 [bs-35] Add @ConfigurationProperties EndpointsProperties and bind to application.yml
[Fixes #48245695]
12 years ago