From 3805de1dcdd7f22f8ba2772e1523dd6d0bfe7a9b Mon Sep 17 00:00:00 2001 From: Tobias Kussel Date: Fri, 11 Jun 2021 15:27:57 +0200 Subject: [PATCH 1/3] Fix: Add missing header --- include/epilink_input.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/epilink_input.h b/include/epilink_input.h index af4d90d..fd020e5 100644 --- a/include/epilink_input.h +++ b/include/epilink_input.h @@ -26,6 +26,7 @@ #include #include #include +#include namespace sel { From e3b6fe9e58ca093bd426ffddbc83ebc0c752d23f Mon Sep 17 00:00:00 2001 From: Tobias Kussel Date: Fri, 11 Jun 2021 15:28:17 +0200 Subject: [PATCH 2/3] Expose n:m matching endpoint --- sepilinker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sepilinker.cpp b/sepilinker.cpp index da1ae42..1ac1567 100644 --- a/sepilinker.cpp +++ b/sepilinker.cpp @@ -195,7 +195,7 @@ int main(int argc, char* argv[]) { sel::valid_matchrecord_json_handler, sel::invalid_json_handler); auto matchrecords_methodhandler = sel::MethodHandler::create_methodhandler( - "POST", linkrecord_validator, + "POST", null_validator, sel::valid_matchrecords_json_handler, sel::invalid_json_handler); #endif // Create GET-Handler for job status monitoring @@ -273,6 +273,7 @@ int main(int argc, char* argv[]) { linkrecords_handler.publish(service); #ifdef SEL_MATCHING_MODE matchrecord_handler.publish(service); + matchrecords_handler.publish(service); #endif jobmonitor_handler.publish(service); test_config_handler.publish(service); From d160a9d67d0917bc8bbdd111e4d0d8a2e18ee37f Mon Sep 17 00:00:00 2001 From: Tobias Kussel Date: Fri, 11 Jun 2021 15:29:38 +0200 Subject: [PATCH 3/3] comment out erroneous debug code. fixme --- include/circuit_builder.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/circuit_builder.cpp b/include/circuit_builder.cpp index b53e41c..a95c647 100644 --- a/include/circuit_builder.cpp +++ b/include/circuit_builder.cpp @@ -380,9 +380,10 @@ class CircuitBuilder : public CircuitBuilderBase { MultShare field_weight = delta_weight * comp; #ifdef DEBUG_SEL_CIRCUIT - print_share(delta_weight, format("weight ({}){}", ftype, i)); - print_share(comp, format("comp ({}){}", ftype, i)); - print_share(field_weight, format("^^^^ field weight ({}){} ^^^^", ftype, i)); + //FIXME(SS): Compilation error, if -DDEBUG_SEL_CIRCUIT + //print_share(delta_weight, format("weight ({}){}", ftype, i)); + //print_share(comp, format("comp ({}){}", ftype, i)); + //print_share(field_weight, format("^^^^ field weight ({}){} ^^^^", ftype, i)); #endif return field_weight_cache[i] = {field_weight, delta_weight};