Stephane Nicoll
75c248dcba
Move setter attribute in PropertyDescriptor proper
2019-03-04 10:53:13 +01:00
Stephane Nicoll
a90c8d01a9
Polish
2019-03-04 10:53:08 +01:00
Stephane Nicoll
00a18c32ab
Restructure metadata generation
...
This commit restructures the annotation processor to off-load most of
its logic in a PropertyDescriptor abstraction that is consumed to
generate the relevant metadata.
This has the benefit to isolate the various way properties can be
identified (java bean and lombok for now).
Closes gh-16036
2019-02-26 10:10:33 +01:00
Stephane Nicoll
99c0b4561d
Polish test to request the type under test
2019-02-23 09:30:15 +01:00
Stephane Nicoll
c44a1e129d
Polish
2019-02-22 14:04:37 +01:00
Stephane Nicoll
8a064b0da2
Move main test annotation processor to test package
2019-02-22 14:04:29 +01:00
Stephane Nicoll
4bee913fb2
Add shared test processor
...
This commit adds a simple annotation processor that can be used to run
more fine grained assertions.
2019-02-22 14:04:22 +01:00
Andy Wilkinson
0f0adb4cd0
Polish formatting
2019-02-21 22:04:56 +00:00
Stephane Nicoll
8773a2fed3
Polish
2019-02-21 11:37:11 +01:00
Andy Wilkinson
f2e3e274a8
Merge branch '2.1.x'
2019-02-21 08:19:43 +00:00
Andy Wilkinson
53326695ea
Polish
2019-02-21 08:13:54 +00:00
Andy Wilkinson
f4bd0b8b4b
Merge branch '2.1.x'
2019-02-20 18:18:06 +00:00
Andy Wilkinson
59430a2642
Only include zips in BOOT-INF/lib, WEB-INF/lib, and WEB-INF/lib-provided
...
Closes gh-16001
2019-02-20 18:15:27 +00:00
Andy Wilkinson
43c9a789ac
Merge branch '2.1.x'
2019-02-20 17:28:39 +00:00
Andy Wilkinson
55fe26b075
Polish "Use kotlin_module not kotlin-module to identify Kotlin module metadata"
...
See gh-16004
2019-02-20 17:19:03 +00:00
Robert Thornton
cb6362df82
Use kotlin_module not kotlin-module to identify Kotlin module metadata
...
See gh-16004
2019-02-20 17:19:03 +00:00
Stephane Nicoll
34f28b4cbd
Merge branch '2.1.x'
2019-02-20 13:25:01 +01:00
Stephane Nicoll
91a005f578
Resolve generic types in generated metadata
...
Closes gh-15850
2019-02-20 13:24:40 +01:00
Andy Wilkinson
9540905e73
Merge branch '2.1.x'
2019-02-18 17:30:02 +00:00
Andy Wilkinson
68e3de0357
Use name from header not alias when checking entry has expected name
...
Previously, an entry’s potentially aliased name would be used when
checking that it has a particular name. The alias would always be
applied, irrespective of the name in the header. As a result, when
there was a clashing hash and an entry with a particular index did
not have the expected name, this would be concealed by the alias
being applied and the name check being done with the alias.
This commit reworks JarEntry to store the name in its header in
addition to its alias, if any. When checking that the entry has the
expected name, the unaliased name is passed in and the entry compares
it with the name from the header rather than the alias.
Closes gh-15981
2019-02-18 17:29:25 +00:00
Brian Clozel
2a2bfb9915
Auto-generate the "Common application properties"
...
Prior to this commit, the application properties listed in the reference
documentation would be manually managed and updated.
This commit adds a new `spring-boot-configuration-docs` project that
extracts that information from the available JSON metadata and writes
Asciidoctor tables ready for inclusion in the reference documentation.
The `generateConfigurationPropertyTables.groovy` is using this library
and configures the sections and how namespaces should be organized.
Fixes gh-8237
2019-02-18 15:46:15 +01:00
Madhura Bhave
9bc9639954
Merge branch '2.1.x'
2019-02-14 21:54:37 -08:00
Madhura Bhave
012a956454
Fix typo in doc
2019-02-14 19:39:01 -08:00
Andy Wilkinson
747e419db1
Merge branch '2.1.x'
2019-02-13 17:45:45 +00:00
Andy Wilkinson
9fb0b97f96
Decorate test containers so tests are skipped without Docker
...
Closes gh-15901
Closes gh-15638
2019-02-13 17:44:45 +00:00
Andy Wilkinson
0adea5a905
Merge branch '2.1.x'
2019-02-12 16:42:15 +00:00
Andy Wilkinson
948bafa4d8
Repackage kotlin-module metadata beneath BOOT-INF/classes
...
Closes gh-15890
2019-02-12 16:41:15 +00:00
Andy Wilkinson
db31e42751
Merge branch '2.1.x'
2019-02-12 09:58:21 +00:00
Andy Wilkinson
a975c0ad16
Use Testcontainers’ CassandraContainer rather than our own
...
Closes gh-15901
2019-02-12 09:58:05 +00:00
Andy Wilkinson
7e51e1a076
Merge branch '2.1.x'
2019-02-12 09:26:59 +00:00
Michael Simons
316126e8f0
Replace custom Neo4j container with Testcontainers version
...
See gh-15638
2019-02-12 09:24:44 +00:00
Andy Wilkinson
2cda30988e
Merge branch '2.1.x'
2019-02-11 16:00:55 +00:00
Andy Wilkinson
6fe9e3a0e1
Test the Gradle plugin against Gradle 5.2.1
...
Closes gh-15892
2019-02-11 15:51:14 +00:00
Andy Wilkinson
4faa0f51b7
Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
...
Closes gh-15791
2019-02-11 15:49:59 +00:00
dreis2211
1de372d896
Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
...
See gh-15791
2019-02-11 15:35:06 +00:00
Andy Wilkinson
b3abd25e22
Merge branch '2.1.x'
2019-02-05 11:11:07 +00:00
Andy Wilkinson
8a7958ef55
Do not use reflection to fall back to JDKs jar URLStreamHandler
...
Closes gh-15844
2019-02-05 10:59:32 +00:00
Andy Wilkinson
342bced125
Merge branch '2.1.x'
2019-02-01 13:48:02 +00:00
Andy Wilkinson
2650a07dc9
Leave module-info.class in root of archive when repackaging
...
Closes gh-15810
2019-02-01 13:47:42 +00:00
dreis2211
d4ab101223
Use Assertions.contentOf() where possible
...
Closes gh-15793
2019-01-28 10:08:57 +01:00
Stephane Nicoll
6baa6b291e
Polish contribution
...
Closes gh-15695
2019-01-14 08:11:20 -05:00
Johnny Lim
af3ed9ff9f
Polish
...
See gh-15695
2019-01-14 08:09:32 -05:00
Stephane Nicoll
8d1d3fb087
Polish "Avoid string concatenation inside StringBuilder append()"
...
Closes gh-15589
2019-01-11 08:30:12 +01:00
igor-suhorukov
59ac85d371
Avoid string concatenation inside StringBuilder append()
...
See gh-15589
2019-01-11 08:28:19 +01:00
dreis2211
46e59503ec
Use JSONObject.putOpt in JsonConverter
...
Closes gh-15595
2019-01-02 09:48:35 +01:00
Stephane Nicoll
51936e1a5c
Rename "agent" to "agents" to properly indicate its type
...
Closes gh-15455
2018-12-31 09:50:35 +01:00
igor-suhorukov
3eb2f5e476
Replace Collections sort with list sort() method
...
Closes gh-15585
2018-12-30 09:52:05 +01:00
Stephane Nicoll
1223355fe6
Polish "Simplify code by using for-each loop"
...
Closes gh-15563
2018-12-25 09:59:41 +01:00
igor-suhorukov
dfb3cd51bc
Simplify code by using for-each loop
...
See gh-15563
2018-12-25 09:58:42 +01:00
Stephane Nicoll
fbef9700bf
Merge branch '2.1.x'
2018-12-24 16:39:47 +01:00