Commit Graph

135 Commits

Author SHA1 Message Date
Johnny Lim
bbeba4a016 Clean up Java 6 leftover
See gh-10367
2017-09-21 08:58:47 +02:00
Andy Wilkinson
9687a5041e Add support for making endpoints accessible via HTTP
This commit adds support for exposing endpoint operations over HTTP.
Jersey, Spring MVC, and WebFlux are all supported but the programming
model remains web framework agnostic. When using WebFlux, blocking
operations are automatically performed on a separate thread using
Reactor's scheduler support. Support for web-specific extensions is
provided via a new `@WebEndpointExtension` annotation.

Closes gh-7970
Closes gh-9946
Closes gh-9947
2017-08-03 18:44:11 +01:00
Madhura Bhave
ca435512c0 Introduce spring-boot-autoconfigure-processor
Add an annotation processor that generates properties files for certain
auto-configuration class annotations. Currently attribute values from
@AutoConfigureOrder, @AutoConfigureBefore, @AutoConfigureAfter and
@ConditionalOnClass annotations are stored.

The properties file will allow optimizations to be added in the
`spring-boot-autoconfigure` project. Primarily by removing the need
to ASM parse as many `.class` files.

See gh-7573
2017-01-23 22:14:56 -08:00
Phillip Webb
1b7c65cd1c Update eclipse setting to use 2017 copyright year 2017-01-04 18:32:14 -08:00
Phillip Webb
410dedc567 Add AssertJ to Eclipse Oomph Setup 2016-02-06 16:04:04 -08:00
Andy Wilkinson
ee409482b3 Enable the use of formatter off and on tags in Eclipse
This commit enables the use of // @formatter:off and // @formatter:on
to surround lines of code that should not be formatted. It also adds
a code template that can be used to quickly wrap the selected lines
of text with the off and on comments.

Closes gh-5050
2016-01-29 16:05:18 +00:00
Andy Wilkinson
e4e9a71753 Merge branch '1.2.x' 2016-01-12 10:13:12 +00:00
Andy Wilkinson
8410e545b5 Upgrade copyright headers for 2016 2016-01-12 10:12:49 +00:00
Phillip Webb
1e4d974ec0 Merge remote-tracking branch 'local12x/1.2.x' 2015-10-19 12:56:55 -07:00
Phillip Webb
47ae7487ac Tweak import order settings
Update the import order settings to be a little more logical. Imports
should now be ordered:

java.*
javax.*
<others>
org.springframework.*
import static *

See gh-4234
2015-10-19 12:17:46 -07:00
Phillip Webb
8318698f55 Store checkout location in workspace variable
Update the Eclipse product setup so that `checkout.location` is stored
as a workspace variable. Without this things get mixed up when trying
to run different installations for different branches.

See gh-4110
2015-10-09 13:41:49 -07:00
Phillip Webb
e86e8c2024 Install Spring formatter Eclipse plugin
Update Oomph project setup to install the Spring code formatter.

See gh-4136
2015-10-09 13:40:54 -07:00
Phillip Webb
04074fece1 Merge branch '1.2.x' 2015-10-09 13:39:09 -07:00
Phillip Webb
b779e8e4fc Add custom Eclipse code formatter
Update Eclipse settings to make use of a custom Spring formatter
implementation. Using a custom formatter allows us to fix a couple of
issues with the version that shipped with Eclipse Mars.1 (Eclipse bugs

The custom formatter also means that it is possible to use Groovy
Eclipse despite the fact that it has formatter regressions (see
https://github.com/groovy/groovy-eclipse/issues/142).

Fixes gh-4136
2015-10-09 10:33:14 -07:00
Phillip Webb
10ce135c7c Update Eclipse settings to generate isXXX setters
Somehow the setting was changed so that `boolean` fields generated
getXXX() rather than isXXX().
2015-10-08 00:07:28 -07:00
Phillip Webb
75bf01840b Add Eclipse Installer setup file
Add `spring-boot-project.setup` to `/eclipse` to setup and configure
new Eclipse installations.

Fixes gh-4110
2015-10-07 23:40:42 -07:00
Dave Syer
57d9b58f79 Fix rule about whitespace in Collections.<String>emptyList() 2015-10-02 14:26:54 +01:00
Phillip Webb
16a1bd0483 Revert "Only format changed lines"
This reverts commit e04fb15574.

Formatting only changed lines doesn't appear to work well.
2015-09-10 17:38:59 -07:00
Phillip Webb
e04fb15574 Only format changed lines
Update Eclipse cleanup actions to only format changed lines. This will
hopefully help to prevent so many false diffs caused by differences
between Eclipse Luna and Eclipse Mars.
2015-09-08 14:27:29 -07:00
Phillip Webb
653d2b2b4e Tweak eclipse settings
- Update whitespace after inline generics
- Use a more sensible import order
- Update Javadoc warning settings
2015-09-08 13:40:47 -07:00
sopov.ivan
fa7199ddac Fix Eclipse 4.5 formatter settings
Fixes gh-3384
2015-07-01 18:09:56 -07:00
Phillip Webb
ccdbfd274f Fix Java 8 Javadoc compatibility
Update Javadocs to fix errors caused by Java 8 aggressive linting.

Fixes gh-2233
2015-02-02 17:05:37 -08:00
Andy Wilkinson
a51ad5c684 Update Eclipse template copyright date to 2015 2015-01-15 09:52:10 +00:00
Phillip Webb
55650bd618 Remove m2e maveneclipse site zip from repo
Remove org.eclipse.m2e.maveneclipse.site-0.0.1-SNAPSHOT-site.zip and
instead point people to the release on github which now works with
eclipse luna.
2014-07-02 15:31:50 -07:00
Phillip Webb
20766078d0 Update eclipse code formatter settings for Luna 2014-07-02 15:17:05 -07:00
Phillip Webb
d31988b552 Cleanup eclipse formatter settings
Sync the explicit setting with 'project specific settings' in case
the eclipse plugin is not used.
2014-05-22 18:08:11 +01:00
Phillip Webb
0ac5a7595b Polish eclipse settings 2014-01-21 16:28:26 -08:00
Phillip Webb
3cd4026bcc Update eclipse template copyright date to 2014 2014-01-02 10:56:03 -08:00
Phillip Webb
2910fe618b Update eclipse formatter XML
Update the eclipse formatter XML to align it with the project specific
settings files. Also corrected the information in CONTRIBUTING.md
2013-11-05 11:18:22 -08:00
Phillip Webb
65a9953c86 Fix a new remaining 'zero' and 'bootstrap' terms
Issue: #54095231
2013-07-26 14:14:51 -07:00
Phillip Webb
764a0a9af8 Minor change to code formatting 2013-07-08 13:42:41 -07:00
Phillip Webb
261955c50b Restructure 'bootstrap' to use 'zero' 2013-07-08 13:42:41 -07:00
Phillip Webb
898bfe82bb Minor tweaks to code formatting 2013-06-17 20:27:26 -07:00
Phillip Webb
10c33db612 Update m2e eclipse plugin for Kepler 2013-05-08 14:40:52 -07:00
Dave Syer
fb6b224470 Fast forward existing prototype work 2013-04-24 10:02:07 +01:00