From 83edfd67ba941bca95f6429f58849890b207e037 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Wed, 3 Feb 2021 13:08:53 -0600 Subject: [PATCH] graph-push-hook: fixed bunted bowl issue --- pkg/arvo/app/contact-pull-hook.hoon | 1 + pkg/arvo/app/graph-pull-hook.hoon | 1 + pkg/arvo/app/graph-push-hook.hoon | 17 ++++++----------- pkg/arvo/app/graph-store.hoon | 3 ++- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/pkg/arvo/app/contact-pull-hook.hoon b/pkg/arvo/app/contact-pull-hook.hoon index ad4aae0cb..ce880de68 100644 --- a/pkg/arvo/app/contact-pull-hook.hoon +++ b/pkg/arvo/app/contact-pull-hook.hoon @@ -14,6 +14,7 @@ -- :: %- agent:dbug +%+ verb | ^- agent:gall %- (agent:pull-hook config) ^- (pull-hook:pull-hook config) diff --git a/pkg/arvo/app/graph-pull-hook.hoon b/pkg/arvo/app/graph-pull-hook.hoon index 826bb2703..431ac1c1d 100644 --- a/pkg/arvo/app/graph-pull-hook.hoon +++ b/pkg/arvo/app/graph-pull-hook.hoon @@ -14,6 +14,7 @@ -- :: %- agent:dbug +%+ verb | ^- agent:gall %- (agent:pull-hook config) ^- (pull-hook:pull-hook config) diff --git a/pkg/arvo/app/graph-push-hook.hoon b/pkg/arvo/app/graph-push-hook.hoon index 4501aa03f..84e2907c3 100644 --- a/pkg/arvo/app/graph-push-hook.hoon +++ b/pkg/arvo/app/graph-push-hook.hoon @@ -1,13 +1,7 @@ -/- *group -/- metadata=metadata-store -/+ store=graph-store -/+ mdl=metadata -/+ res=resource -/+ graph -/+ group -/+ default-agent -/+ dbug -/+ push-hook +/- *group, metadata=metadata-store +/+ store=graph-store, mdl=metadata, res=resource, graph, group, default-agent, + dbug, verb, push-hook +:: ~% %graph-push-hook-top ..part ~ |% +$ card card:agent:gall @@ -32,6 +26,7 @@ =| state-zero =* state - %- agent:dbug +%+ verb | ^- agent:gall %- (agent:push-hook config) ^- agent @@ -98,7 +93,7 @@ ++ initial-watch |= [=path =resource:res] ^- vase - ?> (is-allowed resource) + ?> (is-allowed:hc resource) !> ^- update:store ?~ path :: new subscribe diff --git a/pkg/arvo/app/graph-store.hoon b/pkg/arvo/app/graph-store.hoon index db6daabd0..57dbb5e82 100644 --- a/pkg/arvo/app/graph-store.hoon +++ b/pkg/arvo/app/graph-store.hoon @@ -1,7 +1,7 @@ :: graph-store [landscape] :: :: -/+ store=graph-store, sigs=signatures, res=resource, default-agent, dbug, +/+ store=graph-store, sigs=signatures, res=resource, default-agent, dbug, verb, *migrate ~% %graph-store-top ..part ~ |% @@ -25,6 +25,7 @@ =* state - :: %- agent:dbug +%+ verb | ^- agent:gall ~% %graph-store-agent ..card ~ |_ =bowl:gall