-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Both Spring Boot 1.5 and Spring Boot 2 are supported. Improvements on modules and structure: `togglz-spring-boot-starter` module now combines: * `togglz-spring-common-configurer`: support for common components * `togglz-spring-boot1-configurer`: support for c 1.5 specific components * `togglz-spring-boot2-configurer`: support for Spring Boot 2.x specific components Spring boot specific modules are conditionally loaded by Spring Boot using @ConditionalOnClass. For Spring Boot 1.x, we check for AbstractEndpoint class and for Spring Boot 2, we check for Endpoint annotation class. Those classes only exist in their versions, so they're ok to make sure that we load the right AutoConfiguration classes. Also, packages were renamed to ensure that they are not shared by different modules (for Java 9 compatibility). Fixes: #271
- Loading branch information
1 parent
336251a
commit f985080
Showing
41 changed files
with
1,511 additions
and
507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
292 changes: 0 additions & 292 deletions
292
...t-starter/src/main/java/org/togglz/spring/boot/autoconfigure/TogglzAutoConfiguration.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.