Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61FBA7F22 for ; Tue, 18 Oct 2011 21:15:47 +0000 (UTC) Received: (qmail 74825 invoked by uid 500); 18 Oct 2011 21:15:46 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 74800 invoked by uid 500); 18 Oct 2011 21:15:46 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 74792 invoked by uid 99); 18 Oct 2011 21:15:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 21:15:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 21:15:42 +0000 Received: by eyg24 with SMTP id 24so1063130eyg.31 for ; Tue, 18 Oct 2011 14:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=pxZ5OfL1tnTruoea/kFvwT+ywUDf699Q0Zt3wci1eOQ=; b=g7HK9RLpmMsG4/BDs4xqwpk53x5eg/ihJdLWTvRmowA4eU7Q0+0EQ491LSQx3OmqD8 H+TQsQ+U1nF/JKgd62gFep3dn6dPztTEx2iyElh8tD8Oel6kSH7pNq8Hs4h+bS4ElDRV 5SjSocU0YFLqXjkYdEqYdGhvLF8FWp/5dX4rI= Received: by 10.213.16.146 with SMTP id o18mr548237eba.16.1318972521307; Tue, 18 Oct 2011 14:15:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.14.84 with HTTP; Tue, 18 Oct 2011 14:15:01 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Tue, 18 Oct 2011 16:15:01 -0500 Message-ID: Subject: Re: Contribution: Native REST Layer for Cassandra To: dev@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Brian, we'll have a look on Jira. On Tue, Oct 18, 2011 at 3:21 PM, Brian O'Neill wrot= e: > Jeremy/Jonathan, > > When you finish celebrating the 1.0 release, I just submitted a native re= st > layer for Cassandra. > https://issues.apache.org/jira/browse/CASSANDRA-3380 > > It uses JAX-RS and Apache CXF supporting the following operations (JSON o= ver > HTTP): > > > =A0 - Create keyspace > =A0 - Drop keyspace > =A0 - Create column family > =A0 - Drop column family > =A0 - Insert row > =A0 - Fetch row > =A0 - Delete row > =A0 - Insert column > =A0 - Fetch column > =A0 - Delete column > > This is a new module under contrib/rest. It builds using ant and ivy. =A0= I > also included a maven pom.xml file that makes it easier to get setup in > Eclipse for those that use m2eclipse. =A0You start the server with > bin/rest_cassandra. =A0After that, you can issue all commands over HTTP o= n > port 8080. =A0I included example curl commands in the README.txt. =A0Ther= e are > junit tests that provide good code coverage of the JSON marshalling, the > system and data operations as well as the REST layer. > > Let me know if you have any trouble building / using it. =A0In the meanti= me, > I'll start work on some additional todo's. Specifically we should add: > - Better exception handling > - Host/Port configuration > - Security > - XML support > - Binary object / Byte support (assumes String's right now) > > (kudos to Gary Dusbabek for the initial thought to implement this as a > native layer) > > all the best, > brian > > -- > Brian ONeill > Lead Architect, Health Market Science (http://healthmarketscience.com) > mobile:215.588.6024 > blog: http://weblogs.java.net/blog/boneill42/ > blog: http://brianoneill.blogspot.com/ > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com