Skip to content

Commit e2c5f5d

Browse files
Register more deprecated procedure counts
Co-authored-by: Ioannis Panagiotas <ioannis.panagiotas@neotechnology.com>
1 parent 274e351 commit e2c5f5d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

proc/catalog/src/main/java/org/neo4j/gds/catalog/GraphStreamGraphPropertiesProc.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public Stream<StreamGraphPropertyResult> alphaStreamProperty(
4949
@Name(value = "graphProperty") String graphProperty,
5050
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
5151
) {
52+
facade.deprecatedProcedures().called("gds.alpha.graph.graphProperty.stream");
5253
facade.log()
5354
.warn(
5455
"Procedure `gds.alpha.graph.graphProperty.stream` has been deprecated, please use `gds.graph.graphProperty.stream`.");

proc/misc/src/main/java/org/neo4j/gds/undirected/ToUndirectedProc.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ public Stream<ToUndirectedSpec.MutateResult> mutateDeprecated(
4848
@Name(value = "graphName") String graphName,
4949
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
5050
) {
51+
executionContext()
52+
.metricsFacade()
53+
.deprecatedProcedures().called("gds.beta.graph.relationships.toUndirected");
5154
executionContext()
5255
.log()
5356
.warn("Procedure `gds.beta.graph.relationships.toUndirected` has been deprecated, please use `gds.graph.relationships.toUndirected`.");
@@ -81,6 +84,9 @@ public Stream<MemoryEstimateResult> estimateDeprecated(
8184
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
8285
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
8386
) {
87+
executionContext()
88+
.metricsFacade()
89+
.deprecatedProcedures().called("gds.beta.graph.relationships.toUndirected.estimate");
8490
executionContext()
8591
.log()
8692
.warn("Procedure `gds.beta.graph.relationships.toUndirected.estimate` has been deprecated, please use `gds.graph.relationships.toUndirected.estimate`.");

0 commit comments

Comments
 (0)