Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3038F9144 for ; Wed, 19 Oct 2011 20:23:35 +0000 (UTC) Received: (qmail 67986 invoked by uid 500); 19 Oct 2011 20:23:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 67922 invoked by uid 500); 19 Oct 2011 20:23:34 -0000 Mailing-List: contact commits-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 commits@cassandra.apache.org Received: (qmail 67906 invoked by uid 99); 19 Oct 2011 20:23:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2011 20:23:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2011 20:23:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 501E33126D4 for ; Wed, 19 Oct 2011 20:23:11 +0000 (UTC) Date: Wed, 19 Oct 2011 20:23:11 +0000 (UTC) From: "Jonathan Ellis (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <496991365.12154.1319055791329.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <779438668.7638.1318968550709.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3380) REST Layer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130955#comment-13130955 ] Jonathan Ellis commented on CASSANDRA-3380: ------------------------------------------- Saying "Everything is REST" is about as useful as saying "Everything is TCP." It's fine for a driver to be REST-based but that doesn't make, say, Cassandra and Neo4j interchangeable. So I don't see the advantage from a development point of view. Nor do I see "import cql" as a deal breaker over "import urllib2" (especially since the former gives you a much better experience.) Javascript frameworks is a valid point, although I hope everyone agrees that the browser hitting the db directly is a colossally bad idea. I can see though that it would simplify the proxy if it just has to decide "accept/reject" on a REST query vs translate REST into another API. > REST Layer > ----------- > > Key: CASSANDRA-3380 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3380 > Project: Cassandra > Issue Type: New Feature > Environment: Unix / Max OS X > Reporter: Brian ONeill > Attachments: trunk-3380.txt > > > This is a native rest layer for Cassandra implementing AbstractCassandraDaemon. > It uses JAX-RS fueled by Apache CXF. > Presently it supports the following operations JSON over HTTP: > - Create keyspace > - Drop keyspace > - Create column family > - Drop column family > - Insert row > - Fetch row > - Delete row > - Insert column > - Delete column > - Fetch column > The patch creates a new project in contrib/rest. You can compile the project using "ant", which uses ivy to pull in dependencies. To get setup, you can also use the pom.xml file and m2eclipse to get it into Eclipse. > Once compiled, simpy run "bin/rest_cassandra" and follow along in the README.txt -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira