loopbackio / loopback-connector-cassandra

Cassandra connector for the LoopBack framework.
Other
13 stars 22 forks source link

use cassandra contact points provided via settings #71

Closed hliu9 closed 6 years ago

hliu9 commented 6 years ago

Description

Use settings parameter contactPoints for cassandra client options if provided.

This was a fairly trivial change, so UT was not modified... please suggest otherwise. thanks!

Related issues

If settings.contactPoints has been provided, the clientOptions is initialized without any hosts.

Checklist

shenghu commented 6 years ago

@dhmlau @virkt25 @jannyHou I think this can be merged. Do you have objection?

shenghu commented 6 years ago

@dhmlau this is small change. I think it is fine to merge. https://github.com/strongloop/loopback-connector-cassandra/issues/74 will add test.