Skip to content

Commit f6e2c6d

Browse files
committed
Merge branch '7.11' of github.com:gchq/stroom
2 parents ffecc59 + 5a5162a commit f6e2c6d

File tree

12 files changed

+80
-84
lines changed

12 files changed

+80
-84
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ DO NOT ADD CHANGES HERE - ADD THEM USING log_change.sh
1313
~~~
1414

1515

16+
## [v7.11-beta.24] - 2026-02-12
17+
18+
* Bug **#5391** : Fix folder DocRef NPE.
19+
20+
* Bug **#5392** : Fix PlanB segfault.
21+
22+
* Bug **#5300** : Fix path `millis` parameter.
23+
24+
1625
## [v7.11-beta.23] - 2026-02-09
1726

1827
* Feature **#5313** : Allow users to prevent empty reports from being sent on a per report basis.
@@ -2000,7 +2009,8 @@ DO NOT ADD CHANGES HERE - ADD THEM USING log_change.sh
20002009
* Issue **#3830** : Add S3 data storage option.
20012010

20022011

2003-
[Unreleased]: https://github.com/gchq/stroom/compare/v7.11-beta.23...HEAD
2012+
[Unreleased]: https://github.com/gchq/stroom/compare/v7.11-beta.24...HEAD
2013+
[v7.11-beta.24]: https://github.com/gchq/stroom/compare/v7.11-beta.23...v7.11-beta.24
20042014
[v7.11-beta.23]: https://github.com/gchq/stroom/compare/v7.11-beta.22...v7.11-beta.23
20052015
[v7.11-beta.22]: https://github.com/gchq/stroom/compare/v7.11-beta.21...v7.11-beta.22
20062016
[v7.11-beta.21]: https://github.com/gchq/stroom/compare/v7.11-beta.20...v7.11-beta.21
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package stroom.planb.shared;
2+
3+
public interface HasCondenseSettings {
4+
5+
DurationSetting getCondense();
6+
}

stroom-core-shared/src/main/java/stroom/planb/shared/HistogramSettings.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"valueSchema"
3737
})
3838
@JsonInclude(Include.NON_NULL)
39-
public final class HistogramSettings extends AbstractPlanBSettings {
39+
public final class HistogramSettings
40+
extends AbstractPlanBSettings {
4041

4142
@JsonProperty
4243
private final HistogramKeySchema keySchema;

stroom-core-shared/src/main/java/stroom/planb/shared/MetricSettings.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"valueSchema"
3737
})
3838
@JsonInclude(Include.NON_NULL)
39-
public final class MetricSettings extends AbstractPlanBSettings {
39+
public final class MetricSettings
40+
extends AbstractPlanBSettings {
4041

4142
@JsonProperty
4243
private final MetricKeySchema keySchema;

stroom-core-shared/src/main/java/stroom/planb/shared/RangeStateSettings.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"valueSchema"
3737
})
3838
@JsonInclude(Include.NON_NULL)
39-
public final class RangeStateSettings extends AbstractPlanBSettings {
39+
public final class RangeStateSettings
40+
extends AbstractPlanBSettings {
4041

4142
@JsonProperty
4243
private final RangeKeySchema keySchema;

stroom-core-shared/src/main/java/stroom/planb/shared/SessionSettings.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"keySchema"
3737
})
3838
@JsonInclude(Include.NON_NULL)
39-
public final class SessionSettings extends AbstractPlanBSettings {
39+
public final class SessionSettings
40+
extends AbstractPlanBSettings
41+
implements HasCondenseSettings {
4042

4143
@JsonProperty
4244
private final DurationSetting condense;
@@ -56,6 +58,7 @@ public SessionSettings(@JsonProperty("maxStoreSize") final Long maxStoreSize,
5658
this.keySchema = NullSafe.requireNonNullElse(keySchema, new SessionKeySchema.Builder().build());
5759
}
5860

61+
@Override
5962
public DurationSetting getCondense() {
6063
return condense;
6164
}

stroom-core-shared/src/main/java/stroom/planb/shared/StateSettings.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"valueSchema"
3737
})
3838
@JsonInclude(Include.NON_NULL)
39-
public final class StateSettings extends AbstractPlanBSettings {
39+
public final class StateSettings
40+
extends AbstractPlanBSettings {
4041

4142
@JsonProperty
4243
private final StateKeySchema keySchema;

stroom-core-shared/src/main/java/stroom/planb/shared/TemporalRangeStateSettings.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
"valueSchema"
3838
})
3939
@JsonInclude(Include.NON_NULL)
40-
public final class TemporalRangeStateSettings extends AbstractPlanBSettings {
40+
public final class TemporalRangeStateSettings
41+
extends AbstractPlanBSettings
42+
implements HasCondenseSettings {
4143

4244
@JsonProperty
4345
private final DurationSetting condense;
@@ -61,6 +63,7 @@ public TemporalRangeStateSettings(@JsonProperty("maxStoreSize") final Long maxSt
6163
this.valueSchema = NullSafe.requireNonNullElse(valueSchema, new StateValueSchema.Builder().build());
6264
}
6365

66+
@Override
6467
public DurationSetting getCondense() {
6568
return condense;
6669
}

stroom-core-shared/src/main/java/stroom/planb/shared/TemporalStateSettings.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
"valueSchema"
3838
})
3939
@JsonInclude(Include.NON_NULL)
40-
public final class TemporalStateSettings extends AbstractPlanBSettings {
40+
public final class TemporalStateSettings
41+
extends AbstractPlanBSettings
42+
implements HasCondenseSettings {
4143

4244
@JsonProperty
4345
private final DurationSetting condense;
@@ -61,6 +63,7 @@ public TemporalStateSettings(@JsonProperty("maxStoreSize") final Long maxStoreSi
6163
this.valueSchema = NullSafe.requireNonNullElse(valueSchema, new StateValueSchema.Builder().build());
6264
}
6365

66+
@Override
6467
public DurationSetting getCondense() {
6568
return condense;
6669
}

stroom-explorer/stroom-explorer-impl/src/main/java/stroom/explorer/impl/FolderExplorerActionHandler.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ public void deleteDocument(final DocRef docRef) {
130130
public DocRefInfo info(final DocRef docRef) {
131131
final ExplorerTreeNode explorerTreeNode = explorerTreeDao.findByUUID(docRef.getUuid());
132132
if (explorerTreeNode == null) {
133-
throw new DocumentNotFoundException(DocRef.builder()
134-
.uuid(docRef.getUuid())
135-
.build());
133+
throw new DocumentNotFoundException(docRef);
136134
}
137135

138136
if (!securityContext.hasDocumentPermission(docRef, DocumentPermission.VIEW)) {
@@ -142,11 +140,7 @@ public DocRefInfo info(final DocRef docRef) {
142140

143141
return DocRefInfo
144142
.builder()
145-
.docRef(DocRef.builder()
146-
.type(explorerTreeNode.getType())
147-
.uuid(explorerTreeNode.getUuid())
148-
.name(explorerTreeNode.getName())
149-
.build())
143+
.docRef(explorerTreeNode.getDocRef())
150144
.otherInfo("DB ID: " + explorerTreeNode.getId())
151145
.build();
152146
}

0 commit comments

Comments
 (0)