Skip to content

Commit 809caac

Browse files
committed
Updated dependencies
1 parent 72c5907 commit 809caac

File tree

10 files changed

+21
-36
lines changed

10 files changed

+21
-36
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ COPY ./kafka-connect-fitbit-source/src/ /code/kafka-connect-fitbit-source/src
4040

4141
RUN ./gradlew jar
4242

43-
FROM confluentinc/cp-kafka-connect-base:5.5.0
43+
FROM confluentinc/cp-kafka-connect-base:5.5.2
4444

4545
MAINTAINER Joris Borgdorff <[email protected]>
4646

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ description = 'kafka-connect-rest-source'
22

33
subprojects {
44
ext {
5-
kafkaVersion = '2.5.0'
6-
confluentVersion = '5.5.0'
7-
jacksonVersion = '2.11.0'
5+
kafkaVersion = '2.5.1'
6+
confluentVersion = '5.5.2'
7+
jacksonVersion = '2.11.3'
88
}
99

1010
apply plugin: 'java'
@@ -27,7 +27,7 @@ subprojects {
2727
}
2828

2929
wrapper {
30-
gradleVersion '6.4.1'
30+
gradleVersion '6.6.1'
3131
}
3232

3333
evaluationDependsOnChildren()

gradle/wrapper/gradle-wrapper.jar

293 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fi
130130
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
131131
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
132132
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
133-
133+
134134
JAVACMD=`cygpath --unix "$JAVACMD"`
135135

136136
# We build the pattern for arguments to be converted via cygpath

gradlew.bat

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4040

4141
set JAVA_EXE=java.exe
4242
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto init
43+
if "%ERRORLEVEL%" == "0" goto execute
4444

4545
echo.
4646
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -54,7 +54,7 @@ goto fail
5454
set JAVA_HOME=%JAVA_HOME:"=%
5555
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5656

57-
if exist "%JAVA_EXE%" goto init
57+
if exist "%JAVA_EXE%" goto execute
5858

5959
echo.
6060
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -64,29 +64,14 @@ echo location of your Java installation.
6464

6565
goto fail
6666

67-
:init
68-
@rem Get command-line arguments, handling Windows variants
69-
70-
if not "%OS%" == "Windows_NT" goto win9xME_args
71-
72-
:win9xME_args
73-
@rem Slurp the command line arguments.
74-
set CMD_LINE_ARGS=
75-
set _SKIP=2
76-
77-
:win9xME_args_slurp
78-
if "x%~1" == "x" goto execute
79-
80-
set CMD_LINE_ARGS=%*
81-
8267
:execute
8368
@rem Setup the command line
8469

8570
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
8671

8772

8873
@rem Execute Gradle
89-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
74+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
9075

9176
:end
9277
@rem End local scope for the variables with windows NT shell

kafka-connect-fitbit-source/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
dependencies {
22
api project(':kafka-connect-rest-source')
33
api group: 'io.confluent', name: 'kafka-connect-avro-converter', version: confluentVersion
4-
api group: 'org.radarcns', name: 'radar-schemas-commons', version: '0.5.3'
4+
api group: 'org.radarcns', name: 'radar-schemas-commons', version: '0.5.14'
55

6-
implementation group: 'org.radarcns', name: 'oauth-client-util', version: '0.5.8'
6+
implementation group: 'org.radarcns', name: 'oauth-client-util', version: '0.6.0'
77

88
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: jacksonVersion
99
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: jacksonVersion
10-
implementation 'com.google.firebase:firebase-admin:6.12.2'
10+
implementation 'com.google.firebase:firebase-admin:6.16.0'
1111

1212
// Included in connector runtime
1313
compileOnly group: 'org.apache.kafka', name: 'connect-api', version: kafkaVersion
1414
compileOnly group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jacksonVersion
1515

16-
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.4.2'
17-
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.4.2'
18-
testRuntimeOnly group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.26'
16+
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.6.2'
17+
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.6.2'
18+
testRuntimeOnly group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.30'
1919
testImplementation group: 'org.apache.kafka', name: 'connect-api', version: kafkaVersion
2020
}
2121

kafka-connect-fitbit-source/src/main/java/org/radarbase/connect/rest/fitbit/user/ServiceUserRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class ServiceUserRepository implements UserRepository {
5959
private static final ObjectReader USER_READER = JSON_READER.forType(User.class);
6060
private static final ObjectReader OAUTH_READER = JSON_READER.forType(OAuth2UserCredentials.class);
6161
private static final RequestBody EMPTY_BODY =
62-
RequestBody.create(MediaType.parse("application/json; charset=utf-8"), "");
62+
RequestBody.create("", MediaType.parse("application/json; charset=utf-8"));
6363
private static final Duration FETCH_THRESHOLD = Duration.ofMinutes(1L);
6464

6565
private final OkHttpClient client;

kafka-connect-rest-source/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
dependencies {
2-
api group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.14.2'
2+
api group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.9.0'
33

44
// Included in connector runtime
55
compileOnly group: 'org.apache.kafka', name: 'connect-api', version: kafkaVersion
66

77
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
8-
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.4.2'
9-
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.4.2'
8+
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.6.2'
9+
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.6.2'
1010
testImplementation group: 'org.mockito', name: 'mockito-core', version: '2.27.0'
1111
testImplementation group: 'com.github.tomakehurst', name: 'wiremock', version: '2.23.2'
1212

kafka-connect-rest-source/src/main/java/org/radarbase/connect/rest/single/SingleRequestGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void initialize(RestSourceConnectorConfig config) {
8181
} else {
8282
mediaType = MediaType.parse(contentType);
8383
}
84-
body = RequestBody.create(mediaType, singleConfig.getData());
84+
body = RequestBody.create(singleConfig.getData(), mediaType);
8585
}
8686

8787
converter = config.getPayloadToSourceRecordConverter();

0 commit comments

Comments
 (0)