Skip to content

Commit 788e601

Browse files
dariogavranovicTPRobotsmaxmandersraimondastanl-trustpilot
authored
feat: rebase onto trustpilot/kafka-connect-dynamodb@master (#10)
* Remove deploy step (#13) Deploys use the GitHub Releases provider. These releases should be created manually. Discussed internally with Emilio. Co-authored-by: Max Manders <[email protected]> * Upgrade lo4j (#14) * Table whitelist config parameter integration tests - updated kinesis adapter - service endpoints config - fixed credential config types updated kinesis-adapter use gson only integration test task test switch from init sync table whitelist config parameter kcl.table.billing.mode config parameter add aws-java-sdk-sts dependency trustpilot#5 params cleaning cleanup docs * fix for security vunrability move to log4j 2.15.0 Co-authored-by: Raimondas Tijūnaitis <[email protected]> Co-authored-by: anl-trustpilot <[email protected]> Co-authored-by: anl-trustpilot <[email protected]> * Updates log4j to version 2.17.1 (trustpilot#15) Co-authored-by: Emilio Larrambebere <[email protected]> * Update_package_versions (trustpilot#21) * update kcl and dynamo packages * add dist property to travis file * override abstract CW methods Co-authored-by: fal-trustpilot <[email protected]> --------- Co-authored-by: Trustpilot Robot User <[email protected]> Co-authored-by: Max Manders <[email protected]> Co-authored-by: Raimondas Tijūnaitis <[email protected]> Co-authored-by: anl-trustpilot <[email protected]> Co-authored-by: anl-trustpilot <[email protected]> Co-authored-by: Emilio Larrambebere <[email protected]> Co-authored-by: fal-trustpilot <[email protected]>
1 parent ff98321 commit 788e601

File tree

4 files changed

+41
-13
lines changed

4 files changed

+41
-13
lines changed

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist: focal
12
language: java
23

34
before_cache:
@@ -10,11 +11,3 @@ cache:
1011
script:
1112
- ./gradlew build --build-cache -PwarningsAsErrors=true
1213
- ./gradlew shadowJar
13-
14-
deploy:
15-
provider: releases
16-
api_key: "$GITHUB_TOKEN"
17-
file: "build/libs/kafka-connect-dynamodb-${TRAVIS_TAG}.jar"
18-
skip_cleanup: true
19-
on:
20-
tags: true

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ allprojects {
5959
testCompile "com.google.code.gson:gson:2.8.6"
6060

6161
testCompile group: 'org.mockito', name: 'mockito-junit-jupiter', version: '2.26.0'
62-
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.2'
63-
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.2'
64-
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.11.2'
62+
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.1'
63+
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.1'
64+
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.17.1'
6565
}
6666

6767
test {

source/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
77

88
compile group: 'org.apache.kafka', name: 'connect-api', version: "${rootProject.ext.kafkaConnectApiVersion}"
9-
compile group: 'com.amazonaws', name: 'amazon-kinesis-client', version: '1.9.1'
10-
compile group: 'com.amazonaws', name: 'dynamodb-streams-kinesis-adapter', version: '1.5.2'
9+
compile group: 'com.amazonaws', name: 'amazon-kinesis-client', version: '1.13.3'
10+
compile group: 'com.amazonaws', name: 'dynamodb-streams-kinesis-adapter', version: '1.5.3'
1111
compile group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: '1.11.877'
1212
}

source/src/main/java/com/trustpilot/connector/dynamodb/kcl/KclNoopCloudWatch.java

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ public GetMetricStatisticsResult getMetricStatistics(GetMetricStatisticsRequest
9494
return null;
9595
}
9696

97+
@Override
98+
public GetMetricStreamResult getMetricStream(GetMetricStreamRequest getMetricStreamRequest) {
99+
return null;
100+
}
101+
97102
@Override
98103
public GetMetricWidgetImageResult getMetricWidgetImage(GetMetricWidgetImageRequest getMetricWidgetImageRequest) {
99104
return null;
@@ -119,6 +124,11 @@ public PutAnomalyDetectorResult putAnomalyDetector(PutAnomalyDetectorRequest put
119124
return null;
120125
}
121126

127+
@Override
128+
public PutCompositeAlarmResult putCompositeAlarm(PutCompositeAlarmRequest putCompositeAlarmRequest) {
129+
return null;
130+
}
131+
122132
@Override
123133
public PutMetricAlarmResult putMetricAlarm(PutMetricAlarmRequest putMetricAlarmRequest) {
124134
return null;
@@ -129,11 +139,26 @@ public PutMetricDataResult putMetricData(PutMetricDataRequest putMetricDataReque
129139
return null;
130140
}
131141

142+
@Override
143+
public PutMetricStreamResult putMetricStream(PutMetricStreamRequest putMetricStreamRequest) {
144+
return null;
145+
}
146+
132147
@Override
133148
public SetAlarmStateResult setAlarmState(SetAlarmStateRequest setAlarmStateRequest) {
134149
return null;
135150
}
136151

152+
@Override
153+
public StartMetricStreamsResult startMetricStreams(StartMetricStreamsRequest startMetricStreamsRequest) {
154+
return null;
155+
}
156+
157+
@Override
158+
public StopMetricStreamsResult stopMetricStreams(StopMetricStreamsRequest stopMetricStreamsRequest) {
159+
return null;
160+
}
161+
137162
@Override
138163
public TagResourceResult tagResource(TagResourceRequest tagResourceRequest) {
139164
return null;
@@ -169,6 +194,11 @@ public DeleteInsightRulesResult deleteInsightRules(DeleteInsightRulesRequest del
169194
return null;
170195
}
171196

197+
@Override
198+
public DeleteMetricStreamResult deleteMetricStream(DeleteMetricStreamRequest deleteMetricStreamRequest) {
199+
return null;
200+
}
201+
172202
@Override
173203
public GetDashboardResult getDashboard(GetDashboardRequest getDashboardRequest) {
174204
return null;
@@ -189,6 +219,11 @@ public ListDashboardsResult listDashboards(ListDashboardsRequest listDashboardsR
189219
return null;
190220
}
191221

222+
@Override
223+
public ListMetricStreamsResult listMetricStreams(ListMetricStreamsRequest listMetricStreamsRequest) {
224+
return null;
225+
}
226+
192227
@Override
193228
public PutDashboardResult putDashboard(PutDashboardRequest putDashboardRequest) {
194229
return null;

0 commit comments

Comments
 (0)