cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brice Dutheil <brice.duth...@gmail.com>
Subject Re: cql-maven-plugin
Date Fri, 07 Oct 2016 11:42:24 GMT
At this moment no, as this is a maven plugin. Extracting such code would be
relatively trivial.

-- Brice

On Fri, Oct 7, 2016 at 1:24 PM, Ali Akhtar <ali.rac200@gmail.com> wrote:

> Is there a way to call this programatically such as from unit tests, to
> create keyspace / table schema from a cql file?
>
> On Fri, Oct 7, 2016 at 2:40 PM, Brice Dutheil <brice.dutheil@gmail.com>
> wrote:
>
>> Hi there,
>>
>> I’d like to share a very simple project around handling CQL files with
>> maven. We were using the cassandra-maven-plugin before, but with
>> limitations on the authentication and the use of thrift protocol. I was
>> tempted to write a replacement focused only the execution of CQL
>> statements, in the same way that sql-maven-plugin is.
>>
>> I didn’t port the cassandra lifecycle tasks as they could be handled with
>> other tool. e.g. docker
>>
>> It’s available on maven at the following coordinate
>> com.github.bric3.maven:cql-maven-plugin:0.4, and the code is available
>> on Github https://github.com/bric3/cql-maven-plugin
>>
>> I would definitely like feedback on this. It’s probably not bug free, but
>> our team uses this plugin with several projects, that are each built
>> several times a day.
>> Currently the code is lacking integration tests, that’s probably the area
>> where it can be improved the most.
>>
>> Cheers,
>> — Brice
>> ​
>>
>
>

Mime
View raw message