Skip to content

Commit

Permalink
Bump io.netty.netty-bom to v4.1.108.Final to address CVE-2024-29025 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
joannatk authored Jul 2, 2024
1 parent 437e747 commit 0cc552f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>4.1.107.Final</version>
<version>4.1.108.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void testNormalCheckin() {
eq(true)))
.andReturn(returnConfig)
.once();
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
proxyV2API.proxySaveConfig(eq(proxyId), anyObject());
Expand Down Expand Up @@ -108,7 +108,7 @@ public void testNormalCheckinWithRemoteShutdown() {
eq(true)))
.andReturn(returnConfig)
.anyTimes();
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
proxyV2API.proxySaveConfig(eq(proxyId), anyObject());
Expand Down Expand Up @@ -166,7 +166,7 @@ public void testNormalCheckinWithBadConsumer() {
eq(true)))
.andReturn(returnConfig)
.anyTimes();
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
proxyV2API.proxySaveConfig(eq(proxyId), anyObject());
Expand Down Expand Up @@ -210,7 +210,7 @@ public void testNetworkErrors() {
returnConfig.setPointsPerBatch(1234567L);
replay(proxyConfig);
UUID proxyId = ProxyUtil.getOrCreateProxyId(proxyConfig);
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
proxyV2API.proxySavePreprocessorRules(eq(proxyId), anyObject());
Expand Down Expand Up @@ -312,7 +312,7 @@ public void testHttpErrors() {
AgentConfiguration returnConfig = new AgentConfiguration();
replay(proxyConfig);
UUID proxyId = ProxyUtil.getOrCreateProxyId(proxyConfig);
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
// we need to allow 1 successful checking to prevent early termination
Expand Down Expand Up @@ -474,7 +474,7 @@ public void testRetryCheckinOnMisconfiguredUrl() {
eq(true)))
.andThrow(new ClientErrorException(Response.status(404).build()))
.once();
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
apiContainer.updateServerEndpointURL(CENTRAL_TENANT_NAME, "https://acme.corp/zzz/api/");
Expand Down Expand Up @@ -537,7 +537,7 @@ public void testRetryCheckinOnMisconfiguredUrlFailsTwiceTerminates() {
eq(true)))
.andThrow(new ClientErrorException(Response.status(404).build()))
.times(2);
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
proxyV2API.proxySaveConfig(eq(proxyId), anyObject());
Expand Down Expand Up @@ -579,7 +579,7 @@ public void testDontRetryCheckinOnMisconfiguredUrlThatEndsWithApi() {
returnConfig.setPointsPerBatch(1234567L);
replay(proxyConfig);
UUID proxyId = ProxyUtil.getOrCreateProxyId(proxyConfig);
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
expect(
Expand Down Expand Up @@ -629,7 +629,7 @@ public void testDontRetryCheckinOnBadCredentials() {
returnConfig.setPointsPerBatch(1234567L);
replay(proxyConfig);
UUID proxyId = ProxyUtil.getOrCreateProxyId(proxyConfig);
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
expect(
Expand Down Expand Up @@ -700,7 +700,7 @@ public void testCheckinConvergedCSPWithLogServerConfiguration() {
eq(true)))
.andReturn(returnConfig)
.once();
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
proxyV2API.proxySaveConfig(eq(proxyId), anyObject());
Expand Down Expand Up @@ -760,7 +760,7 @@ public void testCheckinConvergedCSPWithoutLogServerConfiguration() {
eq(true)))
.andReturn(returnConfig)
.once();
expect(apiContainer.getProxyV2APIForTenant(CENTRAL_TENANT_NAME))
expect(apiContainer.getProxyV2APIForTenant(EasyMock.anyObject(String.class)))
.andReturn(proxyV2API)
.anyTimes();
proxyV2API.proxySaveConfig(eq(proxyId), anyObject());
Expand Down

0 comments on commit 0cc552f

Please sign in to comment.