Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 5697 invoked from network); 26 Aug 2009 16:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Aug 2009 16:32:22 -0000 Received: (qmail 89599 invoked by uid 500); 26 Aug 2009 16:32:21 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 89486 invoked by uid 500); 26 Aug 2009 16:32:21 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 89471 invoked by uid 99); 26 Aug 2009 16:32:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 16:32:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 16:32:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 49488234C044 for ; Wed, 26 Aug 2009 09:31:59 -0700 (PDT) Message-ID: <571741461.1251304319283.JavaMail.jira@brutus> Date: Wed, 26 Aug 2009 09:31:59 -0700 (PDT) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-486) Better separation between httpd and core through api layer In-Reply-To: <2007714505.1251230999406.JavaMail.jira@brutus> 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/COUCHDB-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Kocoloski updated COUCHDB-486: ----------------------------------- Attachment: (was: couch_api.patch) > Better separation between httpd and core through api layer > ---------------------------------------------------------- > > Key: COUCHDB-486 > URL: https://issues.apache.org/jira/browse/COUCHDB-486 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Reporter: Adam Kocoloski > Fix For: 0.11 > > Attachments: couch_api.patch > > > I'm attaching a patch that routes non-purely-functional calls into core CouchDB modules through a new couch_api module. I also went ahead and wrote down dialyzer specs for everything in couch_api. I think this will be a useful reference, will make the codebase a bit more accessible to newcomers, and will help us maintain better separation between the purely functional httpd layer and the core (useful in e.g. partitioning work). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.