Skip to content

Commit af09a1c

Browse files
authored
Upgrade gson, log4j2 and jackson dependencies (#83)
1 parent a1bf84e commit af09a1c

File tree

6 files changed

+18
-15
lines changed

6 files changed

+18
-15
lines changed

.ci/integration/docker-test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ if [ "$ELASTIC_STACK_VERSION" ]; then
2727

2828
# Build the gem
2929
find . -name *.gemspec | xargs gem build
30-
cp *.gem ci/integration/this.gem
31-
source ci/integration/env.sh
30+
cp *.gem .ci/integration/this.gem
31+
source .ci/integration/env.sh
3232

3333
export LS_ARGS="-f $@"
34-
docker-compose -f ci/integration/docker-compose.yml down
35-
docker-compose -f ci/integration/docker-compose.yml up --build --exit-code-from logstash1 --force-recreate
34+
docker-compose -f .ci/integration/docker-compose.yml down
35+
docker-compose -f .ci/integration/docker-compose.yml up --build --exit-code-from logstash1 --force-recreate
3636
# Need to manually stop
3737
else
3838
echo "Please set the ELASTIC_STACK_VERSION environment variable"

.ci/integration/event_hub_consumer/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@
7979
<dependency>
8080
<groupId>org.slf4j</groupId>
8181
<artifactId>slf4j-api</artifactId>
82-
<version>1.7.25</version>
82+
<version>2.0.7</version>
8383
</dependency>
8484
<dependency>
8585
<groupId>org.apache.logging.log4j</groupId>
8686
<artifactId>log4j-core</artifactId>
87-
<version>2.9.1</version>
87+
<version>2.20.0</version>
8888
</dependency>
8989
<dependency>
9090
<groupId>org.apache.logging.log4j</groupId>
9191
<artifactId>log4j-slf4j-impl</artifactId>
92-
<version>2.9.1</version>
92+
<version>2.20.0</version>
9393
</dependency>
9494
</dependencies>
9595
</dependencyManagement>

.ci/integration/event_hub_producer/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,32 +74,32 @@
7474
<dependency>
7575
<groupId>org.slf4j</groupId>
7676
<artifactId>slf4j-api</artifactId>
77-
<version>1.7.25</version>
77+
<version>2.0.7</version>
7878
</dependency>
7979
<dependency>
8080
<groupId>org.apache.logging.log4j</groupId>
8181
<artifactId>log4j-core</artifactId>
82-
<version>2.9.1</version>
82+
<version>2.20.0</version>
8383
</dependency>
8484
<dependency>
8585
<groupId>org.apache.logging.log4j</groupId>
8686
<artifactId>log4j-slf4j-impl</artifactId>
87-
<version>2.9.1</version>
87+
<version>2.20.0</version>
8888
</dependency>
8989
<dependency>
9090
<groupId>com.fasterxml.jackson.core</groupId>
9191
<artifactId>jackson-core</artifactId>
92-
<version>[2.9.10,3.0)</version>
92+
<version>[2.15.2,3.0)</version>
9393
</dependency>
9494
<dependency>
9595
<groupId>com.fasterxml.jackson.core</groupId>
9696
<artifactId>jackson-annotations</artifactId>
97-
<version>[2.9.10,3.0)</version>
97+
<version>[2.15.2,3.0)</version>
9898
</dependency>
9999
<dependency>
100100
<groupId>com.fasterxml.jackson.core</groupId>
101101
<artifactId>jackson-databind</artifactId>
102-
<version>[2.9.10.1,3.0)</version>
102+
<version>[2.15.2,3.0)</version>
103103
</dependency>
104104
</dependencies>
105105
</dependencyManagement>

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.4.5
2+
- Upgrade multiple dependencies such as `gson`, `log4j2`, `jackson` to make the plugin stable [#83](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/83)
3+
14
## 1.4.4
25
- Fix: Replace use of block with lambda to fix wrong number of arguments error on jruby-9.3.4.0 [#75](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/75)
36

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.4
1+
1.4.5

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
implementation 'com.microsoft.azure:qpid-proton-j-extensions:1.2.4'
2020
implementation 'com.microsoft.azure:azure-eventhubs-eph:2.5.2'
2121
implementation 'com.microsoft.azure:azure-storage:8.6.6'
22-
implementation 'com.google.code.gson:gson:2.8.5'
22+
implementation 'com.google.code.gson:gson:2.10.1'
2323
implementation 'org.apache.qpid:proton-j:0.33.9'
2424
compileOnly 'org.apache.logging.log4j:log4j-api:2.17.0' // provided by Logstash
2525
testImplementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.17.0' // provided by Logstash

0 commit comments

Comments
 (0)