Setting and getting post-commit hooks via the erlang http client

classic Classic list List threaded Threaded
2 messages Options
t3h
Reply | Threaded
Open this post in threaded view
|

Setting and getting post-commit hooks via the erlang http client

t3h
Hi All,

It looks like it is not possible to set (neither get) a postcommit hook via the riak erlang http client.

The postcommit bucket property is set to be ignored in rhc_bucket:httpify_prop/2.
Is there any reason for that?

Regards,
Antoine

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Setting and getting post-commit hooks via the erlang http client

bryan-basho
Administrator
On Fri, Apr 20, 2012 at 11:03 AM, Antoine <[hidden email]> wrote:
> It looks like it is not possible to set (neither get) a postcommit hook via
> the riak erlang http client.
>
> The postcommit bucket property is set to be ignored in
> rhc_bucket:httpify_prop/2.
> Is there any reason for that?

It looks like a simple oversight to me.  I've submitted a pull request
to add that functionality:

https://github.com/basho/riak-erlang-http-client/pull/9

Thanks for digging and asking!
-Bryan

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com