dittach / loopback-connector-riak

A StrongLoop Loopback framework connector for the Riak database.
MIT License
8 stars 2 forks source link

connect to bucket type !? #7

Closed behrad closed 9 years ago

behrad commented 9 years ago

I've created a bucket time via riak-admin bucket-type create {"props": {"type": "message" }} but http://192.168.100.194:8098/buckets?buckets=true doesn't show my bucket!

loopback-connector-riak also faces a TypeError: Cannot read property 'indexOf' of undefined at if (buckets.indexOf(bucketName) === -1) return callback(null, false);

however riak-admin list shows my bucket activated! Is there any thing I should do for configuring my bucket?

onyxrev commented 9 years ago

@behrad Please give version 0.1.1 a try. I think this was an issue with Node v0.12, which we weren't on just yet. I removed the bucket check.

onyxrev commented 9 years ago

Dup of #4

behrad commented 9 years ago

will test and post if any problem still exists. Thank you @onyxrev

behrad commented 9 years ago

an step forward @onyxrev but I'm getting an error after I created my model: https://github.com/dittach/loopback-connector-riak/issues/3

Should I prepare riak before?