Skip to content

Commit

Permalink
GH-570 Enable pause_at_block API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Dec 6, 2024
1 parent f06c304 commit bc2da73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugins/producer_api_plugin/producer_api_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,9 @@ void producer_api_plugin::plugin_startup() {
app().get_plugin<http_plugin>().add_api({
CALL_WITH_400(producer, producer_rw, producer, pause,
INVOKE_V_V(producer, pause), 201),
// TODO: Enable for Spring 2.0.0
// CALL_WITH_400(producer, producer_rw, producer, pause_at_block,
// INVOKE_V_R(producer, pause_at_block, producer_plugin::pause_at_block_params), 201),
CALL_WITH_400(producer, producer_rw, producer, resume,
CALL_WITH_400(producer, producer_rw, producer, pause_at_block,
INVOKE_V_R(producer, pause_at_block, producer_plugin::pause_at_block_params), 201),
CALL_WITH_400(producer, producer_rw, producer, resume,
INVOKE_V_V(producer, resume), 201),
CALL_WITH_400(producer, producer_rw, producer, update_runtime_options,
INVOKE_V_R(producer, update_runtime_options, producer_plugin::runtime_options), 201),
Expand Down

0 comments on commit bc2da73

Please sign in to comment.