Commit Graph

6484 Commits (a4baacc5493fa7259af75c62236fb6a26b3589ca)
 

Author SHA1 Message Date
Johnny Lim 4c1398148b Polish docs
Closes gh-4433
9 years ago
Stephane Nicoll f7fb470f29 Merge pull request #4428 from izeye/test
* pr/4428:
  Remove redundant assertions
9 years ago
Johnny Lim 12a9a6e195 Remove redundant assertions
Closes gh-4428
9 years ago
Phillip Webb a530221213 Ensure startup failures are only logged once
Update SpringApplication so that startup exceptions are only logged
once. A custom UncaughtExceptionHandler is now used when running in
the main thread to suppress errors that have already been logged.

Fixes gh-4423
9 years ago
Stephane Nicoll e8b28796d9 Merge pull request #4429 from jadekler/master
* pr/4429:
  Upgrade hikaricp to 2.4.2
9 years ago
Jean de Klerk 01bc9d35ad Upgrade hikaricp to 2.4.2
Closes gh-4427
9 years ago
Phillip Webb a3fac37904 Fix checkstyle error 9 years ago
Phillip Webb 287a62c8f3 Update Johannes Edmeier author attribution
Congratulations to Johannes Edmeier on getting married!
9 years ago
Phillip Webb a99e72f91d Merge pull request #4333 from joshiste/logfile-resource-handler
* pr/4333:
  Improve resource handling in LogFileMvcEndpoint
9 years ago
Johannes Edmeier a1b1cdb18f Improve resource handling in LogFileMvcEndpoint
Update `LogFileMvcEndpoint` to use a `ResourceHttpRequestHandler` when
serving the log file resource. This gives support for requesting parts
of the logfile via the HTTP Range header. Requests with the
`If-Modified-Since` header are now also handled correctly.

Closes gh-4333
9 years ago
Phillip Webb 77e885836d Merge pull request #4409 from shakuzen/health-cassandra
* pr/4409:
  Auto-configure CassandraHealthIndicator
9 years ago
Tommy Ludwig d8247657a0 Auto-configure CassandraHealthIndicator
Add auto-configuration for the CassandraHealthIndicator. Also update
the implementation to use CassandraOperations rather than
CassandraAdminOperations.

Closes gh-4409
9 years ago
Phillip Webb 9f17fe4454 Merge pull request #4300 from bohuslav-burghardt/configurable-trace-options-request-handling
* pr/4300:
  Make OPTIONS/TRACE request handling configurable
9 years ago
Bohuslav Burghardt 88cf65427f Make OPTIONS/TRACE request handling configurable
Add properties to WebMvcProperties allowing control of if TRACE/OPTIONS
requests should go through the regular dispatching chain.

Closes gh-4300
9 years ago
Phillip Webb a8b23f9deb Fix import order 9 years ago
Phillip Webb 6c17442415 Merge pull request #4237 from awgtek/master
* pr/4237:
  Switch MongoCredential method
9 years ago
awgtek deaa9051bc Switch MongoCredential method
Update MongoProperties to use `MongoCredential.createCredential` rather
than `MongoCredential.createMongoCRCredential`. This allows connections
to Mongo 3.0 servers to authenticate using the SCRAM-SHA-1 mechanism.

Closes gh-4237
9 years ago
Phillip Webb d5d6507e97 Merge pull request #4335 from izeye/ordered
* pr/4335:
  Polish
  Use Ordered.HIGHEST_PRECEDENCE constants
9 years ago
Johnny Lim c87370085b Polish 9 years ago
Johnny Lim 83e8bfedb2 Use Ordered.HIGHEST_PRECEDENCE constants
Use Ordered.HIGHEST_PRECEDENCE rather than Integer.MIN_VALUE.

Closes gh-4335
9 years ago
Phillip Webb 9f8eda18b7 Merge pull request #4362 from marcingrzejszczak/issues/config-props-before-default
* pr/4362:
  Add config properties before default properties
9 years ago
Marcin Grzejszczak 19f141dc59 Add config properties before default properties
Update ConfigFileApplicationListener so that configuration properties
are added before `defaultProperties` if they exist.

Fixes gh-4362
9 years ago
Phillip Webb 18db4f6c62 Merge pull request #4371 from pmvilaca/fix-#4369-launch-script
* pr/4371:
  Don't remove PID file before stopping the service
9 years ago
Pedro Vilaca 98be051cfa Don't remove PID file before stopping the service
Update the launch script so that the PID file is not longer removed at
the beginning of the stop method. Prior to this commit if a service
wasn't able to stop on the first run, it wasn't possible to use the
launch script anymore.

Fixes gh-4369
Closes gh-4371
9 years ago
Phillip Webb 0bac6ebda7 Fix typo
See gh-4419
9 years ago
Stephane Nicoll 3311419a08 Fix typo
See gh-4419
9 years ago
Phillip Webb 387faa786b Merge pull request #4383 from rwinch/gh-4368
* pr/4383:
  Secure actuator when all endpoints are sensitive
9 years ago
Rob Winch c6e08eb883 Secure actuator when all endpoints are sensitive
Previously if every actuator endpoint was marked as sensitive, then all
endpoints were marked as permitted.

This commit ensures that if all endpoints are marked as sensitive, then
all the endpoints are secured.

Fixes gh-4368
Closes gh-4383
9 years ago
Phillip Webb 8c642bec74 Support global endpoint.sensitive override
Add support for an `endpoint.sensitive` property that can be used to
override the endpoint `sensitive` default.

Fixes gh-4419
9 years ago
Phillip Webb 332c6911cf Polish 9 years ago
Phillip Webb aa8d0dd072 Add HAL test for endpoints.enabled=false 9 years ago
Phillip Webb b1b3fc6639 Use consistent MvcEndpoint class names
Rename HAL and docs MVC endpoints so that classnames consistently end
with MvcEndpoint. Also rename integration tests so that they are grouped
together in the IDE.
9 years ago
Phillip Webb da6b041199 Merge pull request #4399 from izeye/unused
* pr/4399:
  Remove unused parameter in Security configuration
9 years ago
Johnny Lim 8540d80b84 Remove unused parameter in Security configuration
Update SecurityFilterAutoConfiguration.securityFilterChainRegistration
to remove unused ApplicationContext parameter.

Closes gh-4399
9 years ago
Phillip Webb c614446d43 Merge branch '1.2.x' 9 years ago
Phillip Webb 49a5587558 Fully support `-cp` arguments
The CLI application advertises `-cp` support but it appears that only
`--cp` is really supported. The fix for gh-178 forgot to update the
call to `getParser().parse(...)`.

See gh-178
9 years ago
Phillip Webb 72c94eba93 Merge pull request #4407 from vpavic/upgrade-postgresql-jdbc
* pr/4407:
  Upgrade PostgreSQL JDBC driver to 9.4-1205
9 years ago
Vedran Pavic e0db755bad Upgrade PostgreSQL JDBC driver to 9.4-1205
Closes gh-4407
9 years ago
Phillip Webb 3e6020ee5c Merge pull request #4414 from pmvilaca/fix-4378-launch-script-stop-cmd
* pr/4414:
  Don't use `kill -hup` in the launch script
9 years ago
Pedro Vilaca b190cfdd6a Don't use `kill -hup` in the launch script
The HUP signal was being used to stop the service and for some reason,
sometimes it was being ignored. This commit change forces the use of the
TERM signal (the default signal of kill).

Fixes gh-4378
Closes gh-4414
9 years ago
Phillip Webb 52264cd0c2 Merge pull request #4406 from vpavic/audit-config
* pr/4406:
  Allow security AuditListener overrides
9 years ago
Vedran Pavic a0c696b17b Allow security AuditListener overrides
Introduce `AbstractAuthenticationAuditListener` and
`AbstractAuthorizationAuditListener` classes so that users can
extended them to replace the auto-configured defaults.

Closes gh-4406
9 years ago
Phillip Webb 564cbfe96c Add missing @param tag
See gh-4415
9 years ago
Phillip Webb bd20b5419e Consider prefixes when sanitizing `/configprops`
Update ConfigurationPropertiesReportEndpoint so that property prefixes
are also considered when sanitizing values.

Fixes gh-4415
9 years ago
Stephane Nicoll 4aefe9f856 Merge pull request #4408 from vpavic/upgrade-undertow
* pr/4408:
  Upgrade to Undertow 1.3.5.Final
9 years ago
Vedran Pavic 9599c7e67b Upgrade to Undertow 1.3.5.Final
Closes gh-4408
9 years ago
Dave Syer 88f776ef17 Remove duplicate sample 9 years ago
Phillip Webb 4451df21c9 Merge branch '1.2.x' 9 years ago
Phillip Webb e06198e9cb Polish 9 years ago
Phillip Webb f08f872729 Restore original embedded container shutdown order
Update EmbeddedWebApplicationContext so that the servlet container is
shutdown after the context is closed. Unfortunately shutting the
container down before the context has been closed causes exceptions if
the `/shutdown` actuator endpoint is used. It can also cause the Tomcat
classloader to throw IllegalStateExceptions if resources are accessed
during shutdown.

As this commit effectively reverts 0069e41c we need to fix the shutdown
deadlock issue reported in gh-4130 in a different way. The deadlock can
be caused when an incoming HTTP connection occurs whilst the context is
closing. The incoming connection triggers the `FrameworkServlet` to
call `initWebApplicationContext` which in turn calls `refresh`. The
`FrameworkServlet` checks `ApplicationContext.isActive()` before
performing an initialization but prior to this commit we would set
active to `false` before stopping the servlet container. We now override
`onClose` rather than `doClose` in `EmbeddedWebApplicationContext` to
ensure that the active flag is only set to `false` once the servlet
container has been stopped.

See gh-4130
Fixes gh-4396
9 years ago