Skip to content

Commit 6bfea30

Browse files
authored
Merge branch 'kafbat:main' into main
2 parents 0368fde + ff51a99 commit 6bfea30

File tree

7 files changed

+44
-37
lines changed

7 files changed

+44
-37
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
# BACKEND
5+
gradle/libs.versions.toml @kafbat/backend
56
/build.gradle @kafbat/backend
67
/gradle.properties @kafbat/backend
78
/settings.gradle @kafbat/backend

.github/dependabot.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ updates:
77
interval: weekly
88
time: "10:00"
99
timezone: Europe/London
10-
reviewers:
11-
- "kafbat/backend"
1210
open-pull-requests-limit: 10
1311
labels:
1412
- "type/dependencies"
1513
- "scope/backend"
1614
groups:
17-
gradle-dependencies:
15+
spring-boot-dependencies:
16+
patterns:
17+
- "org.springframework.boot:*"
18+
- "io.spring.dependency-management"
19+
# We will handle major upgrades manually
20+
update-types:
21+
- "patch"
22+
- "minor"
23+
other-dependencies:
1824
patterns:
1925
- "*"
2026
update-types:
@@ -27,8 +33,6 @@ updates:
2733
interval: weekly
2834
time: "10:00"
2935
timezone: Europe/London
30-
reviewers:
31-
- "kafbat/backend"
3236
open-pull-requests-limit: 10
3337
ignore:
3438
- dependency-name: "azul/zulu-openjdk-alpine"
@@ -43,8 +47,6 @@ updates:
4347
interval: weekly
4448
time: "10:00"
4549
timezone: Europe/London
46-
reviewers:
47-
- "kafbat/frontend"
4850
open-pull-requests-limit: 10
4951
versioning-strategy: increase-if-necessary
5052
labels:
@@ -64,8 +66,6 @@ updates:
6466
interval: weekly
6567
time: "10:00"
6668
timezone: Europe/London
67-
reviewers:
68-
- "kafbat/devops"
6969
open-pull-requests-limit: 10
7070
labels:
7171
- "type/dependencies"

api/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ dependencies {
1414
implementation project(":contract")
1515
implementation project(":serde-api")
1616
implementation libs.spring.starter.webflux
17-
implementation libs.spring.starter.security
17+
implementation(libs.spring.starter.security){
18+
exclude group: 'com.nimbusds', module: 'nimbus-jose-jwt' because("Temporary overwrite to fix CVE-2025-53864. See https://avd.aquasec.com/nvd/2025/cve-2025-53864/")
19+
}
20+
implementation(libs.nimbus.jose.jwt){
21+
because("Fixes CVE-2025-5386. See https://avd.aquasec.com/nvd/2025/cve-2025-53864/")
22+
}
1823
implementation libs.spring.starter.actuator
1924
implementation libs.spring.starter.logging
2025
implementation libs.spring.starter.oauth2.client

frontend/src/components/Brokers/Broker/Configs/TableComponents/InputCell/InputCellViewMode.tsx

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import React, { type FC } from 'react';
2-
import { Button } from 'components/common/Button/Button';
32
import EditIcon from 'components/common/Icons/EditIcon';
43
import type { ConfigUnit } from 'components/Brokers/Broker/Configs/lib/types';
5-
import Tooltip from 'components/common/Tooltip/Tooltip';
64
import { getConfigDisplayValue } from 'components/Brokers/Broker/Configs/lib/utils';
5+
import { ActionButton } from 'components/common/ActionComponent';
6+
import { Action, ResourceType } from 'generated-sources';
7+
import { getDefaultActionMessage } from 'components/common/ActionComponent/ActionComponent';
78

89
import * as S from './styled';
910

@@ -35,22 +36,22 @@ const InputCellViewMode: FC<InputCellViewModeProps> = ({
3536
<S.Value $isDynamic={isDynamic} title={title}>
3637
{displayValue}
3738
</S.Value>
38-
<Tooltip
39-
value={
40-
<Button
41-
buttonType="primary"
42-
buttonSize="S"
43-
aria-label="editAction"
44-
onClick={onEdit}
45-
disabled={isReadOnly}
46-
>
47-
<EditIcon /> Edit
48-
</Button>
39+
<ActionButton
40+
buttonType="primary"
41+
buttonSize="S"
42+
aria-label="editAction"
43+
onClick={onEdit}
44+
disabled={isReadOnly}
45+
message={
46+
isReadOnly ? 'Property is read-only' : getDefaultActionMessage()
4947
}
50-
showTooltip={isReadOnly}
51-
content="Property is read-only"
52-
placement="left"
53-
/>
48+
permission={{
49+
resource: ResourceType.CLUSTERCONFIG,
50+
action: Action.EDIT,
51+
}}
52+
>
53+
<EditIcon /> Edit
54+
</ActionButton>
5455
</S.ValueWrapper>
5556
);
5657
};

frontend/src/components/Topics/Topic/Statistics/PartitionInfoRow.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ const PartitionInfoRow: React.FC<{ row: Row<TopicAnalysisStats> }> = ({
7474
<div>
7575
<Heading level={4}>Values sizes</Heading>
7676
<List>
77-
<Label>Total key size</Label>
77+
<Label>Total value size</Label>
7878
<BytesFormatted value={valueSize?.sum} />
79-
<Label>Min key size</Label>
79+
<Label>Min value size</Label>
8080
<BytesFormatted value={valueSize?.min} />
81-
<Label>Max key size</Label>
81+
<Label>Max value size</Label>
8282
<BytesFormatted value={valueSize?.max} />
83-
<Label>Avg key size</Label>
83+
<Label>Avg value size</Label>
8484
<BytesFormatted value={valueSize?.avg} />
8585
<Label>Percentile 50</Label>
8686
<BytesFormatted value={valueSize?.prctl50} />

frontend/src/components/common/ActionComponent/ActionButton/ActionCanButton/ActionCanButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const ActionButton: React.FC<Props> = ({
2121
const isDisabled = !canDoAction;
2222

2323
const { x, y, refs, strategy, open } = useActionTooltip(
24-
isDisabled,
24+
isDisabled || disabled,
2525
placement
2626
);
2727

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[versions]
22
spring-boot = '3.5.3'
3+
nimbus-jose-jwt = '10.0.2'
34

45
aws-msk-auth = '2.3.0'
56
azure-identity = '1.15.4'
67

7-
apache-commons-lang3 = '3.12.0'
8+
apache-commons-lang3 = '3.18.0'
89
apache-commons-io = '2.18.0'
910
apache-commons-pool2 = '2.12.1'
1011
apache-datasketches = '3.1.0'
@@ -37,12 +38,9 @@ checkstyle = '10.24.0'
3738
allure = '2.29.1'
3839
selenide = '7.2.3'
3940
testng = '7.10.0'
40-
bonigarcia-webdrivermanager = '5.9.3'
41+
bonigarcia-webdrivermanager = '6.1.1'
4142
aspectj = '1.9.21'
4243

43-
# CVE fixes
44-
netty = '4.1.119.Final'
45-
4644
[plugins]
4745
spring-boot = { id = 'org.springframework.boot', version.ref = 'spring-boot' }
4846
spring-dependency-management = { id = 'io.spring.dependency-management', version = '1.1.3' }
@@ -60,6 +58,8 @@ spring-starter-actuator = { module = 'org.springframework.boot:spring-boot-start
6058
spring-starter-test = { module = 'org.springframework.boot:spring-boot-starter-test', version.ref = 'spring-boot' }
6159
spring-starter-webflux = { module = 'org.springframework.boot:spring-boot-starter-webflux', version.ref = 'spring-boot' }
6260
spring-starter-security = { module = 'org.springframework.boot:spring-boot-starter-security', version.ref = 'spring-boot' }
61+
# Temporary overwrite to fix CVE-2025-53864
62+
nimbus-jose-jwt = { module = 'com.nimbusds:nimbus-jose-jwt', version.ref = 'nimbus-jose-jwt' }
6363
spring-starter-validation = { module = 'org.springframework.boot:spring-boot-starter-validation', version.ref = 'spring-boot' }
6464
spring-starter-oauth2-client = { module = 'org.springframework.boot:spring-boot-starter-oauth2-client', version.ref = 'spring-boot' }
6565
spring-starter-logging = { module = 'org.springframework.boot:spring-boot-starter-logging', version.ref = 'spring-boot' }

0 commit comments

Comments
 (0)