Skip to content

Commit

Permalink
Register more deprecated procedure counts
Browse files Browse the repository at this point in the history
Co-authored-by: Ioannis Panagiotas <ioannis.panagiotas@neotechnology.com>
  • Loading branch information
vnickolov and IoannisPanagiotas committed Nov 17, 2023
1 parent 274e351 commit e2c5f5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public Stream<StreamGraphPropertyResult> alphaStreamProperty(
@Name(value = "graphProperty") String graphProperty,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
facade.deprecatedProcedures().called("gds.alpha.graph.graphProperty.stream");
facade.log()
.warn(
"Procedure `gds.alpha.graph.graphProperty.stream` has been deprecated, please use `gds.graph.graphProperty.stream`.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public Stream<ToUndirectedSpec.MutateResult> mutateDeprecated(
@Name(value = "graphName") String graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.graph.relationships.toUndirected");
executionContext()
.log()
.warn("Procedure `gds.beta.graph.relationships.toUndirected` has been deprecated, please use `gds.graph.relationships.toUndirected`.");
Expand Down Expand Up @@ -81,6 +84,9 @@ public Stream<MemoryEstimateResult> estimateDeprecated(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
executionContext()
.metricsFacade()
.deprecatedProcedures().called("gds.beta.graph.relationships.toUndirected.estimate");
executionContext()
.log()
.warn("Procedure `gds.beta.graph.relationships.toUndirected.estimate` has been deprecated, please use `gds.graph.relationships.toUndirected.estimate`.");
Expand Down

0 comments on commit e2c5f5d

Please sign in to comment.