Commit Graph

5193 Commits (1fab23c51463c1b034af67125a091d547759b6a0)
 

Author SHA1 Message Date
izeye 0dc096f905 Fix typo
Closes gh-3333
10 years ago
Phillip Webb 5eb9cd012c Report logback errors in the exception
Update LogbackLoggingSystem to include status errors in the exception
rather than using `System.err`. Also perform additional cleanup in an
attempt to fix CI build failures.

Fixes gh-3309
10 years ago
Phillip Webb 7879743b9f Polish 10 years ago
Andy Wilkinson bedca634c9 Add hamcrest-library to spring-boot's compile classpath
Fixes build break introduced in 31336c2.
10 years ago
Andy Wilkinson c3d93f70b8 Fail fast when a Logback configuration file is missing or malformed
Closes gh-3309
10 years ago
Andy Wilkinson 31336c2dce Allow matchers to be used to verify output captured by OutputCapture
Closes gh-3330
10 years ago
Stephane Nicoll 0ec9de9137 Add support for value provider
Improve the "hints" section of the metadata so that each hint can provide
the reference to a value provider.

A value provider defines how a tool can discover the potential values of
a property based on the context. The provider is identifed by a name and
may have an arbitrary number of parameters.

Closes gh-3303
10 years ago
Stephane Nicoll 43b9ea53d6 Polish (avoid dot at the end of the line) 10 years ago
Stephane Nicoll 56b13800ae Fix json structure 10 years ago
Stephane Nicoll 443fe3b9e6 Merge pull request #3326 from izeye/patch-25
* patch-25:
  Fix typos
10 years ago
izeye e6a3099003 Fix typos
Closes gh-3326
10 years ago
Phillip Webb 689fb0c877 Merge pull request #3314 from izeye/patch-24
* pr/3314:
  Use `bytes.length` in Base64Encoder loop
10 years ago
izeye 286c98d716 Use `bytes.length` in Base64Encoder loop
Update Base64Encoder to use `bytes.length` instead of `encoded.length`
when lopping over the bytes.

Fixes gh-3314
10 years ago
Phillip Webb 855e5a8e5f Minor doc polish 10 years ago
Phillip Webb f8e5bfde2b Merge pull request #3320 from ralscha/patch-1
* pr/3320:
  Fix type in deployment documentation
10 years ago
Ralph Schaer f5830bf46e Fix type in deployment documentation
Replace use of `link -s` with `ln -s`.

Fixes gh-3320
10 years ago
Phillip Webb 9e5239a819 Merge pull request #3321 from mbenson/uberjar
* pr/3321:
  Update documentation to remove 'shaded jar' term
10 years ago
Matt Benson f2dfb040ab Update documentation to remove 'shaded jar' term
Update documentation section that discusses uber jars since it conflates
the concepts of the uber jar and the shading of dependencies into jars
(which may or may not be true uber jars).

Fixes gh-3321
10 years ago
izeye 98ce54c4c3 Fix typo in test methods' names 10 years ago
Phillip Webb 4236a9336d Make FlywayMigrationStrategy an interface
Change FlywayMigrationStrategy from a class to an interface.

Fixes gh-3217
10 years ago
Phillip Webb 134bc02404 Extract common metric Buffer code
Extract common features from CounterBuffers and GuageBuffers into
a shared superclass. The new extracted types allows the service
implementations to be simplified.

Fixes gh-3257
10 years ago
Phillip Webb 291388affe Make EventPublishingRunListener Ordered `0`
Update EventPublishingRunListener to implement Ordered and use a default
order of 0. This allows for other run listeners to be added either
before or after it.

Fixes gh-3305
10 years ago
Phillip Webb 778e3eb091 Polish 10 years ago
Stephane Nicoll bc9321734f Add support for property hint
Create a new section in the meta-data called "hints" where users can
provide hints about a given property. The most basic use case for now
is to provide a list of values that a property can have. Each value may
have a description.

This sample JSON provides a basic example for a property called `foo.mode`
that exposes 3 values: "auto", "basic" and "advanced".

```
 "hints": [
    {
      "id": "foo.mode",
      "values": [
        {
          "value": "auto",
          "description": "Some smart description."
        },
        {
          "name": "basic"
        },
        {
          "name": "advanced"
        }
      ]
    }
]
```

This information can be read by tools (such as IDE) and offer an
auto-completion with the list of values.

Closes gh-2054
10 years ago
Andy Wilkinson 9aa445bf46 Merge branch '1.2.x' 10 years ago
Andy Wilkinson f8fdcc1312 Include value of java.io.tmpdir in message when createTempFile fails
If java.io.tmpdir is configured to a directory that does not exist,
calls to File.createTempFile will fail with an IOException with the
message "The system cannot find the path specified". Unfortunately,
the path the was specified is not included in the message.

Rather than trying to automatically create the directory in what may
be a misconfigured location, we now include the value of
java.io.tmpdir in our own exception's message. Hopefully this will
help users to figure out what they've done wrong.

Closes gh-3307
10 years ago
Stephane Nicoll af1afeaf48 Merge branch '1.2.x' 10 years ago
Stephane Nicoll 982b81c675 Fix datasource metrics doc
The maximum and minimum number of connections are no metrics so these
are not exposed. Fix the doc that stated the contrary.

Fixes gh-3319
10 years ago
Stephane Nicoll 41b4d41f11 Remove dead code 10 years ago
Stephane Nicoll e9baa779cc Remove dead code 10 years ago
Stephane Nicoll 1d66aa35ed Fix typo 10 years ago
Stephane Nicoll 117d6b0da3 Fix typo 10 years ago
Phillip Webb fe57101076 Merge pull request #2294 from joshiste/2294
* pr/2294:
  Add /logfile MVC actuator endpoint
10 years ago
Johannes Stelzer 308a5eaff5 Add /logfile MVC actuator endpoint
Add a `/logfile` endpoint which can be used to fetch the contents of
the log file (if one is being used).

Fixes gh-2137
Closes gh-2294
10 years ago
Phillip Webb 880f31ae2e Merge pull request #2300 from drumonii/master
* pr/2300:
  Add a SpringBootVersion class like SpringVersion
10 years ago
drumonii 8b04973244 Add a SpringBootVersion class like SpringVersion
Provide a static utility method to get the Spring Boot version based on
the implementation version of SpringApplication's package. Similar to
Spring Frameworks' SpringVersion class.

Fixes gh-2300
10 years ago
Phillip Webb 69c44fafc7 Merge pull request #2704 from sailorgeoffrey/master
* pr/2704:
  Add support for ANSI colored resource banners
10 years ago
Geoffrey Chandler d6200389eb Add support for ANSI colored resource banners
Add AnsiPropertySource which allows named ANSI codes to be resolved
and update ResourceBanner to include it.

This commit also deprecates constants defined in AnsiElement and
replaces them with AnsiStyle, AnsiColor and AnsiBackground enums.

Closes gh-2704
10 years ago
Phillip Webb 9f143ad9ab Merge pull request #2901 from creactiviti/freemarker-autoconfigure-preferfilesystemaccess
* pr/2901:
  Add Freemarker `prefer-file-system-access` support
10 years ago
cohee016 d948ec5810 Add Freemarker `prefer-file-system-access` support
Add a `spring.freemarker.prefer-file-system-access` property and update
FreeMarkerAutoConfiguration to support it.

Fixes gh-2901
10 years ago
Phillip Webb 61fc4f3f12 Polish copyright headers 10 years ago
Phillip Webb d3007fae94 Polish formatting 10 years ago
Phillip Webb ab18fb29a3 Merge branch '1.2.x' 10 years ago
Phillip Webb 16e7c99e4d Polish formatting 10 years ago
Stephane Nicoll d0698bd8ed Remove unnecessary System.out in tests 10 years ago
Andy Wilkinson 0bb0f32c88 Reinstate code in Data REST sample that went AWOL in 1ce617f1 10 years ago
Andy Wilkinson eea7050237 Merge branch '1.2.x' 10 years ago
Onur Kağan Özcan 2d153ca745 Upgrade to Spring Mobile 1.1.4.RELEASE
Closes gh-3308
10 years ago
Stephane Nicoll 909dc374cf Merge branch '1.2.x' 10 years ago
Matt Benson 80deaf6456 Fix absolute file detection on Windows
Closes gh-3299
10 years ago