File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ namespace {
65
65
//
66
66
67
67
// the URL for Decision module
68
- const DecisionPubUrl kDecisionPubUrl {" inproc ://decision_server_pub " };
68
+ const DecisionPubUrl kDecisionPubUrl {" ipc :///tmp/decision-pub-url " };
69
69
70
70
// the URL Prefix for the ConfigStore module
71
71
const PersistentStoreUrl kConfigStoreUrl {" ipc:///tmp/openr_config_store_cmd" };
@@ -827,7 +827,8 @@ main(int argc, char** argv) {
827
827
828
828
// Call external module for platform specific implementations
829
829
if (FLAGS_enable_plugin) {
830
- pluginStart (PluginArgs{context, prefixManagerLocalCmdUrl});
830
+ pluginStart (PluginArgs{
831
+ FLAGS_node_name, context, prefixManagerLocalCmdUrl, kDecisionPubUrl });
831
832
}
832
833
833
834
// Wait for main-event loop to return
Original file line number Diff line number Diff line change 8
8
#pragma once
9
9
10
10
#include < fbzmq/zmq/Zmq.h>
11
- #include " openr/common/Types.h"
11
+ #include < openr/common/Types.h>
12
12
13
13
namespace openr {
14
14
struct PluginArgs {
15
+ std::string myNodeName;
15
16
fbzmq::Context& zmqContext;
16
17
PrefixManagerLocalCmdUrl prefixManagerUrl;
18
+ DecisionPubUrl decisionPubUrl;
17
19
};
18
20
19
21
void pluginStart (const PluginArgs& pluginArgs);
You can’t perform that action at this time.
0 commit comments