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

Dtsrd 72 2 #272

Closed
wants to merge 158 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
8f17b52
migration script from github.com/spring-projects/spring-batch
lukasz-wolski Apr 24, 2023
5cce438
upgrade to spring-boot 3.0.6
lukasz-wolski Apr 26, 2023
bfd45b6
suppression of CVE-2008-7271 and CVE-2010-4647 for jakarta.activation…
lukasz-wolski Apr 27, 2023
17b10ab
added dependencies to jakarta.el
lukasz-wolski Apr 28, 2023
1dc6bee
changed import to jakarta
lukasz-wolski Apr 28, 2023
a77e055
Merge branch 'master' into DTSRD-72-2
lukasz-wolski May 4, 2023
1832902
Merge branch 'master' into DTSRD-72-2
lukasz-wolski May 11, 2023
e5faedc
set jakarta el to 3.0.4
lukasz-wolski May 11, 2023
55e6c95
Merge remote-tracking branch 'origin/DTSRD-72-2' into DTSRD-72-2
lukasz-wolski May 11, 2023
d1ffb3e
set jakarta el-api to 3.0.3
lukasz-wolski May 11, 2023
d24dbbe
Merge branch 'master' into DTSRD-72-2
kiran-yenigala-hmcts Jul 3, 2023
06007e9
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Jul 13, 2023
2f7542e
Update build.gradle
lukasz-wolski Jul 13, 2023
03d0d00
Update FlagDetailsTest.java
lukasz-wolski Jul 13, 2023
4bf98df
Update FlagServiceTest.java
lukasz-wolski Jul 13, 2023
85aa4bb
checkstyle config
lukasz-wolski Jul 13, 2023
0bf3f2c
exclude found test data duplicates
lukasz-wolski Jul 13, 2023
1a7e790
changed import order
lukasz-wolski Jul 13, 2023
34b062b
changed import order, dependencies
lukasz-wolski Jul 13, 2023
29ba0d5
- spring boot 3.0.8
lukasz-wolski Jul 14, 2023
3d76cf7
import cleanup
lukasz-wolski Jul 14, 2023
2ce2b3c
refactored javax validator from data-ingestion-lib to internal jakart…
lukasz-wolski Jul 14, 2023
d425a8d
gradle 8.2.1
lukasz-wolski Jul 14, 2023
f2d64d6
gradle 8.2.1-all
lukasz-wolski Jul 14, 2023
d22def7
sonarqube 4.2.1.3168
lukasz-wolski Jul 14, 2023
0a649ac
using data-ingestion-lib 0.6.0-beta-3
lukasz-wolski Jul 20, 2023
404d30d
imports for data-ingestion-lib
lukasz-wolski Jul 21, 2023
c35eea3
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Jul 21, 2023
b3df0be
added suppressions
lukasz-wolski Jul 21, 2023
f5b8178
update blobstorage chart to 1.0.1
lukasz-wolski Jul 21, 2023
68ad210
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] Jul 21, 2023
ebd1cc4
adding validation-api
lukasz-wolski Jul 21, 2023
1f1b689
update spring cloud libs
lukasz-wolski Jul 21, 2023
05cdea4
update apache camel to 4.0.0-RC1
lukasz-wolski Jul 25, 2023
e28a52e
update to jdk 17
lukasz-wolski Jul 25, 2023
bc870b2
data-ingestion-lib 0.6.0.0-beta-4
lukasz-wolski Aug 2, 2023
fd13437
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Aug 2, 2023
72def7c
apache-camel 4.0.0-RC2
lukasz-wolski Aug 2, 2023
b3a04b4
Merge remote-tracking branch 'origin/DTSRD-72-2' into DTSRD-72-2
lukasz-wolski Aug 2, 2023
b39876c
apache-camel 4.0.0-RC2
lukasz-wolski Aug 2, 2023
8d781a0
dependencies fixes
lukasz-wolski Aug 2, 2023
a5f55c1
flyway update
lukasz-wolski Aug 2, 2023
91204a7
data-ingestion-lib 0.6.0.0-beta-6
lukasz-wolski Aug 2, 2023
c743d28
updated to tomcat 10.1.11, alias for txManager
lukasz-wolski Aug 3, 2023
02b9245
cleanup
lukasz-wolski Aug 4, 2023
2f679cc
upgraded backstage.io to v1
lukasz-wolski Aug 7, 2023
ae11ff5
added resource group
lukasz-wolski Aug 8, 2023
6d089a0
disabled gradle daemon
lukasz-wolski Aug 8, 2023
3a97c67
lib updates
lukasz-wolski Aug 10, 2023
5349872
update to apache camel 4.0.0
lukasz-wolski Aug 14, 2023
1d48eb2
update to apache camel 4.0.0
lukasz-wolski Aug 14, 2023
a59cedf
update reform logging, log4j, spring
lukasz-wolski Aug 14, 2023
d41bf52
lib updates
lukasz-wolski Aug 22, 2023
95e84dd
Merge branch 'master' into DTSRD-72-2
kiran-yenigala-hmcts Sep 7, 2023
0e890fb
Address CVE-2023-41080
kiran-yenigala-hmcts Sep 8, 2023
496ba0a
Fix preview deployment
kiran-yenigala-hmcts Sep 8, 2023
fdfed09
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Sep 26, 2023
31392ef
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Oct 2, 2023
f6e2a71
updates to libs and tests
lukasz-wolski Oct 3, 2023
e25bc2c
checkstyle, cleanup
lukasz-wolski Oct 3, 2023
6e572d3
update to spring-boot 3.1.4
lukasz-wolski Oct 3, 2023
5a33193
update to spring-boot 3.1.4, spring 6.0.12
lukasz-wolski Oct 3, 2023
a196fd9
update to spring-security to 6.1.4
lukasz-wolski Oct 3, 2023
be902ef
adjusted azure api call, updated spring-batch-test
lukasz-wolski Oct 3, 2023
8f424a0
spring-batch config for tests
lukasz-wolski Oct 5, 2023
c148b9a
checkstyle
lukasz-wolski Oct 5, 2023
b748ffd
Merge branch 'master' into DTSRD-72-2
kiran-yenigala-hmcts Oct 6, 2023
6a7aa0d
Spring-boot upgrade
kiran-yenigala-hmcts Oct 6, 2023
249f5d7
Spring-boot upgrade
kiran-yenigala-hmcts Oct 6, 2023
d26c251
Spring-boot upgrade
kiran-yenigala-hmcts Oct 6, 2023
51cd1ab
Spring-boot upgrade
kiran-yenigala-hmcts Oct 6, 2023
12166be
Fix checkstyle issues
kiran-yenigala-hmcts Oct 6, 2023
c24b72e
lib updates, test correction
lukasz-wolski Oct 6, 2023
28edc13
Fix camel issues
kiran-yenigala-hmcts Oct 6, 2023
4ef51ae
updated job chart to 1.1.0
lukasz-wolski Oct 6, 2023
896388f
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] Oct 6, 2023
0eccf36
test setup correction
lukasz-wolski Oct 9, 2023
12c43dd
cleanup
lukasz-wolski Oct 9, 2023
6a9669a
removed unused import
lukasz-wolski Oct 9, 2023
09c0b55
test setup changed to single tx mgr
lukasz-wolski Oct 9, 2023
552f863
test setup changed to single container per test
lukasz-wolski Oct 9, 2023
03b5f95
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Oct 13, 2023
fea6726
update to lib: netty
lukasz-wolski Oct 13, 2023
354635b
update to lib: netty-tcnative
lukasz-wolski Oct 13, 2023
302ca9f
addresses CVE-2023-36414 and CVE-2023-36415
lukasz-wolski Oct 16, 2023
cd59fb2
addresses CVE-2023-36414 and CVE-2023-36415
lukasz-wolski Oct 16, 2023
31c2abb
update to gradle 8.4.0, suppress spuriously reported CVE-2023-36415
lukasz-wolski Oct 16, 2023
f0f62b8
update to flyway 9.22.3
lukasz-wolski Oct 16, 2023
6be9db9
Revert "update to flyway 9.22.3"
lukasz-wolski Oct 16, 2023
b503a70
update to flyway 9.22.3
lukasz-wolski Oct 16, 2023
10fcfd9
update to flyway 9.22.3
lukasz-wolski Oct 16, 2023
d6d3314
changed camel routes
lukasz-wolski Oct 16, 2023
c2b584f
Revert "changed camel routes"
lukasz-wolski Oct 16, 2023
3e2421c
tomcat update (addresses CVEs CVE-2023-42795, CVE-2023-45648, CVE-202…
lukasz-wolski Oct 17, 2023
e7ef156
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Oct 18, 2023
f595a95
update chart job to 1.1.4
lukasz-wolski Oct 18, 2023
319757d
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] Oct 18, 2023
2d501d4
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Oct 25, 2023
fea618f
suppressed CVE-2023-4586 (a likely false positive)
lukasz-wolski Oct 25, 2023
1c50e3e
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Oct 26, 2023
15156ee
disabling spring-batch beans in tests
lukasz-wolski Oct 26, 2023
1170378
checkstyle
lukasz-wolski Oct 26, 2023
7336d86
upgrade to spring-boot 3.1.5 and apache camel 4.0.2
lukasz-wolski Oct 31, 2023
17f2928
upgrade chart job to 1.1.5
kiran-yenigala-hmcts Nov 2, 2023
df6d2a3
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Nov 15, 2023
fe3fa9f
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] Nov 15, 2023
192fe35
added suppression, corrected test mock
lukasz-wolski Nov 15, 2023
27296c7
unit test corrected
lukasz-wolski Nov 15, 2023
5b34a2a
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Nov 20, 2023
8a4d72a
lib upgrades
lukasz-wolski Nov 21, 2023
6abef87
suppresses a likely false positive (CVE-2023-36052)
lukasz-wolski Nov 21, 2023
e9c1b8f
upgrade pitest to 1.15.0
lukasz-wolski Nov 21, 2023
c8d9f1f
lib upgrades
lukasz-wolski Nov 21, 2023
54f5a84
lib upgrades
lukasz-wolski Nov 27, 2023
eb0247c
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Nov 27, 2023
3742b54
lib upgrades
lukasz-wolski Nov 27, 2023
2ced2cc
Merge remote-tracking branch 'origin/DTSRD-72-2' into DTSRD-72-2
lukasz-wolski Nov 27, 2023
f60cefc
CI steps updates
lukasz-wolski Nov 27, 2023
1112adc
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Dec 7, 2023
0c8511f
- tomcat 10.1.16
lukasz-wolski Dec 7, 2023
1d87b05
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Dec 7, 2023
c17039c
Merge branch 'master' into DTSRD-72-2
kiran-yenigala-hmcts Dec 8, 2023
5db5170
Fix library issues
kiran-yenigala-hmcts Dec 11, 2023
9c0be37
Fix library issues
kiran-yenigala-hmcts Dec 11, 2023
c827acf
Fix library issues
kiran-yenigala-hmcts Dec 11, 2023
ac19cf3
Fix library issues
kiran-yenigala-hmcts Dec 11, 2023
c3e10e1
Fix library issues
kiran-yenigala-hmcts Dec 11, 2023
a92e790
Fix library issues
kiran-yenigala-hmcts Dec 11, 2023
4c4c1fe
Fix library issues
kiran-yenigala-hmcts Dec 11, 2023
e0dbfab
gradle 8.5
lukasz-wolski Dec 12, 2023
0a69182
lib updates
lukasz-wolski Dec 12, 2023
1bb5e81
Fix library issues
kiran-yenigala-hmcts Dec 12, 2023
6df9c1f
gradle-wrapper for gradle 8.5
lukasz-wolski Dec 14, 2023
a0055b1
Merge branch 'master' into DTSRD-72-2
kiran-yenigala-hmcts Jan 8, 2024
789470b
DTSRD-72: update chart version and install java 17 ci
kiran-yenigala-hmcts Jan 8, 2024
2c4c3d0
Bumping chart version/ fixing aliases
hmcts-jenkins-j-to-z[bot] Jan 8, 2024
c0ab07c
DTSRD-72: fix ci build issue
kiran-yenigala-hmcts Jan 8, 2024
88e8dac
DTSRD-72: code cleanup
kiran-yenigala-hmcts Jan 9, 2024
d680814
DTSRD-72: code cleanup
kiran-yenigala-hmcts Jan 9, 2024
23a2ae6
DTSRD-72: library issues
kiran-yenigala-hmcts Jan 9, 2024
b689fff
DTSRD-72: code cleanup
kiran-yenigala-hmcts Jan 9, 2024
4b2938f
DTSRD-72: code cleanup
kiran-yenigala-hmcts Jan 9, 2024
22107b7
DTSRD-72: update libraries
kiran-yenigala-hmcts Jan 9, 2024
d0d89d9
DTSRD-72: update libraries
kiran-yenigala-hmcts Jan 9, 2024
4b31af1
DTSRD-72: issue related to JobRepository jobRepository and
kiran-yenigala-hmcts Jan 9, 2024
dc2d9d5
DTSRD-72: issue related to JobRepository jobRepository and
kiran-yenigala-hmcts Jan 9, 2024
f2b6a3d
DTSRD-72: Change camel version
kiran-yenigala-hmcts Jan 9, 2024
79973bc
DTSRD-72: add spring-boot-starter-batch to config
kiran-yenigala-hmcts Jan 9, 2024
67781d9
DTSRD-72: address checkstyle issues
kiran-yenigala-hmcts Jan 9, 2024
b9e9174
DTSRD-72: address checkstyle issues
kiran-yenigala-hmcts Jan 9, 2024
b1531eb
DTSRD-72: fix build issues
kiran-yenigala-hmcts Jan 10, 2024
cf1c3cc
Merge branch 'master' into DTSRD-72-2
kiran-yenigala-hmcts Jan 10, 2024
0174ce3
Merge branch 'master' into DTSRD-72-2
lukasz-wolski Jan 11, 2024
e3d7ae4
DTSRD-72: Remove EnableBatchProcessing for Spring boot 3 and spring b…
kiran-yenigala-hmcts Jan 12, 2024
fa7af2a
DTSRD-72: Fix duplicate PlatformTransactionManager
kiran-yenigala-hmcts Jan 12, 2024
4faea25
DTSRD-72: @Primary to txManager
kiran-yenigala-hmcts Jan 12, 2024
cc1ff90
DTSRD-72: Add @SpringBatchTest
kiran-yenigala-hmcts Jan 12, 2024
15bad2d
DTSRD-72: remove @SpringBootTest
kiran-yenigala-hmcts Jan 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
java-version: 17
- name: Build
run: ./gradlew check
245 changes: 98 additions & 147 deletions build.gradle

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: backstage.io/v1alpha1
apiVersion: backstage.io/v1
kind: Component
metadata:
name: "rd-commondata-dataload"
Expand Down
2 changes: 1 addition & 1 deletion config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="JavadocMethod">
<property name="scope" value="nothing"/>
<property name="accessModifiers" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowedAnnotations" value="Override, Test"/>
Expand Down
13 changes: 13 additions & 0 deletions config/owasp/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ file name: launchdarkly-java-server-sdk-5.10.2.jar (shaded: org.yaml:snakeyaml:1
<cve>CVE-2023-20860</cve>
<cve>CVE-2023-20859</cve>
<cve>CVE-2023-20883</cve>
<cve>CVE-2008-7271</cve>
<cve>CVE-2010-4647</cve>
<cve>CVE-2023-5763</cve>
</suppress>
<suppress>
<notes>Suppressing disputed CVE: https://github.com/FasterXML/jackson-databind/issues/3972</notes>
Expand All @@ -72,4 +75,14 @@ file name: launchdarkly-java-server-sdk-5.10.2.jar (shaded: org.yaml:snakeyaml:1
<cve>CVE-2023-36052</cve>
<cve>CVE-2023-48795</cve>
</suppress>
<suppress>
<notes>Remove once apache camel 4.0.0 Final available</notes>
<cve>CVE-2022-30187</cve>
</suppress>
<suppress>
<notes><![CDATA[
file name: azure-identity-1.10.3.jar
]]> vulnerable up to 1.10.2, but still spuriously reported for 1.10.3</notes>
<cve>CVE-2023-36415</cve>
</suppress>
</suppressions>
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.daemon=false
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
41 changes: 28 additions & 13 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand All @@ -80,13 +80,11 @@ do
esac
done

APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

APP_NAME="Gradle"
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down Expand Up @@ -133,22 +131,29 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi

# Increase the maximum file descriptors if we can.
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -193,18 +198,28 @@ if "$cygwin" || "$msys" ; then
done
fi

# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
"$@"

# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi

# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
Expand Down
15 changes: 9 additions & 6 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@rem limitations under the License.
@rem

@if "%DEBUG%" == "" @echo off
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
Expand All @@ -25,7 +25,8 @@
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

Expand All @@ -40,7 +41,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Expand Down Expand Up @@ -75,13 +76,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
if %ERRORLEVEL% equ 0 goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%

:mainEnd
if "%OS%"=="Windows_NT" endlocal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.jdbc.Sql;
Expand Down Expand Up @@ -45,7 +45,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.jdbc.Sql;
Expand Down Expand Up @@ -48,7 +48,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.jdbc.Sql;
Expand Down Expand Up @@ -43,7 +43,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
Expand Down Expand Up @@ -49,7 +49,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.jdbc.Sql;
Expand Down Expand Up @@ -49,7 +49,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
Expand Down Expand Up @@ -53,7 +53,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.jdbc.Sql;
Expand Down Expand Up @@ -48,7 +48,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.batch.test.JobLauncherTestUtils;
import org.springframework.batch.test.context.SpringBatchTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.test.context.ConfigDataApplicationContextInitializer;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.jdbc.Sql;
Expand Down Expand Up @@ -43,7 +43,7 @@
@ContextConfiguration(classes = {CommonDataCamelConfig.class, CamelTestContextBootstrapper.class,
JobLauncherTestUtils.class, BatchConfig.class, AzureBlobConfig.class, BlobStorageCredentials.class},
initializers = ConfigDataApplicationContextInitializer.class)
@SpringBootTest
@SpringBatchTest
@EnableAutoConfiguration(exclude = JpaRepositoriesAutoConfiguration.class)
@EnableTransactionManagement
@SqlConfig(dataSource = "dataSource", transactionManager = "txManager",
Expand Down
Loading