Skip to content

Commit

Permalink
Merge pull request #92 from project-tsurugi/remote-kvs2
Browse files Browse the repository at this point in the history
Remote kvs2
  • Loading branch information
kookubo authored Sep 6, 2023
2 parents 192a289 + 97f7d25 commit 6a5b257
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/tateyama/server/backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#ifdef OGAWAYAMA
#include <ogawayama/bridge/service.h>
#endif
#include <jogasaki/api/kvsservice/service.h>
#include <jogasaki/api/kvsservice/resource.h>
#include <jogasaki/api.h>

#include "tateyama/process/proc_mutex.h"
Expand Down Expand Up @@ -136,6 +138,9 @@ int backend_main(int argc, char **argv) {
LOG(INFO) << "ogawayama bridge created";
#endif

tgsv.add_resource(std::make_shared<jogasaki::api::kvsservice::resource>());
tgsv.add_service(std::make_shared<jogasaki::api::kvsservice::service>());

// status_info
auto status_info = tgsv.find_resource<tateyama::status_info::resource::bridge>();

Expand Down
2 changes: 1 addition & 1 deletion third_party/jogasaki

0 comments on commit 6a5b257

Please sign in to comment.