Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge origin master #1

Merged
merged 151 commits into from Aug 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
63f4586
Upgrading the dependencies before starting on work
dilipkrish Sep 7, 2017
c1dae73
Added new module to support oas 3.0
dilipkrish Sep 7, 2017
30c08e6
Created an empty shell based on swagger 2.0
dilipkrish Sep 7, 2017
3aa9e0d
Added mapping support for servers and variables
dilipkrish Sep 14, 2017
b566a48
Added mapping support for external docs
dilipkrish Sep 14, 2017
fa0edd8
WIP
dilipkrish Sep 17, 2017
88375aa
Initial support for projections.
MaksimOrlov Sep 23, 2017
8f67cc5
Improvements for projections plugin.
MaksimOrlov Sep 30, 2017
76a726e
Added projection support for ModelAttribute parameters.
MaksimOrlov Sep 30, 2017
270aed0
Added algorithm to compare model names.
MaksimOrlov Sep 30, 2017
2961f20
Fixed wrong .gitIgnore
MaksimOrlov Oct 1, 2017
e498db9
Optimization of ProjectionProviderPlugin.
MaksimOrlov Oct 13, 2017
59e9b8f
Renamed projection into a view.
MaksimOrlov Oct 13, 2017
35466eb
Code cleanings.
MaksimOrlov Oct 13, 2017
685a0d4
Fixes for tests.
MaksimOrlov Oct 25, 2017
eac8324
.equals and .hashCode methods for AllowableValues
MaksimOrlov Nov 25, 2017
61ea48b
.equals method for Model
MaksimOrlov Nov 25, 2017
6070648
.equals and .hashCode for Extension
MaksimOrlov Nov 25, 2017
fd28f4a
.equals and .hashCode for ModelProperty
MaksimOrlov Nov 25, 2017
df162eb
.equals and .hashCode for ModelRef
MaksimOrlov Nov 25, 2017
03e548a
added modelId to ModelReference
MaksimOrlov Nov 25, 2017
5a48eb9
Model reference provider infers model id to model reference
MaksimOrlov Nov 25, 2017
6f392d2
Operation model builder is available outside Operation Context
MaksimOrlov Nov 25, 2017
6eafb43
class to keeps all conditions for types
MaksimOrlov Nov 25, 2017
a0b6b32
Initialization for type name adjuster
MaksimOrlov Nov 25, 2017
def1f3d
New comparison algorithm
MaksimOrlov Nov 25, 2017
1be2563
JsonView is not supported for ModelAttributes
MaksimOrlov Nov 25, 2017
f44274d
Changes for extracting type names
MaksimOrlov Nov 25, 2017
c0ad5ad
New ModelContext is now available only through Context builder
MaksimOrlov Nov 25, 2017
4595c92
Required changes for Request mapping context
MaksimOrlov Nov 25, 2017
a263c24
fixes for name extractor
MaksimOrlov Nov 25, 2017
229c5f3
Type name adjuster registers only complex types.
MaksimOrlov Nov 25, 2017
e6afbd9
Fixes for Schema tests
MaksimOrlov Nov 25, 2017
afa3697
Fixes
MaksimOrlov Nov 25, 2017
0442ced
Test fixes for web
MaksimOrlov Nov 25, 2017
647a4a4
Test fixes for swagger common
MaksimOrlov Nov 25, 2017
4c79d36
Fixed test for Core
MaksimOrlov Nov 25, 2017
2c2e3e1
Checkstyle fixes
MaksimOrlov Nov 25, 2017
c0b5b11
Fixes for Type name extractor test
MaksimOrlov Nov 25, 2017
999673c
Checkstyle fixes
MaksimOrlov Nov 25, 2017
6fa32a8
Test fixes for Web
MaksimOrlov Nov 28, 2017
8836f54
Test fixes for swagger core
MaksimOrlov Nov 28, 2017
5304038
Test fixes for swagger 1
MaksimOrlov Nov 28, 2017
6293670
Renamed TypeNameAdjuster to TypeNameAdapter
MaksimOrlov Jan 2, 2018
a90e6ba
Moved ViewProviderPlugin
MaksimOrlov Jan 2, 2018
ba4ed8e
Fixes for test. Renamed TypeNameIndexingAdjuster to
MaksimOrlov Jan 2, 2018
b40c0ee
Fixes for ApiListingScanner.
MaksimOrlov Jan 2, 2018
7d5ec18
Fixes for ApiModelReader and additional tests.
MaksimOrlov Jan 2, 2018
7861c35
Fixes for ViewPlugin.
MaksimOrlov Jan 2, 2018
bce3795
Additional types for tests.
MaksimOrlov Jan 2, 2018
00a6baf
Fixes for contract tests.
MaksimOrlov Jan 2, 2018
0f20687
Fixes for ModelDTO.
MaksimOrlov Jan 2, 2018
f2a40be
Checkstyle.
MaksimOrlov Jan 2, 2018
809d3f6
Moving logic from TypeNameAdapter to TypeNameExtractor.
MaksimOrlov Jan 2, 2018
0568a9e
Fixes for tests.
MaksimOrlov Jan 2, 2018
0720fc5
Fixes for Model Refs.
MaksimOrlov Jan 2, 2018
6b9adcf
Code style fixes.
MaksimOrlov Jan 3, 2018
eb1eb0b
Additional contract test.
MaksimOrlov Jan 3, 2018
a890d0d
Changed ResolvedType to String representation of type to assume equality
MaksimOrlov Jan 4, 2018
c6325f9
Bug fixes.
MaksimOrlov Jan 5, 2018
6246b0d
Coverage and fixes.
MaksimOrlov Jan 6, 2018
869aad9
Fixes and coverage.
MaksimOrlov Jan 11, 2018
66b8d3b
Coverage.
MaksimOrlov Jan 12, 2018
a41ebf3
Coverage.
MaksimOrlov Jan 12, 2018
20a160b
Fixes for enums.
MaksimOrlov Jan 12, 2018
8b316fb
Merging from master
dilipkrish Feb 4, 2018
e73ba00
Polished
dilipkrish Feb 4, 2018
6c2592c
Fixed the model and model property comparison
dilipkrish Feb 10, 2018
9c72cfb
Fixed the other test
dilipkrish Feb 10, 2018
3084c84
Merge remote-tracking branch 'origin/master' into
MaksimOrlov Mar 8, 2018
5f8dc79
Fixes for typo and names.
MaksimOrlov Mar 8, 2018
4d7eecb
Fixes for Jackson 2.9
MaksimOrlov Mar 8, 2018
1363ab4
Fixes for contract tests.
MaksimOrlov Mar 8, 2018
7d25dc4
Merge tag '2.9.2' into feature/model-enhancements
MaksimOrlov Aug 24, 2018
649affd
Fix ModelContext constructor visibility.
MaksimOrlov Sep 12, 2018
4b165a6
Fixes for tests.
MaksimOrlov Sep 12, 2018
925f5c1
Fix for contract tests.
MaksimOrlov Sep 12, 2018
0ae8ef4
Fix for ApiModelReader.
MaksimOrlov Sep 12, 2018
049acec
allow importing into eclipse
a1dutch Sep 22, 2018
4f500fc
handle any extension type
a1dutch Sep 22, 2018
2836738
Fixes #2719 partially by setting the required flag when @NotBlank is …
Oct 6, 2018
769c693
Added tests for @NotBlank.
Oct 6, 2018
994f903
Sort parameters by their order before sorting them by their name.
Oct 6, 2018
a18fa69
Removed unused import.
Oct 6, 2018
8bb9b97
Preparations for a new merging algorithm. Fixes .hashCode() collisions
MaksimOrlov Dec 2, 2018
4b43703
Fix #2247 maps enum values to name() rather than toString()
DavidSeptimus Jan 11, 2019
54857a4
Fix #2247 adds missing file header
DavidSeptimus Jan 12, 2019
c418ad2
#2622 new spring removes x-forwarded headers and changes request acco…
Feb 8, 2019
fccc5b6
#2622 request getHeaders must return enumeration
Feb 8, 2019
d5a0eba
Make csrf support optional
olOwOlo Feb 9, 2019
c5acf42
Upgraded gradle to 5.2
dilipkrish Nov 29, 2018
4a30b49
Fixed checkstyle violations and code cleanup
dilipkrish Dec 4, 2018
4ec3d9c
Upgrade libraries and plugin versions
dilipkrish Feb 25, 2019
35e1427
Upgrade Libraries/gradle
dilipkrish Feb 25, 2019
69c6805
Updated swagger UI to 3.20.9
dilipkrish Feb 25, 2019
e40e2d6
Updated the grgit dependency
dilipkrish Feb 26, 2019
273b8d2
New merging algorithm that can handle cyclic model references.
MaksimOrlov Mar 24, 2019
2c4a234
Unit tests.
MaksimOrlov Mar 24, 2019
79a97fd
Contract tests.
MaksimOrlov Mar 24, 2019
00872f3
Add sourcemap to springfox.js.
lzhoucs Mar 14, 2019
7bcaa63
Fix bug with duplicates subTypes.
MaksimOrlov Mar 28, 2019
1be9618
Fix for redundant circles in known models.
MaksimOrlov Mar 28, 2019
6818f6e
Ported circleci 2.0 config from master.
MaksimOrlov Mar 28, 2019
250f44b
Additional test for recursive types.
MaksimOrlov Mar 30, 2019
7484904
Fix for #2407.
MaksimOrlov Mar 30, 2019
40534a0
Fix check style.
MaksimOrlov Mar 30, 2019
9cdc29a
Fix for endless recursion #2407.
MaksimOrlov Mar 30, 2019
510eb4c
Removed extra check.
MaksimOrlov Mar 30, 2019
40a71a6
Optimization.
MaksimOrlov Mar 31, 2019
4e17a6c
Expose the 'showCommonExtensions' configuration available in swagger-ui
benbenw Apr 16, 2019
6f3a672
2967: disable standard DocumentationPluginsBootstrapper if spring-int…
dschulten May 16, 2019
c101f3f
Merge remote-tracking branch 'origin/feature/model-enhancements' into…
dilipkrish May 27, 2019
e1297c3
Merge branch 'chore/merge-model-enhancements'
dilipkrish May 27, 2019
78efc67
jackson-dataformat-xml plugin springfox#2734
brunomendola Jul 17, 2019
c761cfe
checkstyle fix
brunomendola Jul 17, 2019
c47614b
3062: Change Set type for produces and consumes Docket attributes
Sawthis Jul 31, 2019
06e1ca2
3062: Remove unnecessary import
Sawthis Jul 31, 2019
708a2c5
support multiple ApiImplicitParameters
Jul 31, 2019
4d4577b
Merge pull request #3063 from wojciech-soltys/feature/3062
dilipkrish Aug 3, 2019
41adbd3
Merge pull request #3051 from brunomendola/feature/2734/jackson-xml
dilipkrish Aug 3, 2019
08319ca
Merge pull request #2995 from escalon/2967-no-api-generation-with-web…
dilipkrish Aug 3, 2019
7bb08dc
Merge pull request #2973 from benbenw/showCommonExtensions
dilipkrish Aug 3, 2019
82d8504
Merge pull request #2956 from lzhoucs/add-source-map
dilipkrish Aug 3, 2019
020c950
fix using collectionFormat
deripas Feb 28, 2019
55e7991
Merge branch 'deripas-2.9.x'
dilipkrish Aug 3, 2019
486b9d2
Merge branch 'master' of https://github.com/rainoko/springfox into ra…
dilipkrish Aug 3, 2019
73c808d
Splatted the static imports
dilipkrish Aug 3, 2019
71553ac
Merge branch 'rainoko-master'
dilipkrish Aug 3, 2019
173d44e
Merge pull request #2860 from DavidSeptimus/bugfix/2247-enum-name
dilipkrish Aug 3, 2019
427d123
Merge branch 'param-order' of https://github.com/shartte/springfox in…
dilipkrish Aug 3, 2019
19c8a65
Merge branch 'shartte-param-order'
dilipkrish Aug 3, 2019
feaf0a2
Merge branch 'notblank' of https://github.com/shartte/springfox into …
dilipkrish Aug 3, 2019
b3723b1
Fixed checkstyle violations
dilipkrish Aug 3, 2019
b3b5166
Merge branch 'shartte-notblank'
dilipkrish Aug 3, 2019
a843fff
Merge branch 'extra-extension-types' of https://github.com/a1dutch/sp…
dilipkrish Aug 3, 2019
f303819
Merge branch 'a1dutch-extra-extension-types'
dilipkrish Aug 3, 2019
28a97c1
Merge branch 'eclipse-import' of https://github.com/a1dutch/springfox…
dilipkrish Aug 3, 2019
b10030b
Merge branch 'a1dutch-eclipse-import'
dilipkrish Aug 3, 2019
e4378b8
Merge pull request #2639 from olOwOlo/optional-csrf-support
dilipkrish Aug 3, 2019
2fd8795
Bump js-yaml from 3.12.1 to 3.13.1 in /springfox-swagger-ui/src/web
dependabot[bot] Aug 3, 2019
f75e34d
Bump handlebars from 4.1.0 to 4.1.2 in /springfox-swagger-ui/src/web
dependabot[bot] Aug 3, 2019
d813e06
Bump lodash from 4.17.11 to 4.17.15 in /springfox-swagger-ui/src/web
dependabot[bot] Aug 3, 2019
3978a92
fix compile error
Aug 4, 2019
ff44cd3
Update swagger-ui
dilipkrish Aug 4, 2019
5fa2d0b
Merge pull request #3067 from springfox/dependabot/npm_and_yarn/sprin…
dilipkrish Aug 4, 2019
d1cdf26
Merge pull request #3068 from springfox/dependabot/npm_and_yarn/sprin…
dilipkrish Aug 4, 2019
fb14aa8
Merge pull request #3069 from springfox/dependabot/npm_and_yarn/sprin…
dilipkrish Aug 4, 2019
9274c77
add test
Aug 5, 2019
c981566
fix checkstyle error
Aug 5, 2019
dcb1e8b
fix checkstyle error
Aug 6, 2019
8ba0627
Merge pull request #3064 from ileler/master
dilipkrish Aug 6, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .circleci/config.yml
Expand Up @@ -14,9 +14,9 @@ jobs:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "gradle/dependencies.gradle" }}
# - run:
# name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
# command: sudo chmod +x ./gradlew
# - run:
# name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
# command: sudo chmod +x ./gradlew
- run:
name: Download Dependencies
command: ./gradlew dependencies
Expand All @@ -41,10 +41,10 @@ jobs:
- run:
name: Save test results
command: |
mkdir -p ~/junit/
mkdir -p ~/reports/
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/junit/ \;
cp -R swagger-contract-tests/build/reports/tests ~/reports
mkdir -p ~/junit/
mkdir -p ~/reports/
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/junit/ \;
cp -R swagger-contract-tests/build/reports/tests ~/reports
when: always
- store_test_results:
path: ~/junit
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -18,3 +18,5 @@ out/
*.hprof
node_modules/
package-lock.json
.eclipse/
bin/
2 changes: 1 addition & 1 deletion .version
@@ -1 +1 @@
3.0.0-SNAPSHOT
3.0.0-SNAPSHOT
13 changes: 8 additions & 5 deletions build.gradle
Expand Up @@ -9,17 +9,20 @@ buildscript {
dependencies {
classpath "com.github.adrianbk:gradle-jvmsrc-plugin:0.6.1"
classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2"
classpath "com.github.adrianbk:gradle-travisci-trigger-plugin:1.0.0"
classpath 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.2'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.7.5"
classpath "org.asciidoctor:asciidoctor-gradle-plugin:1.5.8.1"
classpath "org.ajoberstar:gradle-git:1.7.2"
classpath 'org.ajoberstar:gradle-git-publish:1.0.1'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.9.3"
classpath "org.asciidoctor:asciidoctor-gradle-plugin:1.6.0"
classpath 'org.ajoberstar.grgit:grgit-core:3.0.0'
classpath 'org.ajoberstar:gradle-git-publish:2.0.0'
}
}

plugins {
id "net.ltgt.apt-idea" version "0.21"
}

apply from: "$rootDir/gradle/dependencies.gradle"
apply from: "$rootDir/gradle/ide.gradle"
apply plugin: 'com.github.ben-manes.versions'
Expand Down
Expand Up @@ -20,10 +20,10 @@ class BuildInfoFactory {
def isReleaseBuild = project.gradle.startParameter.taskNames.contains("release")

SemanticVersion buildVersion = versioningStrategy.buildVersion(releaseType, isReleaseBuild)
project.logger.lifecycle("[RELEASE] current verison: ${versioningStrategy.current()}, " +
project.logger.lifecycle("[RELEASE] current verison: ${versioningStrategy.current(project)}, " +
"build version: $buildVersion, dryRun: $dryRun, releaseBuild: $isReleaseBuild")
new BuildInfo(
versioningStrategy.current(),
versioningStrategy.current(project),
buildVersion,
releaseType,
isReleaseBuild,
Expand Down
Expand Up @@ -29,8 +29,8 @@ class FileVersionStrategy implements VersioningStrategy, GitTaggingSupport, GitV
}

@Override
SemanticVersion current() {
parseTransform(lastAnnotatedTag(), "")
SemanticVersion current(Project project) {
parseTransform(lastAnnotatedTag(project), "")
}

@Override
Expand Down
Expand Up @@ -17,8 +17,8 @@ class GitDescribeVersioningStrategy implements VersioningStrategy, GitVersionPar
}

@Override
SemanticVersion current() {
parseTransform(lastAnnotatedTag(), buildNumberFormat)
SemanticVersion current(Project project) {
parseTransform(lastAnnotatedTag(project), buildNumberFormat)
}

@Override
Expand Down
Expand Up @@ -5,18 +5,18 @@ import springfox.gradlebuild.BuildInfo

trait GitTaggingSupport {

String lastAnnotatedTag() {
def proc = "git describe --exact-match".execute();
String lastAnnotatedTag(Project project) {
def proc = "git -C ${project.getRootDir().toString()} describe --exact-match".execute();
proc.waitFor();
if (proc.exitValue() == 0) {
return proc.text.trim()
}
proc = "git describe".execute()
proc = "git -C ${project.getRootDir().toString()} describe".execute()
proc.waitFor()
if (proc.exitValue() == 0) {
return proc.text.trim()
}
return ""
return "2.9.3"
}

def createAnnotatedTag(Project project, BuildInfo buildInfo) {
Expand Down
Expand Up @@ -6,7 +6,7 @@ import springfox.gradlebuild.BuildInfo
interface VersioningStrategy {
SemanticVersion buildVersion(ReleaseType releaseType, boolean isReleaseBuild)
SemanticVersion nextVersion(SemanticVersion buildVersion, ReleaseType releaseType, boolean isReleaseBuild)
SemanticVersion current()
SemanticVersion current(Project project)
void persist(Project project, BuildInfo buildInfo)

}
142 changes: 104 additions & 38 deletions config/checkstyle.xml
@@ -1,14 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd">

<!-- A set of Checkstyle rules that should be applied to non-legacy modules that should adhere to relatively strict
code style rules. -->
<module name="Checker">

<property name="severity" value="error"/>

<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value=".*generated-test-sources.*\.java$"/>
</module>

<!-- Whitespace checks http://checkstyle.sourceforge.net/config_whitespace.html -->
<module name="FileTabCharacter"/>

Expand All @@ -25,53 +30,92 @@
value="Calls to Throwable.printStackTrace() are not allowed. Log the exception instead."/>
</module>

<!--
Along with the FileContentsHolder module, allows for adding comments to source code to suppress checks.
http://checkstyle.sourceforge.net/config.html#Filters
-->
<module name="SuppressionCommentFilter"/>

<module name="TreeWalker">
<!-- Along with the SuppressWarningsHolder module, enables support for @SuppressWarnigns annotation -->
<module name="SuppressWarningsFilter"/>

<!--
Along with the SuppressionCommentFilter module, allows for adding comments to source code to suppress checks.
http://checkstyle.sourceforge.net/config.html#Filters
-->
<module name="FileContentsHolder"/>
<!-- Checks whether files end with a new line. -->
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
<!--<module name="NewlineAtEndOfFile"/>-->

<!-- Import checks - http://checkstyle.sourceforge.net/config_imports.html -->
<module name="UnusedImports"/>
<module name="TreeWalker">

<!-- Block checks - http://checkstyle.sourceforge.net/config_blocks.html -->
<module name="LeftCurly">
<property name="option" value="eol"/>
<module name="SuppressionCommentFilter"/>
<module name="SuppressWarningsHolder"/>

<!-- Checks for Naming Conventions. -->
<!-- See http://checkstyle.sf.net/config_naming.html -->
<module name="ConstantName"/>
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName"/>
<module name="MemberName"/>
<!--<module name="MethodName"/>-->
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="StaticVariableName"/>
<module name="TypeName"/>

<!-- Checks for imports -->
<!-- See http://checkstyle.sf.net/config_import.html -->
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
<module name="RedundantImport"/>
<module name="UnusedImports">
<property name="processJavadoc" value="false"/>
</module>
<module name="RightCurly">
<property name="option" value="same"/>
</module>
<module name="NeedBraces"/>

<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<!-- Size checks - http://checkstyle.sourceforge.net/config_sizes.html -->
<module name="LineLengthCheck">
<property name="max" value="150"/>
<module name="LineLength">
<property name="max" value="120"/>
<property name="tabWidth" value="4"/>
<property name="ignorePattern" value="^import"/>
</module>

<!-- Metrics checks - http://checkstyle.sourceforge.net/config_metrics.html -->
<module name="JavaNCSS">
<property name="methodMaximum" value="70"/>
<property name="classMaximum" value="500"/>
</module>
<module name="CyclomaticComplexity">
<property name="max" value="15"/>
<module name="MethodLength"/>
<module name="ParameterNumber">
<property name="ignoreOverriddenMethods" value="true"/>
</module>
<!-- <module name="CyclomaticComplexity">-->
<!-- <property name="max" value="16"/>-->
<!-- </module>-->
<!--<module name="NPathComplexity">-->
<!--<property name="max" value="50"/>-->
<!--</module>-->

<!-- Coding checks http://checkstyle.sourceforge.net/config_coding.html -->
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
<module name="EmptyForIteratorPad"/>
<module name="GenericWhitespace"/>
<module name="MethodParamPad"/>
<module name="NoWhitespaceAfter"/>
<module name="NoWhitespaceBefore"/>
<!--<module name="OperatorWrap"/>-->
<module name="ParenPad"/>
<module name="TypecastParenPad"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround"/>

<!-- Modifier Checks -->
<!-- See http://checkstyle.sf.net/config_modifiers.html -->
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>

<!-- Checks for blocks. You know, those {}'s -->
<!-- See http://checkstyle.sf.net/config_blocks.html -->
<module name="AvoidNestedBlocks"/>
<module name="EmptyBlock"/>
<module name="LeftCurly"/>
<module name="NeedBraces"/>
<module name="RightCurly"/>

<!-- Checks for common coding problems -->
<!-- See http://checkstyle.sf.net/config_coding.html -->
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<!--<module name="HiddenField"/>-->
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MissingSwitchDefault"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="StringLiteralEquality"/>
Expand All @@ -83,10 +127,32 @@
</module>
<module name="NoFinalizer"/>

</module>
<!-- Checks for class design -->
<!-- See http://checkstyle.sf.net/config_design.html -->
<!--<module name="DesignForExtension"/>-->
<!--<module name="FinalClass"/>-->
<module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/>
<module name="VisibilityModifier"/>

<!-- Miscellaneous other checks. -->
<!-- See http://checkstyle.sf.net/config_misc.html -->
<module name="ArrayTypeStyle"/>
<!--<module name="TodoComment"/>-->
<module name="UpperEll"/>

<!-- Metrics checks - http://checkstyle.sourceforge.net/config_metrics.html -->
<module name="JavaNCSS">
<property name="methodMaximum" value="60"/>
<property name="classMaximum" value="500"/>
</module>
<module name="CyclomaticComplexity">
<property name="max" value="10"/>
</module>
<module name="NPathComplexity">
<property name="max" value="50"/>
</module>

<module name="RegexpHeader">
<property name="headerFile" value="config/apache-copyright.header" />
<property name="fileExtensions" value="java, groovy" />
</module>
</module>

</module>
39 changes: 22 additions & 17 deletions gradle/dependencies.gradle
@@ -1,29 +1,30 @@
ext {
aptIdeaVersion = 0.17
byteBuddyVersion = "1.8.22"
cglib = "3.2.8"
byteBuddyVersion = "1.9.10"
cglib = "3.2.10"
classmate = "1.4.0"
classGraph = "4.1.7"
equalsverifierVersion = '2.5.2'
groovy = "2.5.0"
equalsverifierVersion = '3.1.5'
groovy = "2.5.4"
jacocoVersion = '0.8.1'
jackson = '2.9.6'
joda = "2.10"
jackson = '2.9.8'
joda = "2.10.1"
jsonPath = "2.4.0"
jsonAssert = "1.5.0"
mapstruct = "1.2.0.Final"
mockito = "2.22.0"
objenesis = "2.6"
mapstruct = "1.3.0.Final"
mockito = "2.24.5"
objenesis = "3.0.1"
oasCore = "2.0.0-rc1"
servlet = "3.1.0"
slf4j = "1.7.25"
snakeyaml = '1.23'
spock = "1.1-groovy-2.4"
spring = "5.0.9.RELEASE"
springHateoas = "0.24.0.RELEASE"
springDataRest = "3.0.10.RELEASE"
spock = "1.3-RC1-groovy-2.5"
spring = "5.1.5.RELEASE"
springIntegration = "5.1.3.RELEASE"
springHateoas = "0.25.1.RELEASE"
springDataRest = "3.1.5.RELEASE"
springPluginVersion = "1.2.0.RELEASE"
swagger2Core = "1.5.20"
springBoot = "2.0.5.RELEASE"
springBoot = "2.1.3.RELEASE"
springfoxRfc6570Version = "1.0.0"
undercouch = "3.4.3"
validationApiVersion = '2.0.1.Final'
Expand Down Expand Up @@ -61,6 +62,10 @@ ext {
"io.swagger:swagger-annotations:${swagger2Core}",
"io.swagger:swagger-models:${swagger2Core}"
],
oasCore : [
"io.swagger:swagger-annotations:${oasCore}",
"io.swagger:swagger-models:${oasCore}"
],
spring : [
"org.springframework.plugin:spring-plugin-core:${springPluginVersion}",
"org.springframework.plugin:spring-plugin-metadata:${springPluginVersion}",
Expand All @@ -83,8 +88,8 @@ ext {
"org.springframework:spring-context:$spring",
],
springProvidedWithSpringIntegration: [
"org.springframework.integration:spring-integration-http:$spring",
"org.springframework.integration:spring-integration-webflux:$spring",
"org.springframework.integration:spring-integration-http:$springIntegration",
"org.springframework.integration:spring-integration-webflux:$springIntegration",
],
springBootProvided : [
"org.springframework.boot:spring-boot-autoconfigure:$springBoot"
Expand Down
1 change: 1 addition & 0 deletions gradle/documentation.gradle
Expand Up @@ -14,6 +14,7 @@ gitPublish {
preserve {
include '**/*'
}

contents {
from "${buildDir}/all-docs"
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.